Home
last modified time | relevance | path

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

/third_party/elfutils/tests/
H A 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) ! in main()
[all...]
/third_party/vulkan-loader/loader/
H A Dallocation.c85 void *loader_realloc(const VkAllocationCallbacks *pAllocator, void *pMemory, size_t orig_size, size_t size, argument
88 if (pMemory == NULL || orig_size == 0) {
116 void *loader_instance_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_scope);
132 void *loader_device_heap_realloc(const struct loader_device *dev, void *pMemory, size_t orig_size, size_t size, argument
134 return loader_realloc(dev ? &dev->alloc_callbacks : NULL, pMemory, orig_size, size, allocation_scope);
153 void *pMemory, size_t orig_size, size_t size,
155 return loader_realloc(NULL != pAllocator ? pAllocator : &instance->alloc_callbacks, pMemory, orig_size, size, allocation_scope);
152 loader_realloc_with_instance_fallback(const VkAllocationCallbacks *pAllocator, const struct loader_instance *instance, void *pMemory, size_t orig_size, size_t size, VkSystemAllocationScope allocation_scope) global() argument
/third_party/node/deps/cares/src/lib/
H A Dares_library_init.c87 void *ares_realloc_zero(void *ptr, size_t orig_size, size_t new_size) in ares_realloc_zero() argument
94 if (new_size > orig_size) { in ares_realloc_zero()
95 memset((unsigned char *)p + orig_size, 0, new_size - orig_size); in ares_realloc_zero()
H A Dares_private.h328 void *ares_realloc_zero(void *ptr, size_t orig_size, size_t new_size);
/third_party/elfutils/libelf/
H A Delf_compress.c67 size_t *orig_size, size_t *orig_addralign, in __libelf_compress()
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()
66 __libelf_compress(Elf_Scn *scn, size_t hsize, int ei_data, size_t *orig_size, size_t *orig_addralign, size_t *new_size, bool force) __libelf_compress() argument
H A 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()
H A DlibelfP.h576 size_t *orig_size, size_t *orig_addralign,
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A 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/
H A 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/
H A 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/ffmpeg/libavcodec/
H A 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/skia/third_party/externals/abseil-cpp/absl/hash/
H A 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/libavformat/
H A Dutils.c65 int orig_size = pkt->size; in append_packet_chunked() local
99 return pkt->size > orig_size ? pkt->size - orig_size : ret; in append_packet_chunked()
H A Dflvdec.c1069 int orig_size; local
1079 orig_size =
1418 if (last != orig_size + 11 && last != orig_size + 10 &&
1420 (last != orig_size || !last) && last != flv->sum_flv_tag_size &&
1422 av_log(s, AV_LOG_ERROR, "Packet mismatch %d %d %"PRId64"\n", last, orig_size + 11, flv->sum_flv_tag_size);
H A Dmxfdec.c623 uint64_t orig_size; in mxf_decrypt_triplet() local
656 orig_size = avio_rb64(pb); in mxf_decrypt_triplet()
657 if (orig_size < plaintext_size) in mxf_decrypt_triplet()
661 if (size < 32 || size - 32 < orig_size || (int)orig_size != orig_size) in mxf_decrypt_triplet()
679 av_shrink_packet(pkt, orig_size); in mxf_decrypt_triplet()
H A Drtmpproto.c2898 int orig_size = size; in rtmp_read() local
2907 return orig_size; in rtmp_read()
2919 return orig_size; in rtmp_read()
/third_party/elfutils/src/
H A 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/
H A 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/
H A 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/python/Lib/test/
H A Dtest_dict.py1025 orig_size = sys.getsizeof(a)
1069 orig_size = sys.getsizeof(a)
1076 self.assertGreater(sys.getsizeof(a), orig_size)
/third_party/python/Objects/
H A Ddictobject.c2885 Py_ssize_t orig_size = other->ma_keys->dk_nentries; in dict_merge() local
2921 if (orig_size != other->ma_keys->dk_nentries) { in dict_merge()
/third_party/astc-encoder/Source/
H A 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()

Completed in 52 milliseconds