Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp

Issue 1864153002: Move include/fxcodec to fxcodec/include (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "core/fpdfapi/fpdf_page/pageint.h" 7 #include "core/fpdfapi/fpdf_page/pageint.h"
8 8
9 #include <limits.h> 9 #include <limits.h>
10 10
11 #include "core/fpdfapi/fpdf_font/cpdf_type3char.h" 11 #include "core/fpdfapi/fpdf_font/cpdf_type3char.h"
12 #include "core/fpdfapi/fpdf_page/cpdf_allstates.h" 12 #include "core/fpdfapi/fpdf_page/cpdf_allstates.h"
13 #include "core/fpdfapi/fpdf_page/include/cpdf_form.h" 13 #include "core/fpdfapi/fpdf_page/include/cpdf_form.h"
14 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h" 14 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h"
15 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h" 15 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h"
16 #include "core/fpdfapi/fpdf_page/include/cpdf_path.h" 16 #include "core/fpdfapi/fpdf_page/include/cpdf_path.h"
17 #include "core/fpdfapi/fpdf_parser/cpdf_boolean.h" 17 #include "core/fpdfapi/fpdf_parser/cpdf_boolean.h"
18 #include "core/fpdfapi/fpdf_parser/cpdf_null.h" 18 #include "core/fpdfapi/fpdf_parser/cpdf_null.h"
19 #include "core/fpdfapi/fpdf_parser/fpdf_parser_utility.h" 19 #include "core/fpdfapi/fpdf_parser/fpdf_parser_utility.h"
20 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" 20 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h"
21 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" 21 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h"
22 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" 22 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h"
23 #include "core/fpdfapi/fpdf_parser/include/cpdf_name.h" 23 #include "core/fpdfapi/fpdf_parser/include/cpdf_name.h"
24 #include "core/fpdfapi/fpdf_parser/include/cpdf_number.h" 24 #include "core/fpdfapi/fpdf_parser/include/cpdf_number.h"
25 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h" 25 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h"
26 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h" 26 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h"
27 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h" 27 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h"
28 #include "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h" 28 #include "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h"
29 #include "core/fpdfapi/include/cpdf_modulemgr.h" 29 #include "core/fpdfapi/include/cpdf_modulemgr.h"
30 #include "core/fxcodec/include/fx_codec.h"
30 #include "core/fxcrt/include/fx_ext.h" 31 #include "core/fxcrt/include/fx_ext.h"
31 #include "core/fxcrt/include/fx_safe_types.h" 32 #include "core/fxcrt/include/fx_safe_types.h"
32 #include "core/include/fxcodec/fx_codec.h"
33 33
34 CPDF_StreamParser::CPDF_StreamParser(const uint8_t* pData, uint32_t dwSize) { 34 CPDF_StreamParser::CPDF_StreamParser(const uint8_t* pData, uint32_t dwSize) {
35 m_pBuf = pData; 35 m_pBuf = pData;
36 m_Size = dwSize; 36 m_Size = dwSize;
37 m_Pos = 0; 37 m_Pos = 0;
38 m_pLastObj = NULL; 38 m_pLastObj = NULL;
39 } 39 }
40 40
41 CPDF_StreamParser::~CPDF_StreamParser() { 41 CPDF_StreamParser::~CPDF_StreamParser() {
42 if (m_pLastObj) { 42 if (m_pLastObj) {
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 } 885 }
886 m_Status = Done; 886 m_Status = Done;
887 return; 887 return;
888 } 888 }
889 steps++; 889 steps++;
890 if (pPause && pPause->NeedToPauseNow()) { 890 if (pPause && pPause->NeedToPauseNow()) {
891 break; 891 break;
892 } 892 }
893 } 893 }
894 } 894 }
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/fpdf_page_colors.cpp ('k') | core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698