Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.h194 struct lp_fragment_shader *old_ptr = *ptr; in lp_fs_reference() local
195 if (pipe_reference(old_ptr ? &(*ptr)->reference : NULL, shader ? &shader->reference : NULL)) { in lp_fs_reference()
196 llvmpipe_destroy_fs(llvmpipe, old_ptr); in lp_fs_reference()
210 struct lp_fragment_shader_variant *old_ptr = *ptr; in lp_fs_variant_reference() local
211 if (pipe_reference(old_ptr ? &(*ptr)->reference : NULL, variant ? &variant->reference : NULL)) { in lp_fs_variant_reference()
212 llvmpipe_destroy_shader_variant(llvmpipe, old_ptr); in lp_fs_variant_reference()
/external/mesa3d/src/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()
Dos_memory_debug.h58 void *old_ptr, size_t old_size, size_t new_size );
/external/ltp/testcases/kernel/syscalls/timer_settime/
Dtimer_settime01.c33 struct itimerspec *old_ptr; member
92 tc->flag, &new_set, tc->old_ptr)); in run()
Dtimer_settime02.c45 struct itimerspec *old_ptr; member
95 0, tc->new_ptr, tc->old_ptr)); in run()
/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/virglrenderer/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.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/llvm-project/compiler-rt/lib/memprof/
Dmemprof_allocator.cpp659 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate()
660 CHECK(old_ptr && new_size); in Reallocate()
661 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate()
673 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate()
674 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.cpp717 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate()
718 CHECK(old_ptr && new_size); in Reallocate()
719 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate()
731 ReportInvalidFree(old_ptr, chunk_state, stack); in Reallocate()
736 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate()
737 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
/external/clang/test/Sema/
Dbuiltins.c46 void *old_ptr = __sync_val_compare_and_swap((void**)0, 0, 0); in test9() local
/external/libaom/libaom/av1/common/
Dav1_common_int.h818 RefCntBuffer *const old_ptr = *lhs_ptr; in assign_frame_buffer_p() local
819 if (old_ptr != NULL) { in assign_frame_buffer_p()
820 assert(old_ptr->ref_count > 0); in assign_frame_buffer_p()
822 --old_ptr->ref_count; in assign_frame_buffer_p()
/external/llvm-project/openmp/runtime/src/
Dkmp_alloc.cpp2046 void *old_ptr; in ___kmp_fast_free() local
2062 old_ptr = TCR_PTR(q_th->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_free()
2065 *((void **)tail) = old_ptr; in ___kmp_fast_free()
2068 &q_th->th.th_free_lists[index].th_free_list_sync, old_ptr, head)) { in ___kmp_fast_free()
2070 old_ptr = TCR_PTR(q_th->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_free()
2071 *((void **)tail) = old_ptr; in ___kmp_fast_free()
/external/llvm-project/clang/test/Sema/
Dbuiltins.c46 void *old_ptr = __sync_val_compare_and_swap((void**)0, 0, 0); in test9() local
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Ddecode_fast.c193 char *old_ptr = _upb_array_ptr(farr->arr); in fastdecode_resizearr() local
194 char *new_ptr = upb_arena_realloc(&d->arena, old_ptr, old_bytes, new_bytes); in fastdecode_resizearr()
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Draw_hash_set_test.cc1775 const uintptr_t old_ptr = addr(0); in TEST() local
1780 EXPECT_NE(old_ptr, addr(0)); in TEST()
/external/openscreen/third_party/abseil/src/absl/container/internal/
Draw_hash_set_test.cc1796 const uintptr_t old_ptr = addr(0); in TEST() local
1801 EXPECT_NE(old_ptr, addr(0)); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set_test.cc1774 const uintptr_t old_ptr = addr(0); in TEST() local
1779 EXPECT_NE(old_ptr, addr(0)); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set_test.cc1775 const uintptr_t old_ptr = addr(0); in TEST() local
1780 EXPECT_NE(old_ptr, addr(0)); in TEST()
/external/abseil-cpp/absl/container/internal/
Draw_hash_set_test.cc1774 const uintptr_t old_ptr = addr(0); in TEST() local
1779 EXPECT_NE(old_ptr, addr(0)); in TEST()
/external/angle/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set_test.cc1992 const uintptr_t old_ptr = addr(0); in TEST() local
1997 EXPECT_NE(old_ptr, addr(0)); in TEST()
/external/pdfium/third_party/libpng16/
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()
/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()