Searched defs:rsrc_id (Results 1 - 9 of 9) sorted by relevance

/PHP_5_5/TSRM/
H A DTSRM.c215 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor dtor) argument
224 *rsrc_id = TSRM_SHUFFLE_RSRC_ID(id_count++);
225 TSRM_ERROR((TSRM_ERROR_LEVEL_CORE, "Obtained resource id %d", *rsrc_id));
233 *rsrc_id = 0;
238 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].size = size;
239 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].ctor = ctor;
240 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].dtor = dtor;
241 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].done = 0;
265 TSRM_ERROR((TSRM_ERROR_LEVEL_CORE, "Successfully allocated new resource id %d", *rsrc_id));
266 return *rsrc_id;
[all...]
/PHP_5_5/ext/oci8/
H A Dphp_oci8_int.h142 int rsrc_id; /* resource ID */ member in struct:__anon134
/PHP_5_5/main/streams/
H A Dphp_stream_context.h41 #define php_stream_context_to_zval(context, zval) { ZVAL_RESOURCE(zval, (context)->rsrc_id); zend_list_addref((context)->rsrc_id); }
56 int rsrc_id; /* used for auto-cleanup */ member in struct:_php_stream_context
H A Dphp_stream_filter_api.h122 int rsrc_id; member in struct:_php_stream_filter
H A Duserspace.c294 add_property_resource(object, "context", context->rsrc_id);
295 zend_list_addref(context->rsrc_id);
523 int rsrc_id; local
537 rsrc_id = ZEND_REGISTER_RESOURCE(NULL, uwrap, le_protocols);
556 zend_list_delete(rsrc_id);
/PHP_5_5/Zend/
H A Dzend_list.c96 int rsrc_id; local
98 rsrc_id = zend_list_insert(rsrc_pointer, rsrc_type TSRMLS_CC);
101 rsrc_result->value.lval = rsrc_id;
105 return rsrc_id;
/PHP_5_5/ext/enchant/
H A Denchant.c43 long rsrc_id; member in struct:_broker_struct
50 long rsrc_id; member in struct:_dict_struct
250 zend_list_delete(broker->dict[total]->rsrc_id);
277 zend_list_delete(pdict->pbroker->rsrc_id);
371 broker->rsrc_id = ZEND_REGISTER_RESOURCE(return_value, broker, le_enchant_broker);
574 dict->rsrc_id = ZEND_REGISTER_RESOURCE(return_value, dict, le_enchant_dict);
575 zend_list_addref(pbroker->rsrc_id);
628 dict->rsrc_id = ZEND_REGISTER_RESOURCE(return_value, dict, le_enchant_dict);
/PHP_5_5/ext/standard/
H A Ddir.c236 php_set_default_dir(dirp->rsrc_id TSRMLS_CC);
241 add_property_resource(return_value, "handle", dirp->rsrc_id);
271 int rsrc_id; local
276 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%d is not a valid Directory resource", dirp->rsrc_id);
280 rsrc_id = dirp->rsrc_id;
281 zend_list_delete(dirp->rsrc_id);
283 if (rsrc_id == DIRG(default_dir)) {
390 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%d is not a valid Directory resource", dirp->rsrc_id);
409 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%d is not a valid Directory resource", dirp->rsrc_id);
[all...]
/PHP_5_5/main/
H A Dphp_streams.h199 int rsrc_id; /* used for auto-cleanup */ member in struct:_php_stream
245 #define php_stream_get_resource_id(stream) (stream)->rsrc_id
252 # define php_stream_to_zval(stream, zval) { ZVAL_RESOURCE(zval, (stream)->rsrc_id); (stream)->__exposed++; }
255 # define php_stream_to_zval(stream, zval) { ZVAL_RESOURCE(zval, (stream)->rsrc_id); }

Completed in 29 milliseconds