Searched refs:old_ptr (Results 1 - 22 of 22) sorted by relevance

/external/jemalloc/include/jemalloc/internal/
H A Dvalgrind.h38 ptr_maybe_null, old_ptr, old_usize, old_rzsize, old_ptr_maybe_null, \
43 if (!maybe_moved || ptr == old_ptr) { \
52 if (!old_ptr_maybe_null || old_ptr != NULL) { \
53 valgrind_freelike_block(old_ptr, \
86 ptr_maybe_null, old_ptr, old_usize, old_rzsize, old_ptr_maybe_null, \
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_debug_memory.c193 void *old_ptr, size_t old_size, size_t new_size )
199 if(!old_ptr)
203 debug_free( file, line, function, old_ptr );
207 old_hdr = header_from_data(old_ptr);
211 old_ptr);
220 old_ptr);
248 memcpy( new_ptr, old_ptr, old_size < new_size ? old_size : new_size );
192 debug_realloc(const char *file, unsigned line, const char *function, void *old_ptr, size_t old_size, size_t new_size ) argument
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_debug_memory.c193 void *old_ptr, size_t old_size, size_t new_size )
199 if(!old_ptr)
203 debug_free( file, line, function, old_ptr );
207 old_hdr = header_from_data(old_ptr);
211 old_ptr);
220 old_ptr);
248 memcpy( new_ptr, old_ptr, old_size < new_size ? old_size : new_size );
192 debug_realloc(const char *file, unsigned line, const char *function, void *old_ptr, size_t old_size, size_t new_size ) argument
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/
H A Dos_memory_debug.h61 void *old_ptr, size_t old_size, size_t new_size );
/external/mesa3d/src/gallium/auxiliary/os/
H A Dos_memory_debug.h61 void *old_ptr, size_t old_size, size_t new_size );
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_util.cpp89 char* old_ptr = (ptr_ == const_cast<char*>(kEmpty)) ? NULL : ptr_; local
91 ptr_ = reinterpret_cast<char*>(realloc(old_ptr, new_capacity + 1));
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dtcmalloc.cc292 size_t InvalidGetSizeForRealloc(const void* old_ptr) { argument
294 "Attempt to realloc invalid pointer", old_ptr);
1203 void* old_ptr, size_t new_size,
1207 const size_t old_size = GetSizeWithCallback(old_ptr, invalid_get_size_fn);
1232 memcpy(new_ptr, old_ptr, ((old_size < new_size) ? old_size : new_size));
1233 MallocHook::InvokeDeleteHook(old_ptr);
1235 // that we already know the sizeclass of old_ptr. The benefit
1237 do_free_with_callback(old_ptr, invalid_free_fn);
1241 MallocHook::InvokeDeleteHook(old_ptr);
1242 MallocHook::InvokeNewHook(old_ptr, new_siz
1202 do_realloc_with_callback( void* old_ptr, size_t new_size, void (*invalid_free_fn)(void*), size_t (*invalid_get_size_fn)(const void*)) argument
1247 do_realloc(void* old_ptr, size_t new_size) argument
1544 do_free(old_ptr); variable
[all...]
/external/chromium_org/base/memory/
H A Dref_counted.h320 T* old_ptr = ptr_; local
322 if (old_ptr)
323 old_ptr->Release();
H A Dscoped_ptr.h265 T* old_ptr = data_.ptr; local
267 return old_ptr;
/external/chromium_org/v8/test/cctest/
H A Dtest-constantpool.cc299 Object* old_ptr = array->get_heap_ptr_entry(0); local
300 Handle<Object> object(old_ptr, isolate);
301 CHECK_EQ(old_ptr, *object);
302 CHECK_EQ(old_ptr, array->get_heap_ptr_entry(1));
308 CHECK_NE(old_ptr, *object);
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dtcmalloc.cc292 size_t InvalidGetSizeForRealloc(const void* old_ptr) { argument
294 "Attempt to realloc invalid pointer", old_ptr);
1241 void* old_ptr, size_t new_size,
1246 const size_t old_size = GetSizeWithCallback(old_ptr, invalid_get_size_fn);
1274 memcpy(new_ptr, old_ptr, ((old_size < new_size) ? old_size : new_size));
1275 MallocHook::InvokeDeleteHook(old_ptr);
1277 // that we already know the sizeclass of old_ptr. The benefit
1279 do_free_with_callback(old_ptr, invalid_free_fn);
1283 MallocHook::InvokeDeleteHook(old_ptr);
1285 MallocHook::InvokeNewHook(old_ptr, new_siz
1240 do_realloc_with_callback( void* old_ptr, size_t new_size, void (*invalid_free_fn)(void*), size_t (*invalid_get_size_fn)(const void*)) argument
1290 do_realloc(void* old_ptr, size_t new_size) argument
1596 do_free(old_ptr); variable
[all...]
/external/clang/test/Sema/
H A Dbuiltins.c46 void *old_ptr = __sync_val_compare_and_swap((void**)0, 0, 0); local
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/util/
H A Dscoped_ptr.h169 T* old_ptr = data_.ptr; local
171 return old_ptr;
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/memory/
H A Dscoped_ptr.h174 T* old_ptr = data_.ptr; local
176 return old_ptr;
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dscoped_ptr.h261 T* old_ptr = data_.ptr; local
263 return old_ptr;
/external/compiler-rt/lib/asan/
H A Dasan_allocator2.cc479 static void *Reallocate(void *old_ptr, uptr new_size, StackTrace *stack) { argument
480 CHECK(old_ptr && new_size);
481 uptr p = reinterpret_cast<uptr>(old_ptr);
493 ReportInvalidFree(old_ptr, chunk_state, stack);
498 REAL(memcpy)(new_ptr, old_ptr, memcpy_size);
499 Deallocate(old_ptr, stack, FROM_MALLOC);
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Dpatch_functions.cc814 void* old_ptr, size_t new_size) __THROW {
815 if (old_ptr == NULL) {
821 MallocHook::InvokeDeleteHook(old_ptr);
822 do_free_with_callback(old_ptr,
827 old_ptr, new_size,
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
H A Dpatch_functions.cc814 void* old_ptr, size_t new_size) __THROW {
815 if (old_ptr == NULL) {
821 MallocHook::InvokeDeleteHook(old_ptr);
822 do_free_with_callback(old_ptr,
827 old_ptr, new_size,
/external/chromium_org/third_party/webrtc/base/
H A Dscoped_ptr.h259 T* old_ptr = data_.ptr; local
261 return old_ptr;
/external/chromium_org/third_party/libpng/
H A Dpngwutil.c252 png_charpp old_ptr; local
254 old_ptr = comp->output_ptr;
258 png_memcpy(comp->output_ptr, old_ptr, old_max
260 png_free(png_ptr, old_ptr);
303 png_charpp old_ptr; local
305 old_ptr = comp->output_ptr;
310 png_memcpy(comp->output_ptr, old_ptr,
312 png_free(png_ptr, old_ptr);
/external/qemu/distrib/libpng-1.2.46/
H A Dpngwutil.c252 png_charpp old_ptr; local
254 old_ptr = comp->output_ptr;
258 png_memcpy(comp->output_ptr, old_ptr, old_max
260 png_free(png_ptr, old_ptr);
303 png_charpp old_ptr; local
305 old_ptr = comp->output_ptr;
310 png_memcpy(comp->output_ptr, old_ptr,
312 png_free(png_ptr, old_ptr);
/external/libpng/
H A Dpngrutil.c674 png_bytep old_ptr = png_ptr->read_buffer; local
678 text = old_ptr; /* freed below */

Completed in 738 milliseconds