Home
last modified time | relevance | path

Searched refs:orig_size (Results 1 – 15 of 15) 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/elfutils/libelf/
Delf_compress.c73 size_t *orig_size, size_t *orig_addralign, in __libelf_compress() argument
96 *orig_size = data->d_size; in __libelf_compress()
155 *orig_size += data->d_size; in __libelf_compress()
177 if (!force && flush == Z_FINISH && used >= *orig_size) in __libelf_compress()
392 size_t orig_size, orig_addralign, new_size; in elf_compress() local
394 &orig_size, &orig_addralign, in elf_compress()
410 chdr.ch_size = orig_size; in elf_compress()
425 chdr.ch_size = orig_size; in elf_compress()
Delf_compress_gnu.c101 size_t orig_size, new_size, orig_addralign; in elf_compress_gnu() local
103 &orig_size, &orig_addralign, in elf_compress_gnu()
114 uint64_t be64_size = htobe64 (orig_size); in elf_compress_gnu()
DlibelfP.h599 size_t *orig_size, size_t *orig_addralign,
/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/avb/libavb/
Davb_slot_verify.c833 size_t orig_size = avb_strlen(slot_data->cmdline); in load_and_verify_vbmeta() local
835 orig_size + 1 + kernel_cmdline_desc.kernel_cmdline_length + 1; in load_and_verify_vbmeta()
841 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta()
842 new_cmdline[orig_size] = ' '; in load_and_verify_vbmeta()
843 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_flate.cpp504 uint32_t orig_size, in FlateUncompress() argument
508 uint32_t guess_size = orig_size ? orig_size : src_size * 2; in FlateUncompress()
510 uint32_t alloc_step = orig_size ? kStepSize : std::min(src_size, kStepSize); in FlateUncompress()
/external/vulkan-validation-layers/loader/
Dloader.h417 …p_realloc(const struct loader_instance *instance, void *pMemory, size_t orig_size, size_t size, Vk…
422 …_heap_realloc(const struct loader_device *device, void *pMemory, size_t orig_size, size_t size, Vk…
Dloader.c203 void *pMemory, size_t orig_size, size_t size, argument
206 if (pMemory == NULL || orig_size == 0) {
272 void *pMemory, size_t orig_size, size_t size, argument
275 if (pMemory == NULL || orig_size == 0) {
/external/libevent/include/event2/
Dbuffer.h661 size_t orig_size; member
/external/elfutils/src/
Delfcompress.c200 compress_section (Elf_Scn *scn, size_t orig_size, const char *name, in compress_section() argument
239 float orig = orig_size ?: 1; in compress_section()
241 orig_size, shdr->sh_size, (new / orig) * 100); in compress_section()
/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.c1116 if (cbinfo->orig_size == 0) in be_openssl_outbuf_cb()
Dbuffer.c474 info.orig_size = new_size + buffer->n_del_for_cb - buffer->n_add_for_cb; in evbuffer_run_callbacks()
493 info.orig_size, new_size, cbent->cbarg); in evbuffer_run_callbacks()