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

/PHP_TRUNK/Zend/
H A Dzend_constants.c344 int class_name_len = colon - name - 1; local
345 int 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.c2173 int class_name_len = 0; local
2188 class_name_len = scope->name->len;
2189 if ((lc_class_name = zend_memrchr(scope->name->val, '\\', class_name_len))) {
2191 class_name_len -= (lc_class_name - scope->name->val);
2192 lc_class_name = zend_str_tolower_dup(lc_class_name, class_name_len);
2194 lc_class_name = zend_str_tolower_dup(scope->name->val, class_name_len);
2296 if ((fname_len == class_name_len) && !ctor && !memcmp(lowercase_name->val, lc_class_name, class_name_len+1)) {
H A Dzend_compile.c1151 fe_arg_info->class_name_len, 0);
1161 proto_arg_info->class_name_len, 0);
1248 uint32_t class_name_len; local
1251 class_name_len = fptr->common.scope->name->len;
1254 class_name_len = fptr->common.scope->parent->name->len;
1257 class_name_len = arg_info->class_name_len;
1259 REALLOC_BUF_IF_EXCEED(buf, offset, length, class_name_len);
1260 memcpy(offset, class_name, class_name_len);
1261 offset += class_name_len;
2693 size_t class_name_len; local
[all...]
H A Dzend_compile.h242 uint32_t class_name_len; member in struct:_zend_arg_info
/PHP_TRUNK/ext/soap/
H A Dsoap.c1709 int class_name_len = service->soap_class.ce->name->len; local
1710 char *class_name = emalloc(class_name_len+1);
1712 memcpy(class_name, service->soap_class.ce->name->val, class_name_len+1);
1713 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.c526 int class_name_len; local
532 class_name_len = class_name_end - text;
533 class_name = zend_string_alloc(class_name_len, 0);
534 zend_str_tolower_copy(class_name->val, text, class_name_len);
539 lc_text = zend_str_tolower_dup(class_name_end + 2, textlen - 2 - class_name_len);
540 textlen -= (class_name_len + 2);
570 int len = class_name_len + 2 + strlen(retval) + 1;

Completed in 30 milliseconds