Searched defs:class_name_len (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_constants.c315 int class_name_len = colon - name - 1; local
316 size_t const_name_len = name_len - class_name_len - 2;
322 class_name = zend_string_init(name, class_name_len, 0);
323 lcname = do_alloca(class_name_len + 1, use_heap);
324 zend_str_tolower_copy(lcname, name, class_name_len);
333 if (class_name_len == sizeof("self")-1 &&
340 } else if (class_name_len == sizeof("parent")-1 &&
351 } else if (class_name_len == sizeof("static")-1 &&
H A Dzend_compile.c1199 size_t class_name_len; local
1220 class_name_len = zend_strnlen(ZSTR_VAL(name) + 1, ZSTR_LEN(name) - 2);
1221 if (class_name_len >= ZSTR_LEN(name) - 2 || ZSTR_VAL(name)[class_name_len + 1] != '\0') {
1231 anonclass_src_len = zend_strnlen(*class_name + class_name_len + 1, ZSTR_LEN(name) - class_name_len - 2);
1232 if (class_name_len + anonclass_src_len + 2 != ZSTR_LEN(name)) {
1233 class_name_len += anonclass_src_len + 1;
1235 *prop_name = ZSTR_VAL(name) + class_name_len + 2;
1237 *prop_len = ZSTR_LEN(name) - class_name_len
[all...]
H A Dzend_inheritance.c348 size_t class_name_len; local
352 class_name_len = strlen(class_name);
355 class_name_len = ZSTR_LEN(arg_info->class_name);
360 class_name_len = ZSTR_LEN(fptr->common.scope->name);
363 class_name_len = ZSTR_LEN(fptr->common.scope->parent->name);
366 smart_str_appendl(str, class_name, class_name_len);
H A Dzend_API.c2141 size_t class_name_len = 0; local
2156 class_name_len = ZSTR_LEN(scope->name);
2157 if ((lc_class_name = zend_memrchr(ZSTR_VAL(scope->name), '\\', class_name_len))) {
2159 class_name_len -= (lc_class_name - ZSTR_VAL(scope->name));
2160 lc_class_name = zend_str_tolower_dup(lc_class_name, class_name_len);
2162 lc_class_name = zend_str_tolower_dup(ZSTR_VAL(scope->name), class_name_len);
2277 if ((fname_len == class_name_len) && !ctor && !memcmp(ZSTR_VAL(lowercase_name), lc_class_name, class_name_len+1)) {
/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.c1739 int class_name_len = ZSTR_LEN(service->soap_class.ce->name); local
1740 char *class_name = emalloc(class_name_len+1);
1742 memcpy(class_name, ZSTR_VAL(service->soap_class.ce->name), class_name_len+1);
1743 if (zend_hash_str_exists(&Z_OBJCE(tmp_soap)->function_table, php_strtolower(class_name, class_name_len), class_name_len)) {

Completed in 38 milliseconds