Home
last modified time | relevance | path

Searched refs:orig_size (Results 1 – 22 of 22) sorted by relevance

/third_party/elfutils/tests/
Delfputzdata.c94 size_t orig_size = shdr->sh_size; in main() local
105 if (d->d_size != orig_size) in main()
111 if (orig_size > 0) in main()
119 memcpy (orig_buf, d->d_buf, orig_size); in main()
168 if (forced && new_size < orig_size) in main()
175 if (! forced && new_size >= orig_size) in main()
182 if (new_size == orig_size in main()
184 || memcmp (orig_buf, d->d_buf, orig_size) == 0)) in main()
219 if (newer_size != orig_size in main()
221 || memcmp (orig_buf, d->d_buf, orig_size) != 0)) in main()
/third_party/vulkan-loader/loader/
Dallocation.c85 void *loader_realloc(const VkAllocationCallbacks *pAllocator, void *pMemory, size_t orig_size, size… argument
88 if (pMemory == NULL || orig_size == 0) {
116 …ance_heap_realloc(const struct loader_instance *inst, void *pMemory, size_t orig_size, size_t size, argument
118 …return loader_realloc(inst ? &inst->alloc_callbacks : NULL, pMemory, orig_size, size, allocation_s…
132 void *loader_device_heap_realloc(const struct loader_device *dev, void *pMemory, size_t orig_size, … argument
134 …return loader_realloc(dev ? &dev->alloc_callbacks : NULL, pMemory, orig_size, size, allocation_sco…
153 void *pMemory, size_t orig_size, size_t size, argument
155 …(NULL != pAllocator ? pAllocator : &instance->alloc_callbacks, pMemory, orig_size, size, allocatio…
Dallocation.h37 …_heap_realloc(const struct loader_instance *instance, void *pMemory, size_t orig_size, size_t size,
43 …vice_heap_realloc(const struct loader_device *device, void *pMemory, size_t orig_size, size_t size,
51 void *loader_realloc(const VkAllocationCallbacks *pAllocator, void *pMemory, size_t orig_size, size…
62 … void *pMemory, size_t orig_size, size_t size, VkSystemAllocationScope allocation_scope);
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dvkmemory.c62 gsize orig_size = 1024, size, offset; in GST_START_TEST() local
67 gst_vulkan_buffer_memory_alloc (device, orig_size, in GST_START_TEST()
78 check_size (mem, orig_size); in GST_START_TEST()
83 check_size ((GstMemory *) vk_mem->vk_mem, orig_size); in GST_START_TEST()
/third_party/elfutils/libelf/
Delf_compress.c67 size_t *orig_size, size_t *orig_addralign, in __libelf_compress() argument
90 *orig_size = data->d_size; in __libelf_compress()
150 *orig_size += data->d_size; in __libelf_compress()
172 if (!force && flush == Z_FINISH && used >= *orig_size) in __libelf_compress()
408 size_t orig_size, orig_addralign, new_size; in elf_compress() local
410 &orig_size, &orig_addralign, in elf_compress()
426 chdr.ch_size = orig_size; in elf_compress()
441 chdr.ch_size = orig_size; in elf_compress()
Delf_compress_gnu.c103 size_t orig_size, new_size, orig_addralign; in elf_compress_gnu() local
105 &orig_size, &orig_addralign, in elf_compress_gnu()
116 uint64_t be64_size = htobe64 (orig_size); in elf_compress_gnu()
DlibelfP.h576 size_t *orig_size, size_t *orig_addralign,
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Doptimizer_test.cpp92 auto orig_size = binary.size(); in TEST() local
96 EXPECT_THAT(orig_size + 1, Eq(binary.size())); in TEST()
97 opt.Run(binary.data(), orig_size, &binary); // This is the key. in TEST()
99 EXPECT_THAT(binary.size(), Eq(orig_size)); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Doptimizer_test.cpp92 auto orig_size = binary.size(); in TEST() local
96 EXPECT_THAT(orig_size + 1, Eq(binary.size())); in TEST()
97 opt.Run(binary.data(), orig_size, &binary); // This is the key. in TEST()
99 EXPECT_THAT(binary.size(), Eq(orig_size)); in TEST()
/third_party/spirv-tools/test/opt/
Doptimizer_test.cpp92 auto orig_size = binary.size(); in TEST() local
96 EXPECT_THAT(orig_size + 1, Eq(binary.size())); in TEST()
97 opt.Run(binary.data(), orig_size, &binary); // This is the key. in TEST()
99 EXPECT_THAT(binary.size(), Eq(orig_size)); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/
Dhash_benchmark.cc94 const size_t orig_size = size; in FragmentedCord() local
105 (void) orig_size; in FragmentedCord()
106 assert(result.size() == orig_size); in FragmentedCord()
/third_party/ffmpeg/libavcodec/
Dnuv.c161 int orig_size = buf_size; in decode_frame() local
191 return orig_size; in decode_frame()
324 return orig_size; in decode_frame()
/third_party/ffmpeg/libavformat/
Dflvdec.c1024 int orig_size; in flv_read_packet() local
1030 orig_size = in flv_read_packet()
1330 if (last != orig_size + 11 && last != orig_size + 10 && in flv_read_packet()
1332 (last != orig_size || !last) && last != flv->sum_flv_tag_size && in flv_read_packet()
1334 …av_log(s, AV_LOG_ERROR, "Packet mismatch %d %d %d\n", last, orig_size + 11, flv->sum_flv_tag_size); in flv_read_packet()
Dmxfdec.c593 uint64_t orig_size; in mxf_decrypt_triplet() local
626 orig_size = avio_rb64(pb); in mxf_decrypt_triplet()
627 if (orig_size < plaintext_size) in mxf_decrypt_triplet()
631 if (size < 32 || size - 32 < orig_size || (int)orig_size != orig_size) in mxf_decrypt_triplet()
649 av_shrink_packet(pkt, orig_size); in mxf_decrypt_triplet()
Drtmpproto.c2895 int orig_size = size; in rtmp_read() local
2904 return orig_size; in rtmp_read()
2916 return orig_size; in rtmp_read()
Dutils.c273 int orig_size = pkt->size; in append_packet_chunked() local
307 return pkt->size > orig_size ? pkt->size - orig_size : ret; in append_packet_chunked()
/third_party/python/Lib/test/
Dtest_dict.py1017 orig_size = sys.getsizeof(a)
1023 self.assertGreater(sys.getsizeof(a), orig_size)
1037 orig_size = sys.getsizeof(a)
1043 self.assertGreater(sys.getsizeof(a), orig_size)
1066 orig_size = sys.getsizeof(a)
1073 self.assertGreater(sys.getsizeof(a), orig_size)
/third_party/elfutils/src/
Delfcompress.c199 compress_section (Elf_Scn *scn, size_t orig_size, const char *name, in compress_section() argument
238 float orig = orig_size ?: 1; in compress_section()
240 orig_size, shdr->sh_size, (new / orig) * 100); in compress_section()
/third_party/ltp/tools/sparse/sparse-src/
Dsimplify.c616 unsigned int orig_size = src->orig_type->bit_size; in operand_size() local
617 if (orig_size < size) in operand_size()
618 size = orig_size; in operand_size()
622 unsigned int orig_size = value_size(pseudo->value); in operand_size() local
623 if (orig_size < size) in operand_size()
624 size = orig_size; in operand_size()
/third_party/mesa3d/src/panfrost/bifrost/valhall/
Dva_pack.c935 unsigned orig_size = emission->size; in bi_pack_valhall() local
962 if (orig_size != emission->size) { in bi_pack_valhall()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-read-common.c220 gint orig_size, out_size; in gst_matroska_decompress_data() local
228 orig_size = size; in gst_matroska_decompress_data()
234 orig_size = size; in gst_matroska_decompress_data()
237 result = lzo1x_decode (new_data, &out_size, data, &orig_size); in gst_matroska_decompress_data()
239 if (orig_size > 0) { in gst_matroska_decompress_data()
248 } while (orig_size > 0 && result == LZO_OUTPUT_FULL); in gst_matroska_decompress_data()
/third_party/astc-encoder/Source/
Dtinyexr.h4856 size_t orig_size = pArray->m_size; in mz_zip_array_push_back() local
4857 if (!mz_zip_array_resize(pZip, pArray, orig_size + n, MZ_TRUE)) in mz_zip_array_push_back()
4859 memcpy((mz_uint8 *)pArray->m_p + orig_size * pArray->m_element_size, in mz_zip_array_push_back()
10478 size_t orig_size = size; in ParseEXRHeader() local
10719 info->header_len = static_cast<unsigned int>(orig_size - size); in ParseEXRHeader()