Home
last modified time | relevance | path

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

/external/jemalloc/include/jemalloc/internal/
Dvalgrind.h39 #define JEMALLOC_VALGRIND_REALLOC_MOVED_no(ptr, old_ptr) \ argument
41 #define JEMALLOC_VALGRIND_REALLOC_MOVED_maybe(ptr, old_ptr) \ argument
42 ((ptr) != (old_ptr))
47 #define JEMALLOC_VALGRIND_REALLOC_OLD_PTR_NULL_no(old_ptr) \ argument
49 #define JEMALLOC_VALGRIND_REALLOC_OLD_PTR_NULL_maybe(old_ptr) \ argument
50 (old_ptr == NULL)
52 old_ptr, old_usize, old_rzsize, old_ptr_null, zero) do { \ argument
57 old_ptr)) { \
67 old_ptr_null(old_ptr)) { \
68 valgrind_freelike_block(old_ptr, \
[all …]
Dprof.h337 const void *old_ptr, prof_tctx_t *tctx);
345 prof_tctx_t *tctx, bool prof_active, bool updated, const void *old_ptr,
421 prof_tctx_reset(tsdn_t *tsdn, const void *ptr, size_t usize, const void *old_ptr, in prof_tctx_reset() argument
428 arena_prof_tctx_reset(tsdn, ptr, usize, old_ptr, old_tctx); in prof_tctx_reset()
498 bool prof_active, bool updated, const void *old_ptr, size_t old_usize, in prof_realloc() argument
527 prof_tctx_reset(tsd_tsdn(tsd), ptr, usize, old_ptr, old_tctx); in prof_realloc()
Darena.h703 const void *old_ptr, prof_tctx_t *old_tctx);
1300 const void *old_ptr, prof_tctx_t *old_tctx) in arena_prof_tctx_reset() argument
1306 if (unlikely(usize > SMALL_MAXCLASS || (ptr == old_ptr && in arena_prof_tctx_reset()
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_memory.c223 void *old_ptr, size_t old_size, size_t new_size ) in debug_realloc() argument
229 if (!old_ptr) in debug_realloc()
233 debug_free( file, line, function, old_ptr ); in debug_realloc()
237 old_hdr = header_from_data(old_ptr); in debug_realloc()
241 old_ptr); in debug_realloc()
250 old_ptr); in debug_realloc()
282 memcpy( new_ptr, old_ptr, old_size < new_size ? old_size : new_size ); in debug_realloc()
/external/jemalloc/src/
Djemalloc.c1840 irealloc_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, argument
1848 p = iralloc(tsd, old_ptr, old_usize, LARGE_MINCLASS, 0, false);
1853 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false);
1859 irealloc_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize) argument
1866 old_tctx = prof_tctx_get(tsd_tsdn(tsd), old_ptr);
1869 p = irealloc_prof_sample(tsd, old_ptr, old_usize, usize, tctx);
1871 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false);
1876 prof_realloc(tsd, p, usize, tctx, prof_active, true, old_ptr, old_usize,
2306 irallocx_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, argument
2315 p = iralloct(tsd, old_ptr, old_usize, LARGE_MINCLASS, alignment,
[all …]
/external/jemalloc_new/src/
Djemalloc.c2162 irealloc_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, argument
2170 p = iralloc(tsd, old_ptr, old_usize, LARGE_MINCLASS, 0, false);
2176 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false);
2183 irealloc_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, argument
2190 old_tctx = prof_tctx_get(tsd_tsdn(tsd), old_ptr, alloc_ctx);
2193 p = irealloc_prof_sample(tsd, old_ptr, old_usize, usize, tctx);
2195 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false);
2201 prof_realloc(tsd, p, usize, tctx, prof_active, true, old_ptr, old_usize,
2611 irallocx_prof_sample(tsdn_t *tsdn, void *old_ptr, size_t old_usize, argument
2620 p = iralloct(tsdn, old_ptr, old_usize, LARGE_MINCLASS,
[all …]
/external/jemalloc_new/include/jemalloc/internal/
Dprof_inlines_b.h138 bool prof_active, bool updated, const void *old_ptr, size_t old_usize, in prof_realloc() argument
162 moved = (ptr != old_ptr); in prof_realloc()
/external/compiler-rt/lib/asan/
Dasan_allocator.cc539 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate()
540 CHECK(old_ptr && new_size); in Reallocate()
541 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate()
553 ReportInvalidFree(old_ptr, chunk_state, stack); in Reallocate()
558 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate()
559 Deallocate(old_ptr, 0, stack, FROM_MALLOC); in Reallocate()
/external/swiftshader/third_party/stlport-cpp11-extension/
Dmemory285 T* old_ptr = mPtr;
287 if (old_ptr != NULL && mPtr != old_ptr) {
288 get_deleter()(old_ptr);
/external/mesa3d/src/gallium/auxiliary/os/
Dos_memory_debug.h61 void *old_ptr, size_t old_size, size_t new_size );
/external/virglrenderer/src/gallium/auxiliary/os/
Dos_memory_debug.h61 void *old_ptr, size_t old_size, size_t new_size );
/external/webrtc/webrtc/base/
Dscoped_ptr.h257 T* old_ptr = data_.ptr;
259 return old_ptr;
/external/libaom/libaom/av1/common/
Donyxc_int.h639 RefCntBuffer *const old_ptr = *lhs_ptr; in assign_frame_buffer_p() local
640 if (old_ptr != NULL) { in assign_frame_buffer_p()
641 assert(old_ptr->ref_count > 0); in assign_frame_buffer_p()
643 --old_ptr->ref_count; in assign_frame_buffer_p()
/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/libpng16/
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()
/external/libpng/
Dpngrutil.c694 png_bytep old_ptr = png_ptr->read_buffer; in png_decompress_chunk() local
698 text = old_ptr; /* freed below */ in png_decompress_chunk()