Searched refs:class_name_len (Results 1 - 11 of 11) 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_compile.h243 uint32_t class_name_len; member in struct:_zend_arg_info
H A Dzend_API.c2175 int class_name_len = 0; local
2190 class_name_len = scope->name->len;
2191 if ((lc_class_name = zend_memrchr(scope->name->val, '\\', class_name_len))) {
2193 class_name_len -= (lc_class_name - scope->name->val);
2194 lc_class_name = zend_str_tolower_dup(lc_class_name, class_name_len);
2196 lc_class_name = zend_str_tolower_dup(scope->name->val, class_name_len);
2298 if ((fname_len == class_name_len) && !ctor && !memcmp(lowercase_name->val, lc_class_name, class_name_len+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_execute.c524 STR_ALLOCA_INIT(key, cur_arg_info->class_name, cur_arg_info->class_name_len, use_heap);
H A Dzend_compile.c1177 fe_arg_info->class_name_len, 0);
1187 proto_arg_info->class_name_len, 0);
1274 uint32_t class_name_len; local
1277 class_name_len = fptr->common.scope->name->len;
1280 class_name_len = fptr->common.scope->parent->name->len;
1283 class_name_len = arg_info->class_name_len;
1285 REALLOC_BUF_IF_EXCEED(buf, offset, length, class_name_len);
1286 memcpy(offset, class_name, class_name_len);
1287 offset += class_name_len;
2721 int class_name_len; local
[all...]
/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;
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c424 //??? zend_accel_store_interned_string(op_array->arg_info[i].class_name, op_array->arg_info[i].class_name_len + 1);
425 zend_accel_store(op_array->arg_info[i].class_name, op_array->arg_info[i].class_name_len + 1);
H A Dzend_persist_calc.c215 //??? ADD_INTERNED_STRING(op_array->arg_info[i].class_name, op_array->arg_info[i].class_name_len + 1);
216 ADD_SIZE(op_array->arg_info[i].class_name_len + 1);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c2378 if (0 == zend_binary_strcasecmp(param->arg_info->class_name, param->arg_info->class_name_len, "self", sizeof("self")- 1)) {
2385 } else if (0 == zend_binary_strcasecmp(param->arg_info->class_name, param->arg_info->class_name_len, "parent", sizeof("parent")- 1)) {
2399 zend_string *name = zend_string_init(param->arg_info->class_name, param->arg_info->class_name_len, 0);
/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)) {

Completed in 48 milliseconds