Home
last modified time | relevance | path

Searched refs:trait_names (Results 1 – 12 of 12) sorted by relevance

/php-src/ext/spl/
H A Dspl_functions.c56 trait = zend_fetch_class_by_name(pce->trait_names[num_traits].name, in spl_add_traits()
57 pce->trait_names[num_traits].lc_name, ZEND_FETCH_CLASS_TRAIT); in spl_add_traits()
/php-src/ext/opcache/
H A Dzend_file_cache.c808 zend_class_name *trait_names; local
810 SERIALIZE_PTR(ce->trait_names);
811 trait_names = ce->trait_names;
812 UNSERIALIZE_PTR(trait_names);
815 SERIALIZE_STR(trait_names[i].name);
816 SERIALIZE_STR(trait_names[i].lc_name);
1660 UNSERIALIZE_PTR(ce->trait_names);
1663 UNSERIALIZE_STR(ce->trait_names[i].name);
1664 UNSERIALIZE_STR(ce->trait_names[i].lc_name);
H A Dzend_persist_calc.c527 ADD_INTERNED_STRING(ce->trait_names[i].name); in zend_persist_class_entry_calc()
528 ADD_INTERNED_STRING(ce->trait_names[i].lc_name); in zend_persist_class_entry_calc()
H A Dzend_persist.c1055 zend_accel_store_interned_string(ce->trait_names[i].name); in zend_persist_class_entry()
1056 zend_accel_store_interned_string(ce->trait_names[i].lc_name); in zend_persist_class_entry()
1058 …ce->trait_names = zend_shared_memdup_free(ce->trait_names, sizeof(zend_class_name) * ce->num_trait… in zend_persist_class_entry()
H A DZendAccelerator.c3752 zend_hash_find_ptr(EG(class_table), ce->trait_names[i].lc_name);
3755 error->name = ZSTR_VAL(ce->trait_names[i].name);
/php-src/Zend/
H A Dzend_opcode.c207 zend_string_release_ex(ce->trait_names[i].name, 0); in _destroy_zend_class_traits_info()
208 zend_string_release_ex(ce->trait_names[i].lc_name, 0); in _destroy_zend_class_traits_info()
210 efree(ce->trait_names); in _destroy_zend_class_traits_info()
H A Dzend.h216 zend_class_name *trait_names; member
H A Dzend_compile.c2107 ce->trait_names = NULL; in zend_initialize_class_data()
8904 …ce->trait_names = erealloc(ce->trait_names, sizeof(zend_class_name) * (ce->num_traits + traits->ch… in zend_compile_use_trait()
8915 ce->trait_names[ce->num_traits].name = in zend_compile_use_trait()
8917 …ce->trait_names[ce->num_traits].lc_name = zend_string_tolower(ce->trait_names[ce->num_traits].name… in zend_compile_use_trait()
H A Dzend_inheritance.c3470 zend_class_entry *trait = zend_fetch_class_by_name(ce->trait_names[i].name, in zend_do_link_class()
3471 ce->trait_names[i].lc_name, ZEND_FETCH_CLASS_TRAIT); in zend_do_link_class()
H A Dzend_API.h312 class_container.trait_names = NULL; \
/php-src/ext/reflection/
H A Dphp_reflection.c5295 trait_ce = zend_fetch_class_by_name(ce->trait_names[i].name, in ZEND_METHOD()
5296 ce->trait_names[i].lc_name, ZEND_FETCH_CLASS_TRAIT); in ZEND_METHOD()
5299 zend_hash_update(Z_ARRVAL_P(return_value), ce->trait_names[i].name, &trait); in ZEND_METHOD()
5321 add_next_index_str(return_value, zend_string_copy(ce->trait_names[i].name)); in ZEND_METHOD()
5353 zend_hash_find_ptr(CG(class_table), ce->trait_names[j].lc_name); in ZEND_METHOD()
/php-src/ext/opcache/jit/
H A Dzend_jit.c731 zend_class_entry *trait = zend_fetch_class_by_name(ce->trait_names[i].name, in zend_jit_class_may_be_modified()
732 ce->trait_names[i].lc_name, in zend_jit_class_may_be_modified()

Completed in 119 milliseconds