Home
last modified time | relevance | path

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

/php-src/ext/readline/
H A Dreadline_cli.c538 size_t class_name_len = class_name_end - text; in cli_completion_generator() local
539 class_name = zend_string_alloc(class_name_len, 0); in cli_completion_generator()
540 zend_str_tolower_copy(ZSTR_VAL(class_name), text, class_name_len); in cli_completion_generator()
545 lc_text = zend_str_tolower_dup(class_name_end + 2, textlen - 2 - class_name_len); in cli_completion_generator()
546 textlen -= (class_name_len + 2); in cli_completion_generator()
/php-src/Zend/
H A Dzend_constants.c414 int class_name_len = colon - name - 1; in zend_get_constant_ex() local
415 size_t const_name_len = name_len - class_name_len - 2; in zend_get_constant_ex()
417 zend_string *class_name = zend_string_init_interned(name, class_name_len, 0); in zend_get_constant_ex()
H A Dzend_compile.c1577 size_t class_name_len; in zend_unmangle_property_name_ex() local
1598 class_name_len = zend_strnlen(ZSTR_VAL(name) + 1, ZSTR_LEN(name) - 2); in zend_unmangle_property_name_ex()
1599 if (class_name_len >= ZSTR_LEN(name) - 2 || ZSTR_VAL(name)[class_name_len + 1] != '\0') { in zend_unmangle_property_name_ex()
1609 …anonclass_src_len = zend_strnlen(*class_name + class_name_len + 1, ZSTR_LEN(name) - class_name_len in zend_unmangle_property_name_ex()
1610 if (class_name_len + anonclass_src_len + 2 != ZSTR_LEN(name)) { in zend_unmangle_property_name_ex()
1611 class_name_len += anonclass_src_len + 1; in zend_unmangle_property_name_ex()
1613 *prop_name = ZSTR_VAL(name) + class_name_len + 2; in zend_unmangle_property_name_ex()
1615 *prop_len = ZSTR_LEN(name) - class_name_len - 2; in zend_unmangle_property_name_ex()
H A Dzend_API.h282 #define INIT_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions) \ argument
285 class_container.name = zend_string_init_interned(class_name, class_name_len, 1); \
/php-src/ext/standard/
H A Dvar.c810 size_t class_name_len = ZSTR_LEN(class_name); in php_var_serialize_class_name() local
811 char *s = zend_print_long_to_buf(b + sizeof(b) - 1, class_name_len); in php_var_serialize_class_name()
813 char *res = smart_str_extend(buf, 2 + l + 2 + class_name_len + 2); in php_var_serialize_class_name()
817 res = zend_mempcpy(res, ZSTR_VAL(class_name), class_name_len); in php_var_serialize_class_name()

Completed in 60 milliseconds