Home
last modified time | relevance | path

Searched refs:kHeaderSize (Results 1 – 4 of 4) sorted by relevance

/frameworks/minikin/libs/minikin/
DCmapCoverage.cpp156 const size_t kHeaderSize = 16; in getCoverageFormat4() local
162 if (kHeaderSize + segCount * kSegmentSize > size) { in getCoverageFormat4()
167 uint32_t start = readU16(data, kHeaderSize + 2 * (segCount + i)); in getCoverageFormat4()
173 uint32_t rangeOffset = readU16(data, kHeaderSize + 2 * (3 * segCount + i)); in getCoverageFormat4()
175 uint32_t delta = readU16(data, kHeaderSize + 2 * (2 * segCount + i)); in getCoverageFormat4()
192 kHeaderSize + 6 * segCount + rangeOffset + (i + j - start) * 2; in getCoverageFormat4()
297 constexpr size_t kHeaderSize = 4; in getVSCoverage() local
304 if (nonDefaultUVSTableRemaining < kHeaderSize) { in getVSCoverage()
308 const uint64_t sizeToRead = numRecords * kUVSMappingRecordSize + kHeaderSize; in getVSCoverage()
316 const size_t recordOffset = kHeaderSize + kUVSMappingRecordSize * i; in getVSCoverage()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Darena.cc72 first_block->pos = kHeaderSize; in Init()
128 if (n > size - kHeaderSize) { in NewBlock()
130 size = kHeaderSize + n; in NewBlock()
134 b->pos = kHeaderSize + n; in NewBlock()
222 return reinterpret_cast<char*>(b) + kHeaderSize; in SlowAlloc()
239 space_used += (b->pos - kHeaderSize); in SpaceUsed()
252 used += (b->pos - kHeaderSize); in SpaceAllocatedAndUsed()
282 first_block->pos = kHeaderSize; in FreeBlocks()
Darena.h554 static const size_t kHeaderSize = sizeof(Block); variable
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java36 private static final int kHeaderSize = 8; field in MediaPlayerMetadataParserTest
97 for (int i = 0; i < kHeaderSize; ++i) { in testMissingSizeAndMarker()