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

12

/PHP_TRUNK/ext/phar/
H A Dutil.c102 /* re-open just in time for cases where our refcount reached 0 on the phar archive */
449 ++(entry->phar->refcount);
504 ++(entry->phar->refcount);
612 ++(phar->refcount);
940 if (phar->refcount || phar->is_persistent) {
/PHP_TRUNK/Zend/
H A Dzend_gc.h80 uint32_t refcount; member in struct:_gc_root_buffer
H A Dzend_opcode.c55 op_array->refcount = (uint32_t *) emalloc(sizeof(uint32_t));
56 *op_array->refcount = 1;
239 if (--ce->refcount > 0) {
313 ce->refcount++;
331 if (--(*op_array->refcount)>0) {
335 efree_size(op_array->refcount, sizeof(*(op_array->refcount)));
H A Dzend.h116 int refcount; member in struct:_zend_class_entry
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_persist.c42 LONG refcount; member in struct:__anon11
77 InterlockedIncrement(&stm->refcount);
89 return InterlockedIncrement(&stm->refcount);
97 ret = InterlockedDecrement(&stm->refcount);
261 if (stm->refcount > 0) {
282 stm->refcount = 1;
H A Dcom_wrapper.c43 LONG refcount; /* COM reference count */ member in struct:__anon16
113 InterlockedIncrement(&disp->refcount);
125 return InterlockedIncrement(&disp->refcount);
133 ret = InterlockedDecrement(&disp->refcount);
134 trace("-- refcount now %d\n", ret);
546 disp->refcount = 1;
572 if (disp->refcount > 0)
/PHP_TRUNK/ext/dom/
H A Ddocument.c1261 int refcount; local
1287 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern TSRMLS_CC);
1288 if (refcount != 0) {
1479 int refcount, ret; local
1510 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern TSRMLS_CC);
1511 if (refcount != 0) {
1980 int refcount, ret; local
2032 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern TSRMLS_CC);
2033 if (refcount != 0) {
/PHP_TRUNK/ext/enchant/
H A Denchant.c570 pbroker->rsrc->gc.refcount++;
620 pbroker->rsrc->gc.refcount++;
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_format.c31 #define Z_ADDREF_P(z) ((z)->refcount++)
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c1178 return object->node->refcount;
1185 ret_refcount = ++object->node->refcount;
1194 object->node->refcount = 1;
1210 ret_refcount = --obj_node->refcount;
1228 object->document->refcount++;
1229 ret_refcount = object->document->refcount;
1234 object->document->refcount = ret_refcount;
1246 ret_refcount = --object->document->refcount;
H A Dphp_libxml.h67 int refcount; member in struct:_php_libxml_ref_obj
73 int refcount; member in struct:_php_libxml_node_ptr
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c45 pool->refcount--;
79 pool->refcount--;
98 pool->refcount--;
140 ++pool->refcount;
161 ret->refcount = 0;
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_structs.h47 unsigned int refcount; member in struct:st_mysqlnd_memory_pool
862 unsigned int refcount; member in struct:st_mysqlnd_net_data
957 unsigned int refcount; member in struct:st_mysqlnd_connection_data
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.h54 int refcount; member in struct:__anon150
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_driver.h484 unsigned int refcount; member in struct:_pdo_dbh_t
613 zend_ulong refcount; member in struct:_pdo_stmt_t
/PHP_TRUNK/ext/standard/
H A Duser_filters.c194 /* add_property_zval increments the refcount which is unwanted here */
387 /* add_property_zval increments the refcount which is unwanted here */
424 /* add_property_zval increments the refcount which is unwanted here */
471 if (bucket->refcount == 1) {
472 bucket->refcount++;
525 /* add_property_zval increments the refcount which is unwanted here */
/PHP_TRUNK/ext/zip/
H A Dphp_zip.h45 # define Z_SET_REFCOUNT_P(pz, rc) pz->refcount = rc
/PHP_TRUNK/main/streams/
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) {
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++
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_set.c44 PHPDBG_SET_COMMAND_D(refcount, "usage: set refcount [<on|off>]", 'r', set_refcount, NULL, "|b"),
241 PHPDBG_SET(refcount) /* {{{ */
H A Dphpdbg_set.h38 PHPDBG_SET(refcount); variable
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_sockets.c34 int refcount; member in struct:listening_socket_s
119 ++ls->refcount;
137 ls->refcount = 0;
139 ls->refcount = 1;
374 if (ls->refcount == 0) {
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c296 if (--(*op_array->refcount) == 0) {
297 efree(op_array->refcount);
299 op_array->refcount = NULL;
479 /* we use refcount to show that op_array is referenced from several places */
480 op_array->prototype->op_array.refcount++;
645 /* We use refcount to show if the class is used as a parent */
646 ce->parent->refcount++;
652 /* we use refcount to show that op_array is referenced from several places */
653 ce->constructor->op_array.refcount++;
657 ce->destructor->op_array.refcount
[all...]
H A Dzend_accelerator_util_funcs.c421 /* we use refcount to show that op_array is referenced from several places */
422 if (new_entry->refcount != NULL) {
521 op_array->refcount = &zend_accel_refcount;
522 (*op_array->refcount) = ZEND_PROTECTED_REFCOUNT;
544 /* Protects class' refcount, copies default properties, functions and class name */
554 ce->refcount = 1;
556 if (old_ce->refcount != 1) {

Completed in 36 milliseconds

12