Searched refs:safe_size (Results 1 – 5 of 5) sorted by relevance
116 const FX_SAFE_SIZE_T safe_size = file_size_; in IsWholeFileAvailable() local119 (safe_size.IsValid() ? IsDataRangeAvailable(0, safe_size.ValueOrDie()) in IsWholeFileAvailable()159 const FX_SAFE_SIZE_T safe_size = file_size_; in CheckWholeFileAndRequestIfUnavailable() local160 if (safe_size.IsValid()) in CheckWholeFileAndRequestIfUnavailable()161 ScheduleDownload(0, safe_size.ValueOrDie()); in CheckWholeFileAndRequestIfUnavailable()
14 FX_SAFE_SIZE_T safe_size = size; in LLVMFuzzerTestOneInput() local15 if (!safe_size.IsValid()) in LLVMFuzzerTestOneInput()20 WideString::FromUTF8(ByteStringView(data, safe_size.ValueOrDie())); in LLVMFuzzerTestOneInput()
18 FX_SAFE_SIZE_T safe_size = size; in LLVMFuzzerTestOneInput() local19 if (!safe_size.IsValid()) in LLVMFuzzerTestOneInput()
94 pdfium::base::CheckedNumeric<size_t> safe_size = w; in Vector2D() local95 safe_size *= h; in Vector2D()96 return std::vector<T, A>(safe_size.ValueOrDie()); in Vector2D()
167 FX_SAFE_UINT32 safe_size = yw; in sycc420_to_rgb() local168 safe_size *= yh; in sycc420_to_rgb()169 safe_size *= sizeof(int); in sycc420_to_rgb()170 if (!safe_size.IsValid()) in sycc420_to_rgb()179 Optional<OpjImageRgbData> data = alloc_rgb(safe_size.ValueOrDie()); in sycc420_to_rgb()