Home
last modified time | relevance | path

Searched refs:class_name_len (Results 1 – 5 of 5) sorted by relevance

/PHP-8.3/ext/readline/
H A Dreadline_cli.c545 size_t class_name_len = class_name_end - text; in cli_completion_generator() local
546 class_name = zend_string_alloc(class_name_len, 0); in cli_completion_generator()
547 zend_str_tolower_copy(ZSTR_VAL(class_name), text, class_name_len); in cli_completion_generator()
552 lc_text = zend_str_tolower_dup(class_name_end + 2, textlen - 2 - class_name_len); in cli_completion_generator()
553 textlen -= (class_name_len + 2); in cli_completion_generator()
/PHP-8.3/Zend/
H A Dzend_constants.c412 int class_name_len = colon - name - 1; in zend_get_constant_ex() local
413 size_t const_name_len = name_len - class_name_len - 2; in zend_get_constant_ex()
415 zend_string *class_name = zend_string_init_interned(name, class_name_len, 0); in zend_get_constant_ex()
H A Dzend_compile.c1504 size_t class_name_len; in zend_unmangle_property_name_ex() local
1525 class_name_len = zend_strnlen(ZSTR_VAL(name) + 1, ZSTR_LEN(name) - 2); in zend_unmangle_property_name_ex()
1526 if (class_name_len >= ZSTR_LEN(name) - 2 || ZSTR_VAL(name)[class_name_len + 1] != '\0') { in zend_unmangle_property_name_ex()
1536 …anonclass_src_len = zend_strnlen(*class_name + class_name_len + 1, ZSTR_LEN(name) - class_name_len in zend_unmangle_property_name_ex()
1537 if (class_name_len + anonclass_src_len + 2 != ZSTR_LEN(name)) { in zend_unmangle_property_name_ex()
1538 class_name_len += anonclass_src_len + 1; in zend_unmangle_property_name_ex()
1540 *prop_name = ZSTR_VAL(name) + class_name_len + 2; in zend_unmangle_property_name_ex()
1542 *prop_len = ZSTR_LEN(name) - class_name_len - 2; in zend_unmangle_property_name_ex()
H A Dzend_API.h278 #define INIT_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions) \ argument
281 class_container.name = zend_string_init_interned(class_name, class_name_len, 1); \
/PHP-8.3/ext/standard/
H A Dvar.c759 size_t class_name_len = ZSTR_LEN(class_name); in php_var_serialize_class_name() local
760 char *s = zend_print_long_to_buf(b + sizeof(b) - 1, class_name_len); in php_var_serialize_class_name()
762 char *res = smart_str_extend(buf, 2 + l + 2 + class_name_len + 2); in php_var_serialize_class_name()
769 memcpy(res, ZSTR_VAL(class_name), class_name_len); in php_var_serialize_class_name()
770 res += class_name_len; in php_var_serialize_class_name()

Completed in 61 milliseconds