Home
last modified time | relevance | path

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

/external/elfutils/tests/
Delfputzdata.c92 size_t orig_size = shdr->sh_size; in main() local
103 if (d->d_size != orig_size) in main()
109 if (orig_size > 0 && orig_buf == NULL) in main()
114 if (orig_size > 0) in main()
115 memcpy (orig_buf, d->d_buf, orig_size); in main()
163 if (forced && new_size < orig_size) in main()
170 if (! forced && new_size >= orig_size) in main()
177 if (new_size == orig_size in main()
178 && memcmp (orig_buf, d->d_buf, orig_size) == 0) in main()
213 if (newer_size != orig_size in main()
[all …]
/external/u-boot/fs/btrfs/
Dextent-io.c15 u32 clen, dlen, orig_size = size, res; in btrfs_read_extent_inline() local
36 if (dlen > orig_size) { in btrfs_read_extent_inline()
48 if (dlen > orig_size) { in btrfs_read_extent_inline()
58 if (dlen > orig_size) in btrfs_read_extent_inline()
67 u64 physical, clen, dlen, orig_size = size; in btrfs_read_extent_reg() local
96 if (dlen > orig_size) in btrfs_read_extent_reg()
108 if (dlen > orig_size) in btrfs_read_extent_reg()
/external/u-boot/test/
Dcompression.c302 ulong orig_size; member
318 printf("\torig_size:%lu\n", buf->orig_size); in run_test_internal()
320 errcheck(compress(uts, buf->orig_buf, buf->orig_size, in run_test_internal()
325 errcheck(buf->compressed_size < buf->orig_size); in run_test_internal()
335 errcheck(buf->uncompressed_size == buf->orig_size); in run_test_internal()
337 buf->orig_size) == 0); in run_test_internal()
342 buf->uncompressed_buf, buf->orig_size, in run_test_internal()
344 errcheck(buf->uncompressed_size == buf->orig_size); in run_test_internal()
346 buf->orig_size) == 0); in run_test_internal()
347 errcheck(((char *)buf->uncompressed_buf)[buf->orig_size] == 'A'); in run_test_internal()
[all …]
/external/perf_data_converter/src/quipper/
Ddata_reader.cc20 const size_t orig_size = dest->size(); in ReadDataString() local
21 dest->resize(std::max(size, orig_size)); in ReadDataString()
23 dest->resize(ret ? size : orig_size); in ReadDataString()
/external/elfutils/libelf/
Delf_compress.c69 size_t *orig_size, size_t *orig_addralign, in __libelf_compress() argument
92 *orig_size = data->d_size; in __libelf_compress()
153 *orig_size += data->d_size; in __libelf_compress()
175 if (!force && flush == Z_FINISH && used >= *orig_size) in __libelf_compress()
412 size_t orig_size, orig_addralign, new_size; in elf_compress() local
414 &orig_size, &orig_addralign, in elf_compress()
430 chdr.ch_size = orig_size; in elf_compress()
445 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,
/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/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/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/dtc/tests/
Dpylibfdt_tests.py253 orig_size = self.fdt.totalsize()
256 self.assertEquals(orig_size, self.fdt.totalsize())
258 self.assertTrue(self.fdt.totalsize() < orig_size)
/external/u-boot/lib/libavb/
Davb_slot_verify.c938 size_t orig_size = avb_strlen(slot_data->cmdline); in load_and_verify_vbmeta() local
940 orig_size + 1 + kernel_cmdline_desc.kernel_cmdline_length + 1; in load_and_verify_vbmeta()
946 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta()
947 new_cmdline[orig_size] = ' '; in load_and_verify_vbmeta()
948 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta()
/external/avb/libavb/
Davb_slot_verify.c1051 size_t orig_size = avb_strlen(slot_data->cmdline); in load_and_verify_vbmeta() local
1053 orig_size + 1 + kernel_cmdline_desc.kernel_cmdline_length + 1; in load_and_verify_vbmeta()
1059 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta()
1060 new_cmdline[orig_size] = ' '; in load_and_verify_vbmeta()
1061 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta()
/external/python/cpython3/Lib/test/
Dtest_dict.py928 orig_size = sys.getsizeof(a)
934 self.assertGreater(sys.getsizeof(a), orig_size)
948 orig_size = sys.getsizeof(a)
954 self.assertGreater(sys.getsizeof(a), orig_size)
977 orig_size = sys.getsizeof(a)
984 self.assertGreater(sys.getsizeof(a), orig_size)
/external/pdfium/core/fxcodec/codec/
Dfx_codec_flate.cpp513 uint32_t orig_size, in FlateUncompress() argument
526 uint32_t guess_size = orig_size ? orig_size : src_size * 2; in FlateUncompress()
/external/elfutils/src/
Delfcompress.c197 compress_section (Elf_Scn *scn, size_t orig_size, const char *name, in compress_section() argument
236 float orig = orig_size ?: 1; in compress_section()
238 orig_size, shdr->sh_size, (new / orig) * 100); in compress_section()
/external/libevent/include/event2/
Dbuffer.h865 size_t orig_size; member
/external/tensorflow/tensorflow/core/kernels/
Dmkl_fused_batch_norm_op.cc692 size_t orig_size = src_dims[0] * src_dims[2] * src_dims[3]; in Compute() local
693 size_t adjust_size = orig_size - 1; in Compute()
694 adjust_factor = (static_cast<float>(orig_size)) / adjust_size; in Compute()
/external/tensorflow/tensorflow/compiler/tests/
Drandomized_tests.cc1559 int64 orig_size = dims[dims.size() - 1]; in TEST_F() local
1561 Tensor fft_shape = test::AsTensor<int32>(AsInt32s({orig_size})); in TEST_F()
1571 std::vector<int64> orig_size = {dims[dims.size() - 2], in TEST_F() local
1574 Tensor fft_shape = test::AsTensor<int32>(AsInt32s({orig_size})); in TEST_F()
1584 std::vector<int64> orig_size = { in TEST_F() local
1587 Tensor fft_shape = test::AsTensor<int32>(AsInt32s({orig_size})); in TEST_F()
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp265 const unsigned orig_size = orig->full_size(); in HandlePathDiagnostic() local
267 if (orig_size <= new_size) in HandlePathDiagnostic()
/external/libevent/
Dbufferevent_openssl.c1140 if (cbinfo->orig_size == 0) in be_openssl_outbuf_cb()
Dbuffer.c487 info.orig_size = new_size + buffer->n_del_for_cb - buffer->n_add_for_cb; in evbuffer_run_callbacks()
506 info.orig_size, new_size, cbent->cbarg); in evbuffer_run_callbacks()
/external/libevent/test/
Dregress_buffer.c1739 size_t old_len = cbinfo->orig_size; in log_change_callback()
2037 tt_int_op(cbinfo->orig_size, ==, 3); in check_prepend()