Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dallocation_tracker.cc101 char* return_ptr; in allocation_tracker_notify_alloc() local
110 return_ptr = ((char*)ptr) + canary_size; in allocation_tracker_notify_alloc()
112 auto map_entry = allocations.find(return_ptr); in allocation_tracker_notify_alloc()
119 allocations[return_ptr] = allocation; in allocation_tracker_notify_alloc()
125 allocation->ptr = return_ptr; in allocation_tracker_notify_alloc()
129 memcpy(return_ptr - canary_size, canary, canary_size); in allocation_tracker_notify_alloc()
130 memcpy(return_ptr + requested_size, canary, canary_size); in allocation_tracker_notify_alloc()
132 return return_ptr; in allocation_tracker_notify_alloc()