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

123

/PHP_5_6/ext/intl/msgformat/
H A Dmsgformat_format.c31 #define Z_ADDREF_P(z) ((z)->refcount++)
/PHP_5_6/Zend/
H A Dzend_gc.c281 obj->refcount++;
387 obj->refcount--;
527 if (obj->refcount > 0) {
584 if (obj->refcount > 0) {
657 /* restore refcount and put into list to free */
690 /* restore refcount and put into list to free */
810 EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].bucket.obj.refcount <= 0 &&
815 EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].bucket.obj.refcount++;
817 EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].bucket.obj.refcount--;
831 EG(objects_store).object_buckets[Z_OBJ_HANDLE(p->z)].bucket.obj.refcount <
[all...]
H A Dzend_list.c42 le.refcount=1;
55 /* printf("del(%d): %d->%d\n", id, le->refcount, le->refcount-1); */
56 if (--le->refcount<=0) {
85 /* printf("add(%d): %d->%d\n", id, le->refcount, le->refcount+1); */
86 le->refcount++;
H A Dzend_list.h36 int refcount; member in struct:_zend_rsrc_list_entry
H A Dzend_objects_API.c56 obj->refcount++;
59 obj->refcount--;
61 if (obj->refcount == 0) {
127 obj->refcount = 1;
145 return EG(objects_store).object_buckets[handle].bucket.obj.refcount;
152 EG(objects_store).object_buckets[handle].bucket.obj.refcount++;
154 fprintf(stderr, "Increased refcount of object id #%d\n", handle);
163 EG(objects_store).object_buckets[handle].bucket.obj.refcount++;
200 when the refcount reaches 0 a second time
203 if (obj->refcount
[all...]
H A Dzend_objects_API.h42 zend_uint refcount; member in struct:_zend_object_store_bucket::_store_bucket::_store_object
H A Dzend_opcode.c62 op_array->refcount = (zend_uint *) emalloc(sizeof(zend_uint));
63 *op_array->refcount = 1;
273 if (--ce->refcount > 0) {
346 (*ce)->refcount++;
364 if (--(*op_array->refcount)>0) {
368 efree(op_array->refcount);
/PHP_5_6/ext/com_dotnet/
H A Dcom_persist.c42 LONG refcount; member in struct:__anon30
77 InterlockedIncrement(&stm->refcount);
89 return InterlockedIncrement(&stm->refcount);
97 ret = InterlockedDecrement(&stm->refcount);
261 if (stm->refcount > 0) {
281 stm->refcount = 1;
H A Dcom_wrapper.c43 LONG refcount; /* COM reference count */ member in struct:__anon35
113 InterlockedIncrement(&disp->refcount);
125 return InterlockedIncrement(&disp->refcount);
133 ret = InterlockedDecrement(&disp->refcount);
134 trace("-- refcount now %d\n", ret);
544 disp->refcount = 1;
567 if (disp->refcount > 0)
/PHP_5_6/ext/libxml/
H A Dphp_libxml.h66 int refcount; member in struct:_php_libxml_ref_obj
72 int refcount; member in struct:_php_libxml_node_ptr
H A Dlibxml.c1173 return object->node->refcount;
1180 ret_refcount = ++object->node->refcount;
1189 object->node->refcount = 1;
1205 ret_refcount = --obj_node->refcount;
1223 object->document->refcount++;
1224 ret_refcount = object->document->refcount;
1229 object->document->refcount = ret_refcount;
1241 ret_refcount = --object->document->refcount;
/PHP_5_6/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)
/PHP_5_6/ext/pcre/
H A Dphp_pcre.h52 int refcount; member in struct:__anon151
/PHP_5_6/ext/pdo/
H A Dphp_pdo_driver.h490 unsigned int refcount; member in struct:_pdo_dbh_t
602 unsigned long refcount; member in struct:_pdo_stmt_t
/PHP_5_6/ext/standard/
H A Dscanf.c746 zend_uint refcount; local
749 refcount = Z_REFCOUNT_PP(current);
752 Z_SET_REFCOUNT_PP(current, refcount);
870 zend_uint refcount; local
873 refcount = Z_REFCOUNT_PP(current);
876 Z_SET_REFCOUNT_PP(current, refcount);
/PHP_5_6/main/streams/
H A Dfilter.c104 bucket->refcount = 1;
111 * If the original bucket has a refcount of 1 and owns its buffer, then it
123 if (bucket->refcount == 1 && bucket->own_buf) {
133 retval->refcount = 1;
153 (*left)->refcount = 1;
160 (*right)->refcount = 1;
184 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_5_6/ext/zip/
H A Dphp_zip.h49 # define Z_SET_REFCOUNT_P(pz, rc) pz->refcount = rc
/PHP_5_6/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"),
241 PHPDBG_SET(refcount) /* {{{ */
/PHP_5_6/ext/opcache/
H A Dzend_persist.c228 if (--(*op_array->refcount) == 0) {
229 efree(op_array->refcount);
231 op_array->refcount = NULL;
457 /* we use refcount to show that op_array is referenced from several places */
458 op_array->prototype->op_array.refcount++;
633 /* We use refcount to show if the class is used as a parent */
634 ce->parent->refcount++;
640 /* we use refcount to show that op_array is referenced from several places */
641 ce->constructor->op_array.refcount++;
645 ce->destructor->op_array.refcount
[all...]
H A DZendAccelerator.h131 #define Z_REFCOUNT_P(pz) (pz)->refcount
132 #define Z_SET_REFCOUNT_P(pz, v) (pz)->refcount = (v)
133 #define Z_ADDREF_P(pz) ++((pz)->refcount)
134 #define Z_DELREF_P(pz) --((pz)->refcount)
139 #define PZ_REFCOUNT_P(pz) (pz)->refcount
140 #define PZ_SET_REFCOUNT_P(pz, v) (pz)->refcount = (v)
141 #define PZ_ADDREF_P(pz) ++((pz)->refcount)
142 #define PZ_DELREF_P(pz) --((pz)->refcount)
/PHP_5_6/ext/dom/
H A Ddocument.c1397 int encoding_len = 0, version_len = 0, refcount; local
1423 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern TSRMLS_CC);
1424 if (refcount != 0) {
1614 int source_len, refcount, ret; local
1645 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern TSRMLS_CC);
1646 if (refcount != 0) {
2112 int source_len, refcount, ret; local
2164 refcount = php_libxml_decrement_doc_ref((php_libxml_node_object *)intern TSRMLS_CC);
2165 if (refcount != 0) {
/PHP_5_6/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;
397 if (ls->refcount == 0) {

Completed in 34 milliseconds

123