Searched refs:class_name_len (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_API.h176 #define INIT_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions) \
177 INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions, NULL, NULL, NULL, NULL, NULL)
179 #define INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions, handle_fcall, handle_propget, handle_propset, handle_propunset, handle_propisset) \
182 cl_name = zend_string_init(class_name, class_name_len, 1); \
H A Dzend_API.c2135 size_t class_name_len = 0; local
2150 class_name_len = ZSTR_LEN(scope->name);
2151 if ((lc_class_name = zend_memrchr(ZSTR_VAL(scope->name), '\\', class_name_len))) {
2153 class_name_len -= (lc_class_name - ZSTR_VAL(scope->name));
2154 lc_class_name = zend_str_tolower_dup(lc_class_name, class_name_len);
2156 lc_class_name = zend_str_tolower_dup(ZSTR_VAL(scope->name), class_name_len);
2271 if ((fname_len == class_name_len) && !ctor && !memcmp(ZSTR_VAL(lowercase_name), lc_class_name, class_name_len+1)) {
H A Dzend_compile.c1233 size_t class_name_len; local
1253 class_name_len = zend_strnlen(ZSTR_VAL(name) + 1, ZSTR_LEN(name) - 2);
1254 if (class_name_len >= ZSTR_LEN(name) - 2 || ZSTR_VAL(name)[class_name_len + 1] != '\0') {
1264 *prop_name = ZSTR_VAL(name) + class_name_len + 2;
1266 *prop_len = ZSTR_LEN(name) - class_name_len - 2;
H A Dzend_constants.c314 int class_name_len = colon - name - 1; local
315 size_t const_name_len = name_len - class_name_len - 2;
321 class_name = zend_string_init(name, class_name_len, 0);
322 lcname = do_alloca(class_name_len + 1, use_heap);
323 zend_str_tolower_copy(lcname, name, class_name_len);
332 if (class_name_len == sizeof("self")-1 &&
339 } else if (class_name_len == sizeof("parent")-1 &&
350 } else if (class_name_len == sizeof("static")-1 &&
H A Dzend_inheritance.c352 size_t class_name_len; local
356 class_name_len = strlen(class_name);
359 class_name_len = ZSTR_LEN(arg_info->class_name);
364 class_name_len = ZSTR_LEN(fptr->common.scope->name);
367 class_name_len = ZSTR_LEN(fptr->common.scope->parent->name);
370 smart_str_appendl(str, class_name, class_name_len);
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c517 int class_name_len; local
523 class_name_len = class_name_end - text;
524 class_name = zend_string_alloc(class_name_len, 0);
525 zend_str_tolower_copy(ZSTR_VAL(class_name), text, class_name_len); local
530 lc_text = zend_str_tolower_dup(class_name_end + 2, textlen - 2 - class_name_len);
531 textlen -= (class_name_len + 2);
561 int len = class_name_len + 2 + strlen(retval) + 1;
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c2625 size_t class_name_len; local
2630 class_name_len = strlen(class_name);
2633 class_name_len = ZSTR_LEN(param->arg_info->class_name);
2635 if (0 == zend_binary_strcasecmp(class_name, class_name_len, "self", sizeof("self")- 1)) {
2642 } else if (0 == zend_binary_strcasecmp(class_name, class_name_len, "parent", sizeof("parent")- 1)) {
2658 zend_string *name = zend_string_init(class_name, class_name_len, 0);
/PHP_TRUNK/ext/soap/
H A Dsoap.c1734 int class_name_len = ZSTR_LEN(service->soap_class.ce->name); local
1735 char *class_name = emalloc(class_name_len+1);
1737 memcpy(class_name, ZSTR_VAL(service->soap_class.ce->name), class_name_len+1);
1738 if (zend_hash_str_exists(&Z_OBJCE(tmp_soap)->function_table, php_strtolower(class_name, class_name_len), class_name_len)) {

Completed in 50 milliseconds