Home
last modified time | relevance | path

Searched refs:GC_FLAGS (Results 1 – 25 of 32) sorted by relevance

12

/PHP-7.3/Zend/
H A Dzend_variables.c73 ZEND_ASSERT(!(GC_FLAGS(str) & IS_STR_PERSISTENT)); in zend_string_destroy()
126 ZEND_ASSERT((GC_FLAGS(str) & IS_STR_PERSISTENT)); in zval_internal_ptr_dtor()
H A Dzend_string.h69 #define ZSTR_IS_INTERNED(s) (GC_FLAGS(s) & IS_STR_INTERNED) in END_EXTERN_C()
265 pefree(s, GC_FLAGS(s) & IS_STR_PERSISTENT); in zend_string_free()
273 ZEND_ASSERT(!(GC_FLAGS(s) & IS_STR_PERSISTENT)); in zend_string_efree()
281 pefree(s, GC_FLAGS(s) & IS_STR_PERSISTENT); in zend_string_release()
291 ZEND_ASSERT(GC_FLAGS(s) & IS_STR_PERSISTENT); in zend_string_release_ex()
294 ZEND_ASSERT(!(GC_FLAGS(s) & IS_STR_PERSISTENT)); in zend_string_release_ex()
H A Dzend_variables.h74 ZEND_ASSERT(!(GC_FLAGS(Z_STR_P(zval_ptr)) & IS_STR_PERSISTENT)); in zval_ptr_dtor_str()
H A Dzend_hash.c275 pefree(old_data, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_packed_to_hash()
291 pefree(old_data, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_to_packed()
321 pefree(old_data, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_extend()
1041 pefree(old_data, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_do_resize()
1461 pefree(HT_GET_DATA_ADDR(ht), GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_destroy()
1940 } else if (GC_FLAGS(source) & IS_ARRAY_IMMUTABLE) { in zend_array_dup()
2447 pefree(old_data, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_sort_ex()
2553 if (!(GC_FLAGS(ht1) & GC_IMMUTABLE)) { in zend_hash_compare()
2557 if (!(GC_FLAGS(ht1) & GC_IMMUTABLE)) { in zend_hash_compare()
2661 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_symtable_to_proptable()
[all …]
H A Dzend_string.c62 pefree(str, GC_FLAGS(str) & IS_STR_PERSISTENT); in _str_dtor()
202 ZEND_ASSERT(GC_FLAGS(str) & GC_PERSISTENT); in zend_new_interned_string_permanent()
241 ZEND_ASSERT(!(GC_FLAGS(str) & GC_PERSISTENT)); in zend_new_interned_string_request()
H A Dzend_objects.c45 if (EXPECTED(!(GC_FLAGS(object->properties) & IS_ARRAY_IMMUTABLE))) { in zend_object_std_dtor()
200 if (EXPECTED(!(GC_FLAGS(old_object->properties) & IS_ARRAY_IMMUTABLE))) { in zend_objects_clone_members()
H A Dzend_hash.h647 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_add_mem()
660 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_add_new_mem()
673 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_add_mem()
686 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_add_new_mem()
697 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_update_mem()
706 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_update_mem()
745 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_index_add_mem()
770 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_index_update_mem()
781 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_next_index_insert_mem()
H A Dzend_types.h494 #define GC_FLAGS(p) zval_gc_flags(GC_TYPE_INFO(p)) macro
507 #define Z_GC_FLAGS(zval) GC_FLAGS(Z_COUNTED(zval))
559 #define OBJ_FLAGS(obj) GC_FLAGS(obj)
563 (GC_FLAGS(p) & GC_PROTECTED)
574 if (!(GC_FLAGS(p) & GC_IMMUTABLE)) GC_PROTECT_RECURSION(p); \
578 if (!(GC_FLAGS(p) & GC_IMMUTABLE)) GC_UNPROTECT_RECURSION(p); \
1100 if (EXPECTED(!(GC_FLAGS(_gc) & GC_PERSISTENT))) { \
H A Dzend.c376 if (!(GC_FLAGS(Z_ARRVAL_P(expr)) & GC_IMMUTABLE)) { in zend_print_flat_zval_r()
385 if (!(GC_FLAGS(Z_ARRVAL_P(expr)) & GC_IMMUTABLE)) { in zend_print_flat_zval_r()
427 if (!(GC_FLAGS(Z_ARRVAL_P(expr)) & GC_IMMUTABLE)) { in zend_print_zval_r_to_buf()
435 if (!(GC_FLAGS(Z_ARRVAL_P(expr)) & GC_IMMUTABLE)) { in zend_print_zval_r_to_buf()
H A Dzend_object_handlers.c128 && EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_get_gc()
766 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_write_property()
959 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_get_property_ptr_ptr()
1013 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_unset_property()
H A Dzend_opcode.c343 !(GC_FLAGS(op_array->static_variables) & IS_ARRAY_IMMUTABLE)) { in destroy_op_array()
H A Dzend_vm_execute.h3231 if (GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) {
17992 if (GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) {
21005 if (GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) {
22570 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) {
22691 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) {
22812 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) {
22933 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) {
24941 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) {
25062 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) {
37423 if (GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) {
[all …]
H A Dzend_inheritance.c81 if (!(GC_FLAGS(func->op_array.static_variables) & IS_ARRAY_IMMUTABLE)) { in zend_duplicate_function()
H A Dzend_vm_def.h2135 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) {
5357 if (GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) {
5715 if (EXPECTED(!(GC_FLAGS(Z_OBJ_P(array_ptr)->properties) & IS_ARRAY_IMMUTABLE))) {
5801 if (EXPECTED(!(GC_FLAGS(Z_OBJ_P(array_ptr)->properties) & IS_ARRAY_IMMUTABLE))) {
7878 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) {
/PHP-7.3/ext/standard/
H A Dhttp.c137 if (!(GC_FLAGS(ht) & GC_IMMUTABLE)) { in php_url_encode_hash_ex()
141 if (!(GC_FLAGS(ht) & GC_IMMUTABLE)) { in php_url_encode_hash_ex()
H A Dvar.c120 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in php_var_dump()
135 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in php_var_dump()
292 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in php_debug_zval_dump()
307 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in php_debug_zval_dump()
504 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in php_var_export_ex()
521 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in php_var_export_ex()
H A Dbrowscap.c300 int persistent = GC_FLAGS(bdata->htab) & IS_ARRAY_PERSISTENT; in php_browscap_parser_cb()
694 if (!(GC_FLAGS(str) & GC_PERSISTENT)) { in browscap_zval_copy_ctor()
H A Darray.c750 if (!(GC_FLAGS(ht) & GC_IMMUTABLE)) { in php_count_recursive()
766 if (!(GC_FLAGS(ht) & GC_IMMUTABLE)) { in php_count_recursive()
3607 if (thash && !(GC_FLAGS(thash) & GC_IMMUTABLE)) {
3611 if (thash && !(GC_FLAGS(thash) & GC_IMMUTABLE)) {
4536 …c((Z_ARRVAL_P(array)->nNumOfElements + 1) * sizeof(struct bucketindex), GC_FLAGS(Z_ARRVAL_P(array)…
4571 pefree(arTmp, GC_FLAGS(Z_ARRVAL_P(array)) & IS_ARRAY_PERSISTENT);
4821 …list = (Bucket *) pemalloc((hash->nNumOfElements + 1) * sizeof(Bucket), GC_FLAGS(hash) & IS_ARRAY_…
4946 pefree(lists[i], GC_FLAGS(hash) & IS_ARRAY_PERSISTENT);
5232 …list = (Bucket *) pemalloc((hash->nNumOfElements + 1) * sizeof(Bucket), GC_FLAGS(hash) & IS_ARRAY_…
5355 pefree(lists[i], GC_FLAGS(hash) & IS_ARRAY_PERSISTENT);
/PHP-7.3/ext/json/
H A Djson_encoder.c118 if (_tmp_ht && !(GC_FLAGS(_tmp_ht) & GC_IMMUTABLE)) { \
125 if (_tmp_ht && !(GC_FLAGS(_tmp_ht) & GC_IMMUTABLE)) { \
/PHP-7.3/
H A DUPGRADING.INTERNALS75 !(GC_FLAGS(p) & GC_IMMUTABLE).
78 GC_FLAGS (to be consistent with IS_STR_PERSISTENT).
/PHP-7.3/ext/xmlrpc/
H A Dxmlrpc-epi-php.c554 if (ht && !(GC_FLAGS(ht) & GC_IMMUTABLE)) { in PHP_to_XMLRPC_worker()
585 if (ht && !(GC_FLAGS(ht) & GC_IMMUTABLE)) { in PHP_to_XMLRPC_worker()
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_utils.c690 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in phpdbg_xml_var_dump()
/PHP-7.3/ext/opcache/
H A Dzend_accelerator_util_funcs.c49 if (!(GC_FLAGS(function->op_array.static_variables) & IS_ARRAY_IMMUTABLE)) { in zend_accel_destroy_zend_function()
/PHP-7.3/ext/phar/
H A Dutil.c1958 if (GC_FLAGS(&phar->virtual_dirs) & GC_PERSISTENT) { in phar_add_virtual_dirs()
/PHP-7.3/ext/spl/
H A Dspl_array.c100 if (EXPECTED(!(GC_FLAGS(obj->properties) & IS_ARRAY_IMMUTABLE))) { in spl_array_get_hash_table_ptr()

Completed in 251 milliseconds

12