Searched refs:old_len (Results 1 - 25 of 30) sorted by relevance

12

/external/libevent/include/event2/
H A Dbuffer_compat.h66 @param old_len the previous length of the buffer
70 typedef void (*evbuffer_cb)(struct evbuffer *buffer, size_t old_len, size_t new_len, void *arg);
/external/valgrind/coregrind/m_aspacemgr/
H A Dpriv_aspacemgr.h100 SizeT old_len,
105 Addr old_addr, Addr old_len,
H A Daspacemgr-common.c211 SizeT old_len,
215 /* Extend the mapping old_addr .. old_addr+old_len-1 to have length
221 old_addr, old_len, new_len,
231 Addr old_addr, Addr old_len,
235 /* Move the mapping old_addr .. old_addr+old_len-1 to the new
242 old_addr, old_len, new_len,
209 am_do_extend_mapping_NO_NOTIFY( Addr old_addr, SizeT old_len, SizeT new_len ) argument
230 am_do_relocate_nooverlap_mapping_NO_NOTIFY( Addr old_addr, Addr old_len, Addr new_addr, Addr new_len ) argument
H A Daspacemgr-linux.c3135 Addr old_addr, SizeT old_len,
3142 if (old_len == 0 || new_len == 0)
3145 if (!VG_IS_PAGE_ALIGNED(old_addr) || !VG_IS_PAGE_ALIGNED(old_len)
3149 if (old_addr + old_len < old_addr
3153 if (old_addr + old_len - 1 < new_addr
3160 iHi = find_nsegment_idx( old_addr + old_len - 1 );
3169 ( old_addr, old_len, new_addr, new_len );
3177 *need_discard = any_Ts_in_range( old_addr, old_len )
3193 seg.end = old_addr + old_len - 1;
3134 am_relocate_nooverlap_client( Bool* need_discard, Addr old_addr, SizeT old_len, Addr new_addr, SizeT new_len ) argument
/external/libmicrohttpd/src/examples/
H A Ddemo.c438 size_t old_len; local
441 old_len = 0;
443 old_len = strlen (*ret);
444 buf = malloc (old_len + size + 1);
447 memcpy (buf, *ret, old_len);
450 memcpy (&buf[old_len], data, size);
451 buf[old_len + size] = '\0';
H A Ddemo_https.c439 size_t old_len; local
442 old_len = 0;
444 old_len = strlen (*ret);
445 buf = malloc (old_len + size + 1);
448 memcpy (buf, *ret, old_len);
451 memcpy (&buf[old_len], data, size);
452 buf[old_len + size] = '\0';
/external/jemalloc/src/
H A Dandroid_je_iterate.c176 size_t old_len = sizeof(malloc_disabled_tcache); local
178 &malloc_disabled_tcache, &old_len,
/external/speex/libspeex/
H A Dbuffer.c166 int old_len = st->size; local
167 if (len > old_len)
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-generic.c275 SysRes do_mremap( Addr old_addr, SizeT old_len, argument
289 old_addr,old_len,new_addr,new_len,
301 old_len = VG_PGROUNDUP(old_len);
308 if (old_len == 0)
312 if (old_addr + old_len < old_addr)
323 if (!ML_(valid_client_addr)(old_addr, old_len, tid, "mremap(old_addr)"))
329 if (old_addr < old_seg->start || old_addr+old_len-1 > old_seg->end)
335 vg_assert(old_len > 0);
337 vg_assert(VG_IS_PAGE_ALIGNED(old_len));
[all...]
/external/dhcpcd-6.8.2/
H A Ddhcp6.h192 size_t old_len; member in struct:dhcp6_state
H A Dscript.c441 d6_state->old, d6_state->old_len);
449 d6_state->old, d6_state->old_len);
/external/dbus/dbus/
H A Ddbus-marshal-basic.c344 int old_len, new_len; local
350 old_len = _dbus_unpack_uint32 (byte_order,
356 str, pos + 4, old_len))
362 *old_end_pos = pos + 4 + old_len + 1;
390 int old_len, new_len; local
395 old_len = _dbus_string_get_byte (str, pos);
399 str, pos + 1, old_len))
405 *old_end_pos = pos + 1 + old_len + 1;
H A Ddbus-sysdeps-unix.c2788 int old_len; local
2791 old_len = _dbus_string_get_length (str);
2796 p = _dbus_string_get_data_len (str, old_len, n_bytes);
2815 int old_len; local
2824 old_len = _dbus_string_get_length (str);
2837 _dbus_string_set_length (str, old_len);
H A Ddbus-auth.c1414 int old_len; local
1420 old_len = _dbus_string_get_length (&auth->outgoing);
1434 _dbus_string_set_length (&auth->outgoing, old_len);
H A Ddbus-marshal-recursive.c2558 int old_len; local
2578 old_len = _dbus_unpack_uint32 (reader->byte_order,
2582 if (old_len != fixup.new_len && !append_fixup (fixups, &fixup))
H A Ddbus-sysdeps-win.c1973 int old_len; local
1977 old_len = _dbus_string_get_length (str);
1982 p = _dbus_string_get_data_len (str, old_len, n_bytes);
/external/valgrind/coregrind/
H A Dpub_core_aspacemgr.h323 Addr old_addr, SizeT old_len,
/external/libnl/lib/route/sch/
H A Dnetem.c299 int old_len = head->nla_len; local
301 msg->nm_nlh->nlmsg_len += (head->nla_len - old_len);
/external/fio/
H A Dfilesetup.c907 unsigned long long old_len = -1ULL, extend_len = -1ULL; local
915 old_len = f->real_file_size;
917 old_len;
924 err = __file_invalidate_cache(td, f, old_len,
/external/libevent/
H A Dbuffer.c963 size_t remaining, old_len; local
967 old_len = buf->total_len;
969 if (old_len == 0)
977 if (len >= old_len && !HAS_PINNED_R(buf)) {
978 len = old_len;
986 if (len >= old_len)
987 len = old_len;
H A Dhttp.c1768 size_t old_len, line_len; local
1773 old_len = strlen(header->value);
1776 newval = mm_realloc(header->value, old_len + line_len + 1);
1780 memcpy(newval + old_len, line, line_len + 1);
/external/harfbuzz_ng/src/
H A Dhb-coretext.cc957 unsigned int old_len = buffer->len; local
983 buffer->reverse_range (old_len, buffer->len);
/external/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h616 #define __sanitizer_syscall_pre_mremap(addr, old_len, new_len, flags, \
618 __sanitizer_syscall_pre_impl_mremap((long)(addr), (long)(old_len), \
621 #define __sanitizer_syscall_post_mremap(res, addr, old_len, new_len, flags, \
623 __sanitizer_syscall_post_impl_mremap(res, (long)(addr), (long)(old_len), \
2347 void __sanitizer_syscall_pre_impl_mremap(long addr, long old_len, long new_len,
2349 void __sanitizer_syscall_post_impl_mremap(long res, long addr, long old_len,
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/sanitizer/
H A Dlinux_syscall_hooks.h616 #define __sanitizer_syscall_pre_mremap(addr, old_len, new_len, flags, \
618 __sanitizer_syscall_pre_impl_mremap((long)(addr), (long)(old_len), \
621 #define __sanitizer_syscall_post_mremap(res, addr, old_len, new_len, flags, \
623 __sanitizer_syscall_post_impl_mremap(res, (long)(addr), (long)(old_len), \
2347 void __sanitizer_syscall_pre_impl_mremap(long addr, long old_len, long new_len,
2349 void __sanitizer_syscall_post_impl_mremap(long res, long addr, long old_len,
/external/openssh/
H A Dpkcs11.h756 unsigned long old_len, unsigned char *new_pin,

Completed in 718 milliseconds

12