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

12

/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/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) /* {{{ */
H A Dphpdbg_list.c315 if (dataptr->op_array.refcount) {
316 ++*dataptr->op_array.refcount;
362 if (dataptr->op_array.refcount) {
363 ++*dataptr->op_array.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/Zend/
H A Dzend_gc.h67 uint32_t refcount; member in struct:_gc_root_buffer
H A Dzend_opcode.c59 op_array->refcount = (uint32_t *) emalloc(sizeof(uint32_t));
60 *op_array->refcount = 1;
252 if (--ce->refcount > 0) {
336 ce->refcount++;
357 if (!op_array->refcount || --(*op_array->refcount) > 0) {
361 efree_size(op_array->refcount, sizeof(*(op_array->refcount)));
/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/libxml/
H A Dlibxml.c1198 return object->node->refcount;
1205 ret_refcount = ++object->node->refcount;
1214 object->node->refcount = 1;
1230 ret_refcount = --obj_node->refcount;
1248 object->document->refcount++;
1249 ret_refcount = object->document->refcount;
1254 object->document->refcount = ret_refcount;
1266 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/ext/intl/msgformat/
H A Dmsgformat_format.c31 #define Z_ADDREF_P(z) ((z)->refcount++)
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.h57 int refcount; member in struct:__anon2
H A Dphp_pcre.c206 if (*num_clean > 0 && !pce->refcount) {
497 new_entry.refcount = 0;
626 pce->refcount++;
629 pce->refcount--;
1069 pce->refcount++;
1072 pce->refcount--;
1722 pce->refcount++;
1724 pce->refcount--;
2031 pce->refcount++;
2033 pce->refcount
[all...]
/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/ext/dom/
H A Ddocument.c1262 int refcount; local
1284 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern);
1285 if (refcount != 0) {
1480 int refcount, ret; local
1519 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern);
1520 if (refcount != 0) {
1997 int refcount, ret; local
2062 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern);
2063 if (refcount != 0) {
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_driver.h482 unsigned int refcount; member in struct:_pdo_dbh_t
610 zend_ulong refcount; member in struct:_pdo_stmt_t
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c450 if (op_array->refcount && --(*op_array->refcount) == 0) {
451 efree(op_array->refcount);
453 op_array->refcount = NULL;
678 if (op_array->refcount && --(*op_array->refcount) == 0) {
679 efree(op_array->refcount);

Completed in 92 milliseconds

12