Searched refs:trait_precedences (Results 1 – 10 of 10) sorted by relevance
407 if (ce->trait_precedences) { in zend_class_copy_ctor()408 zend_trait_precedence **trait_precedences; in zend_class_copy_ctor() local411 while (ce->trait_precedences[i]) { in zend_class_copy_ctor()414 trait_precedences = emalloc(sizeof(zend_trait_precedence*) * (i + 1)); in zend_class_copy_ctor()416 while (ce->trait_precedences[i]) { in zend_class_copy_ctor()417 …trait_precedences[i] = emalloc(sizeof(zend_trait_precedence) + (ce->trait_precedences[i]->num_excl… in zend_class_copy_ctor()418 …memcpy(trait_precedences[i], ce->trait_precedences[i], sizeof(zend_trait_precedence) + (ce->trait_… in zend_class_copy_ctor()421 trait_precedences[i] = NULL; in zend_class_copy_ctor()422 ce->trait_precedences = trait_precedences; in zend_class_copy_ctor()
509 if (ce->trait_precedences) { in zend_persist_class_entry_calc()513 while (ce->trait_precedences[i]) { in zend_persist_class_entry_calc()514 ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method.method_name); in zend_persist_class_entry_calc()515 ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method.class_name); in zend_persist_class_entry_calc()517 for (j = 0; j < ce->trait_precedences[i]->num_excludes; j++) { in zend_persist_class_entry_calc()518 ADD_INTERNED_STRING(ce->trait_precedences[i]->exclude_class_names[j]); in zend_persist_class_entry_calc()520 …ADD_SIZE(sizeof(zend_trait_precedence) + (ce->trait_precedences[i]->num_excludes - 1) * sizeof(zen… in zend_persist_class_entry_calc()
956 if (ce->trait_precedences) { in zend_persist_class_entry()960 while (ce->trait_precedences[i]) { in zend_persist_class_entry()961 zend_accel_store_interned_string(ce->trait_precedences[i]->trait_method.method_name); in zend_persist_class_entry()962 zend_accel_store_interned_string(ce->trait_precedences[i]->trait_method.class_name); in zend_persist_class_entry()964 for (j = 0; j < ce->trait_precedences[i]->num_excludes; j++) { in zend_persist_class_entry()965 zend_accel_store_interned_string(ce->trait_precedences[i]->exclude_class_names[j]); in zend_persist_class_entry()968 …ce->trait_precedences[i] = zend_shared_memdup_free(ce->trait_precedences[i], sizeof(zend_trait_pre… in zend_persist_class_entry()971 ce->trait_precedences = zend_shared_memdup_free( in zend_persist_class_entry()972 ce->trait_precedences, sizeof(zend_trait_precedence*) * (i + 1)); in zend_persist_class_entry()
806 if (ce->trait_precedences) {810 SERIALIZE_PTR(ce->trait_precedences);811 p = ce->trait_precedences;1555 if (ce->trait_precedences) {1559 UNSERIALIZE_PTR(ce->trait_precedences);1560 p = ce->trait_precedences;
3696 if (ce->trait_aliases || ce->trait_precedences) {
245 if (ce->trait_precedences) { in _destroy_zend_class_traits_info()249 while (ce->trait_precedences[i]) { in _destroy_zend_class_traits_info()250 zend_string_release_ex(ce->trait_precedences[i]->trait_method.method_name, 0); in _destroy_zend_class_traits_info()251 zend_string_release_ex(ce->trait_precedences[i]->trait_method.class_name, 0); in _destroy_zend_class_traits_info()253 for (j = 0; j < ce->trait_precedences[i]->num_excludes; j++) { in _destroy_zend_class_traits_info()254 zend_string_release_ex(ce->trait_precedences[i]->exclude_class_names[j], 0); in _destroy_zend_class_traits_info()256 efree(ce->trait_precedences[i]); in _destroy_zend_class_traits_info()259 efree(ce->trait_precedences); in _destroy_zend_class_traits_info()
172 zend_trait_precedence **trait_precedences; member
1761 if (ce->trait_precedences) { in zend_traits_init_trait_structures()1764 precedences = ce->trait_precedences; in zend_traits_init_trait_structures()1765 ce->trait_precedences = NULL; in zend_traits_init_trait_structures()1823 ce->trait_precedences = precedences; in zend_traits_init_trait_structures()
266 class_container.trait_precedences = NULL; \
1866 ce->trait_precedences = NULL; in zend_initialize_class_data()7210 zend_add_to_list(&CG(active_class_entry)->trait_precedences, precedence); in zend_compile_trait_precedence()
Completed in 85 milliseconds