Searched refs:lc_name (Results 1 - 10 of 10) sorted by relevance

/PHP_TRUNK/ext/spl/
H A Dphp_spl.c69 zend_string *lc_name = zend_string_alloc(name->len, 0); local
70 zend_str_tolower_copy(lc_name->val, name->val, name->len);
72 ce = zend_hash_find_ptr(EG(class_table), lc_name);
73 zend_string_free(lc_name);
248 static int spl_autoload(zend_string *class_name, zend_string *lc_name, const char *ext, int ext_len) /* {{{ */ argument
258 class_file_len = (int)spprintf(&class_file, 0, "%s%.*s", lc_name->val, ext_len, ext);
299 return zend_hash_exists(EG(class_table), lc_name);
312 zend_string *class_name, *lc_name, *file_exts = SPL_G(autoload_extensions); local
326 lc_name = zend_string_alloc(class_name->len, 0);
327 zend_str_tolower_copy(lc_name
412 zend_string *lc_name, *func_name; local
459 zend_string *lc_name; local
617 zend_string *lc_name; local
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dpass1_5.c441 zend_string *lc_name = zend_string_tolower( local
444 if ((func = zend_hash_find_ptr(EG(function_table), lc_name)) != NULL &&
460 zend_string_release(lc_name);
464 zend_string_release(lc_name);
470 zend_string *lc_name = zend_string_tolower( local
473 lc_name);
475 zend_string_release(lc_name);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c774 zend_string *lc_name; local
800 lc_name = zend_string_alloc(lc_name_len, 0);
801 zend_str_tolower_copy(lc_name->val, fptr->common.function_name->val, lc_name_len);
802 if ((overwrites = zend_hash_find_ptr(&fptr->common.scope->parent->function_table, lc_name)) != NULL) {
807 efree(lc_name);
3691 char *name, *lc_name; local
3700 lc_name = zend_str_tolower_dup(name, name_len);
3702 && memcmp(lc_name, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1) == 0)
3703 || zend_hash_str_exists(&ce->function_table, lc_name, name_len)) {
3704 efree(lc_name);
3721 char *name, *lc_name; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c358 char *lc_name, *lc_free; local
365 lc_free = lc_name = emalloc(name_length + 1);
366 zend_str_tolower_copy(lc_name, name, name_length);
369 if (lc_name[0] == '\\') {
370 lc_name += 1;
375 *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length);
H A Dphpdbg_prompt.c104 char *lc_name; local
112 lc_name = zend_str_tolower_dup(name->str, name->len);
114 if (zend_hash_str_exists(&PHPDBG_G(registered), lc_name, name->len)) {
120 ZVAL_STRINGL(&fci.function_name, lc_name, name->len);
199 efree(lc_name);
204 efree(lc_name);
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c1272 char *lc_name; local
1324 lc_name = emalloc(namelen+1);
1325 zend_str_tolower_copy(lc_name, funcs->fname, namelen);
1326 zend_hash_str_add_mem(dbh->cls_methods[kind], lc_name, namelen, &func, sizeof(func));
1327 efree(lc_name);
/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c1362 zend_string *lc_name; local
1381 lc_name = zend_string_alloc(class_name->len - 1, 0);
1382 zend_str_tolower_copy(lc_name->val, class_name->val + 1, class_name->len - 1);
1384 lc_name = zend_string_tolower(class_name);
1387 ce = zend_hash_find_ptr(EG(class_table), lc_name);
1388 zend_string_release(lc_name);
1405 zend_string *iface_name, *lc_name; local
1424 lc_name = zend_string_alloc(iface_name->len - 1, 0);
1425 zend_str_tolower_copy(lc_name->val, iface_name->val + 1, iface_name->len - 1);
1427 lc_name
1447 zend_string *trait_name, *lc_name; local
[all...]
H A Dzend_execute_API.c937 zend_string *lc_name; local
942 lc_name = Z_STR_P(key);
949 lc_name = zend_string_alloc(name->len - 1, 0);
950 zend_str_tolower_copy(lc_name->val, name->val + 1, name->len - 1);
952 lc_name = zend_string_tolower(name);
956 ce = zend_hash_find_ptr(EG(class_table), lc_name);
959 zend_string_release(lc_name);
969 zend_string_release(lc_name);
980 zend_string_release(lc_name);
990 zend_string_release(lc_name);
1038 zend_hash_del(EG(in_autoload), lc_name); local
[all...]
H A Dzend_closures.c217 zend_string *lc_name; local
219 lc_name = zend_string_tolower(method);
221 zend_string_release(lc_name);
224 zend_string_release(lc_name);
H A Dzend_compile.c477 zend_string *lc_name = zend_string_tolower(name); local
478 zend_add_literal_string(op_array, &lc_name);
493 zend_string *lc_name = zend_string_tolower(name); local
494 zend_add_literal_string(op_array, &lc_name);
498 lc_name = zend_string_alloc(unqualified_name_len, 0);
499 zend_str_tolower_copy(lc_name->val, unqualified_name, unqualified_name_len);
500 zend_add_literal_string(op_array, &lc_name);
513 zend_string *lc_name = zend_string_tolower(name); local
514 zend_add_literal_string(op_array, &lc_name);

Completed in 35 milliseconds