Home
last modified time | relevance | path

Searched refs:safeSize (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_contentparser.cpp159 FX_SAFE_UINT32 safeSize = 0; in PrepareContent() local
161 m_StreamSegmentOffsets.push_back(safeSize.ValueOrDie()); in PrepareContent()
163 safeSize += stream->GetSize(); in PrepareContent()
164 safeSize += 1; in PrepareContent()
165 if (!safeSize.IsValid()) in PrepareContent()
169 m_Size = safeSize.ValueOrDie(); in PrepareContent()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_hint_tables.cpp233 FX_SAFE_UINT32 safeSize = dwNSharedObjsArray[i]; in ReadPageHintTable() local
234 safeSize *= dwSharedNumeratorBits; in ReadPageHintTable()
235 if (!CanReadFromBitStream(hStream, safeSize)) in ReadPageHintTable()
238 hStream->SkipBits(safeSize.ValueOrDie()); in ReadPageHintTable()
/external/skia/dm/
DDMSrcSink.cpp460 const size_t safeSize = decodeInfo.computeByteSize(rowBytes); in draw() local
461 SkAutoMalloc pixels(safeSize); in draw()
508 memcpy(pixels.get(), priorFramePixels.get(), safeSize); in draw()
534 memcpy(priorFramePixels.reset(safeSize), pixels.get(), safeSize); in draw()
/external/skqp/dm/
DDMSrcSink.cpp421 const size_t safeSize = decodeInfo.computeByteSize(rowBytes); in draw() local
422 SkAutoMalloc pixels(safeSize); in draw()
460 memcpy(pixels.get(), priorFramePixels.get(), safeSize); in draw()
484 memcpy(priorFramePixels.reset(safeSize), pixels.get(), safeSize); in draw()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp3442 gl::Extents safeSize(safeArea.width, safeArea.height, 1); in readFromAttachment() local
3445 textureHelper.getFormatSet(), safeSize, StagingAccess::READ, in readFromAttachment()