Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_allocation_tracker.h82 std::function<void*(uint8_t allocator_id, void* ptr, size_t requested_size)>
83 body{[this](uint8_t allocator_id, void* ptr, size_t requested_size) {
86 void* operator()(uint8_t allocator_id, void* ptr, size_t requested_size) { in operator()
87 return body(allocator_id, ptr, requested_size); in operator()
97 std::function<void*(uint8_t allocator_id, void* ptr)> body{
98 [this](uint8_t allocator_id, void* ptr) { return return_value; }};
99 void* operator()(uint8_t allocator_id, void* ptr) { in operator()
100 return body(allocator_id, ptr); in operator()
Dmock_osi_allocation_tracker.cc66 void* allocation_tracker_notify_alloc(uint8_t allocator_id, void* ptr, in allocation_tracker_notify_alloc() argument
70 allocator_id, ptr, requested_size); in allocation_tracker_notify_alloc()
72 void* allocation_tracker_notify_free(uint8_t allocator_id, void* ptr) { in allocation_tracker_notify_free() argument
75 allocator_id, ptr); in allocation_tracker_notify_free()
/packages/modules/Bluetooth/system/osi/test/
Dallocation_tracker_test.cc25 static const allocator_id_t allocator_id = 5; variable
34 allocation_tracker_notify_alloc(allocator_id, dummy_allocation, 4); in TEST()
38 allocation_tracker_notify_free(allocator_id, dummy_allocation); in TEST()
53 allocation_tracker_notify_alloc(allocator_id, dummy_allocation, 4); in TEST()
59 allocation_tracker_notify_free(allocator_id, useable_ptr); in TEST()
/packages/modules/Bluetooth/system/osi/src/
Dallocation_tracker.cc35 uint8_t allocator_id; member
100 void* allocation_tracker_notify_alloc(uint8_t allocator_id, void* ptr, in allocation_tracker_notify_alloc() argument
123 allocation->allocator_id = allocator_id; in allocation_tracker_notify_alloc()
136 void* allocation_tracker_notify_free(UNUSED_ATTR uint8_t allocator_id, in allocation_tracker_notify_free() argument
147 CHECK(allocation->allocator_id == in allocation_tracker_notify_free()
148 allocator_id); // Must be from the same allocator in allocation_tracker_notify_free()
/packages/modules/Bluetooth/system/osi/include/
Dallocation_tracker.h47 void* allocation_tracker_notify_alloc(allocator_id_t allocator_id, void* ptr,
55 void* allocation_tracker_notify_free(allocator_id_t allocator_id, void* ptr);
/packages/modules/Bluetooth/system/test/stub/
Dosi.cc199 void* allocation_tracker_notify_alloc(uint8_t allocator_id, void* ptr, in allocation_tracker_notify_alloc() argument
204 void* allocation_tracker_notify_free(UNUSED_ATTR uint8_t allocator_id, in allocation_tracker_notify_free() argument