Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dallocation_tracker.c122 char *return_ptr = (char *)ptr; in allocation_tracker_notify_alloc() local
124 return_ptr += canary_size; in allocation_tracker_notify_alloc()
128 allocation_t *allocation = (allocation_t *)hash_map_get(allocations, return_ptr); in allocation_tracker_notify_alloc()
133 hash_map_set(allocations, return_ptr, allocation); in allocation_tracker_notify_alloc()
139 allocation->ptr = return_ptr; in allocation_tracker_notify_alloc()
144 memcpy(return_ptr - canary_size, canary, canary_size); in allocation_tracker_notify_alloc()
145 memcpy(return_ptr + requested_size, canary, canary_size); in allocation_tracker_notify_alloc()
147 return return_ptr; in allocation_tracker_notify_alloc()