Home
last modified time | relevance | path

Searched refs:safe_size (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_read_validator.cpp116 const FX_SAFE_SIZE_T safe_size = file_size_; in IsWholeFileAvailable() local
119 (safe_size.IsValid() ? IsDataRangeAvailable(0, safe_size.ValueOrDie()) in IsWholeFileAvailable()
159 const FX_SAFE_SIZE_T safe_size = file_size_; in CheckWholeFileAndRequestIfUnavailable() local
160 if (safe_size.IsValid()) in CheckWholeFileAndRequestIfUnavailable()
161 ScheduleDownload(0, safe_size.ValueOrDie()); in CheckWholeFileAndRequestIfUnavailable()
/external/pdfium/testing/libfuzzer/
Dpdf_fm2js_fuzzer.cc14 FX_SAFE_SIZE_T safe_size = size; in LLVMFuzzerTestOneInput() local
15 if (!safe_size.IsValid()) in LLVMFuzzerTestOneInput()
20 WideString::FromUTF8(ByteStringView(data, safe_size.ValueOrDie())); in LLVMFuzzerTestOneInput()
Dpdf_xml_fuzzer.cc49 FX_SAFE_SIZE_T safe_size = size; in LLVMFuzzerTestOneInput() local
50 if (!safe_size.IsValid()) in LLVMFuzzerTestOneInput()