Lines Matching refs:capacity
45 size_t capacity; member
140 records.capacity = num_records; in heap_trace_init_standalone()
156 if (records.buffer == NULL || records.capacity == 0) { in heap_trace_start()
166 memset(records.buffer, 0, sizeof(heap_trace_record_t) * records.capacity); in heap_trace_start()
271 summary->capacity = records.capacity; in heap_trace_summary()
300 records.count, records.capacity); in heap_trace_dump_base()
365 records.count, records.capacity, records.high_water_mark); in heap_trace_dump_base()
398 if (records.count == records.capacity) { in record_allocation()
465 for (int i = 0; i < records.capacity; i++) { in list_setup()
502 if (records.count >= records.capacity) { in list_pop_unused()
532 if (records.count < records.capacity) { in list_add()