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

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

Issue 2392603004: Move core/fpdfapi/fpdf_parser to core/fpdfapi/parser (Closed)
Patch Set: Rebase to master Created 4 years, 2 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
« no previous file with comments | « core/fpdfapi/page/fpdf_page_parser.cpp ('k') | core/fpdfapi/parser/cfdf_document.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/page/pageint.h" 7 #include "core/fpdfapi/page/pageint.h"
8 8
9 #include <limits.h> 9 #include <limits.h>
10 10
11 #include "core/fpdfapi/cpdf_modulemgr.h" 11 #include "core/fpdfapi/cpdf_modulemgr.h"
12 #include "core/fpdfapi/font/cpdf_type3char.h" 12 #include "core/fpdfapi/font/cpdf_type3char.h"
13 #include "core/fpdfapi/fpdf_parser/cpdf_array.h"
14 #include "core/fpdfapi/fpdf_parser/cpdf_boolean.h"
15 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h"
16 #include "core/fpdfapi/fpdf_parser/cpdf_document.h"
17 #include "core/fpdfapi/fpdf_parser/cpdf_name.h"
18 #include "core/fpdfapi/fpdf_parser/cpdf_null.h"
19 #include "core/fpdfapi/fpdf_parser/cpdf_number.h"
20 #include "core/fpdfapi/fpdf_parser/cpdf_stream.h"
21 #include "core/fpdfapi/fpdf_parser/cpdf_stream_acc.h"
22 #include "core/fpdfapi/fpdf_parser/cpdf_string.h"
23 #include "core/fpdfapi/fpdf_parser/fpdf_parser_decode.h"
24 #include "core/fpdfapi/fpdf_parser/fpdf_parser_utility.h"
25 #include "core/fpdfapi/page/cpdf_allstates.h" 13 #include "core/fpdfapi/page/cpdf_allstates.h"
26 #include "core/fpdfapi/page/cpdf_form.h" 14 #include "core/fpdfapi/page/cpdf_form.h"
27 #include "core/fpdfapi/page/cpdf_page.h" 15 #include "core/fpdfapi/page/cpdf_page.h"
28 #include "core/fpdfapi/page/cpdf_pageobject.h" 16 #include "core/fpdfapi/page/cpdf_pageobject.h"
29 #include "core/fpdfapi/page/cpdf_path.h" 17 #include "core/fpdfapi/page/cpdf_path.h"
18 #include "core/fpdfapi/parser/cpdf_array.h"
19 #include "core/fpdfapi/parser/cpdf_boolean.h"
20 #include "core/fpdfapi/parser/cpdf_dictionary.h"
21 #include "core/fpdfapi/parser/cpdf_document.h"
22 #include "core/fpdfapi/parser/cpdf_name.h"
23 #include "core/fpdfapi/parser/cpdf_null.h"
24 #include "core/fpdfapi/parser/cpdf_number.h"
25 #include "core/fpdfapi/parser/cpdf_stream.h"
26 #include "core/fpdfapi/parser/cpdf_stream_acc.h"
27 #include "core/fpdfapi/parser/cpdf_string.h"
28 #include "core/fpdfapi/parser/fpdf_parser_decode.h"
29 #include "core/fpdfapi/parser/fpdf_parser_utility.h"
30 #include "core/fxcodec/fx_codec.h" 30 #include "core/fxcodec/fx_codec.h"
31 #include "core/fxcrt/fx_ext.h" 31 #include "core/fxcrt/fx_ext.h"
32 #include "core/fxcrt/fx_safe_types.h" 32 #include "core/fxcrt/fx_safe_types.h"
33 #include "core/fxge/cfx_fxgedevice.h" 33 #include "core/fxge/cfx_fxgedevice.h"
34 #include "core/fxge/cfx_renderdevice.h" 34 #include "core/fxge/cfx_renderdevice.h"
35 35
36 namespace { 36 namespace {
37 37
38 const uint32_t kMaxNestedArrayLevel = 512; 38 const uint32_t kMaxNestedArrayLevel = 512;
39 const uint32_t kMaxWordBuffer = 256; 39 const uint32_t kMaxWordBuffer = 256;
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 } 830 }
831 m_Status = Done; 831 m_Status = Done;
832 return; 832 return;
833 } 833 }
834 steps++; 834 steps++;
835 if (pPause && pPause->NeedToPauseNow()) { 835 if (pPause && pPause->NeedToPauseNow()) {
836 break; 836 break;
837 } 837 }
838 } 838 }
839 } 839 }
OLDNEW
« no previous file with comments | « core/fpdfapi/page/fpdf_page_parser.cpp ('k') | core/fpdfapi/parser/cfdf_document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698