/third_party/ffmpeg/tests/ref/fate/ |
D | imgutils | 57 …2 32 0, plane_sizes: 3072 768 768 0, plane_offsets: 3072 768 0, total_size: 4608 58 …0 0 0, plane_sizes: 6144 0 0 0, plane_offsets: 0 0 0, total_size: 6144 59 …0 0 0, plane_sizes: 9216 0 0 0, plane_offsets: 0 0 0, total_size: 9216 60 …0 0 0, plane_sizes: 9216 0 0 0, plane_offsets: 0 0 0, total_size: 9216 61 …2 32 0, plane_sizes: 3072 1536 1536 0, plane_offsets: 3072 1536 0, total_size: 6144 62 …4 64 0, plane_sizes: 3072 3072 3072 0, plane_offsets: 3072 3072 0, total_size: 9216 63 …6 16 0, plane_sizes: 3072 192 192 0, plane_offsets: 3072 192 0, total_size: 3456 64 …6 16 0, plane_sizes: 3072 768 768 0, plane_offsets: 3072 768 0, total_size: 4608 65 …0 0 0, plane_sizes: 3072 0 0 0, plane_offsets: 0 0 0, total_size: 3072 66 … 0 0 0, plane_sizes: 384 0 0 0, plane_offsets: 0 0 0, total_size: 384 [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 3-1.c | 42 long total_size; in main() local 60 total_size = 2 * page_size; in main() 78 data = malloc(total_size); in main() 80 memset(data, 'a', total_size); in main() 81 if (write(fd, data, total_size) != total_size) { in main() 86 memset(data, 'b', total_size); in main() 87 if (write(fd2, data, total_size) != total_size) { in main()
|
D | 10-1.c | 41 long total_size; in main() local 47 total_size = 1024; in main() 48 size = total_size; in main() 58 if (ftruncate(fd, total_size) == -1) { in main()
|
D | 9-1.c | 40 long total_size; in main() local 48 total_size = page_size; in main() 49 size = total_size; in main() 60 if (ftruncate(fd, total_size) == -1) { in main()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ohos/ |
D | geocoding_data.pb.cc | 415 size_t total_size = 0; in RequiredFieldsByteSizeFallback() local 419 total_size += 1 + in RequiredFieldsByteSizeFallback() 426 total_size += 1 + in RequiredFieldsByteSizeFallback() 431 return total_size; in RequiredFieldsByteSizeFallback() 435 size_t total_size = 0; in ByteSizeLong() local 439 total_size += 1 + in ByteSizeLong() 444 total_size += 1 + in ByteSizeLong() 449 total_size += RequiredFieldsByteSizeFallback(); in ByteSizeLong() 456 total_size += 1UL * this->_internal_prefixes_info_size(); in ByteSizeLong() 458 total_size += in ByteSizeLong() [all …]
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | huffman_utils.c | 84 int total_size = 1 << root_bits; // total size root table + 2nd level table in BuildHuffmanTable() local 138 ReplicateValue(table, 1, total_size, code); in BuildHuffmanTable() 140 return total_size; in BuildHuffmanTable() 146 uint32_t mask = total_size - 1; // mask for low bits in BuildHuffmanTable() 186 total_size += table_size; in BuildHuffmanTable() 208 return total_size; in BuildHuffmanTable() 219 const int total_size = in VP8LBuildHuffmanTable() local 222 if (total_size == 0 || root_table == NULL) return total_size; in VP8LBuildHuffmanTable() 224 if (root_table->curr_segment->curr_table + total_size >= in VP8LBuildHuffmanTable() 237 next->size = total_size > segment_size ? total_size : segment_size; in VP8LBuildHuffmanTable() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | h264_mp4toannexb_bsf.c | 73 uint32_t total_size = 0; in h264_extradata_to_annexb() local 96 total_size += unit_size + 4; in h264_extradata_to_annexb() 97 av_assert1(total_size <= INT_MAX - padding); in h264_extradata_to_annexb() 104 if ((err = av_reallocp(&out, total_size + padding)) < 0) in h264_extradata_to_annexb() 106 memcpy(out + total_size - unit_size - 4, nalu_header, 4); in h264_extradata_to_annexb() 107 bytestream2_get_bufferu(gb, out + total_size - unit_size, unit_size); in h264_extradata_to_annexb() 111 pps_offset = total_size; in h264_extradata_to_annexb() 116 memset(out + total_size, 0, padding); in h264_extradata_to_annexb() 126 if (pps_offset < total_size) { in h264_extradata_to_annexb() 128 s->pps_size = total_size - pps_offset; in h264_extradata_to_annexb() [all …]
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor.pb.cc | 1503 size_t total_size = 0; in ByteSizeLong() local 1510 total_size += 1UL * this->_internal_file_size(); in ByteSizeLong() 1512 total_size += in ByteSizeLong() 1518 _internal_metadata_, total_size, &_cached_size_); in ByteSizeLong() 1520 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); in ByteSizeLong() 1522 return total_size; in ByteSizeLong() 2037 size_t total_size = 0; in ByteSizeLong() local 2044 total_size += 1 * in ByteSizeLong() 2047 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( in ByteSizeLong() 2052 total_size += 1UL * this->_internal_message_type_size(); in ByteSizeLong() [all …]
|
D | type.pb.cc | 617 size_t total_size = 0; in ByteSizeLong() local 624 total_size += 1UL * this->_internal_fields_size(); in ByteSizeLong() 626 total_size += in ByteSizeLong() 631 total_size += 1 * in ByteSizeLong() 634 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( in ByteSizeLong() 639 total_size += 1UL * this->_internal_options_size(); in ByteSizeLong() 641 total_size += in ByteSizeLong() 647 total_size += 1 + in ByteSizeLong() 654 total_size += 1 + in ByteSizeLong() 661 total_size += 1 + in ByteSizeLong() [all …]
|
D | wrappers.pb.cc | 423 size_t total_size = 0; in ByteSizeLong() local 431 total_size += 1 + 8; in ByteSizeLong() 436 _internal_metadata_, total_size, &_cached_size_); in ByteSizeLong() 438 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); in ByteSizeLong() 440 return total_size; in ByteSizeLong() 618 size_t total_size = 0; in ByteSizeLong() local 626 total_size += 1 + 4; in ByteSizeLong() 631 _internal_metadata_, total_size, &_cached_size_); in ByteSizeLong() 633 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); in ByteSizeLong() 635 return total_size; in ByteSizeLong() [all …]
|
D | api.pb.cc | 461 size_t total_size = 0; in ByteSizeLong() local 468 total_size += 1UL * this->_internal_methods_size(); in ByteSizeLong() 470 total_size += in ByteSizeLong() 475 total_size += 1UL * this->_internal_options_size(); in ByteSizeLong() 477 total_size += in ByteSizeLong() 482 total_size += 1UL * this->_internal_mixins_size(); in ByteSizeLong() 484 total_size += in ByteSizeLong() 490 total_size += 1 + in ByteSizeLong() 497 total_size += 1 + in ByteSizeLong() 504 total_size += 1 + in ByteSizeLong() [all …]
|
D | struct.pb.cc | 352 size_t total_size = 0; in ByteSizeLong() local 359 total_size += 1 * in ByteSizeLong() 364 total_size += Struct_FieldsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); in ByteSizeLong() 369 _internal_metadata_, total_size, &_cached_size_); in ByteSizeLong() 371 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); in ByteSizeLong() 373 return total_size; in ByteSizeLong() 747 size_t total_size = 0; in ByteSizeLong() local 756 total_size += 1 + in ByteSizeLong() 762 total_size += 1 + 8; in ByteSizeLong() 767 total_size += 1 + in ByteSizeLong() [all …]
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_screen_cache.c | 47 unsigned bw, bh, bpb, total_size, i; in svga_surface_size() local 62 total_size = 0; in svga_surface_size() 69 total_size += img_size; in svga_surface_size() 72 total_size *= key->numFaces * key->arraySize * MAX2(1, key->sampleCount); in svga_surface_size() 74 return total_size; in svga_surface_size() 146 assert(surf_size <= cache->total_size); in svga_screen_cache_lookup() 147 if (surf_size > cache->total_size) in svga_screen_cache_lookup() 148 cache->total_size = 0; /* should never happen, but be safe */ in svga_screen_cache_lookup() 150 cache->total_size -= surf_size; in svga_screen_cache_lookup() 190 cache->total_size -= svga_surface_size(&entry->key); in svga_screen_cache_shrink() [all …]
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | phonemetadata.pb.cc | 365 size_t total_size = 0; in RequiredFieldsByteSizeFallback() local 369 total_size += 1 + in RequiredFieldsByteSizeFallback() 376 total_size += 1 + in RequiredFieldsByteSizeFallback() 381 return total_size; in RequiredFieldsByteSizeFallback() 385 size_t total_size = 0; in ByteSizeLong() local 389 total_size += 1 + in ByteSizeLong() 394 total_size += 1 + in ByteSizeLong() 399 total_size += RequiredFieldsByteSizeFallback(); in ByteSizeLong() 406 total_size += 1 * in ByteSizeLong() 409 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( in ByteSizeLong() [all …]
|
D | phonenumber.pb.cc | 412 size_t total_size = 0; in RequiredFieldsByteSizeFallback() local 416 total_size += 1 + in RequiredFieldsByteSizeFallback() 423 total_size += 1 + in RequiredFieldsByteSizeFallback() 428 return total_size; in RequiredFieldsByteSizeFallback() 432 size_t total_size = 0; in ByteSizeLong() local 436 total_size += 1 + in ByteSizeLong() 441 total_size += 1 + in ByteSizeLong() 446 total_size += RequiredFieldsByteSizeFallback(); in ByteSizeLong() 456 total_size += 1 + in ByteSizeLong() 463 total_size += 1 + in ByteSizeLong() [all …]
|
/third_party/alsa-lib/src/topology/ |
D | builder.c | 79 size_t total_size = 0, count = 0, block_size = 0; in write_elem_block() local 126 total_size += wsize; in write_elem_block() 140 if (total_size != size) { in write_elem_block() 142 size, total_size); in write_elem_block() 235 size_t total_size, size; in tplg_write_data() local 239 total_size = calc_manifest_size(tplg); in tplg_write_data() 246 total_size += size; in tplg_write_data() 251 tplg->bin = malloc(total_size); in tplg_write_data() 253 tplg->bin_size = total_size; in tplg_write_data() 292 if (total_size != tplg->bin_pos) { in tplg_write_data() [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/ |
D | 4-1.c | 45 int total_size = 1024; in main() local 49 size_t size = total_size; in main() 66 data = malloc(total_size); in main() 67 memset(data, 'a', total_size); in main() 68 if (write(fd, data, total_size) != total_size) { in main()
|
/third_party/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_surfacedefs.h | 1255 uint32 slice_size, total_size; in svga3dsurface_get_image_buffer_size() local 1260 total_size = clamped_umul32(image_blocks.width, in svga3dsurface_get_image_buffer_size() 1262 total_size = clamped_umul32(total_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size() 1263 total_size = clamped_umul32(total_size, desc->bytes_per_block); in svga3dsurface_get_image_buffer_size() 1264 return total_size; in svga3dsurface_get_image_buffer_size() 1271 total_size = clamped_umul32(slice_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size() 1273 return total_size; in svga3dsurface_get_image_buffer_size() 1319 uint64_t total_size = 0; in svga3dsurface_get_serialized_size() local 1325 total_size += svga3dsurface_get_image_buffer_size(desc, in svga3dsurface_get_serialized_size() 1329 total_size *= num_layers; in svga3dsurface_get_serialized_size() [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fsync/ |
D | 4-1.c | 35 int total_size = 1024; in main() local 48 data = malloc(total_size); in main() 49 memset(data, 'a', total_size); in main() 50 if (write(fd, data, total_size) != total_size) { in main()
|
/third_party/ffmpeg/libavformat/ |
D | concat.c | 45 uint64_t total_size; member 68 int64_t size, total_size = 0; in concat_open() local 117 total_size += size; in concat_open() 129 data->total_size = total_size; in concat_open() 167 return data->total_size; in concat_seek() 216 int64_t total_size = 0; in concatf_open() local 294 total_size += size; in concatf_open() 304 data->total_size = total_size; in concatf_open()
|
/third_party/curl/tests/unit/ |
D | unit1308.c | 50 size_t total_size = 0; variable 73 rc = curl_formget(post, &total_size, print_httppost_callback); 77 fail_unless(total_size == 518, "curl_formget got wrong size back"); 92 rc = curl_formget(post, &total_size, print_httppost_callback); 94 fail_unless(total_size == 899, "curl_formget got wrong size back");
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_binder.c | 134 unsigned total_size; in iris_binder_reserve_3d() local 152 total_size = 0; in iris_binder_reserve_3d() 155 total_size += sizes[stage]; in iris_binder_reserve_3d() 158 assert(total_size < binder->size); in iris_binder_reserve_3d() 160 if (total_size == 0) in iris_binder_reserve_3d() 163 if (binder_has_space(binder, total_size)) in iris_binder_reserve_3d() 174 uint32_t offset = binder_insert(binder, total_size); in iris_binder_reserve_3d()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | plugin.pb.cc | 438 size_t total_size = 0; in ByteSizeLong() local 448 total_size += 1 + in ByteSizeLong() 455 total_size += 1 + in ByteSizeLong() 462 total_size += 1 + in ByteSizeLong() 469 total_size += 1 + in ByteSizeLong() 477 _internal_metadata_, total_size, &_cached_size_); in ByteSizeLong() 479 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); in ByteSizeLong() 481 return total_size; in ByteSizeLong() 798 size_t total_size = 0; in ByteSizeLong() local 805 total_size += 1 * in ByteSizeLong() [all …]
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_ir_allocator.h | 37 sizes(NULL), offsets(NULL), count(0), total_size(0), capacity(0) in simple_allocator() 58 offsets[count] = total_size; in allocate() 59 total_size += size; in allocate() 81 unsigned total_size; variable
|
/third_party/jerryscript/jerry-core/api/ |
D | external-context-helpers.c | 21 static void * bms_task_context_alloc (size_t total_size, void *cb_data_p) in bms_task_context_alloc() argument 25 if (total_size > (BMS_TASK_CONTEXT_AND_HEAP_SIZE * CONVERTION_RATIO)) { in bms_task_context_alloc() 47 static void * js_task_context_alloc (size_t total_size, void *cb_data_p) in js_task_context_alloc() argument 51 if (total_size > (JS_TASK_CONTEXT_AND_HEAP_SIZE_BYTE)) { in js_task_context_alloc()
|