Home | History | Annotate | Download | only in src

Lines Matching defs:size

28   size_t size = strlen(str) + 1;  // + 1 for the null terminator
29 size_t real_size = allocation_tracker_resize_for_canary(size);
36 size);
40 memcpy(new_string, str, size);
45 size_t size = strlen(str);
46 if (len < size)
47 size = len;
49 size_t real_size = allocation_tracker_resize_for_canary(size + 1);
56 size + 1);
60 memcpy(new_string, str, size);
61 new_string[size] = '\0';
65 void *osi_malloc(size_t size) {
66 size_t real_size = allocation_tracker_resize_for_canary(size);
69 return allocation_tracker_notify_alloc(alloc_allocator_id, ptr, size);
72 void *osi_calloc(size_t size) {
73 size_t real_size = allocation_tracker_resize_for_canary(size);
76 return allocation_tracker_notify_alloc(alloc_allocator_id, ptr, size);