OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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,
52
// same |
allocator_id
|. If |ptr| is NULL, this function does nothing. Returns
55
void* allocation_tracker_notify_free(allocator_id_t
allocator_id
, void* ptr);
/system/bt/osi/test/
allocation_tracker_test.cc
25
static const allocator_id_t
allocator_id
= 5;
variable
34
allocation_tracker_notify_alloc(
allocator_id
, dummy_allocation, 4);
38
allocation_tracker_notify_free(
allocator_id
, dummy_allocation);
53
allocation_tracker_notify_alloc(
allocator_id
, dummy_allocation, 4);
59
allocation_tracker_notify_free(
allocator_id
, useable_ptr);
/system/bt/osi/src/
allocation_tracker.cc
34
uint8_t
allocator_id
;
member in struct:__anon2045
100
void* allocation_tracker_notify_alloc(uint8_t
allocator_id
, void* ptr,
123
allocation->
allocator_id
=
allocator_id
;
136
void* allocation_tracker_notify_free(UNUSED_ATTR uint8_t
allocator_id
,
147
CHECK(allocation->
allocator_id
==
148
allocator_id
); // Must be from the same allocator
Completed in 397 milliseconds