Lines Matching refs:name_length

254 		*class_name_len = ce->name_length;  in zend_get_object_classname()
2556 char *lowercase_name = emalloc(orig_class_entry->name_length + 1); in do_register_internal_class()
2569 zend_str_tolower_copy(lowercase_name, orig_class_entry->name, class_entry->name_length); in do_register_internal_class()
2570 …lowercase_name = (char*)zend_new_interned_string(lowercase_name, class_entry->name_length + 1, 1 T… in do_register_internal_class()
2571 hash = str_hash(lowercase_name, class_entry->name_length); in do_register_internal_class()
2572 …zend_hash_quick_update(CG(class_table), lowercase_name, class_entry->name_length+1, hash, &class_e… in do_register_internal_class()
2653 ZEND_API int zend_set_hash_symbol(zval *symbol, const char *name, int name_length, zend_bool is_ref… in zend_set_hash_symbol() argument
2665 zend_hash_update(symbol_table, name, name_length + 1, &symbol, sizeof(zval *), NULL); in zend_set_hash_symbol()
3103 *callable_name_len = fcc->calling_scope->name_length + Z_STRLEN_P(callable) + sizeof("::") - 1; in zend_is_callable_ex()
3105 memcpy(ptr, fcc->calling_scope->name, fcc->calling_scope->name_length); in zend_is_callable_ex()
3106 ptr += fcc->calling_scope->name_length; in zend_is_callable_ex()
3183 … *callable_name_len = fcc->calling_scope->name_length + Z_STRLEN_PP(method) + sizeof("::") - 1; in zend_is_callable_ex()
3185 memcpy(ptr, fcc->calling_scope->name, fcc->calling_scope->name_length); in zend_is_callable_ex()
3186 ptr += fcc->calling_scope->name_length; in zend_is_callable_ex()
3236 *callable_name_len = ce->name_length + sizeof("::__invoke") - 1; in zend_is_callable_ex()
3238 memcpy(*callable_name, ce->name, ce->name_length); in zend_is_callable_ex()
3239 memcpy((*callable_name) + ce->name_length, "::__invoke", sizeof("::__invoke")); in zend_is_callable_ex()
3470 ZEND_API int zend_declare_property_ex(zend_class_entry *ce, const char *name, int name_length, zval… in zend_declare_property_ex() argument
3474 ulong h = zend_get_hash_value(name, name_length+1); in zend_declare_property_ex()
3480 …if (zend_hash_quick_find(&ce->properties_info, name, name_length + 1, h, (void**)&property_info_pt… in zend_declare_property_ex()
3484 zend_hash_quick_del(&ce->properties_info, name, name_length + 1, h); in zend_declare_property_ex()
3494 …if (zend_hash_quick_find(&ce->properties_info, name, name_length + 1, h, (void**)&property_info_pt… in zend_declare_property_ex()
3498 zend_hash_quick_del(&ce->properties_info, name, name_length + 1, h); in zend_declare_property_ex()
3521 …e_property_name(&priv_name, &priv_name_length, ce->name, ce->name_length, name, name_length, ce->t… in zend_declare_property_ex()
3523 property_info.name_length = priv_name_length; in zend_declare_property_ex()
3530 …zend_mangle_property_name(&prot_name, &prot_name_length, "*", 1, name, name_length, ce->type & ZEN… in zend_declare_property_ex()
3532 property_info.name_length = prot_name_length; in zend_declare_property_ex()
3539 …e = ce->type & ZEND_INTERNAL_CLASS ? zend_strndup(name, name_length) : estrndup(name, name_length); in zend_declare_property_ex()
3541 property_info.name_length = name_length; in zend_declare_property_ex()
3545 …interned_name = zend_new_interned_string(property_info.name, property_info.name_length+1, 0 TSRMLS… in zend_declare_property_ex()
3556 …type & ZEND_ACC_PUBLIC) ? h : zend_get_hash_value(property_info.name, property_info.name_length+1); in zend_declare_property_ex()
3563 …zend_hash_quick_update(&ce->properties_info, name, name_length+1, h, &property_info, sizeof(zend_p… in zend_declare_property_ex()
3569 ZEND_API int zend_declare_property(zend_class_entry *ce, const char *name, int name_length, zval *p… in zend_declare_property() argument
3571 return zend_declare_property_ex(ce, name, name_length, property, access_type, NULL, 0 TSRMLS_CC); in zend_declare_property()
3575 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, int name_length, in… in zend_declare_property_null() argument
3585 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_null()
3589 ZEND_API int zend_declare_property_bool(zend_class_entry *ce, const char *name, int name_length, lo… in zend_declare_property_bool() argument
3600 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_bool()
3604 ZEND_API int zend_declare_property_long(zend_class_entry *ce, const char *name, int name_length, lo… in zend_declare_property_long() argument
3615 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_long()
3619 ZEND_API int zend_declare_property_double(zend_class_entry *ce, const char *name, int name_length, … in zend_declare_property_double() argument
3630 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_double()
3634 ZEND_API int zend_declare_property_string(zend_class_entry *ce, const char *name, int name_length, … in zend_declare_property_string() argument
3647 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_string()
3651 ZEND_API int zend_declare_property_stringl(zend_class_entry *ce, const char *name, int name_length,… in zend_declare_property_stringl() argument
3663 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_stringl()
3667 ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length in zend_declare_class_constant() argument
3669 return zend_hash_update(&ce->constants_table, name, name_length+1, &value, sizeof(zval *), NULL); in zend_declare_class_constant()
3673 …are_class_constant_null(zend_class_entry *ce, const char *name, size_t name_length TSRMLS_DC) /* {… in zend_declare_class_constant_null()
3684 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_null()
3688 …are_class_constant_long(zend_class_entry *ce, const char *name, size_t name_length, long value TSR… in zend_declare_class_constant_long() argument
3699 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_long()
3703 …are_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_bool valu… in zend_declare_class_constant_bool() argument
3714 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_bool()
3718 …e_class_constant_double(zend_class_entry *ce, const char *name, size_t name_length, double value T… in zend_declare_class_constant_double() argument
3729 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_double()
3733 …_class_constant_stringl(zend_class_entry *ce, const char *name, size_t name_length, const char *va… in zend_declare_class_constant_stringl() argument
3745 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_stringl()
3749 …e_class_constant_string(zend_class_entry *ce, const char *name, size_t name_length, const char *va… in zend_declare_class_constant_string() argument
3751 return zend_declare_class_constant_stringl(ce, name, name_length, value, strlen(value) TSRMLS_CC); in zend_declare_class_constant_string()
3755 …_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zval *value TS… in zend_update_property() argument
3771 ZVAL_STRINGL(property, name, name_length, 1); in zend_update_property()
3779 …_property(zend_class_entry *scope, zval *object, const char *name, int name_length TSRMLS_DC) /* {… in zend_unset_property()
3795 ZVAL_STRINGL(property, name, name_length, 1); in zend_unset_property()
3803 …erty_null(zend_class_entry *scope, zval *object, const char *name, int name_length TSRMLS_DC) /* {… in zend_update_property_null()
3811 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_null()
3815 …erty_bool(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSR… in zend_update_property_bool() argument
3823 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_bool()
3827 …erty_long(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSR… in zend_update_property_long() argument
3835 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_long()
3839 …ty_double(zend_class_entry *scope, zval *object, const char *name, int name_length, double value T… in zend_update_property_double() argument
3847 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_double()
3851 …ty_string(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *va… in zend_update_property_string() argument
3859 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_string()
3863 …y_stringl(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *va… in zend_update_property_stringl() argument
3871 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_stringl()
3875 ZEND_API int zend_update_static_property(zend_class_entry *scope, const char *name, int name_length in zend_update_static_property() argument
3881 property = zend_std_get_static_property(scope, name, name_length, 0, NULL TSRMLS_CC); in zend_update_static_property()
3912 …te_static_property_null(zend_class_entry *scope, const char *name, int name_length TSRMLS_DC) /* {… in zend_update_static_property_null()
3920 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_null()
3924 …te_static_property_bool(zend_class_entry *scope, const char *name, int name_length, long value TSR… in zend_update_static_property_bool() argument
3932 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_bool()
3936 …te_static_property_long(zend_class_entry *scope, const char *name, int name_length, long value TSR… in zend_update_static_property_long() argument
3944 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_long()
3948 …_static_property_double(zend_class_entry *scope, const char *name, int name_length, double value T… in zend_update_static_property_double() argument
3956 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_double()
3960 …_static_property_string(zend_class_entry *scope, const char *name, int name_length, const char *va… in zend_update_static_property_string() argument
3968 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_string()
3972 …static_property_stringl(zend_class_entry *scope, const char *name, int name_length, const char *va… in zend_update_static_property_stringl() argument
3980 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_stringl()
3984 …_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_bool sile… in zend_read_property() argument
4000 ZVAL_STRINGL(property, name, name_length, 1); in zend_read_property()
4009 ZEND_API zval *zend_read_static_property(zend_class_entry *scope, const char *name, int name_length in zend_read_static_property() argument
4015 property = zend_std_get_static_property(scope, name, name_length, silent, NULL TSRMLS_CC); in zend_read_static_property()