Lines Matching refs:ptr
30 void* ptr = malloc(real_size); in osi_strdup() local
31 CHECK(ptr); in osi_strdup()
34 allocation_tracker_notify_alloc(alloc_allocator_id, ptr, size)); in osi_strdup()
46 void* ptr = malloc(real_size); in osi_strndup() local
47 CHECK(ptr); in osi_strndup()
50 allocation_tracker_notify_alloc(alloc_allocator_id, ptr, size + 1)); in osi_strndup()
60 void* ptr = malloc(real_size); in osi_malloc() local
61 CHECK(ptr); in osi_malloc()
62 return allocation_tracker_notify_alloc(alloc_allocator_id, ptr, size); in osi_malloc()
67 void* ptr = calloc(1, real_size); in osi_calloc() local
68 CHECK(ptr); in osi_calloc()
69 return allocation_tracker_notify_alloc(alloc_allocator_id, ptr, size); in osi_calloc()
72 void osi_free(void* ptr) { in osi_free() argument
73 free(allocation_tracker_notify_free(alloc_allocator_id, ptr)); in osi_free()