Home
last modified time | relevance | path

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

12

/PHP-8.3/Zend/
H A Dzend_string.h82 #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 Dzend_variables.c66 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 Dzend_objects.c53 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 Dzend_variables.h74 ZEND_ASSERT(!(GC_FLAGS(Z_STR_P(zval_ptr)) & IS_STR_PERSISTENT)); in zval_ptr_dtor_str()
H A Dzend_hash.c153 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 Dzend_string.c68 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 Dzend_types.h754 #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 Dzend_hash.h370 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 Dzend_execute.c2213 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 Dzend_object_handlers.h257 if ((ht) && !(GC_FLAGS(ht) & GC_IMMUTABLE) && !GC_DELREF(ht)) { \
H A Dzend_gc.c792 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 Dzend_attributes.c294 if (persistent == ((GC_FLAGS(name) & IS_STR_PERSISTENT) != 0)) { in zend_add_attribute()
H A Dzend.c475 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 Dzend_vm_execute.h4957 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 Dzend_object_handlers.c891 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 Dzend_vm_def.h2436 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 Dzend_execute_API.c705 bool ast_is_refcounted = !(GC_FLAGS(ast_ref) & GC_IMMUTABLE); in zval_update_constant_with_ctx()
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_helpers.c354 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 Dvar.c127 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 Dbrowscap.c304 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 Darray.c619 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 Dzend_persist.c124 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 Dphp_pcre.c875 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 Dmbstring.c1821 …} 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 Dspl_array.c88 if (EXPECTED(!(GC_FLAGS(obj->properties) & IS_ARRAY_IMMUTABLE))) { in spl_array_get_hash_table_ptr()

Completed in 263 milliseconds

12