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

/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(class_name->val, text, class_name_len);
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/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_inheritance.c352 size_t class_name_len; local
356 class_name_len = strlen(class_name);
359 class_name_len = arg_info->class_name->len;
364 class_name_len = fptr->common.scope->name->len;
367 class_name_len = fptr->common.scope->parent->name->len;
370 smart_str_appendl(str, class_name, class_name_len);
H A Dzend_API.c2158 size_t class_name_len = 0; local
2173 class_name_len = scope->name->len;
2174 if ((lc_class_name = zend_memrchr(scope->name->val, '\\', class_name_len))) {
2176 class_name_len -= (lc_class_name - scope->name->val);
2177 lc_class_name = zend_str_tolower_dup(lc_class_name, class_name_len);
2179 lc_class_name = zend_str_tolower_dup(scope->name->val, class_name_len);
2294 if ((fname_len == class_name_len) && !ctor && !memcmp(lowercase_name->val, lc_class_name, class_name_len+1)) {
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_compile.c1237 size_t class_name_len; local
1257 class_name_len = zend_strnlen(name->val + 1, name->len - 2);
1258 if (class_name_len >= name->len - 2 || name->val[class_name_len + 1] != '\0') {
1268 *prop_name = name->val + class_name_len + 2;
1270 *prop_len = name->len - class_name_len - 2;
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c2411 size_t class_name_len; local
2415 class_name_len = strlen(class_name);
2418 class_name_len = param->arg_info->class_name->len;
2420 if (0 == zend_binary_strcasecmp(class_name, class_name_len, "self", sizeof("self")- 1)) {
2427 } else if (0 == zend_binary_strcasecmp(class_name, class_name_len, "parent", sizeof("parent")- 1)) {
2442 zend_string *name = zend_string_init(class_name, class_name_len, 0);
/PHP_TRUNK/ext/soap/
H A Dsoap.c1735 int class_name_len = service->soap_class.ce->name->len; local
1736 char *class_name = emalloc(class_name_len+1);
1738 memcpy(class_name, service->soap_class.ce->name->val, class_name_len+1);
1739 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