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

/PHP_TRUNK/Zend/
H A Dzend_constants.c344 int class_name_len = colon - name - 1; local
345 size_t const_name_len = name_len - class_name_len - 2;
351 class_name = zend_string_init(name, class_name_len, 0);
352 lcname = do_alloca(class_name_len + 1, use_heap);
353 zend_str_tolower_copy(lcname, name, class_name_len);
362 if (class_name_len == sizeof("self")-1 &&
369 } else if (class_name_len == sizeof("parent")-1 &&
378 } else if (class_name_len == sizeof("static")-1 &&
H A Dzend_API.h168 #define INIT_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions) \
169 INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions, NULL, NULL, NULL, NULL, NULL)
171 #define INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions, handle_fcall, handle_propget, handle_propset, handle_propunset, handle_propisset) \
174 cl_name = zend_string_init(class_name, class_name_len, 1); \
H A Dzend_compile.c1111 size_t class_name_len; local
1131 class_name_len = zend_strnlen(name->val + 1, name->len - 2);
1132 if (class_name_len >= name->len - 2 || name->val[class_name_len + 1] != '\0') {
1142 *prop_name = name->val + class_name_len + 2;
1144 *prop_len = name->len - class_name_len - 2;
H A Dzend_inheritance.c397 size_t class_name_len; local
401 class_name_len = strlen(class_name);
404 class_name_len = arg_info->class_name->len;
409 class_name_len = fptr->common.scope->name->len;
412 class_name_len = fptr->common.scope->parent->name->len;
415 smart_str_appendl(&str, class_name, class_name_len);
H A Dzend_API.c2150 size_t class_name_len = 0; local
2165 class_name_len = scope->name->len;
2166 if ((lc_class_name = zend_memrchr(scope->name->val, '\\', class_name_len))) {
2168 class_name_len -= (lc_class_name - scope->name->val);
2169 lc_class_name = zend_str_tolower_dup(lc_class_name, class_name_len);
2171 lc_class_name = zend_str_tolower_dup(scope->name->val, class_name_len);
2275 if ((fname_len == class_name_len) && !ctor && !memcmp(lowercase_name->val, lc_class_name, class_name_len+1)) {
/PHP_TRUNK/ext/soap/
H A Dsoap.c1719 int class_name_len = service->soap_class.ce->name->len; local
1720 char *class_name = emalloc(class_name_len+1);
1722 memcpy(class_name, service->soap_class.ce->name->val, class_name_len+1);
1723 if (zend_hash_str_exists(&Z_OBJCE(tmp_soap)->function_table, php_strtolower(class_name, class_name_len), class_name_len)) {
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c518 int class_name_len; local
524 class_name_len = class_name_end - text;
525 class_name = zend_string_alloc(class_name_len, 0);
526 zend_str_tolower_copy(class_name->val, text, class_name_len);
531 lc_text = zend_str_tolower_dup(class_name_end + 2, textlen - 2 - class_name_len);
532 textlen -= (class_name_len + 2);
562 int len = class_name_len + 2 + strlen(retval) + 1;
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c2425 size_t class_name_len; local
2429 class_name_len = strlen(class_name);
2432 class_name_len = param->arg_info->class_name->len;
2434 if (0 == zend_binary_strcasecmp(class_name, class_name_len, "self", sizeof("self")- 1)) {
2441 } else if (0 == zend_binary_strcasecmp(class_name, class_name_len, "parent", sizeof("parent")- 1)) {
2456 zend_string *name = zend_string_init(class_name, class_name_len, 0);

Completed in 53 milliseconds