Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DCmapCoverage.cpp307 const uint64_t sizeToRead = numRecords * kUVSMappingRecordSize + kHeaderSize; in getVSCoverage() local
308 if (sizeToRead > nonDefaultUVSTableRemaining) { in getVSCoverage()
309 if (sizeToRead > UINT_MAX) { in getVSCoverage()
339 const uint64_t sizeToRead = numRecords * kUnicodeRangeRecordSize + kHeaderSize; in getVSCoverage() local
340 if (sizeToRead > defaultUVSTableRemaining) { in getVSCoverage()
341 if (sizeToRead > UINT_MAX) { in getVSCoverage()
389 const uint64_t sizeToRead = kHeaderSize + kRecordSize * numRecords; in getCoverageFormat14() local
390 if (numRecords == 0 || sizeToRead > length) { in getCoverageFormat14()
391 if (sizeToRead > UINT_MAX) { in getCoverageFormat14()
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp68 size_t sizeToRead = offset + length - mStreamBuffer.bytesWritten(); in GetData() local
69 if (sizeToRead <= kMinSizeToRead) { in GetData()
70 sizeToRead = kMinSizeToRead; in GetData()
73 void* tempBuffer = malloc(sizeToRead); in GetData()
78 size_t bytesRead = mStream->read(tempBuffer, sizeToRead); in GetData()
79 if (bytesRead != sizeToRead) { in GetData()