Home
last modified time | relevance | path

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

/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DCmapCoverage.cpp61 const size_t kHeaderSize = 16; in getCoverageFormat4() local
68 if (kHeaderSize + segCount * kSegmentSize > size) { in getCoverageFormat4()
73 uint32_t start = readU16(data, kHeaderSize + 2 * (segCount + i)); in getCoverageFormat4()
79 uint32_t rangeOffset = readU16(data, kHeaderSize + 2 * (3 * segCount + i)); in getCoverageFormat4()
81 uint32_t delta = readU16(data, kHeaderSize + 2 * (2 * segCount + i)); in getCoverageFormat4()
94 kHeaderSize + 6 * segCount + rangeOffset + (i + j - start) * 2; in getCoverageFormat4()
194 constexpr size_t kHeaderSize = 4; in getCoverage() local
203 if (kHeaderSize > cmap_size) { in getCoverage()
207 if (kHeaderSize + numTables * kTableSize > cmap_size) { in getCoverage()
216 const uint32_t tableHeadOffset = kHeaderSize + i * kTableSize; in getCoverage()
/third_party/flutter/skia/src/gpu/
DGrMemoryPool.cpp73 size_t blockSize = size + kHeaderSize; in allocate()
121 fHead->fCurrPtr = reinterpret_cast<intptr_t>(fHead) + kHeaderSize; in release()
123 fHead->fFreeSize = fHead->fSize - kHeaderSize; in release()
152 blockSize = SkTMax<size_t>(blockSize, kHeaderSize); in CreateBlock()
159 block->fFreeSize = blockSize - kHeaderSize; in CreateBlock()
160 block->fCurrPtr = reinterpret_cast<intptr_t>(block) + kHeaderSize; in CreateBlock()
189 intptr_t userStart = b + kHeaderSize; in validate()
201 SkASSERT(ptrOffset == kHeaderSize); in validate()
DGrProgramDesc.h128 kHeaderSize = SkAlign4(sizeof(KeyHeader)), enumerator
132 kProcessorKeysOffset = kHeaderOffset + kHeaderSize,
138 kPreAllocSize = kHeaderOffset + kHeaderSize +
DGrMemoryPool.h122 kHeaderSize = GrSizeAlignUp(sizeof(BlockHeader), kAlignment), enumerator
DGrProgramDesc.cpp251 memset(header, 0, kHeaderSize); in Build()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/fuzz/
Dtranslator_fuzzer.cpp56 const size_t kHeaderSize = 128; in LLVMFuzzerTestOneInput() local
58 if (size <= kHeaderSize) in LLVMFuzzerTestOneInput()
119 size -= kHeaderSize; in LLVMFuzzerTestOneInput()
120 data += kHeaderSize; in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/angle2/src/compiler/fuzz/
Dtranslator_fuzzer.cpp101 const size_t kHeaderSize = 128; in LLVMFuzzerTestOneInput() local
103 if (size <= kHeaderSize) in LLVMFuzzerTestOneInput()
182 size -= kHeaderSize; in LLVMFuzzerTestOneInput()
183 data += kHeaderSize; in LLVMFuzzerTestOneInput()
/third_party/skia/src/utils/
DSkCustomTypeface.cpp314 static constexpr size_t kHeaderSize = 16; variable
316 static_assert(sizeof(gHeaderString) == 1 + kHeaderSize, "need header to be 16 bytes");
321 wstream.write(gHeaderString, kHeaderSize); in onOpenStream()
376 char header[kHeaderSize]; in Deserialize()
377 if (stream->read(header, kHeaderSize) != kHeaderSize || in Deserialize()
378 0 != memcmp(header, gHeaderString, kHeaderSize)) in Deserialize()
/third_party/skia/src/gpu/
DGrProgramDesc.h172 kHeaderSize = 1, // "header" in ::Build enumerator
175 kPreAllocSize = kHeaderSize +
/third_party/flutter/skia/src/core/
DSkVertices.cpp330 #define kHeaderSize (3 * sizeof(uint32_t)) macro
358 const size_t size = SkAlign4(kHeaderSize + sizes.fArrays); in encode()
378 if (length < kHeaderSize) { in Decode()
402 if (SkAlign4(kHeaderSize + sizes.fArrays) != length) { in Decode()
/third_party/skia/src/codec/
DSkRawCodec.cpp525 const size_t kHeaderSize = 4; in IsTiffHeaderValid() local
526 unsigned char header[kHeaderSize]; in IsTiffHeaderValid()
527 if (!stream->read(header, 0 /* offset */, kHeaderSize)) { in IsTiffHeaderValid()
/third_party/flutter/skia/src/codec/
DSkRawCodec.cpp525 const size_t kHeaderSize = 4; in IsTiffHeaderValid() local
526 unsigned char header[kHeaderSize]; in IsTiffHeaderValid()
527 if (!stream->read(header, 0 /* offset */, kHeaderSize)) { in IsTiffHeaderValid()
/third_party/chromium/patch/
D0004-3.2-Beta5.patch52309 __ IntPtrConstant(JSObject::kHeaderSize - kHeapObjectTag));
52319 __ IntPtrConstant((FixedArray::kHeaderSize - kTaggedSize) -
D0003-3.2-Beta3-1115.patch70772 - constexpr int kHeaderSize = 100;
70775 + constexpr size_t kHeaderSize = 100;
70777 uint8_t header[kHeaderSize];
70844 - const size_t kHeaderSize = 100;
70846 - unsigned char header[kHeaderSize];
70871 + constexpr size_t kHeaderSize = 100;
70873 + uint8_t header[kHeaderSize];