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

Side by Side Diff: core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp

Issue 1427633010: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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 "../../../include/fpdfapi/fpdf_parser.h" 7 #include "core/include/fpdfapi/fpdf_parser.h"
8 8
9 // Indexed by 8-bit character code, contains either: 9 // Indexed by 8-bit character code, contains either:
10 // 'W' - for whitespace: NUL, TAB, CR, LF, FF, 0x80, 0xff 10 // 'W' - for whitespace: NUL, TAB, CR, LF, FF, 0x80, 0xff
11 // 'N' - for numeric: 0123456789+-. 11 // 'N' - for numeric: 0123456789+-.
12 // 'D' - for delimiter: %()/<>[]{} 12 // 'D' - for delimiter: %()/<>[]{}
13 // 'R' - otherwise. 13 // 'R' - otherwise.
14 const char PDF_CharType[256] = { 14 const char PDF_CharType[256] = {
15 // NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO 15 // NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO
16 // SI 16 // SI
17 'W', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'W', 'W', 'R', 'W', 'W', 'R', 17 'W', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'W', 'W', 'R', 'W', 'W', 'R',
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 CPDF_Object* pFound = SearchNumberNode(pKid, num); 464 CPDF_Object* pFound = SearchNumberNode(pKid, num);
465 if (pFound) { 465 if (pFound) {
466 return pFound; 466 return pFound;
467 } 467 }
468 } 468 }
469 return NULL; 469 return NULL;
470 } 470 }
471 CPDF_Object* CPDF_NumberTree::LookupValue(int num) { 471 CPDF_Object* CPDF_NumberTree::LookupValue(int num) {
472 return SearchNumberNode(m_pRoot, num); 472 return SearchNumberNode(m_pRoot, num);
473 } 473 }
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp ('k') | core/src/fpdfapi/fpdf_parser/parser_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698