Home
last modified time | relevance | path

Searched refs:old_len (Results 1 – 20 of 20) sorted by relevance

/external/u-boot/post/drivers/
Dflash.c35 static void *seed_src_data(void *ptr, ulong *old_len, ulong new_len) in seed_src_data() argument
44 for (i = *old_len; i < new_len; ++i) in seed_src_data()
47 *old_len = new_len; in seed_src_data()
/external/jemalloc_new/src/
Dandroid_je_iterate.c105 size_t old_len = sizeof(malloc_disabled_tcache); in je_malloc_disable() local
110 &malloc_disabled_tcache, &old_len, in je_malloc_disable()
/external/speex/libspeexdsp/
Dbuffer.c166 int old_len = st->size; in speex_buffer_resize() local
167 if (len > old_len) in speex_buffer_resize()
/external/jemalloc/src/
Dandroid_je_iterate.c176 size_t old_len = sizeof(malloc_disabled_tcache); in je_malloc_disable() local
178 &malloc_disabled_tcache, &old_len, in je_malloc_disable()
/external/libevent/include/event2/
Dbuffer_compat.h73 typedef void (*evbuffer_cb)(struct evbuffer *buffer, size_t old_len, size_t new_len, void *arg);
/external/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs486 let old_len = self.owned_buf.len(); in grow_owned_buf() localVariable
487 let new_len = max(1, old_len * 2); in grow_owned_buf()
491 let diff = new_len - old_len; in grow_owned_buf()
/external/tensorflow/tensorflow/python/debug/cli/
Ddebugger_cli_common.py103 old_len = len(self.text)
105 ret.font_attr_segs.append((old_len + start, old_len + end, font_attr))
/external/libnl/lib/route/qdisc/
Dnetem.c276 int old_len = head->nla_len; in netem_msg_fill_raw() local
278 msg->nm_nlh->nlmsg_len += (head->nla_len - old_len); in netem_msg_fill_raw()
/external/libevent/
Dbuffer.c1099 size_t remaining, old_len; in evbuffer_drain() local
1103 old_len = buf->total_len; in evbuffer_drain()
1105 if (old_len == 0) in evbuffer_drain()
1113 if (len >= old_len && !HAS_PINNED_R(buf)) { in evbuffer_drain()
1114 len = old_len; in evbuffer_drain()
1122 if (len >= old_len) in evbuffer_drain()
1123 len = old_len; in evbuffer_drain()
Dhttp.c2024 size_t old_len, line_len; in evhttp_append_to_last_header() local
2029 old_len = strlen(header->value); in evhttp_append_to_last_header()
2038 newval = mm_realloc(header->value, old_len + line_len + 2); in evhttp_append_to_last_header()
2042 newval[old_len] = ' '; in evhttp_append_to_last_header()
2043 memcpy(newval + old_len + 1, line, line_len + 1); in evhttp_append_to_last_header()
/external/libevent/test/
Dregress_buffer.c1739 size_t old_len = cbinfo->orig_size; in log_change_callback() local
1740 size_t new_len = old_len + cbinfo->n_added - cbinfo->n_deleted; in log_change_callback()
1742 evbuffer_add_printf(out, "%lu->%lu; ", (unsigned long)old_len, in log_change_callback()
1746 self_draining_callback(struct evbuffer *evbuffer, size_t old_len, in self_draining_callback() argument
1749 if (new_len > old_len) in self_draining_callback()
/external/harfbuzz_ng/src/
Dhb-coretext.cc925 unsigned int old_len = buffer->len; in _hb_coretext_shape() local
951 buffer->reverse_range (old_len, buffer->len); in _hb_coretext_shape()
/external/v8/src/heap/
Dfactory.cc1986 int old_len = src->length(); in CopyArrayAndGrow() local
1987 int new_len = old_len + grow_by; in CopyArrayAndGrow()
1997 for (int i = 0; i < old_len; i++) result->set(i, src->get(i), mode); in CopyArrayAndGrow()
1998 MemsetPointer(result->data_start() + old_len, *undefined_value(), grow_by); in CopyArrayAndGrow()
2017 int old_len = src->length(); in CopyWeakFixedArrayAndGrow() local
2018 int new_len = old_len + grow_by; in CopyWeakFixedArrayAndGrow()
2019 DCHECK_GE(new_len, old_len); in CopyWeakFixedArrayAndGrow()
2021 DCHECK_EQ(old_len, src->length()); in CopyWeakFixedArrayAndGrow()
2030 for (int i = 0; i < old_len; i++) result->Set(i, src->Get(i), mode); in CopyWeakFixedArrayAndGrow()
2033 MemsetPointer(result->data_start() + old_len, undefined_reference, grow_by); in CopyWeakFixedArrayAndGrow()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c51 unsigned old_len = old ? old->length : 0; in vtn_access_chain_extend() local
52 chain = vtn_access_chain_create(b, old_len + new_ids); in vtn_access_chain_extend()
54 for (unsigned i = 0; i < old_len; i++) in vtn_access_chain_extend()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h616 #define __sanitizer_syscall_pre_mremap(addr, old_len, new_len, flags, \ argument
618 __sanitizer_syscall_pre_impl_mremap((long)(addr), (long)(old_len), \
621 #define __sanitizer_syscall_post_mremap(res, addr, old_len, new_len, flags, \ argument
623 __sanitizer_syscall_post_impl_mremap(res, (long)(addr), (long)(old_len), \
2354 void __sanitizer_syscall_pre_impl_mremap(long addr, long old_len, long new_len,
2356 void __sanitizer_syscall_post_impl_mremap(long res, long addr, long old_len,
/external/perf_data_converter/src/quipper/
Dperf_reader.cc2001 size_t old_len = GetUint64AlignedStringLength(filename); in LocalizeMMapFilenames() local
2003 size_t new_size = event.header().size() - old_len + new_len; in LocalizeMMapFilenames()
/external/openssh/
Dpkcs11.h756 unsigned long old_len, unsigned char *new_pin,
/external/python/cpython3/Lib/test/
Dtest_functools.py1295 old_len = builtins.len
1301 builtins.len = old_len
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc1107 PRE_SYSCALL(mremap)(long addr, long old_len, long new_len, long flags,
1110 POST_SYSCALL(mremap)(long res, long addr, long old_len, long new_len,
/external/v8/src/
Dobjects.cc7535 uint32_t old_len = 0; in DefineOwnProperty() local
7536 CHECK(old_len_desc.value()->ToArrayLength(&old_len)); in DefineOwnProperty()
7542 if (index >= old_len && old_len_desc.has_writable() && in DefineOwnProperty()
7555 if (index >= old_len) { in DefineOwnProperty()
7643 uint32_t old_len = 0; in ArraySetLength() local
7644 CHECK(old_len_desc.value()->ToArrayLength(&old_len)); in ArraySetLength()
7646 if (new_len >= old_len) { in ArraySetLength()