Home
last modified time | relevance | path

Searched refs:xrefpos (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_cross_ref_avail.cpp153 const int32_t xrefpos = in CheckCrossRefV4Trailer() local
155 if (xrefpos && in CheckCrossRefV4Trailer()
156 pdfium::base::IsValueInRangeForNumericType<FX_FILESIZE>(xrefpos)) in CheckCrossRefV4Trailer()
157 AddCrossRefForCheck(static_cast<FX_FILESIZE>(xrefpos)); in CheckCrossRefV4Trailer()
191 const int32_t xrefpos = trailer->GetIntegerFor(kPrevCrossRefFieldKey); in CheckCrossRefStream() local
192 if (xrefpos && in CheckCrossRefStream()
193 pdfium::base::IsValueInRangeForNumericType<FX_FILESIZE>(xrefpos)) in CheckCrossRefStream()
194 AddCrossRefForCheck(static_cast<FX_FILESIZE>(xrefpos)); in CheckCrossRefStream()
Dcpdf_parser.cpp403 bool CPDF_Parser::LoadAllCrossRefV4(FX_FILESIZE xrefpos) { in LoadAllCrossRefV4() argument
404 if (!LoadCrossRefV4(xrefpos, true)) in LoadAllCrossRefV4()
420 CrossRefList.push_back(xrefpos); in LoadAllCrossRefV4()
422 seen_xrefpos.insert(xrefpos); in LoadAllCrossRefV4()
426 xrefpos = GetDirectInteger(GetTrailer(), "Prev"); in LoadAllCrossRefV4()
427 while (xrefpos) { in LoadAllCrossRefV4()
429 if (pdfium::ContainsKey(seen_xrefpos, xrefpos)) in LoadAllCrossRefV4()
432 seen_xrefpos.insert(xrefpos); in LoadAllCrossRefV4()
435 CrossRefList.insert(CrossRefList.begin(), xrefpos); in LoadAllCrossRefV4()
436 LoadCrossRefV4(xrefpos, true); in LoadAllCrossRefV4()
[all …]