Searched refs:allocator_id (Results 1 – 3 of 3) sorted by relevance
/system/bt/osi/test/ |
D | allocation_tracker_test.cpp | 27 static const allocator_id_t allocator_id = 5; variable 36 allocation_tracker_notify_alloc(allocator_id, dummy_allocation, 4); in TEST() 38 allocation_tracker_notify_free(allocator_id, dummy_allocation); in TEST() 52 void *useable_ptr = allocation_tracker_notify_alloc(allocator_id, dummy_allocation, 4); in TEST() 55 void *freeable_ptr = allocation_tracker_notify_free(allocator_id, useable_ptr); in TEST()
|
/system/bt/osi/src/ |
D | allocation_tracker.c | 35 uint8_t allocator_id; member 118 void *allocation_tracker_notify_alloc(uint8_t allocator_id, void *ptr, size_t requested_size) { in allocation_tracker_notify_alloc() argument 136 allocation->allocator_id = allocator_id; in allocation_tracker_notify_alloc() 150 void *allocation_tracker_notify_free(uint8_t allocator_id, void *ptr) { in allocation_tracker_notify_free() argument 159 assert(allocation->allocator_id == allocator_id); // Must be from the same allocator in allocation_tracker_notify_free()
|
/system/bt/osi/include/ |
D | allocation_tracker.h | 47 void *allocation_tracker_notify_alloc(allocator_id_t allocator_id, void *ptr, size_t requested_size… 54 void *allocation_tracker_notify_free(allocator_id_t allocator_id, void *ptr);
|