Home
last modified time | relevance | path

Searched refs:old_ptr (Results 1 – 15 of 15) sorted by relevance

/external/jemalloc/include/jemalloc/internal/
Dvalgrind.h38 ptr_maybe_null, old_ptr, old_usize, old_rzsize, old_ptr_maybe_null, \ argument
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, \ argument
Dprof.h338 void prof_tctx_reset(const void *ptr, size_t usize, const void *old_ptr,
344 prof_tctx_t *tctx, bool prof_active, bool updated, const void *old_ptr,
420 prof_tctx_reset(const void *ptr, size_t usize, const void *old_ptr, in prof_tctx_reset() argument
427 arena_prof_tctx_reset(ptr, usize, old_ptr, old_tctx); in prof_tctx_reset()
497 bool prof_active, bool updated, const void *old_ptr, size_t old_usize, in prof_realloc() argument
525 prof_tctx_reset(ptr, usize, old_ptr, old_tctx); in prof_realloc()
Darena.h651 const void *old_ptr, prof_tctx_t *old_tctx);
1224 arena_prof_tctx_reset(const void *ptr, size_t usize, const void *old_ptr, in arena_prof_tctx_reset() argument
1231 if (unlikely(usize > SMALL_MAXCLASS || (ptr == old_ptr && in arena_prof_tctx_reset()
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_memory.c193 void *old_ptr, size_t old_size, size_t new_size ) in debug_realloc() argument
199 if(!old_ptr) in debug_realloc()
203 debug_free( file, line, function, old_ptr ); in debug_realloc()
207 old_hdr = header_from_data(old_ptr); in debug_realloc()
211 old_ptr); in debug_realloc()
220 old_ptr); in debug_realloc()
248 memcpy( new_ptr, old_ptr, old_size < new_size ? old_size : new_size ); in debug_realloc()
/external/jemalloc/src/
Djemalloc.c1771 irealloc_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, argument
1779 p = iralloc(tsd, old_ptr, old_usize, LARGE_MINCLASS, 0, false);
1784 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false);
1790 irealloc_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize) argument
1797 old_tctx = prof_tctx_get(old_ptr);
1800 p = irealloc_prof_sample(tsd, old_ptr, old_usize, usize, tctx);
1802 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false);
1807 prof_realloc(tsd, p, usize, tctx, prof_active, true, old_ptr, old_usize,
2197 irallocx_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, argument
2206 p = iralloct(tsd, old_ptr, old_usize, LARGE_MINCLASS, alignment,
[all …]
/external/libweave/third_party/chromium/base/memory/
Dref_counted.h310 T* old_ptr = ptr_;
312 if (old_ptr)
313 Release(old_ptr);
Dscoped_ptr.h195 T* old_ptr = data_.ptr; in release() local
197 return old_ptr; in release()
/external/libchrome/base/memory/
Dref_counted.h323 T* old_ptr = ptr_;
325 if (old_ptr)
326 Release(old_ptr);
Dscoped_ptr.h195 T* old_ptr = data_.ptr; in release() local
197 return old_ptr; in release()
/external/mesa3d/src/gallium/auxiliary/os/
Dos_memory_debug.h61 void *old_ptr, size_t old_size, size_t new_size );
/external/compiler-rt/lib/asan/
Dasan_allocator.cc529 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate()
530 CHECK(old_ptr && new_size); in Reallocate()
531 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate()
543 ReportInvalidFree(old_ptr, chunk_state, stack); in Reallocate()
548 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate()
549 Deallocate(old_ptr, 0, stack, FROM_MALLOC); in Reallocate()
/external/webrtc/webrtc/base/
Dscoped_ptr.h257 T* old_ptr = data_.ptr;
259 return old_ptr;
/external/clang/test/Sema/
Dbuiltins.c46 void *old_ptr = __sync_val_compare_and_swap((void**)0, 0, 0); in test9() local
/external/pdfium/third_party/lpng_v163/
Dpngrutil.c649 png_bytep old_ptr = png_ptr->read_buffer; in png_decompress_chunk() local
653 text = old_ptr; /* freed below */ in png_decompress_chunk()
/external/libpng/
Dpngrutil.c683 png_bytep old_ptr = png_ptr->read_buffer; in png_decompress_chunk() local
687 text = old_ptr; /* freed below */ in png_decompress_chunk()