Home
last modified time | relevance | path

Searched refs:rsrc_id (Results 1 – 2 of 2) sorted by relevance

/PHP-7.4/TSRM/
H A DTSRM.c303 *rsrc_id = TSRM_SHUFFLE_RSRC_ID(id_count++); in ts_allocate_id()
313 *rsrc_id = 0; in ts_allocate_id()
319 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].size = size; in ts_allocate_id()
320 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].ctor = ctor; in ts_allocate_id()
323 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].done = 0; in ts_allocate_id()
329 return *rsrc_id; in ts_allocate_id()
349 *rsrc_id = TSRM_SHUFFLE_RSRC_ID(id_count++); in ts_allocate_fast_id()
356 *rsrc_id = 0; in ts_allocate_fast_id()
371 *rsrc_id = 0; in ts_allocate_fast_id()
381 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].done = 0; in ts_allocate_fast_id()
[all …]
H A DTSRM.h102 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allo…
106 TSRM_API ts_rsrc_id ts_allocate_fast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_alloca…
163 #define TSRM_SHUFFLE_RSRC_ID(rsrc_id) ((rsrc_id)+1) argument
164 #define TSRM_UNSHUFFLE_RSRC_ID(rsrc_id) ((rsrc_id)-1) argument

Completed in 9 milliseconds