/third_party/flutter/skia/tools/ |
D | skpinfo.cpp | 85 uint32_t chunkSize; in main() local 86 if (!stream.readU32(&chunkSize)) { return kTruncatedFile; } in main() 91 if (curPos+chunkSize > totStreamSize) { in main() 105 SkDebugf("SK_PICT_READER_TAG %d\n", chunkSize); in main() 110 SkDebugf("SK_PICT_FACTORY_TAG %d\n", chunkSize); in main() 115 SkDebugf("SK_PICT_TYPEFACE_TAG %d\n", chunkSize); in main() 118 const int count = SkToInt(chunkSize); in main() 130 chunkSize = 0; in main() 135 SkDebugf("SK_PICT_PICTURE_TAG %d\n", chunkSize); in main() 142 SkDebugf("SK_PICT_BUFFER_SIZE_TAG %d\n", chunkSize); in main() [all …]
|
/third_party/skia/tools/ |
D | skpinfo.cpp | 86 uint32_t chunkSize; in main() local 87 if (!stream.readU32(&chunkSize)) { return kTruncatedFile; } in main() 92 if (curPos+chunkSize > totStreamSize) { in main() 106 SkDebugf("SK_PICT_READER_TAG %d\n", chunkSize); in main() 111 SkDebugf("SK_PICT_FACTORY_TAG %d\n", chunkSize); in main() 116 SkDebugf("SK_PICT_TYPEFACE_TAG %d\n", chunkSize); in main() 119 const int count = SkToInt(chunkSize); in main() 131 chunkSize = 0; in main() 136 SkDebugf("SK_PICT_PICTURE_TAG %d\n", chunkSize); in main() 143 SkDebugf("SK_PICT_BUFFER_SIZE_TAG %d\n", chunkSize); in main() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_wire/ |
D | ChunkedCommandHandler.cpp | 33 size_t chunkSize = std::min(size, mChunkedCommandRemainingSize); in HandleCommands() local 36 const_cast<const char*>(commands), chunkSize); in HandleCommands() 37 mChunkedCommandPutOffset += chunkSize; in HandleCommands() 38 mChunkedCommandRemainingSize -= chunkSize; in HandleCommands() 40 commands += chunkSize; in HandleCommands() 41 size -= chunkSize; in HandleCommands()
|
D | ChunkedCommandSerializer.cpp | 26 size_t chunkSize = std::min(remainingSize, mMaxAllocationSize); in SerializeChunkedCommand() local 27 void* dst = mSerializer->GetCmdSpace(chunkSize); in SerializeChunkedCommand() 31 memcpy(dst, allocatedBuffer, chunkSize); in SerializeChunkedCommand() 33 allocatedBuffer += chunkSize; in SerializeChunkedCommand() 34 remainingSize -= chunkSize; in SerializeChunkedCommand()
|
/third_party/libxml2/fuzz/ |
D | html.c | 31 size_t docSize, consumed, chunkSize; in LLVMFuzzerTestOneInput() local 64 for (consumed = 0; consumed < docSize; consumed += chunkSize) { in LLVMFuzzerTestOneInput() 65 chunkSize = docSize - consumed; in LLVMFuzzerTestOneInput() 66 if (chunkSize > maxChunkSize) in LLVMFuzzerTestOneInput() 67 chunkSize = maxChunkSize; in LLVMFuzzerTestOneInput() 68 htmlParseChunk(ctxt, docBuffer + consumed, chunkSize, 0); in LLVMFuzzerTestOneInput()
|
D | xml.c | 36 size_t maxSize, docSize, consumed, chunkSize; in LLVMFuzzerTestOneInput() local 70 for (consumed = 0; consumed < docSize; consumed += chunkSize) { in LLVMFuzzerTestOneInput() 71 chunkSize = docSize - consumed; in LLVMFuzzerTestOneInput() 72 if (chunkSize > maxChunkSize) in LLVMFuzzerTestOneInput() 73 chunkSize = maxChunkSize; in LLVMFuzzerTestOneInput() 74 xmlParseChunk(ctxt, docBuffer + consumed, chunkSize, 0); in LLVMFuzzerTestOneInput()
|
/third_party/node/deps/npm/node_modules/jsonparse/test/ |
D | big-token.js | 7 var chunkSize = 1024; 13 t.equal(value.length, chunkSize * chunks, 'token should be size of input json'); 19 var buf = Buffer.alloc ? Buffer.alloc(chunkSize) : new Buffer(chunkSize);
|
/third_party/node/test/parallel/ |
D | test-zlib.js | 53 let chunkSize = [128, 1024, 1024 * 16, 1024 * 1024]; variable 65 chunkSize = [1024 * 16]; 193 chunkSize.forEach(common.mustCall((chunkSize) => { 211 const msg = `${file} ${chunkSize} ${ 231 }, chunkSize.length));
|
D | test-zlib-params.js | 8 const chunkSize = 12 * 1024; constant 12 const chunk1 = file.slice(0, chunkSize); 13 const chunk2 = file.slice(chunkSize);
|
D | test-zlib-brotli-flush.js | 8 const chunkSize = 16; constant 11 const chunk = file.slice(0, chunkSize);
|
D | test-stream3-pause-then-read.js | 31 const chunkSize = 99; constant 32 const expectTotalData = totalChunks * chunkSize; 49 const chunk = chunks-- > 0 ? Buffer.alloc(chunkSize, 'x') : null;
|
D | test-zlib-flush.js | 8 const chunkSize = 16; constant 12 const chunk = file.slice(0, chunkSize);
|
D | test-http-max-http-headers.js | 47 const chunkSize = 100; 50 for (let i = 0; i < headers.length / chunkSize; i++) { 51 const current = (i + 1) * chunkSize;
|
D | test-zlib-deflate-constructors.js | 17 () => new zlib.Deflate({ chunkSize: 'test' }), property 27 () => new zlib.Deflate({ chunkSize: -Infinity }), property 37 () => new zlib.Deflate({ chunkSize: 0 }), property
|
D | test-zlib-failed-init.js | 9 () => zlib.createGzip({ chunkSize: 0 }), property
|
/third_party/node/lib/ |
D | zlib.js | 247 let chunkSize = Z_DEFAULT_CHUNK; 262 chunkSize = opts.chunkSize; 263 if (!checkFiniteNumber(chunkSize, 'options.chunkSize')) { 264 chunkSize = Z_DEFAULT_CHUNK; 265 } else if (chunkSize < Z_MIN_CHUNK) { 267 `>= ${Z_MIN_CHUNK}`, chunkSize); 298 this._outBuffer = Buffer.allocUnsafe(chunkSize); 301 this._chunkSize = chunkSize; 443 const chunkSize = self._chunkSize; 489 if (availOutAfter === 0 || offset >= chunkSize) { [all …]
|
/third_party/flutter/skia/src/codec/ |
D | SkHeifCodec.cpp | 29 uint64_t chunkSize = SkEndian_SwapBE32(ptr[0]); in IsHeif() local 37 if (chunkSize == 1) { in IsHeif() 44 chunkSize = SkEndian_SwapBE64(*chunkSizePtr); in IsHeif() 45 if (chunkSize < 16) { in IsHeif() 50 } else if (chunkSize < 8) { in IsHeif() 55 if (chunkSize > bytesRead) { in IsHeif() 56 chunkSize = bytesRead; in IsHeif() 58 int64_t chunkDataSize = chunkSize - offset; in IsHeif()
|
/third_party/skia/src/codec/ |
D | SkHeifCodec.cpp | 30 uint64_t chunkSize = SkEndian_SwapBE32(ptr[0]); in IsSupported() local 38 if (chunkSize == 1) { in IsSupported() 45 chunkSize = SkEndian_SwapBE64(*chunkSizePtr); in IsSupported() 46 if (chunkSize < 16) { in IsSupported() 51 } else if (chunkSize < 8) { in IsSupported() 56 if (chunkSize > bytesRead) { in IsSupported() 57 chunkSize = bytesRead; in IsSupported() 59 int64_t chunkDataSize = chunkSize - offset; in IsSupported()
|
/third_party/node/test/pummel/ |
D | test-stream-pipe-multi.js | 33 const chunkSize = 250; constant 34 const data = Buffer.allocUnsafe(chunkSize); 73 for (let i = 0; i < chunkSize; i++) {
|
/third_party/vk-gl-cts/android/package/src/com/drawelements/deqp/testercore/ |
D | DeqpInstrumentation.java | 201 final int chunkSize = 4*1024; in testLogData() local 207 if (log.length() > chunkSize) in testLogData() 209 message = log.substring(0, chunkSize); in testLogData() 210 log = log.substring(chunkSize); in testLogData()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ByteString.java | 504 public static ByteString readFrom(InputStream streamToDrain, int chunkSize) throws IOException { in readFrom() argument 505 return readFrom(streamToDrain, chunkSize, chunkSize); in readFrom() 515 int chunkSize = minChunkSize; in readFrom() local 517 ByteString chunk = readChunk(streamToDrain, chunkSize); in readFrom() 522 chunkSize = Math.min(chunkSize * 2, maxChunkSize); in readFrom() 536 private static ByteString readChunk(InputStream in, final int chunkSize) throws IOException { in readChunk() argument 537 final byte[] buf = new byte[chunkSize]; in readChunk() 539 while (bytesRead < chunkSize) { in readChunk() 540 final int count = in.read(buf, bytesRead, chunkSize - bytesRead); in readChunk()
|
D | BinaryWriter.java | 73 private final int chunkSize; field in BinaryWriter 90 public static BinaryWriter newHeapInstance(BufferAllocator alloc, int chunkSize) { in newHeapInstance() argument 92 ? newUnsafeHeapInstance(alloc, chunkSize) in newHeapInstance() 93 : newSafeHeapInstance(alloc, chunkSize); in newHeapInstance() 108 public static BinaryWriter newDirectInstance(BufferAllocator alloc, int chunkSize) { in newDirectInstance() argument 110 ? newUnsafeDirectInstance(alloc, chunkSize) in newDirectInstance() 111 : newSafeDirectInstance(alloc, chunkSize); in newDirectInstance() 122 static BinaryWriter newSafeHeapInstance(BufferAllocator alloc, int chunkSize) { in newSafeHeapInstance() argument 123 return new SafeHeapWriter(alloc, chunkSize); in newSafeHeapInstance() 126 static BinaryWriter newUnsafeHeapInstance(BufferAllocator alloc, int chunkSize) { in newUnsafeHeapInstance() argument [all …]
|
/third_party/node/test/fixtures/wpt/encoding/resources/ |
D | encode-form-common.js | 12 var chunkSize = 400; variable 47 if (currentChunk.length == chunkSize) {
|
/third_party/flutter/flutter/packages/flutter/test/painting/ |
D | image_provider_test.dart | 241 const int chunkSize = 8; 242 for (int offset = 0; offset < kTransparentImage.length; offset += chunkSize) { 243 chunks.add(Uint8List.fromList(kTransparentImage.skip(offset).take(chunkSize).toList())); 288 … expect(events[i].cumulativeBytesLoaded, math.min((i + 1) * chunkSize, kTransparentImage.length));
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesBufferTests.cpp | 222 …const VkDeviceSize chunkSize = std::max(memoryRequirements.alignment, static_cast<VkDeviceSi… in build() local 234 allocInfo.allocationSize = *numChunksIter * chunkSize; in build() 243 memBindIter->resourceChunkNdx * chunkSize, // VkDeviceSize resourceOffset; in build() 244 memBindIter->numChunks * chunkSize, // VkDeviceSize size; in build() 246 …alloc.getOffset() + memBindIter->memoryChunkNdx * chunkSize, // VkDeviceSize memory… in build() 919 …const VkDeviceSize chunkSize = sparseAllocation->resourceSize / sparseAllocation->numResourceC… in iterate() local 920 …eviceSize stagingBufferSize = sparseAllocation->resourceSize - (hasAliasedChunk ? chunkSize : 0); in iterate()
|