Home
last modified time | relevance | path

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

12

/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/rust/crates/smallvec/src/
Dlib.rs1022 let old_len = self.len(); in insert_many() localVariable
1023 assert!(index <= old_len); in insert_many()
1032 ptr::copy(ptr, ptr.add(lower_size_bound), old_len - index); in insert_many()
1039 len: old_len + lower_size_bound, in insert_many()
1058 old_len - index, in insert_many()
1062 self.set_len(old_len + num_added); in insert_many()
1227 let old_len = self.len(); in resize_with() localVariable
1228 if old_len < new_len { in resize_with()
1230 let additional = new_len - old_len; in resize_with()
1235 } else if old_len > new_len { in resize_with()
[all …]
/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/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.rs525 let old_len = self.owned_buf.len(); in grow_owned_buf() localVariable
526 let new_len = max(1, old_len * 2); in grow_owned_buf()
530 let diff = new_len - old_len; in grow_owned_buf()
/external/harfbuzz_ng/src/
Dhb-ot-var-gvar-table.hh57 unsigned int old_len = length; in extend() local
58 resize (old_len + a.length); in extend()
60 (*this)[old_len + i] = a[i]; in extend()
Dhb-coretext.cc911 unsigned int old_len = buffer->len; in _hb_coretext_shape() local
937 buffer->reverse_range (old_len, buffer->len); in _hb_coretext_shape()
/external/libnl/lib/route/qdisc/
Dnetem.c220 int old_len; in netem_msg_fill_raw() local
332 old_len = head->nla_len; in netem_msg_fill_raw()
334 msg->nm_nlh->nlmsg_len += (head->nla_len - old_len); in netem_msg_fill_raw()
/external/tensorflow/tensorflow/python/debug/cli/
Ddebugger_cli_common.py102 old_len = len(self.text)
104 ret.font_attr_segs.append((old_len + start, old_len + end, font_attr))
/external/rust/crates/grpcio/src/
Dbuf.rs367 let old_len = buf.len(); in read_to_end() localVariable
374 buf.set_len(old_len); in read_to_end()
/external/usrsctp/usrsctplib/netinet/
Dsctp_output.c12542 uint16_t len, old_len, i; local
12549 old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length));
12603 ch->chunk_length = htons(len + old_len);
12604 chk->book_size = len + old_len;
12616 uint16_t len, old_len, i; local
12621 old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length));
12644 ch->chunk_length = htons(len + old_len);
12645 chk->book_size = len + old_len;
12656 uint16_t len, old_len; local
12661 old_len = len = SCTP_SIZE32(ntohs(ch->chunk_length));
[all …]
/external/libevent/
Dbuffer.c1104 size_t remaining, old_len; in evbuffer_drain() local
1108 old_len = buf->total_len; in evbuffer_drain()
1110 if (old_len == 0) in evbuffer_drain()
1118 if (len >= old_len && !HAS_PINNED_R(buf)) { in evbuffer_drain()
1119 len = old_len; in evbuffer_drain()
1127 if (len >= old_len) in evbuffer_drain()
1128 len = old_len; in evbuffer_drain()
Dhttp.c2070 size_t old_len, line_len; in evhttp_append_to_last_header() local
2075 old_len = strlen(header->value); in evhttp_append_to_last_header()
2084 newval = mm_realloc(header->value, old_len + line_len + 2); in evhttp_append_to_last_header()
2088 newval[old_len] = ' '; in evhttp_append_to_last_header()
2089 memcpy(newval + old_len + 1, line, line_len + 1); in evhttp_append_to_last_header()
/external/crosvm/src/plugin/
Dprocess.rs247 let old_len = self.request_sockets.len(); in drop_sockets() localVariable
254 assert_eq!(old_len - socket_idxs.len(), self.request_sockets.len()); in drop_sockets()
/external/libwebsockets/lib/roles/http/server/
Dserver.c3070 int old_len, n; in lws_chunked_html_process() local
3074 old_len = args->len; in lws_chunked_html_process()
3077 while (sp < args->p + old_len) { in lws_chunked_html_process()
3114 old_len - (sp - args->p) - 1); in lws_chunked_html_process()
3115 old_len += (n - s->pos) + 1; in lws_chunked_html_process()
/external/rust/crates/weak-table/src/
Dweak_value_hash_map.rs877 let old_len = self.inner.len; in drain() localVariable
881 size: old_len, in drain()
Dweak_weak_hash_map.rs894 let old_len = self.inner.len; in drain() localVariable
898 size: old_len, in drain()
Dweak_key_hash_map.rs997 let old_len = self.inner.len; in drain() localVariable
1001 size: old_len, in drain()
/external/libevent/test/
Dregress_buffer.c1929 size_t old_len = cbinfo->orig_size; in log_change_callback() local
1930 size_t new_len = old_len + cbinfo->n_added - cbinfo->n_deleted; in log_change_callback()
1932 evbuffer_add_printf(out, "%lu->%lu; ", (unsigned long)old_len, in log_change_callback()
1936 self_draining_callback(struct evbuffer *evbuffer, size_t old_len, in self_draining_callback() argument
1939 if (new_len > old_len) in self_draining_callback()
/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/llvm-project/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h615 #define __sanitizer_syscall_pre_mremap(addr, old_len, new_len, flags, \ argument
617 __sanitizer_syscall_pre_impl_mremap((long)(addr), (long)(old_len), \
620 #define __sanitizer_syscall_post_mremap(res, addr, old_len, new_len, flags, \ argument
622 __sanitizer_syscall_post_impl_mremap(res, (long)(addr), (long)(old_len), \
2355 void __sanitizer_syscall_pre_impl_mremap(long addr, long old_len, long new_len,
2357 void __sanitizer_syscall_post_impl_mremap(long res, long addr, long old_len,
/external/openssh/
Dpkcs11.h756 unsigned long old_len, unsigned char *new_pin,
/external/mesa3d/src/egl/main/
Deglapi.c555 const size_t old_len = strlen(disp->ClientAPIsString); \ in _eglCreateAPIsString()
558 if (old_len + add_len <= max_len) \ in _eglCreateAPIsString()
/external/python/cpython3/Lib/test/
Dtest_functools.py1368 old_len = builtins.len
1374 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,

12