| OLD | NEW |
| 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 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ |
| 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ | 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ |
| 9 | 9 |
| 10 #include "../fxcrt/fx_system.h" | 10 #include "../fxcrt/fx_system.h" |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 | 287 |
| 288 virtual FX_BOOL GetNextChar(uint8_t& ch); | 288 virtual FX_BOOL GetNextChar(uint8_t& ch); |
| 289 | 289 |
| 290 FX_BOOL GetCharAtBackward(FX_FILESIZE pos, uint8_t& ch); | 290 FX_BOOL GetCharAtBackward(FX_FILESIZE pos, uint8_t& ch); |
| 291 | 291 |
| 292 void GetNextWord(); | 292 void GetNextWord(); |
| 293 | 293 |
| 294 FX_BOOL IsWholeWord(FX_FILESIZE startpos, | 294 FX_BOOL IsWholeWord(FX_FILESIZE startpos, |
| 295 FX_FILESIZE limit, | 295 FX_FILESIZE limit, |
| 296 const uint8_t* tag, | 296 const uint8_t* tag, |
| 297 FX_DWORD taglen); | 297 FX_DWORD taglen, |
| 298 FX_BOOL checkKeyword); |
| 298 | 299 |
| 299 CFX_ByteString ReadString(); | 300 CFX_ByteString ReadString(); |
| 300 | 301 |
| 301 CFX_ByteString ReadHexString(); | 302 CFX_ByteString ReadHexString(); |
| 302 | 303 |
| 303 unsigned int ReadEOLMarkers(FX_FILESIZE pos); | 304 unsigned int ReadEOLMarkers(FX_FILESIZE pos); |
| 304 | 305 |
| 305 CPDF_Stream* ReadStream(CPDF_Dictionary* pDict, | 306 CPDF_Stream* ReadStream(CPDF_Dictionary* pDict, |
| 306 PARSE_CONTEXT* pContext, | 307 PARSE_CONTEXT* pContext, |
| 307 FX_DWORD objnum, | 308 FX_DWORD objnum, |
| (...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 928 FX_DWORD src_size, | 929 FX_DWORD src_size, |
| 929 const CPDF_Dictionary* pDict, | 930 const CPDF_Dictionary* pDict, |
| 930 uint8_t*& dest_buf, | 931 uint8_t*& dest_buf, |
| 931 FX_DWORD& dest_size, | 932 FX_DWORD& dest_size, |
| 932 CFX_ByteString& ImageEncoding, | 933 CFX_ByteString& ImageEncoding, |
| 933 CPDF_Dictionary*& pImageParms, | 934 CPDF_Dictionary*& pImageParms, |
| 934 FX_DWORD estimated_size, | 935 FX_DWORD estimated_size, |
| 935 FX_BOOL bImageAcc); | 936 FX_BOOL bImageAcc); |
| 936 | 937 |
| 937 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ | 938 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ |
| OLD | NEW |