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.h175 #define INIT_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions) \
176 INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions, NULL, NULL, NULL, NULL, NULL)
178 #define INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions, handle_fcall, handle_propget, handle_propset, handle_propunset, handle_propisset) \
181 cl_name = zend_string_init(class_name, class_name_len, 1); \
H A Dzend_compile.c1106 size_t class_name_len; local
1126 class_name_len = zend_strnlen(name->val + 1, name->len - 2);
1127 if (class_name_len >= name->len - 2 || name->val[class_name_len + 1] != '\0') {
1137 *prop_name = name->val + class_name_len + 2;
1139 *prop_len = name->len - class_name_len - 2;
H A Dzend_API.c1945 size_t class_name_len = 0; local
1960 class_name_len = scope->name->len;
1961 if ((lc_class_name = zend_memrchr(scope->name->val, '\\', class_name_len))) {
1963 class_name_len -= (lc_class_name - scope->name->val);
1964 lc_class_name = zend_str_tolower_dup(lc_class_name, class_name_len);
1966 lc_class_name = zend_str_tolower_dup(scope->name->val, class_name_len);
2080 if ((fname_len == class_name_len) && !ctor && !memcmp(lowercase_name->val, lc_class_name, class_name_len+1)) {
H A Dzend_inheritance.c348 size_t class_name_len; local
352 class_name_len = strlen(class_name);
355 class_name_len = arg_info->class_name->len;
360 class_name_len = fptr->common.scope->name->len;
363 class_name_len = fptr->common.scope->parent->name->len;
366 smart_str_appendl(str, class_name, 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.c2407 size_t class_name_len; local
2411 class_name_len = strlen(class_name);
2414 class_name_len = param->arg_info->class_name->len;
2416 if (0 == zend_binary_strcasecmp(class_name, class_name_len, "self", sizeof("self")- 1)) {
2423 } else if (0 == zend_binary_strcasecmp(class_name, class_name_len, "parent", sizeof("parent")- 1)) {
2438 zend_string *name = zend_string_init(class_name, class_name_len, 0);
/PHP_TRUNK/ext/soap/
H A Dsoap.c1718 int class_name_len = service->soap_class.ce->name->len; local
1719 char *class_name = emalloc(class_name_len+1);
1721 memcpy(class_name, service->soap_class.ce->name->val, class_name_len+1);
1722 if (zend_hash_str_exists(&Z_OBJCE(tmp_soap)->function_table, php_strtolower(class_name, class_name_len), class_name_len)) {

Completed in 48 milliseconds