Lines Matching refs:property_info

108 static void zend_duplicate_property_info(zend_property_info *property_info) /* {{{ */  in zend_duplicate_property_info()  argument
110 if (!IS_INTERNED(property_info->name)) { in zend_duplicate_property_info()
111 property_info->name = estrndup(property_info->name, property_info->name_length); in zend_duplicate_property_info()
113 if (property_info->doc_comment) { in zend_duplicate_property_info()
114 property_info->doc_comment = estrndup(property_info->doc_comment, property_info->doc_comment_len); in zend_duplicate_property_info()
119 static void zend_duplicate_property_info_internal(zend_property_info *property_info) /* {{{ */ in zend_duplicate_property_info_internal() argument
121 if (!IS_INTERNED(property_info->name)) { in zend_duplicate_property_info_internal()
122 property_info->name = zend_strndup(property_info->name, property_info->name_length); in zend_duplicate_property_info_internal()
127 static void zend_destroy_property_info(zend_property_info *property_info) /* {{{ */ in zend_destroy_property_info() argument
129 str_efree(property_info->name); in zend_destroy_property_info()
130 if (property_info->doc_comment) { in zend_destroy_property_info()
131 efree((char*)property_info->doc_comment); in zend_destroy_property_info()
136 static void zend_destroy_property_info_internal(zend_property_info *property_info) /* {{{ */ in zend_destroy_property_info_internal() argument
138 str_free((char*)property_info->name); in zend_destroy_property_info_internal()
3420 zend_property_info *property_info; in zend_do_inheritance() local
3516 zend_hash_get_current_data(&ce->properties_info, (void *) &property_info) == SUCCESS; in zend_do_inheritance()
3518 if (property_info->ce == ce) { in zend_do_inheritance()
3519 if (property_info->flags & ZEND_ACC_STATIC) { in zend_do_inheritance()
3520 property_info->offset += parent_ce->default_static_members_count; in zend_do_inheritance()
3522 property_info->offset += parent_ce->default_properties_count; in zend_do_inheritance()
4058 zend_property_info *property_info; in zend_do_traits_property_binding() local
4077 zend_hash_get_current_data(&ce->traits[i]->properties_info, (void *) &property_info) == SUCCESS; in zend_do_traits_property_binding()
4082 flags = property_info->flags; in zend_do_traits_property_binding()
4084 prop_hash = property_info->h; in zend_do_traits_property_binding()
4085 prop_name = property_info->name; in zend_do_traits_property_binding()
4086 prop_name_length = property_info->name_length; in zend_do_traits_property_binding()
4089 zend_unmangle_property_name(property_info->name, property_info->name_length, in zend_do_traits_property_binding()
4107 ce->traits[i]->default_static_members_table[property_info->offset] TSRMLS_CC)) in zend_do_traits_property_binding()
4112 ce->traits[i]->default_properties_table[property_info->offset] TSRMLS_CC)) in zend_do_traits_property_binding()
4124 property_info->ce->name, in zend_do_traits_property_binding()
4131 property_info->ce->name, in zend_do_traits_property_binding()
4141 prop_value = ce->traits[i]->default_static_members_table[property_info->offset]; in zend_do_traits_property_binding()
4143 prop_value = ce->traits[i]->default_properties_table[property_info->offset]; in zend_do_traits_property_binding()
4147 …doc_comment = property_info->doc_comment ? estrndup(property_info->doc_comment, property_info->doc… in zend_do_traits_property_binding()
4150 doc_comment, property_info->doc_comment_len TSRMLS_CC); in zend_do_traits_property_binding()