Lines Matching refs:name_length

254 		*class_name_len = ce->name_length;  in zend_get_object_classname()
2495 char *lowercase_name = emalloc(orig_class_entry->name_length + 1); in do_register_internal_class()
2507 zend_str_tolower_copy(lowercase_name, orig_class_entry->name, class_entry->name_length); in do_register_internal_class()
2508 …lowercase_name = (char*)zend_new_interned_string(lowercase_name, class_entry->name_length + 1, 1 T… in do_register_internal_class()
2510 …zend_hash_quick_update(CG(class_table), lowercase_name, class_entry->name_length+1, INTERNED_HASH(… in do_register_internal_class()
2512 …zend_hash_update(CG(class_table), lowercase_name, class_entry->name_length+1, &class_entry, sizeof… in do_register_internal_class()
2594 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
2606 zend_hash_update(symbol_table, name, name_length + 1, &symbol, sizeof(zval *), NULL); in zend_set_hash_symbol()
3047 *callable_name_len = fcc->calling_scope->name_length + Z_STRLEN_P(callable) + sizeof("::") - 1; in zend_is_callable_ex()
3049 memcpy(ptr, fcc->calling_scope->name, fcc->calling_scope->name_length); in zend_is_callable_ex()
3050 ptr += fcc->calling_scope->name_length; in zend_is_callable_ex()
3127 … *callable_name_len = fcc->calling_scope->name_length + Z_STRLEN_PP(method) + sizeof("::") - 1; in zend_is_callable_ex()
3129 memcpy(ptr, fcc->calling_scope->name, fcc->calling_scope->name_length); in zend_is_callable_ex()
3130 ptr += fcc->calling_scope->name_length; in zend_is_callable_ex()
3180 *callable_name_len = ce->name_length + sizeof("::__invoke") - 1; in zend_is_callable_ex()
3182 memcpy(*callable_name, ce->name, ce->name_length); in zend_is_callable_ex()
3183 memcpy((*callable_name) + ce->name_length, "::__invoke", sizeof("::__invoke")); in zend_is_callable_ex()
3414 ZEND_API int zend_declare_property_ex(zend_class_entry *ce, const char *name, int name_length, zval… in zend_declare_property_ex() argument
3418 ulong h = zend_get_hash_value(name, name_length+1); in zend_declare_property_ex()
3424 …if (zend_hash_quick_find(&ce->properties_info, name, name_length + 1, h, (void**)&property_info_pt… in zend_declare_property_ex()
3428 zend_hash_quick_del(&ce->properties_info, name, name_length + 1, h); in zend_declare_property_ex()
3438 …if (zend_hash_quick_find(&ce->properties_info, name, name_length + 1, h, (void**)&property_info_pt… in zend_declare_property_ex()
3442 zend_hash_quick_del(&ce->properties_info, name, name_length + 1, h); in zend_declare_property_ex()
3466 …e_property_name(&priv_name, &priv_name_length, ce->name, ce->name_length, name, name_length, ce->t… in zend_declare_property_ex()
3468 property_info.name_length = priv_name_length; in zend_declare_property_ex()
3475 …zend_mangle_property_name(&prot_name, &prot_name_length, "*", 1, name, name_length, ce->type & ZEN… in zend_declare_property_ex()
3477 property_info.name_length = prot_name_length; in zend_declare_property_ex()
3484 …e = ce->type & ZEND_INTERNAL_CLASS ? zend_strndup(name, name_length) : estrndup(name, name_length); in zend_declare_property_ex()
3486 property_info.name_length = name_length; in zend_declare_property_ex()
3490 …interned_name = zend_new_interned_string(property_info.name, property_info.name_length+1, 0 TSRMLS… in zend_declare_property_ex()
3501 …type & ZEND_ACC_PUBLIC) ? h : zend_get_hash_value(property_info.name, property_info.name_length+1); in zend_declare_property_ex()
3508 …zend_hash_quick_update(&ce->properties_info, name, name_length+1, h, &property_info, sizeof(zend_p… in zend_declare_property_ex()
3514 ZEND_API int zend_declare_property(zend_class_entry *ce, const char *name, int name_length, zval *p… in zend_declare_property() argument
3516 return zend_declare_property_ex(ce, name, name_length, property, access_type, NULL, 0 TSRMLS_CC); in zend_declare_property()
3520 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, int name_length, in… in zend_declare_property_null() argument
3530 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_null()
3534 ZEND_API int zend_declare_property_bool(zend_class_entry *ce, const char *name, int name_length, lo… in zend_declare_property_bool() argument
3545 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_bool()
3549 ZEND_API int zend_declare_property_long(zend_class_entry *ce, const char *name, int name_length, lo… in zend_declare_property_long() argument
3560 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_long()
3564 ZEND_API int zend_declare_property_double(zend_class_entry *ce, const char *name, int name_length, … in zend_declare_property_double() argument
3575 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_double()
3579 ZEND_API int zend_declare_property_string(zend_class_entry *ce, const char *name, int name_length, … in zend_declare_property_string() argument
3592 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_string()
3596 ZEND_API int zend_declare_property_stringl(zend_class_entry *ce, const char *name, int name_length,… in zend_declare_property_stringl() argument
3608 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_stringl()
3612 ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length in zend_declare_class_constant() argument
3614 return zend_hash_update(&ce->constants_table, name, name_length+1, &value, sizeof(zval *), NULL); in zend_declare_class_constant()
3618 …are_class_constant_null(zend_class_entry *ce, const char *name, size_t name_length TSRMLS_DC) /* {… in zend_declare_class_constant_null()
3629 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_null()
3633 …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
3644 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_long()
3648 …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
3659 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_bool()
3663 …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
3674 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_double()
3678 …_class_constant_stringl(zend_class_entry *ce, const char *name, size_t name_length, const char *va… in zend_declare_class_constant_stringl() argument
3690 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_stringl()
3694 …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
3696 return zend_declare_class_constant_stringl(ce, name, name_length, value, strlen(value) TSRMLS_CC); in zend_declare_class_constant_string()
3700 …_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zval *value TS… in zend_update_property() argument
3716 ZVAL_STRINGL(property, name, name_length, 1); in zend_update_property()
3724 …erty_null(zend_class_entry *scope, zval *object, const char *name, int name_length TSRMLS_DC) /* {… in zend_update_property_null()
3732 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_null()
3736 …erty_bool(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSR… in zend_update_property_bool() argument
3744 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_bool()
3748 …erty_long(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSR… in zend_update_property_long() argument
3756 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_long()
3760 …ty_double(zend_class_entry *scope, zval *object, const char *name, int name_length, double value T… in zend_update_property_double() argument
3768 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_double()
3772 …ty_string(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *va… in zend_update_property_string() argument
3780 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_string()
3784 …y_stringl(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *va… in zend_update_property_stringl() argument
3792 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_stringl()
3796 ZEND_API int zend_update_static_property(zend_class_entry *scope, const char *name, int name_length in zend_update_static_property() argument
3802 property = zend_std_get_static_property(scope, name, name_length, 0, NULL TSRMLS_CC); in zend_update_static_property()
3833 …te_static_property_null(zend_class_entry *scope, const char *name, int name_length TSRMLS_DC) /* {… in zend_update_static_property_null()
3841 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_null()
3845 …te_static_property_bool(zend_class_entry *scope, const char *name, int name_length, long value TSR… in zend_update_static_property_bool() argument
3853 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_bool()
3857 …te_static_property_long(zend_class_entry *scope, const char *name, int name_length, long value TSR… in zend_update_static_property_long() argument
3865 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_long()
3869 …_static_property_double(zend_class_entry *scope, const char *name, int name_length, double value T… in zend_update_static_property_double() argument
3877 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_double()
3881 …_static_property_string(zend_class_entry *scope, const char *name, int name_length, const char *va… in zend_update_static_property_string() argument
3889 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_string()
3893 …static_property_stringl(zend_class_entry *scope, const char *name, int name_length, const char *va… in zend_update_static_property_stringl() argument
3901 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_stringl()
3905 …_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_bool sile… in zend_read_property() argument
3921 ZVAL_STRINGL(property, name, name_length, 1); in zend_read_property()
3930 ZEND_API zval *zend_read_static_property(zend_class_entry *scope, const char *name, int name_length in zend_read_static_property() argument
3936 property = zend_std_get_static_property(scope, name, name_length, silent, NULL TSRMLS_CC); in zend_read_static_property()