Searched refs:refcount (Results 1 - 25 of 48) sorted by relevance

12

/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_format.c31 #define Z_ADDREF_P(z) ((z)->refcount++)
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_persist.c42 LONG refcount; member in struct:__anon31
76 InterlockedIncrement(&stm->refcount);
88 return InterlockedIncrement(&stm->refcount);
96 ret = InterlockedDecrement(&stm->refcount);
260 if (stm->refcount > 0) {
281 stm->refcount = 1;
H A Dcom_wrapper.c43 LONG refcount; /* COM reference count */ member in struct:__anon1
112 InterlockedIncrement(&disp->refcount);
124 return InterlockedIncrement(&disp->refcount);
132 ret = InterlockedDecrement(&disp->refcount);
133 trace("-- refcount now %d\n", ret);
545 disp->refcount = 1;
571 if (disp->refcount > 0)
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_priv.h28 #define Z_ADDREF_P(pz) (++(pz)->refcount)
29 #define Z_DELREF_P(pz) (--(pz)->refcount)
30 #define Z_REFCOUNT_P(pz) ((pz)->refcount)
31 #define Z_SET_REFCOUNT_P(pz, rc) ((pz)->refcount = rc)
H A Dmysqlnd_block_alloc.c45 pool->refcount--;
79 pool->refcount--;
98 pool->refcount--;
140 ++pool->refcount;
161 ret->refcount = 0;
/PHP_TRUNK/main/streams/
H A Dphp_stream_filter_api.h54 /* destroy this struct when refcount falls to zero */
55 int refcount; member in struct:_php_stream_bucket
73 #define php_stream_bucket_addref(bucket) (bucket)->refcount++
H A Dfilter.c102 bucket->refcount = 1;
109 * If the original bucket has a refcount of 1 and owns its buffer, then it
121 if (bucket->refcount == 1 && bucket->own_buf) {
131 retval->refcount = 1;
151 (*left)->refcount = 1;
158 (*right)->refcount = 1;
182 if (--bucket->refcount == 0) {
/PHP_TRUNK/ext/standard/
H A Duser_filters.c185 /* add_property_zval increments the refcount which is unwanted here */
377 /* add_property_zval increments the refcount which is unwanted here */
417 /* add_property_zval increments the refcount which is unwanted here */
470 if (bucket->refcount == 1) {
471 bucket->refcount++;
524 /* add_property_zval increments the refcount which is unwanted here */
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_set.h38 PHPDBG_SET(refcount); variable
H A Dphpdbg_set.c44 PHPDBG_SET_COMMAND_D(refcount, "usage: set refcount [<on|off>]", 'r', set_refcount, NULL, "|b", PHPDBG_ASYNC_SAFE),
233 PHPDBG_SET(refcount) /* {{{ */
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_sockets.c34 int refcount; member in struct:listening_socket_s
130 ++ls->refcount;
148 ls->refcount = 0;
150 ls->refcount = 1;
388 if (ls->refcount == 0) {
/PHP_TRUNK/ext/enchant/
H A Denchant.c566 pbroker->rsrc->gc.refcount++;
617 pbroker->rsrc->gc.refcount++;
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c1195 return object->node->refcount;
1202 ret_refcount = ++object->node->refcount;
1211 object->node->refcount = 1;
1227 ret_refcount = --obj_node->refcount;
1245 object->document->refcount++;
1246 ret_refcount = object->document->refcount;
1251 object->document->refcount = ret_refcount;
1263 ret_refcount = --object->document->refcount;
H A Dphp_libxml.h70 int refcount; member in struct:_php_libxml_ref_obj
76 int refcount; member in struct:_php_libxml_node_ptr
/PHP_TRUNK/Zend/
H A Dzend.h132 int refcount; member in struct:_zend_class_entry
H A Dzend_gc.h67 uint32_t refcount; member in struct:_gc_root_buffer
H A Dzend_closures.c506 if (closure->func.op_array.refcount) {
507 (*closure->func.op_array.refcount)++;
H A Dzend_opcode.c58 op_array->refcount = (uint32_t *) emalloc(sizeof(uint32_t));
59 *op_array->refcount = 1;
250 if (--ce->refcount > 0) {
334 ce->refcount++;
354 if (!op_array->refcount || --(*op_array->refcount)>0) {
358 efree_size(op_array->refcount, sizeof(*(op_array->refcount)));
/PHP_TRUNK/ext/dom/
H A Ddocument.c1261 int refcount; local
1283 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern);
1284 if (refcount != 0) {
1479 int refcount, ret; local
1510 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern);
1511 if (refcount != 0) {
1980 int refcount, ret; local
2032 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern);
2033 if (refcount != 0) {
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.h57 int refcount; member in struct:__anon2
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_driver.h484 unsigned int refcount; member in struct:_pdo_dbh_t
612 zend_ulong refcount; member in struct:_pdo_stmt_t
/PHP_TRUNK/ext/zip/lib/
H A Dzip_source_free.c46 if (src->refcount > 0) {
47 src->refcount--;
49 if (src->refcount > 0) {
H A Dzip_source_function.c74 src->refcount++;
95 src->refcount = 1;
/PHP_TRUNK/ext/zip/
H A Dphp_zip.h45 # define Z_SET_REFCOUNT_P(pz, rc) pz->refcount = rc
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c422 if (op_array->refcount && --(*op_array->refcount) == 0) {
423 efree(op_array->refcount);
425 op_array->refcount = NULL;
651 if (op_array->refcount && --(*op_array->refcount) == 0) {
652 efree(op_array->refcount);

Completed in 39 milliseconds

12