Searched defs: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(ZSTR_LEN(name), 0); local
70 zend_str_tolower_copy(ZSTR_VAL(lc_name), ZSTR_VAL(name), ZSTR_LEN(name));
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", ZSTR_VAL(lc_name), 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(ZSTR_LEN(class_name), 0);
327 zend_str_tolower_copy(ZSTR_VAL(lc_name), ZSTR_VA
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.c444 zend_string *lc_name = zend_string_tolower( local
447 if ((func = zend_hash_find_ptr(EG(function_table), lc_name)) != NULL
467 zend_string_release(lc_name);
471 zend_string_release(lc_name);
477 zend_string *lc_name = zend_string_tolower( local
480 lc_name);
482 zend_string_release(lc_name);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c365 char *lc_name, *lc_free; local
372 lc_free = lc_name = emalloc(name_length + 1);
373 zend_str_tolower_copy(lc_name, name, name_length);
376 if (lc_name[0] == '\\') {
377 lc_name += 1;
382 *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length);
H A Dphpdbg_prompt.c105 char *lc_name; local
113 lc_name = zend_str_tolower_dup(name->str, name->len);
115 if (zend_hash_str_exists(&PHPDBG_G(registered), lc_name, name->len)) {
121 ZVAL_STRINGL(&fci.function_name, lc_name, name->len);
200 efree(lc_name);
205 efree(lc_name);
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c1281 char *lc_name; local
1334 lc_name = emalloc(namelen+1);
1335 zend_str_tolower_copy(lc_name, funcs->fname, namelen);
1336 zend_hash_str_add_mem(dbh->cls_methods[kind], lc_name, namelen, &func, sizeof(func));
1337 efree(lc_name);
/PHP_TRUNK/Zend/
H A Dzend_execute_API.c939 zend_string *lc_name; local
944 lc_name = Z_STR_P(key);
951 lc_name = zend_string_alloc(ZSTR_LEN(name) - 1, 0);
952 zend_str_tolower_copy(ZSTR_VAL(lc_name), ZSTR_VAL(name) + 1, ZSTR_LEN(name) - 1);
954 lc_name = zend_string_tolower(name);
958 ce = zend_hash_find_ptr(EG(class_table), lc_name);
961 zend_string_release(lc_name);
971 zend_string_release(lc_name);
982 zend_string_release(lc_name);
992 zend_string_release(lc_name);
1040 zend_hash_del(EG(in_autoload), lc_name); local
[all...]
H A Dzend_builtin_functions.c1383 zend_string *lc_name; local
1402 lc_name = zend_string_alloc(ZSTR_LEN(class_name) - 1, 0);
1403 zend_str_tolower_copy(ZSTR_VAL(lc_name), ZSTR_VAL(class_name) + 1, ZSTR_LEN(class_name) - 1);
1405 lc_name = zend_string_tolower(class_name);
1408 ce = zend_hash_find_ptr(EG(class_table), lc_name);
1409 zend_string_release(lc_name);
1426 zend_string *iface_name, *lc_name; local
1445 lc_name = zend_string_alloc(ZSTR_LEN(iface_name) - 1, 0);
1446 zend_str_tolower_copy(ZSTR_VAL(lc_name), ZSTR_VAL(iface_name) + 1, ZSTR_LEN(iface_name) - 1);
1448 lc_name
1468 zend_string *trait_name, *lc_name; local
[all...]
H A Dzend_compile.c471 zend_string *lc_name = zend_string_tolower(name); local
472 zend_add_literal_string(op_array, &lc_name);
487 zend_string *lc_name = zend_string_tolower(name); local
488 zend_add_literal_string(op_array, &lc_name);
492 lc_name = zend_string_alloc(unqualified_name_len, 0);
493 zend_str_tolower_copy(ZSTR_VAL(lc_name), unqualified_name, unqualified_name_len);
494 zend_add_literal_string(op_array, &lc_name);
507 zend_string *lc_name = zend_string_tolower(name); local
508 zend_add_literal_string(op_array, &lc_name);
H A Dzend_closures.c265 zend_string *lc_name; local
267 lc_name = zend_string_tolower(method);
269 zend_string_release(lc_name);
272 zend_string_release(lc_name);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c796 zend_string *lc_name; local
822 lc_name = zend_string_alloc(lc_name_len, 0);
823 zend_str_tolower_copy(ZSTR_VAL(lc_name), ZSTR_VAL(fptr->common.function_name), lc_name_len);
824 if ((overwrites = zend_hash_find_ptr(&fptr->common.scope->parent->function_table, lc_name)) != NULL) {
829 efree(lc_name);
4063 char *name, *lc_name; local
4072 lc_name = zend_str_tolower_dup(name, name_len);
4074 && memcmp(lc_name, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1) == 0)
4075 || zend_hash_str_exists(&ce->function_table, lc_name, name_len)) {
4076 efree(lc_name);
4093 char *name, *lc_name; local
[all...]

Completed in 45 milliseconds