Searched refs:class_name_len (Results 1 – 5 of 5) sorted by relevance
/PHP-8.1/ext/readline/ |
H A D | readline_cli.c | 544 size_t class_name_len = class_name_end - text; in cli_completion_generator() local 545 class_name = zend_string_alloc(class_name_len, 0); in cli_completion_generator() 546 zend_str_tolower_copy(ZSTR_VAL(class_name), text, class_name_len); in cli_completion_generator() 551 lc_text = zend_str_tolower_dup(class_name_end + 2, textlen - 2 - class_name_len); in cli_completion_generator() 552 textlen -= (class_name_len + 2); in cli_completion_generator()
|
/PHP-8.1/Zend/ |
H A D | zend_constants.c | 420 int class_name_len = colon - name - 1; in zend_get_constant_ex() local 421 size_t const_name_len = name_len - class_name_len - 2; in zend_get_constant_ex() 423 zend_string *class_name = zend_string_init_interned(name, class_name_len, 0); in zend_get_constant_ex()
|
H A D | zend_compile.c | 1417 size_t class_name_len; in zend_unmangle_property_name_ex() local 1438 class_name_len = zend_strnlen(ZSTR_VAL(name) + 1, ZSTR_LEN(name) - 2); in zend_unmangle_property_name_ex() 1439 if (class_name_len >= ZSTR_LEN(name) - 2 || ZSTR_VAL(name)[class_name_len + 1] != '\0') { in zend_unmangle_property_name_ex() 1449 …anonclass_src_len = zend_strnlen(*class_name + class_name_len + 1, ZSTR_LEN(name) - class_name_len… in zend_unmangle_property_name_ex() 1450 if (class_name_len + anonclass_src_len + 2 != ZSTR_LEN(name)) { in zend_unmangle_property_name_ex() 1451 class_name_len += anonclass_src_len + 1; in zend_unmangle_property_name_ex() 1453 *prop_name = ZSTR_VAL(name) + class_name_len + 2; in zend_unmangle_property_name_ex() 1455 *prop_len = ZSTR_LEN(name) - class_name_len - 2; in zend_unmangle_property_name_ex()
|
H A D | zend_API.h | 266 #define INIT_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions) \ argument 269 class_container.name = zend_string_init_interned(class_name, class_name_len, 1); \
|
/PHP-8.1/ext/standard/ |
H A D | var.c | 749 size_t class_name_len = ZSTR_LEN(class_name); in php_var_serialize_class_name() local 750 char *s = zend_print_long_to_buf(b + sizeof(b) - 1, class_name_len); in php_var_serialize_class_name() 752 char *res = smart_str_extend(buf, 2 + l + 2 + class_name_len + 2); in php_var_serialize_class_name() 759 memcpy(res, ZSTR_VAL(class_name), class_name_len); in php_var_serialize_class_name() 760 res += class_name_len; in php_var_serialize_class_name()
|
Completed in 65 milliseconds