Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DCmapCoverage.cpp308 const uint64_t sizeToRead = numRecords * kUVSMappingRecordSize + kHeaderSize; in getVSCoverage() local
309 if (sizeToRead > nonDefaultUVSTableRemaining) { in getVSCoverage()
310 if (sizeToRead > UINT_MAX) { in getVSCoverage()
340 const uint64_t sizeToRead = numRecords * kUnicodeRangeRecordSize + kHeaderSize; in getVSCoverage() local
341 if (sizeToRead > defaultUVSTableRemaining) { in getVSCoverage()
342 if (sizeToRead > UINT_MAX) { in getVSCoverage()
390 const uint64_t sizeToRead = kHeaderSize + kRecordSize * numRecords; in getCoverageFormat14() local
391 if (numRecords == 0 || sizeToRead > length) { in getCoverageFormat14()
392 if (sizeToRead > UINT_MAX) { in getCoverageFormat14()
/frameworks/base/media/jni/
Dandroid_media_Streams.cpp65 size_t sizeToRead = offset + length - mStreamBuffer.bytesWritten(); in GetData() local
66 if (sizeToRead <= kMinSizeToRead) { in GetData()
67 sizeToRead = kMinSizeToRead; in GetData()
70 void* tempBuffer = malloc(sizeToRead); in GetData()
75 size_t bytesRead = mStream->read(tempBuffer, sizeToRead); in GetData()
76 if (bytesRead != sizeToRead) { in GetData()