/third_party/skia/third_party/externals/brotli/c/enc/ |
D | backward_references_hq.c | 90 size_t num_bytes) { in InitZopfliCostModel() argument 91 self->num_bytes_ = num_bytes; in InitZopfliCostModel() 92 self->literal_costs_ = BROTLI_ALLOC(m, float, num_bytes + 2); in InitZopfliCostModel() 187 size_t num_bytes = self->num_bytes_; in ZopfliCostModelSetFromCommands() local 189 for (i = 0; i < num_bytes; ++i) { in ZopfliCostModelSetFromCommands() 206 size_t num_bytes = self->num_bytes_; in ZopfliCostModelSetFromLiteralCosts() local 208 BrotliEstimateBitCostsForLiterals(position, num_bytes, ringbuffer_mask, in ZopfliCostModelSetFromLiteralCosts() 211 for (i = 0; i < num_bytes; ++i) { in ZopfliCostModelSetFromLiteralCosts() 304 const size_t num_bytes, in ComputeMinimumCopyLength() argument 311 while (pos + len <= num_bytes && nodes[pos + len].u.cost <= min_cost) { in ComputeMinimumCopyLength() [all …]
|
D | backward_references_hq.h | 27 size_t num_bytes, 34 size_t num_bytes, 81 MemoryManager* m, size_t num_bytes, 87 const size_t num_bytes, const size_t block_start, const ZopfliNode* nodes,
|
D | backward_references_inc.h | 11 size_t num_bytes, size_t position, in EXPORT_FN() 23 const size_t pos_end = position + num_bytes; in EXPORT_FN() 24 const size_t store_end = num_bytes >= FN(StoreLookahead)() ? in EXPORT_FN() 25 position + num_bytes - FN(StoreLookahead)() + 1 : position; in EXPORT_FN()
|
/third_party/node/deps/brotli/c/enc/ |
D | backward_references_hq.c | 90 size_t num_bytes) { in InitZopfliCostModel() argument 91 self->num_bytes_ = num_bytes; in InitZopfliCostModel() 92 self->literal_costs_ = BROTLI_ALLOC(m, float, num_bytes + 2); in InitZopfliCostModel() 187 size_t num_bytes = self->num_bytes_; in ZopfliCostModelSetFromCommands() local 189 for (i = 0; i < num_bytes; ++i) { in ZopfliCostModelSetFromCommands() 206 size_t num_bytes = self->num_bytes_; in ZopfliCostModelSetFromLiteralCosts() local 208 BrotliEstimateBitCostsForLiterals(position, num_bytes, ringbuffer_mask, in ZopfliCostModelSetFromLiteralCosts() 211 for (i = 0; i < num_bytes; ++i) { in ZopfliCostModelSetFromLiteralCosts() 304 const size_t num_bytes, in ComputeMinimumCopyLength() argument 311 while (pos + len <= num_bytes && nodes[pos + len].u.cost <= min_cost) { in ComputeMinimumCopyLength() [all …]
|
D | backward_references_hq.h | 27 size_t num_bytes, 34 size_t num_bytes, 81 MemoryManager* m, size_t num_bytes, 87 const size_t num_bytes, const size_t block_start, const ZopfliNode* nodes,
|
D | backward_references_inc.h | 11 size_t num_bytes, size_t position, in EXPORT_FN() 23 const size_t pos_end = position + num_bytes; in EXPORT_FN() 24 const size_t store_end = num_bytes >= FN(StoreLookahead)() ? in EXPORT_FN() 25 position + num_bytes - FN(StoreLookahead)() + 1 : position; in EXPORT_FN()
|
/third_party/mesa3d/src/util/tests/ |
D | blob_test.cpp | 130 size_t delta, last, num_bytes; in TEST() local 149 for (num_bytes = 1; num_bytes < sizeof(intptr_t); num_bytes++) { in TEST() 150 blob_write_bytes(&blob, bytes, num_bytes); in TEST() 169 for (num_bytes = 1; num_bytes < sizeof(intptr_t); num_bytes++) { in TEST() 170 EXPECT_U8_ARRAY_EQUAL(bytes, (const uint8_t *) blob_read_bytes(&reader, num_bytes), in TEST() 171 num_bytes) << "unaligned read of bytes"; in TEST()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jdatasrc-tj.c | 110 skip_input_data(j_decompress_ptr cinfo, long num_bytes) in skip_input_data() argument 118 if (num_bytes > 0) { in skip_input_data() 119 while (num_bytes > (long)src->bytes_in_buffer) { in skip_input_data() 120 num_bytes -= (long)src->bytes_in_buffer; in skip_input_data() 126 src->next_input_byte += (size_t)num_bytes; in skip_input_data() 127 src->bytes_in_buffer -= (size_t)num_bytes; in skip_input_data()
|
D | jdatasrc.c | 163 skip_input_data(j_decompress_ptr cinfo, long num_bytes) in skip_input_data() argument 171 if (num_bytes > 0) { in skip_input_data() 172 while (num_bytes > (long)src->bytes_in_buffer) { in skip_input_data() 173 num_bytes -= (long)src->bytes_in_buffer; in skip_input_data() 179 src->next_input_byte += (size_t)num_bytes; in skip_input_data() 180 src->bytes_in_buffer -= (size_t)num_bytes; in skip_input_data()
|
/third_party/mesa3d/src/imagination/rogue/ |
D | rogue_encode.c | 94 size_t num_bytes; member 107 .num_bytes = 8, 112 .num_bytes = 8, 117 .num_bytes = 8, 122 .num_bytes = 8, 141 .num_bytes = 16, 229 .num_bytes = 16, 285 .num_bytes = 16, 341 .num_bytes = 16, 380 .num_bytes = 16, [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/strncpy/ |
D | 1-1.c | 52 int i, num_bytes; in main() local 62 num_bytes = rand() % i; in main() 64 ret_str = strncpy(sample_str_2, sample_str_1, num_bytes); in main() 66 sample_str_2[num_bytes] = '\0'; in main() 67 sample_str_1[num_bytes] = '\0'; in main()
|
/third_party/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect02.c | 63 size_t num_bytes; in main() local 76 num_bytes = getpagesize(); in main() 80 bytes_to_write = MIN(strlen(buf), num_bytes); in main() 82 num_bytes -= in main() 86 } while (0 < num_bytes); in main()
|
/third_party/skia/third_party/externals/zlib/google/ |
D | zip_reader.cc | 48 bool WriteBytes(const char* data, int num_bytes) override; 72 bool StringWriterDelegate::WriteBytes(const char* data, int num_bytes) { in WriteBytes() argument 73 if (output_->size() + num_bytes > max_read_bytes_) in WriteBytes() 75 output_->append(data, num_bytes); in WriteBytes() 462 bool FileWriterDelegate::WriteBytes(const char* data, int num_bytes) { in WriteBytes() argument 463 int bytes_written = file_->WriteAtCurrentPos(data, num_bytes); in WriteBytes() 466 return bytes_written == num_bytes; in WriteBytes() 492 bool FilePathWriterDelegate::WriteBytes(const char* data, int num_bytes) { in WriteBytes() argument 493 return num_bytes == file_.WriteAtCurrentPos(data, num_bytes); in WriteBytes()
|
D | zip_writer.cc | 23 int num_bytes; in AddFileContentToZip() local 26 num_bytes = file.ReadAtCurrentPos(buf, zip::internal::kZipBufSize); in AddFileContentToZip() 28 if (num_bytes > 0) { in AddFileContentToZip() 29 if (zipWriteInFileInZip(zip_file, buf, num_bytes) != ZIP_OK) { in AddFileContentToZip() 35 } while (num_bytes > 0); in AddFileContentToZip()
|
D | zip_reader.h | 41 virtual bool WriteBytes(const char* data, int num_bytes) = 0; 253 bool WriteBytes(const char* data, int num_bytes) override; 287 bool WriteBytes(const char* data, int num_bytes) override;
|
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
D | string_utils.h | 51 size_t num_bytes = input.size(); in MakeVector() local 54 for (size_t byte_index = 0; byte_index <= num_bytes; byte_index++) { in MakeVector() 56 (byte_index < num_bytes ? uint8_t(input[byte_index]) : uint8_t(0)); in MakeVector() 64 if ((num_bytes + 1) % sizeof(uint32_t)) { in MakeVector()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | string_utils.h | 51 size_t num_bytes = input.size(); in MakeVector() local 54 for (size_t byte_index = 0; byte_index <= num_bytes; byte_index++) { in MakeVector() 56 (byte_index < num_bytes ? uint8_t(input[byte_index]) : uint8_t(0)); in MakeVector() 64 if ((num_bytes + 1) % sizeof(uint32_t)) { in MakeVector()
|
/third_party/ffmpeg/libavcodec/ |
D | mlp.c | 117 int num_bytes = (bit_size + 2) / 8; in ff_mlp_restart_checksum() local 120 crc = av_crc(crc_1D, crc, buf + 1, num_bytes - 2); in ff_mlp_restart_checksum() 121 crc ^= buf[num_bytes - 1]; in ff_mlp_restart_checksum() 127 crc ^= (buf[num_bytes] >> (7 - i)) & 1; in ff_mlp_restart_checksum()
|
/third_party/spirv-tools/source/util/ |
D | string_utils.h | 54 size_t num_bytes = input.size(); in AppendToVector() local 57 for (size_t byte_index = 0; byte_index <= num_bytes; byte_index++) { in AppendToVector() 59 (byte_index < num_bytes ? uint8_t(input[byte_index]) : uint8_t(0)); in AppendToVector() 67 if ((num_bytes + 1) % sizeof(uint32_t)) { in AppendToVector()
|
/third_party/skia/third_party/externals/expat/expat/tests/ |
D | memcheck.c | 46 size_t num_bytes; member 63 entry->num_bytes = size; in tracking_malloc() 173 entry->num_bytes = size; in tracking_realloc() 186 printf("Allocated %lu bytes at %p\n", (long unsigned)entry->num_bytes, in tracking_report()
|
/third_party/skia/third_party/externals/imgui/examples/example_android_opengl3/ |
D | main.cpp | 358 int num_bytes = 0; in GetAssetData() local 362 num_bytes = AAsset_getLength(asset_descriptor); in GetAssetData() 363 *outData = IM_ALLOC(num_bytes); in GetAssetData() 364 int64_t num_bytes_read = AAsset_read(asset_descriptor, *outData, num_bytes); in GetAssetData() 366 IM_ASSERT(num_bytes_read == num_bytes); in GetAssetData() 368 return num_bytes; in GetAssetData()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_jpeg_memory_source.cpp | 20 void SkipInputData(j_decompress_ptr cinfo, long num_bytes) { in SkipInputData() argument 21 if (num_bytes > 0) { in SkipInputData() 27 ConvertUnsigned(static_cast<unsigned long>(num_bytes), in SkipInputData()
|
/third_party/node/deps/v8/third_party/zlib/google/ |
D | zip_writer.cc | 39 const int num_bytes = in AddFileContent() local 42 if (num_bytes < 0) { in AddFileContent() 47 if (num_bytes == 0) in AddFileContent() 50 if (zipWriteInFileInZip(zip_file_, buf, num_bytes) != ZIP_OK) { in AddFileContent() 56 progress_.bytes += num_bytes; in AddFileContent()
|
/third_party/node/deps/zlib/google/ |
D | zip_writer.cc | 39 const int num_bytes = in AddFileContent() local 42 if (num_bytes < 0) { in AddFileContent() 47 if (num_bytes == 0) in AddFileContent() 50 if (zipWriteInFileInZip(zip_file_, buf, num_bytes) != ZIP_OK) { in AddFileContent() 56 progress_.bytes += num_bytes; in AddFileContent()
|
/third_party/vixl/src/ |
D | pool-manager-impl.h | 41 int num_bytes, in Emit() argument 86 num_bytes, in Emit() 130 int num_bytes, in ShouldSkipObject() argument 138 T max_actual_location = pc + num_bytes + max_pool_size_; in ShouldSkipObject() 191 int num_bytes, in MustEmit() argument 198 pc += num_bytes; in MustEmit() 251 if (last_reachable >= pc + num_bytes + max_pool_size_) return false; in MustEmit()
|