Lines Matching refs:id_count
48 static ts_rsrc_id id_count; variable
153 id_count=0; in tsrm_startup()
242 *rsrc_id = TSRM_SHUFFLE_RSRC_ID(id_count++); in ts_allocate_id()
246 if (resource_types_table_size < id_count) { in ts_allocate_id()
248 _tmp = (tsrm_resource_type *) realloc(resource_types_table, sizeof(tsrm_resource_type)*id_count); in ts_allocate_id()
256 resource_types_table_size = id_count; in ts_allocate_id()
268 if (p->count < id_count) { in ts_allocate_id()
271 p->storage = (void *) realloc(p->storage, sizeof(void *)*id_count); in ts_allocate_id()
272 for (j=p->count; j<id_count; j++) { in ts_allocate_id()
278 p->count = id_count; in ts_allocate_id()
297 if (id_count > 0) { in allocate_new_resource()
298 (*thread_resources_ptr)->storage = (void **) malloc(sizeof(void *)*id_count); in allocate_new_resource()
300 (*thread_resources_ptr)->count = id_count; in allocate_new_resource()
310 for (i=0; i<id_count; i++) { in allocate_new_resource()