Home
last modified time | relevance | path

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

/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/
D15.4.5.2-2.js72 function addCase( object, old_len, set_len, new_len, checkitems ) { argument
76 "array = new Array("+ old_len+"); array.length = " + set_len +
83 if ( new_len < old_len ) {
85 for ( var i = new_len; i < old_len; i++ ) {
95 if ( new_len > old_len ) {
97 for ( var i = old_len; i < new_len; i++ ) {
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-generic.c250 SysRes do_mremap( Addr old_addr, SizeT old_len, in do_mremap() argument
264 old_addr,old_len,new_addr,new_len, in do_mremap()
276 old_len = VG_PGROUNDUP(old_len); in do_mremap()
283 if (old_len == 0) in do_mremap()
287 if (old_addr + old_len < old_addr in do_mremap()
297 if (!ML_(valid_client_addr)(old_addr, old_len, tid, "mremap(old_addr)")) in do_mremap()
303 if (old_addr < old_seg->start || old_addr+old_len-1 > old_seg->end) in do_mremap()
308 vg_assert(old_len > 0); in do_mremap()
310 vg_assert(VG_IS_PAGE_ALIGNED(old_len)); in do_mremap()
344 if (new_len < old_len) in do_mremap()
[all …]
/external/valgrind/main/coregrind/m_aspacemgr/
Dpriv_aspacemgr.h96 SizeT old_len,
101 Addr old_addr, Addr old_len,
Daspacemgr-common.c199 SizeT old_len, in ML_()
209 old_addr, old_len, new_len, in ML_()
223 Addr old_addr, Addr old_len, in ML_()
234 old_addr, old_len, new_len, in ML_()
Daspacemgr-linux.c2969 Addr old_addr, SizeT old_len, in VG_()
2976 if (old_len == 0 || new_len == 0) in VG_()
2979 if (!VG_IS_PAGE_ALIGNED(old_addr) || !VG_IS_PAGE_ALIGNED(old_len) in VG_()
2983 if (old_addr + old_len < old_addr in VG_()
2987 if (old_addr + old_len - 1 < new_addr in VG_()
2994 iHi = find_nsegment_idx( old_addr + old_len - 1 ); in VG_()
3002 ( old_addr, old_len, new_addr, new_len ); in VG_()
3010 *need_discard = any_Ts_in_range( old_addr, old_len ) in VG_()
3029 seg.end = old_addr + old_len - 1; in VG_()
Daspacemgr-aix5.c2343 Addr old_addr, SizeT old_len, in VG_()
/external/openssl/crypto/
Dmem.c354 void *CRYPTO_realloc_clean(void *str, int old_len, int num, const char *file, in CRYPTO_realloc_clean() argument
369 memcpy(ret,str,old_len); in CRYPTO_realloc_clean()
370 OPENSSL_cleanse(str,old_len); in CRYPTO_realloc_clean()
/external/speex/libspeex/
Dbuffer.c166 int old_len = st->size; in speex_buffer_resize() local
167 if (len > old_len) in speex_buffer_resize()
/external/dbus/dbus/
Ddbus-marshal-basic.c301 int old_len, new_len; in set_string() local
307 old_len = _dbus_unpack_uint32 (byte_order, in set_string()
313 str, pos + 4, old_len)) in set_string()
319 *old_end_pos = pos + 4 + old_len + 1; in set_string()
347 int old_len, new_len; in set_signature() local
352 old_len = _dbus_string_get_byte (str, pos); in set_signature()
356 str, pos + 1, old_len)) in set_signature()
362 *old_end_pos = pos + 1 + old_len + 1; in set_signature()
Ddbus-sysdeps-unix.c2647 int old_len; in _dbus_generate_pseudorandom_bytes() local
2650 old_len = _dbus_string_get_length (str); in _dbus_generate_pseudorandom_bytes()
2655 p = _dbus_string_get_data_len (str, old_len, n_bytes); in _dbus_generate_pseudorandom_bytes()
2674 int old_len; in _dbus_generate_random_bytes() local
2683 old_len = _dbus_string_get_length (str); in _dbus_generate_random_bytes()
2696 _dbus_string_set_length (str, old_len); in _dbus_generate_random_bytes()
Ddbus-auth.c1426 int old_len; in send_data() local
1432 old_len = _dbus_string_get_length (&auth->outgoing); in send_data()
1446 _dbus_string_set_length (&auth->outgoing, old_len); in send_data()
Ddbus-marshal-recursive.c2546 int old_len; in writer_write_reader_helper() local
2566 old_len = _dbus_unpack_uint32 (reader->byte_order, in writer_write_reader_helper()
2570 if (old_len != fixup.new_len && !append_fixup (fixups, &fixup)) in writer_write_reader_helper()
Ddbus-sysdeps-win.c1960 int old_len; in _dbus_generate_random_bytes() local
1964 old_len = _dbus_string_get_length (str); in _dbus_generate_random_bytes()
1969 p = _dbus_string_get_data_len (str, old_len, n_bytes); in _dbus_generate_random_bytes()
/external/valgrind/main/coregrind/
Dpub_core_aspacemgr.h368 Addr old_addr, SizeT old_len,
/external/chromium/third_party/libevent/
Dhttp.c1466 size_t old_len, line_len; in evhttp_append_to_last_header() local
1471 old_len = strlen(header->value); in evhttp_append_to_last_header()
1474 newval = realloc(header->value, old_len + line_len + 1); in evhttp_append_to_last_header()
1478 memcpy(newval + old_len, line, line_len + 1); in evhttp_append_to_last_header()
/external/kernel-headers/original/linux/
Dmm.h779 unsigned long old_len, unsigned long new_len,
/external/v8/src/
Dliveedit-debugger.js127 old_len: old_source.length, property
Dobjects.cc7657 uint32_t old_len = 0; in JSArrayUpdateLengthFromIndex() local
7658 CHECK(length()->ToArrayIndex(&old_len)); in JSArrayUpdateLengthFromIndex()
7661 if (index >= old_len && index != 0xffffffff) { in JSArrayUpdateLengthFromIndex()