/external/pdfium/core/src/fxcrt/ |
D | extension.h | 78 if (!pos.IsValid() || pos.ValueOrDie() > m_pFile->GetSize()) { in SetRange() 100 if (!pos.IsValid() || pos.ValueOrDie() > (size_t)GetSize()) { in ReadBlock() 104 return (FX_BOOL)m_pFile->ReadPos(buffer, size, pos.ValueOrDie()); in ReadBlock() 205 if (!range.IsValid() || range.ValueOrDie() > m_nCurSize) { in SetRange() 233 offset = safeOffset.ValueOrDie(); in ReadBlock() 237 … if (!newPos.IsValid() || newPos.ValueOrDefault(0) == 0 || newPos.ValueOrDie() > m_nCurSize) { in ReadBlock() 241 m_nCurPos = newPos.ValueOrDie(); in ReadBlock() 292 m_nCurPos = newPos.ValueOrDie(); in WriteBlock() 319 if (!ExpandBlocks(newPos.ValueOrDie())) { in WriteBlock() 322 m_nCurPos = newPos.ValueOrDie(); in WriteBlock()
|
D | fx_basic_array.cpp | 41 m_pData = FX_Alloc(FX_BYTE, totalSize.ValueOrDie()); in SetSize() 55 FX_LPBYTE pNewData = FX_Realloc(FX_BYTE, m_pData, totalSize.ValueOrDie()); in SetSize() 71 if (m_nUnitSize != src.m_nUnitSize || !newSize.IsValid() || !SetSize(newSize.ValueOrDie())) { in Append()
|
D | fx_basic_wstring.cpp | 32 int totalSize = iSize.ValueOrDie() & ~7; in Create() 36 void* pData = FX_Alloc(FX_BYTE, iSize.ValueOrDie()); in Create() 413 FXSYS_memcpy32(dest.m_pData->m_String, m_pData->m_String + nCopyIndex, iSize.ValueOrDie()); in AllocCopy()
|
D | fx_basic_bstring.cpp | 71 int totalSize = nSize.ValueOrDie() & ~7; in Create()
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_loadimage.cpp | 210 m_pStreamAcc->LoadAllData(pStream, FALSE, src_pitch.ValueOrDie(), TRUE); in Load() 233 m_pLineBuf = FX_Alloc(FX_BYTE, pitch.ValueOrDie()); in Load() 245 m_pMaskedLine = FX_Alloc(FX_BYTE, pitch.ValueOrDie()); in Load() 247 m_Pitch = pitch.ValueOrDie(); in Load() 277 m_pLineBuf = FX_Alloc(FX_BYTE, pitch.ValueOrDie()); in ContinueToLoadMask() 289 m_pMaskedLine = FX_Alloc(FX_BYTE, pitch.ValueOrDie()); in ContinueToLoadMask() 291 m_Pitch = pitch.ValueOrDie(); in ContinueToLoadMask() 325 m_pStreamAcc->LoadAllData(pStream, FALSE, src_pitch.ValueOrDie(), TRUE); in StartLoadDIBSource() 624 if (provided_pitch.ValueOrDie() < requested_pitch.ValueOrDie()) { in CreateDecoder() 1043 FX_DWORD src_pitch_value = src_pitch.ValueOrDie(); in GetScanline() [all …]
|
D | fpdf_render_image.cpp | 1022 FXSYS_memset32(pFloats, 0, num_floats.ValueOrDie()); in LoadSMask()
|
/external/v8/src/ |
D | hydrogen-dehoist.cc | 40 value = multiply_result.ValueOrDie(); in DehoistArrayIndex()
|
D | hydrogen-instructions.cc | 3442 base_offset = addition_result.ValueOrDie(); in TryIncreaseBaseOffset() 4009 base_offset_ = addition_result.ValueOrDie(); in TryIncreaseBaseOffset()
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_func.cpp | 570 bitpos1 += bitpos.ValueOrDie(); in v_Call() 575 …FX_DWORD sample = _GetBits32(pSampleData, bitpos.ValueOrDie() + j * m_nBitsPerSample, m_nBitsPerSa… in v_Call() 591 FX_DWORD sample1 = _GetBits32(pSampleData, bitpos2.ValueOrDie(), m_nBitsPerSample); in v_Call()
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_parser.cpp | 1066 FX_DWORD totalWidth = dwAccWidth.ValueOrDie(); in LoadCrossRefV5() 1082 if (!dwCaculatedSize.IsValid() || dwCaculatedSize.ValueOrDie() > dwTotalSize) { in LoadCrossRefV5() 1089 if (!dwMaxObjNum.IsValid() || dwMaxObjNum.ValueOrDie() > dwV5Size) { in LoadCrossRefV5() 2443 if (pos.IsValid() && pos.ValueOrDie() < m_FileLen) { in ReadStream() 2444 m_Pos = pos.ValueOrDie(); in ReadStream() 3085 if (size.ValueOrDie() > m_dwFileLen) { in IsObjectsAvail() 3093 if (!m_pFileAvail->IsDataAvail(offset, size.ValueOrDie())) { in IsObjectsAvail() 3094 pHints->AddSegment(offset, size.ValueOrDie()); in IsObjectsAvail() 3316 if (size.ValueOrDie() > m_dwFileLen) { in GetObject() 3326 if (!m_pFileAvail->IsDataAvail(offset, size.ValueOrDie())) { in GetObject() [all …]
|
/external/v8/src/base/ |
D | safe_math.h | 77 T ValueOrDie() const { in ValueOrDie() function
|
/external/pdfium/third_party/base/numerics/ |
D | safe_math.h | 74 T ValueOrDie() const { in ValueOrDie() function
|
/external/pdfium/fpdfsdk/src/ |
D | fpdfview.cpp | 30 if (!newPos.IsValid() || newPos.ValueOrDie() > m_FileAccess.m_FileLen) { in ReadBlock() 216 if (!newPos.IsValid() || newPos.ValueOrDie() > (FX_DWORD)m_size) { in ReadBlock()
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_Edit.cpp | 429 path.SetPointCount(nCharArraySafe.ValueOrDie()); in DrawThisAppearance() 454 path.SetPointCount(nCharArraySafe.ValueOrDie()); in DrawThisAppearance()
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_jpeg.cpp | 143 dest_buf_length = safe_buf_len.ValueOrDie(); in _JpegEncode()
|
/external/pdfium/fpdfsdk/src/javascript/ |
D | Document.cpp | 1246 wchar_t* pResult = (wchar_t*)malloc(iSize.ValueOrDie()); in ReversalStr() 1267 wchar_t* pResult = (wchar_t*)malloc(iSize.ValueOrDie()); in CutString()
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_path.cpp | 168 int new_count = safe_new_count.ValueOrDie(); in AddPointCount()
|
/external/pdfium/core/src/fxcodec/jbig2/ |
D | JBig2_Image.cpp | 782 m_pData = (FX_BYTE*)m_pModule->JBig2_Realloc(m_pData, safeMemSize.ValueOrDie()); in expand()
|