HomeSort by relevance Sort by last modified time
    Searched refs:allocator_id (Results 1 - 3 of 3) sorted by null

  /system/bt/osi/include/
allocation_tracker.h 41 // Notify the tracker of a new allocation belonging to |allocator_id|.
47 void *allocation_tracker_notify_alloc(allocator_id_t allocator_id, void *ptr, size_t requested_size);
51 // same |allocator_id|. If |ptr| is NULL, this function does nothing. Returns
54 void *allocation_tracker_notify_free(allocator_id_t allocator_id, void *ptr);
  /system/bt/osi/test/
allocation_tracker_test.cpp 27 static const allocator_id_t allocator_id = 5; variable
36 allocation_tracker_notify_alloc(allocator_id, dummy_allocation, 4);
38 allocation_tracker_notify_free(allocator_id, dummy_allocation);
52 void *useable_ptr = allocation_tracker_notify_alloc(allocator_id, dummy_allocation, 4);
55 void *freeable_ptr = allocation_tracker_notify_free(allocator_id, useable_ptr);
  /system/bt/osi/src/
allocation_tracker.c 35 uint8_t allocator_id; member in struct:__anon73885
118 void *allocation_tracker_notify_alloc(uint8_t allocator_id, void *ptr, size_t requested_size) {
136 allocation->allocator_id = allocator_id;
150 void *allocation_tracker_notify_free(UNUSED_ATTR uint8_t allocator_id, void *ptr) {
159 assert(allocation->allocator_id == allocator_id); // Must be from the same allocator

Completed in 177 milliseconds