Home
last modified time | relevance | path

Searched refs:CPDF_StreamParser (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser_unittest.cpp12 CPDF_StreamParser parser(data); in TEST()
20 CPDF_StreamParser parser(data); in TEST()
28 CPDF_StreamParser parser(data); in TEST()
36 CPDF_StreamParser parser(data); in TEST()
43 CPDF_StreamParser parser(data); in TEST()
Dcpdf_streamparser.cpp123 CPDF_StreamParser::CPDF_StreamParser(pdfium::span<const uint8_t> span) in CPDF_StreamParser() function in CPDF_StreamParser
126 CPDF_StreamParser::CPDF_StreamParser(pdfium::span<const uint8_t> span, in CPDF_StreamParser() function in CPDF_StreamParser
130 CPDF_StreamParser::~CPDF_StreamParser() = default;
132 RetainPtr<CPDF_Stream> CPDF_StreamParser::ReadInlineStream( in ReadInlineStream()
220 CPDF_StreamParser::ElementType CPDF_StreamParser::ParseNextElement() { in ParseNextElement()
298 RetainPtr<CPDF_Object> CPDF_StreamParser::ReadNextObject( in ReadNextObject()
376 void CPDF_StreamParser::GetNextWord(bool& bIsNumber) { in GetNextWord()
454 ByteString CPDF_StreamParser::ReadString() { in ReadString()
544 ByteString CPDF_StreamParser::ReadHexString() { in ReadHexString()
574 bool CPDF_StreamParser::PositionIsInBounds() const { in PositionIsInBounds()
Dcpdf_streamparser.h20 class CPDF_StreamParser {
24 explicit CPDF_StreamParser(pdfium::span<const uint8_t> span);
25 CPDF_StreamParser(pdfium::span<const uint8_t> span,
27 ~CPDF_StreamParser();
Dcpdf_streamcontentparser.cpp608 CPDF_StreamParser::ElementType type = m_pSyntax->ParseNextElement(); in Handle_BeginImage()
609 if (type == CPDF_StreamParser::ElementType::kKeyword) { in Handle_BeginImage()
615 if (type != CPDF_StreamParser::ElementType::kName) { in Handle_BeginImage()
644 CPDF_StreamParser::ElementType type = m_pSyntax->ParseNextElement(); in Handle_BeginImage()
645 if (type == CPDF_StreamParser::ElementType::kEndOfData) in Handle_BeginImage()
648 if (type != CPDF_StreamParser::ElementType::kKeyword) in Handle_BeginImage()
1549 AutoNuller<std::unique_ptr<CPDF_StreamParser>> auto_clearer(&m_pSyntax); in Parse()
1550 m_pSyntax = std::make_unique<CPDF_StreamParser>( in Parse()
1559 case CPDF_StreamParser::ElementType::kEndOfData: in Parse()
1561 case CPDF_StreamParser::ElementType::kKeyword: in Parse()
[all …]
Dcpdf_streamcontentparser.h39 class CPDF_StreamParser; variable
230 std::unique_ptr<CPDF_StreamParser> m_pSyntax;
/external/pdfium/testing/fuzzers/
Dpdf_streamparser_fuzzer.cc12 CPDF_StreamParser parser(pdfium::make_span(data, size)); in LLVMFuzzerTestOneInput()
Dpdf_nametree_fuzzer.cc55 CPDF_StreamParser parser(remaining); in LLVMFuzzerTestOneInput()