Home
last modified time | relevance | path

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

12

/external/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()
/external/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()
/external/cronet/net/tools/
Dtruncate_net_log.py47 orig_size = get_file_size(in_path)
48 bytes_to_truncate = orig_size - desired_size
75 'Truncated file from %d to %d bytes\n' % (orig_size,
/external/rust/crates/bytes/tests/
Dtest_bytes_vec_alloc.rs71 let orig_size = self.remove(ptr); in dealloc() localVariable
73 if orig_size != layout.size() { in dealloc()
76 orig_size, in dealloc()
/external/compiler-rt/lib/builtins/
Demutls.c172 uintptr_t orig_size = array->size; in emutls_get_address_array() local
176 memset(array->data + orig_size, 0, in emutls_get_address_array()
177 (new_size - orig_size) * sizeof(void*)); in emutls_get_address_array()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/deqp-deps/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()
/external/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()
/external/squashfs-tools/squashfs-tools/
Dlzo_wrapper.c344 lzo_uint compsize, orig_size = size; in lzo_compress() local
363 res = lzo1x_optimize(stream->buffer, compsize, src, &orig_size, NULL); in lzo_compress()
365 if (res != LZO_E_OK || orig_size != size) in lzo_compress()
/external/rust/crates/grpcio-sys/grpc/third_party/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()
/external/tensorflow/third_party/absl/abseil-cpp/absl/hash/
Dhash_benchmark.cc95 const size_t orig_size = size; in FragmentedCord() local
106 (void) orig_size; in FragmentedCord()
107 assert(result.size() == orig_size); in FragmentedCord()
/external/angle/third_party/abseil-cpp/absl/hash/
Dhash_benchmark.cc95 const size_t orig_size = size; in FragmentedCord() local
106 (void) orig_size; in FragmentedCord()
107 assert(result.size() == orig_size); in FragmentedCord()
/external/abseil-cpp/absl/hash/
Dhash_benchmark.cc95 const size_t orig_size = size; in FragmentedCord() local
106 (void) orig_size; in FragmentedCord()
107 assert(result.size() == orig_size); in FragmentedCord()
/external/cronet/third_party/abseil-cpp/absl/hash/
Dhash_benchmark.cc95 const size_t orig_size = size; in FragmentedCord() local
106 (void) orig_size; in FragmentedCord()
107 assert(result.size() == orig_size); in FragmentedCord()
/external/webrtc/third_party/abseil-cpp/absl/hash/
Dhash_benchmark.cc95 const size_t orig_size = size; in FragmentedCord() local
106 (void) orig_size; in FragmentedCord()
107 assert(result.size() == orig_size); in FragmentedCord()
/external/tensorflow/tensorflow/core/platform/
Dtstring.h536 size_t orig_size = size(); in insert() local
537 TF_TString_ResizeUninitialized(&tstr_, orig_size + sublen); in insert()
539 memmove(mdata() + pos + sublen, data() + pos, orig_size - pos); in insert()
/external/avb/libavb/
Davb_slot_verify.c1104 size_t orig_size = avb_strlen(slot_data->cmdline); in load_and_verify_vbmeta() local
1106 orig_size + 1 + kernel_cmdline_desc.kernel_cmdline_length + 1; in load_and_verify_vbmeta()
1112 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta()
1113 new_cmdline[orig_size] = ' '; in load_and_verify_vbmeta()
1114 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp79 uint32_t orig_size) { in DecodeInlineStream() argument
92 return FlateOrLZWDecode(false, src_span, pParam.Get(), orig_size, in DecodeInlineStream()
/external/dtc/tests/
Dpylibfdt_tests.py299 orig_size = self.fdt.totalsize()
302 self.assertEqual(orig_size, self.fdt.totalsize())
304 self.assertTrue(self.fdt.totalsize() < orig_size)
/external/python/cpython3/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)
/external/pdfium/core/fxcodec/flate/
Dflatemodule.cpp533 uint32_t orig_size, in FlateUncompress() argument
548 orig_size ? orig_size in FlateUncompress()
/external/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()
/external/libevent/include/event2/
Dbuffer.h866 size_t orig_size; member
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_fused_batch_norm_op.cc936 size_t orig_size = src_dims[0] * src_dims[2] * src_dims[3]; in Compute() local
937 size_t adjust_size = (orig_size > 1) ? (orig_size - 1) : 1; in Compute()
938 adjust_factor = (static_cast<float>(orig_size)) / adjust_size; in Compute()

12