Home
last modified time | relevance | path

Searched refs:refcount (Results 51 – 75 of 80) sorted by relevance

1234

/PHP-5.5/ext/opcache/
H A Dzend_accelerator_util_funcs.c469 if (new_entry->refcount != NULL) {
606 op_array->refcount = &zend_accel_refcount;
607 (*op_array->refcount) = ZEND_PROTECTED_REFCOUNT;
640 ce->refcount = 1;
642 if (old_ce->refcount != 1) {
/PHP-5.5/ext/standard/
H A Duser_filters.c485 if (bucket->refcount == 1) { in php_stream_bucket_attach()
486 bucket->refcount++; in php_stream_bucket_attach()
H A Darray.c638 unsigned int refcount; in PHP_FUNCTION() local
655 refcount = Z_REFCOUNT_P(array); in PHP_FUNCTION()
660 if (refcount > Z_REFCOUNT_P(array)) { in PHP_FUNCTION()
681 unsigned int refcount; in PHP_FUNCTION() local
698 refcount = Z_REFCOUNT_P(array); in PHP_FUNCTION()
703 if (refcount > Z_REFCOUNT_P(array)) { in PHP_FUNCTION()
777 unsigned int refcount; in PHP_FUNCTION() local
794 refcount = Z_REFCOUNT_P(array); in PHP_FUNCTION()
799 if (refcount > Z_REFCOUNT_P(array)) { in PHP_FUNCTION()
H A Dstring.c2461 ulong refcount; local
2474 refcount = Z_REFCOUNT_P(orig_str);
2557 if(Z_REFCOUNT_P(orig_str) != refcount) {
/PHP-5.5/ext/pdo/
H A Dpdo_dbh.c331 pdbh->refcount = 1; in PHP_METHOD()
356 dbh->refcount++; in PHP_METHOD()
1519 if (--dbh->refcount) in dbh_free()
1561 dbh->refcount++; in php_pdo_dbh_addref()
1595 dbh->refcount = 1; in pdo_dbh_new()
H A Dpdo_stmt.c269 stmt->refcount++; in get_lazy_object()
2317 stmt->refcount = 1; in dbstmt_clone_obj()
2416 stmt->refcount++; in php_pdo_stmt_addref()
2421 if (--stmt->refcount == 0) { in php_pdo_stmt_delref()
2440 stmt->refcount = 1; in pdo_dbstmt_new()
2462 if (--I->stmt->refcount == 0) { in pdo_stmt_iter_dtor()
2552 stmt->refcount++; in pdo_stmt_iter_get()
2783 if (--stmt->refcount == 0) { in pdo_row_free_storage()
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_structs.h47 unsigned int refcount; member
825 unsigned int refcount; member
920 unsigned int refcount; member
H A Dmysqlnd.c1939 ++conn->refcount;
1940 DBG_INF_FMT("conn=%llu new_refcount=%u", conn->thread_id, conn->refcount);
1952 DBG_INF_FMT("conn=%llu old_refcount=%u", conn->thread_id, conn->refcount);
1953 if (!(--conn->refcount)) {
/PHP-5.5/ext/mysqli/
H A Dmysqli.c314 #define Z_ADDREF_P(pz) (++(pz)->refcount)
315 #define Z_REFCOUNT_P(pz) ((pz)->refcount)
316 #define Z_SET_REFCOUNT_P(pz, rc) ((pz)->refcount = rc)
/PHP-5.5/main/streams/
H A Dstreams.c71 return --le->refcount == 0; in _php_stream_release_context()
144 le->refcount++; in php_stream_from_persistent_id()
147 regentry->refcount++; in php_stream_from_persistent_id()
322 le.refcount = 0; in _php_stream_alloc()
/PHP-5.5/ext/phar/
H A Dutil.c449 ++(entry->phar->refcount); in phar_get_entry_data()
509 ++(entry->phar->refcount); in phar_get_entry_data()
617 ++(phar->refcount); in phar_get_or_create_entry_data()
945 if (phar->refcount || phar->is_persistent) { in phar_free_alias()
H A Dphar_internal.h328 int refcount; member
H A Dphar.c277 if (--phar->refcount < 0) { in phar_archive_delref()
283 } else if (!phar->refcount) { in phar_archive_delref()
318 if (EG(exception) || --phar_data->refcount < 0) { in destroy_phar_data_only()
371 if (--phar_data->refcount < 0) { in destroy_phar_data()
468 idata->phar->refcount--; in phar_entry_remove()
H A Dphar_object.c1119 ++(phar_data->refcount); in phar_spl_foreign_clone()
1237 ++(phar_data->refcount); in PHP_METHOD()
1367 if (phar->refcount) { in PHP_METHOD()
2133 phar->refcount++; in phar_rename_archive()
H A Dstream.c274 ++(entry->phar->refcount); in phar_wrapper_open_url()
/PHP-5.5/Zend/
H A Dzend_execute_API.c476 int refcount; in zval_update_constant_ex() local
484 refcount = Z_REFCOUNT_P(p); in zval_update_constant_ex()
554 Z_SET_REFCOUNT_P(p, refcount); in zval_update_constant_ex()
H A Dzend_closures.c469 (*closure->func.op_array.refcount)++; in zend_create_closure()
H A Dzend_generators.c267 (*op_array->refcount)++; in zend_generator_create_zval()
H A Dzend_API.h599 zend_uint refcount = Z_REFCOUNT_P(z); \
611 Z_SET_REFCOUNT_P(z, refcount); \
H A Dzend_builtin_functions.c1091 *mptr->op_array.refcount > 1 && in ZEND_FUNCTION()
1650 if (ce->refcount > 1 && in copy_class_or_interface_name()
H A Dzend_compile.h273 zend_uint *refcount; member
/PHP-5.5/sapi/thttpd/
H A Dthttpd_patch1329 ++m->refcount;
1338 m->refcount = 1;
1390 else if ( m->refcount <= 0 )
1391 syslog( LOG_ERR, "mmc_unmap found zero or negative refcount!" );
1394 - --m->refcount;
1395 + if ( --m->refcount == 0 && m->nocache == 1 ) {
/PHP-5.5/ext/simplexml/
H A Dsimplexml.c74 subnode->document->refcount++; in _node_as_zval()
1022 subnode->document->refcount++; in _get_base_node_value()
1998 clone->document->refcount++; in sxe_object_clone()
/PHP-5.5/
H A D.gdbinit176 printf "(refcount=%d", $zvalue->refcount__gc
/PHP-5.5/ext/hash/
H A Dhash.c539 le->refcount = 1; in PHP_FUNCTION()

Completed in 157 milliseconds

1234