/PHP-8.3/Zend/ |
H A D | zend_string.h | 82 #define ZSTR_IS_INTERNED(s) (GC_FLAGS(s) & IS_STR_INTERNED) in END_EXTERN_C() 83 #define ZSTR_IS_VALID_UTF8(s) (GC_FLAGS(s) & IS_STR_VALID_UTF8) in END_EXTERN_C() 90 #define ZSTR_GET_COPYABLE_CONCAT_PROPERTIES(s) (GC_FLAGS(s) & ZSTR_COPYABLE_CONCAT_PROPERTIES) in END_EXTERN_C() 92 #define ZSTR_GET_COPYABLE_CONCAT_PROPERTIES_BOTH(s1, s2) (GC_FLAGS(s1) & GC_FLAGS(s2) & ZSTR_COPYAB… in END_EXTERN_C() 330 pefree(s, GC_FLAGS(s) & IS_STR_PERSISTENT); in zend_string_free() 338 ZEND_ASSERT(!(GC_FLAGS(s) & IS_STR_PERSISTENT)); in zend_string_efree() 346 pefree(s, GC_FLAGS(s) & IS_STR_PERSISTENT); in zend_string_release() 356 ZEND_ASSERT(GC_FLAGS(s) & IS_STR_PERSISTENT); in zend_string_release_ex() 359 ZEND_ASSERT(!(GC_FLAGS(s) & IS_STR_PERSISTENT)); in zend_string_release_ex()
|
H A D | zend_variables.c | 66 ZEND_ASSERT(!(GC_FLAGS(str) & IS_STR_PERSISTENT)); in zend_string_destroy() 99 ZEND_ASSERT((GC_FLAGS(str) & IS_STR_PERSISTENT)); in zval_internal_ptr_dtor()
|
H A D | zend_objects.c | 53 if (UNEXPECTED(GC_FLAGS(object) & IS_OBJ_WEAKLY_REFERENCED)) { in zend_object_std_dtor() 58 if (EXPECTED(!(GC_FLAGS(object->properties) & IS_ARRAY_IMMUTABLE))) { in zend_object_std_dtor() 226 if (EXPECTED(!(GC_FLAGS(old_object->properties) & IS_ARRAY_IMMUTABLE))) { in zend_objects_clone_members()
|
H A D | zend_variables.h | 74 ZEND_ASSERT(!(GC_FLAGS(Z_STR_P(zval_ptr)) & IS_STR_PERSISTENT)); in zval_ptr_dtor_str()
|
H A D | zend_hash.c | 153 if (UNEXPECTED(GC_FLAGS(ht) & IS_ARRAY_PERSISTENT)) { in zend_hash_real_init_packed_ex() 174 if (UNEXPECTED(GC_FLAGS(ht) & IS_ARRAY_PERSISTENT)) { in zend_hash_real_init_mixed_ex() 370 pefree(old_data, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_packed_to_hash() 393 pefree(old_data, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_to_packed() 428 pefree(old_data, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_extend() 955 if (GC_FLAGS(ht) & GC_PERSISTENT_LOCAL) { in _zend_hash_str_add_or_update_i() 1316 pefree(old_data, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_do_resize() 2461 } else if (GC_FLAGS(source) & IS_ARRAY_IMMUTABLE) { in zend_array_dup() 3061 pefree(old_data, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_sort_internal() 3350 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_symtable_to_proptable() [all …]
|
H A D | zend_string.c | 68 pefree(str, GC_FLAGS(str) & IS_STR_PERSISTENT); in _str_dtor() 224 ZEND_ASSERT(GC_FLAGS(str) & GC_PERSISTENT); in zend_new_interned_string_permanent() 260 ZEND_ASSERT(!(GC_FLAGS(str) & GC_PERSISTENT)); in zend_new_interned_string_request()
|
H A D | zend_types.h | 754 #define GC_FLAGS(p) zval_gc_flags(GC_TYPE_INFO(p)) macro 767 #define Z_GC_FLAGS(zval) GC_FLAGS(Z_COUNTED(zval)) 834 #define OBJ_FLAGS(obj) GC_FLAGS(obj) 837 #define ZSTR_HAS_CE_CACHE(s) (GC_FLAGS(s) & IS_STR_CLASS_NAME_MAP_PTR) 862 (GC_FLAGS(p) & GC_PROTECTED) 873 if (!(GC_FLAGS(p) & GC_IMMUTABLE)) GC_PROTECT_RECURSION(p); \ 877 if (!(GC_FLAGS(p) & GC_IMMUTABLE)) GC_UNPROTECT_RECURSION(p); \ 1449 if (EXPECTED(!(GC_FLAGS(_gc) & GC_PERSISTENT) \ 1574 …return Z_REFCOUNTED_P(arg) && !(GC_FLAGS(Z_COUNTED_P(arg)) & (GC_IMMUTABLE | GC_PERSISTENT)) && Z_… in zend_may_modify_arg_in_place()
|
H A D | zend_hash.h | 370 if (!(GC_FLAGS(array) & IS_ARRAY_IMMUTABLE)) { in zend_array_release() 380 if (!(GC_FLAGS(array) & IS_ARRAY_IMMUTABLE)) { in zend_hash_release() 383 pefree(array, GC_FLAGS(array) & IS_ARRAY_PERSISTENT); in zend_hash_release() 730 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_add_mem() 743 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_add_new_mem() 756 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_add_mem() 769 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_add_new_mem() 780 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_update_mem() 789 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_update_mem() 828 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_index_add_mem() [all …]
|
H A D | zend_execute.c | 2213 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_undefined_offset_write() 2235 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_undefined_index_write() 2339 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in slow_index_convert() 2343 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) && !GC_DELREF(ht)) { in slow_index_convert() 2360 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in slow_index_convert() 2376 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in slow_index_convert() 2407 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in slow_index_convert_w() 2430 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in slow_index_convert_w() 2448 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in slow_index_convert_w() 2775 if (!(GC_FLAGS(str) & IS_STR_INTERNED)) { in zend_fetch_dimension_address_read() [all …]
|
H A D | zend_object_handlers.h | 257 if ((ht) && !(GC_FLAGS(ht) & GC_IMMUTABLE) && !GC_DELREF(ht)) { \
|
H A D | zend_gc.c | 792 if (UNEXPECTED(GC_FLAGS(obj) & IS_OBJ_WEAKLY_REFERENCED)) { in gc_scan_black() 993 if (UNEXPECTED(GC_FLAGS(obj) & IS_OBJ_WEAKLY_REFERENCED)) { in gc_mark_grey() 1239 if (UNEXPECTED(GC_FLAGS(obj) & IS_OBJ_WEAKLY_REFERENCED)) { in gc_scan() 1449 if (UNEXPECTED(GC_FLAGS(obj) & IS_OBJ_WEAKLY_REFERENCED)) { in gc_collect_white() 1680 if (UNEXPECTED(GC_FLAGS(obj) & IS_OBJ_WEAKLY_REFERENCED)) { in gc_remove_nested_data_from_buffer()
|
H A D | zend_attributes.c | 294 if (persistent == ((GC_FLAGS(name) & IS_STR_PERSISTENT) != 0)) { in zend_add_attribute()
|
H A D | zend.c | 475 if (!(GC_FLAGS(Z_ARRVAL_P(expr)) & GC_IMMUTABLE)) { in zend_print_flat_zval_r_to_buf() 539 if (!(GC_FLAGS(Z_ARRVAL_P(expr)) & GC_IMMUTABLE)) { in zend_print_zval_r_to_buf() 1992 if ((GC_FLAGS(type_name) & IS_STR_PERMANENT) && startup_done) { in zend_alloc_ce_cache()
|
H A D | zend_vm_execute.h | 4957 if (GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) { in ZEND_CAST_SPEC_CONST_HANDLER() 19489 if (GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) { in ZEND_CAST_SPEC_TMP_HANDLER() 22158 if (GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) { in ZEND_CAST_SPEC_VAR_HANDLER() 23924 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in ZEND_ASSIGN_DIM_SPEC_VAR_CONST_OP_DATA_CONST_HANDLER() 24076 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in ZEND_ASSIGN_DIM_SPEC_VAR_CONST_OP_DATA_TMP_HANDLER() 24229 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in ZEND_ASSIGN_DIM_SPEC_VAR_CONST_OP_DATA_VAR_HANDLER() 24382 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in ZEND_ASSIGN_DIM_SPEC_VAR_CONST_OP_DATA_CV_HANDLER() 26850 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in ZEND_ASSIGN_DIM_SPEC_VAR_TMPVAR_OP_DATA_CONST_HANDLER() 27002 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in ZEND_ASSIGN_DIM_SPEC_VAR_TMPVAR_OP_DATA_TMP_HANDLER() 27155 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in ZEND_ASSIGN_DIM_SPEC_VAR_TMPVAR_OP_DATA_VAR_HANDLER() [all …]
|
H A D | zend_object_handlers.c | 891 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_write_property() 1144 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_get_property_ptr_ptr() 1227 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_std_unset_property()
|
H A D | zend_vm_def.h | 2436 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { 2574 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { 2578 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) && !GC_DELREF(ht)) { 6363 if (GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) { 6736 if (EXPECTED(!(GC_FLAGS(properties) & IS_ARRAY_IMMUTABLE))) { 6835 if (EXPECTED(!(GC_FLAGS(Z_OBJ_P(array_ptr)->properties) & IS_ARRAY_IMMUTABLE))) { 9358 if (OP1_TYPE & (IS_TMP_VAR|IS_VAR) && !(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) && !GC_DELREF(ht)) {
|
H A D | zend_execute_API.c | 705 bool ast_is_refcounted = !(GC_FLAGS(ast_ref) & GC_IMMUTABLE); in zval_update_constant_with_ctx()
|
/PHP-8.3/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 354 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_jit_undefined_op_helper_write() 389 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_jit_fetch_dim_r_helper() 421 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_jit_fetch_dim_r_helper() 449 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_jit_fetch_dim_r_helper() 531 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_jit_fetch_dim_is_helper() 591 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_jit_fetch_dim_is_helper() 671 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_jit_fetch_dim_isset_helper() 707 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_jit_fetch_dim_isset_helper() 829 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_jit_fetch_dim_rw_helper() 962 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_jit_fetch_dim_w_helper() [all …]
|
/PHP-8.3/ext/standard/ |
H A D | var.c | 127 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in php_var_dump() 140 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in php_var_dump() 319 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in php_debug_zval_dump() 337 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in php_debug_zval_dump() 532 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in php_var_export_ex() 549 if (!(GC_FLAGS(myht) & GC_IMMUTABLE)) { in php_var_export_ex()
|
H A D | browscap.c | 304 int persistent = GC_FLAGS(bdata->htab) & IS_ARRAY_PERSISTENT; in php_browscap_parser_cb() 669 if (!(GC_FLAGS(str) & GC_PERSISTENT)) { in browscap_zval_copy_ctor()
|
H A D | array.c | 619 if (!(GC_FLAGS(ht) & GC_IMMUTABLE)) { in php_count_recursive() 1024 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in get_ht_for_iap() 4862 …arTmp = pemalloc((Z_ARRVAL_P(array)->nNumOfElements + 1) * sizeof(struct bucketindex), GC_FLAGS(Z_… 4904 pefree(arTmp, GC_FLAGS(Z_ARRVAL_P(array)) & IS_ARRAY_PERSISTENT); 5128 …list = (Bucket *) pemalloc((hash->nNumOfElements + 1) * sizeof(Bucket), GC_FLAGS(hash) & IS_ARRAY_… 5271 pefree(lists[i], GC_FLAGS(hash) & IS_ARRAY_PERSISTENT); 5523 …list = (Bucket *) pemalloc((hash->nNumOfElements + 1) * sizeof(Bucket), GC_FLAGS(hash) & IS_ARRAY_… 5659 pefree(lists[i], GC_FLAGS(hash) & IS_ARRAY_PERSISTENT);
|
/PHP-8.3/ext/opcache/ |
H A D | zend_persist.c | 124 if (GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE) { in zend_hash_persist() 146 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_hash_persist() 165 if (!(GC_FLAGS(ht) & IS_ARRAY_IMMUTABLE)) { in zend_hash_persist() 331 if ((GC_FLAGS(type_name) & GC_IMMUTABLE) in zend_accel_get_class_name_map_ptr() 332 && (GC_FLAGS(type_name) & IS_STR_PERMANENT)) { in zend_accel_get_class_name_map_ptr()
|
/PHP-8.3/ext/pcre/ |
H A D | php_pcre.c | 875 if (!(GC_FLAGS(key) & IS_STR_PERMANENT) && !PCRE_G(per_request_cache)) { in pcre_get_compiled_regex_cache_ex() 1133 if (!(GC_FLAGS(subject_str) & IS_STR_VALID_UTF8)) { in is_known_valid_utf8() 2454 if (GC_FLAGS(subject_ht) & IS_ARRAY_IMMUTABLE) { in PHP_FUNCTION()
|
/PHP-8.3/ext/mbstring/ |
H A D | mbstring.c | 1821 …} else if (php_mb_is_no_encoding_utf8(encoding->no_encoding) && GC_FLAGS(string) & IS_STR_VALID_UT… in mb_get_strlen() 2248 if (GC_FLAGS(haystack) & IS_STR_VALID_UTF8) { in PHP_FUNCTION() 2258 if (GC_FLAGS(needle) & IS_STR_VALID_UTF8) { in PHP_FUNCTION() 3206 if (size == 1 && *elist == &mbfl_encoding_utf8 && (GC_FLAGS(str) & IS_STR_VALID_UTF8)) { in PHP_FUNCTION() 5291 if (GC_FLAGS(str) & IS_STR_VALID_UTF8) { in mb_check_str_encoding() 5684 if (enc == &mbfl_encoding_utf8 && (GC_FLAGS(str) & IS_STR_VALID_UTF8)) { in PHP_FUNCTION()
|
/PHP-8.3/ext/spl/ |
H A D | spl_array.c | 88 if (EXPECTED(!(GC_FLAGS(obj->properties) & IS_ARRAY_IMMUTABLE))) { in spl_array_get_hash_table_ptr()
|