Home
last modified time | relevance | path

Searched refs:total_size (Results 1 – 25 of 270) sorted by relevance

1234567891011

/third_party/ffmpeg/tests/ref/fate/
Dimgutils57 …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 1024 0 0, plane_offsets: 3072 0 0, total_size: 4096
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/
D3-1.c42 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()
D10-1.c41 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()
D9-1.c40 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/gstreamer/gstplugins_bad/tests/check/elements/
Djpegparse.c225 gsize total_size = 0; in GST_START_TEST() local
230 total_size += sizeof (test_data_garbage); in GST_START_TEST()
231 total_size += sizeof (test_data_short_frame); in GST_START_TEST()
232 total_size += sizeof (test_data_garbage); in GST_START_TEST()
233 total_size += sizeof (test_data_normal_frame); in GST_START_TEST()
234 total_size += sizeof (test_data_ff); in GST_START_TEST()
235 total_size += sizeof (test_data_entropy); in GST_START_TEST()
236 total_size += sizeof (test_data_extra_ff); in GST_START_TEST()
237 buffer = gst_buffer_new_and_alloc (total_size); in GST_START_TEST()
261 GST_LOG ("Pushing single buffer of %u bytes.", (guint) total_size); in GST_START_TEST()
[all …]
/third_party/skia/third_party/externals/libwebp/src/utils/
Dhuffman_utils.c84 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/
D4-1.c45 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/protobuf/src/google/protobuf/
Ddescriptor.pb.cc1503 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 …]
Dtype.pb.cc617 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 …]
Dwrappers.pb.cc423 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 …]
Dapi.pb.cc461 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 …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_screen_cache.c47 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/fsync/
D4-1.c35 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/libavcodec/
Dh264_mp4toannexb_bsf.c70 uint32_t total_size = 0; in h264_extradata_to_annexb() local
93 total_size += unit_size + 4; in h264_extradata_to_annexb()
94 av_assert1(total_size <= INT_MAX - padding); in h264_extradata_to_annexb()
101 if ((err = av_reallocp(&out, total_size + padding)) < 0) in h264_extradata_to_annexb()
103 memcpy(out + total_size - unit_size - 4, nalu_header, 4); in h264_extradata_to_annexb()
104 bytestream2_get_bufferu(gb, out + total_size - unit_size, unit_size); in h264_extradata_to_annexb()
108 pps_offset = total_size; in h264_extradata_to_annexb()
113 memset(out + total_size, 0, padding); in h264_extradata_to_annexb()
123 if (pps_offset < total_size) { in h264_extradata_to_annexb()
125 s->pps_size = total_size - pps_offset; in h264_extradata_to_annexb()
[all …]
/third_party/alsa-lib/src/topology/
Dbuilder.c79 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/libphonenumber/cpp/src/phonenumbers/
Dphonemetadata.pb.cc365 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 …]
Dphonenumber.pb.cc412 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/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_surfacedefs.h1255 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/curl/tests/unit/
Dunit1308.c50 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/
Diris_binder.c134 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/mesa3d/src/intel/compiler/
Dbrw_ir_allocator.h37 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/
Dexternal-context-helpers.c21 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()
/third_party/protobuf/src/google/protobuf/compiler/
Dplugin.pb.cc438 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/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpceltdepay.c204 guint offset, pos, payload_len, total_size, size; in gst_rtp_celt_depay_process() local
232 total_size = 0; in gst_rtp_celt_depay_process()
234 while (total_size < payload_len) { in gst_rtp_celt_depay_process()
237 total_size += s + 1; in gst_rtp_celt_depay_process()
242 total_size = 0; in gst_rtp_celt_depay_process()
244 while (total_size < payload_len) { in gst_rtp_celt_depay_process()
250 total_size += s + 1; in gst_rtp_celt_depay_process()
Dgstrtpjpegpay.c399 g_return_val_if_fail (memory->total_size > (memory->offset + 1), 0); in parse_mem_inc_offset_guint16()
418 g_return_val_if_fail (memory->total_size > memory->offset, 0); in parse_mem_inc_offset_guint8()
434 if (memory->total_size <= (memory->offset + 1)) in gst_rtp_jpeg_pay_read_quant_table()
442 if (memory->offset + quant_size > memory->total_size) in gst_rtp_jpeg_pay_read_quant_table()
443 quant_size = memory->total_size - memory->offset; in gst_rtp_jpeg_pay_read_quant_table()
450 if (memory->offset + 1 > memory->total_size) in gst_rtp_jpeg_pay_read_quant_table()
518 if (off + 17 > memory->total_size) in gst_rtp_jpeg_pay_read_sof()
597 ("Wrong size %u (needed %u).", (guint) memory->total_size, off + 17), in gst_rtp_jpeg_pay_read_sof()
639 if (memory->offset + 4 > memory->total_size) in gst_rtp_jpeg_pay_read_dri()
675 if (G_UNLIKELY (((memory->offset + 1) >= memory->total_size))) { in gst_rtp_jpeg_pay_skipping_marker()
[all …]

1234567891011