Searched defs:lcname (Results 1 - 16 of 16) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dvar_unserializer.c237 zend_string *lcname; local
248 ZSTR_ALLOCA_ALLOC(lcname, ZSTR_LEN(class_name), use_heap);
249 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(class_name), ZSTR_LEN(class_name));
250 res = zend_hash_exists(classes, lcname);
251 ZSTR_ALLOCA_FREE(lcname, use_heap);
H A Dvar.c1027 zend_string *lcname; local
1031 lcname = zend_string_tolower(Z_STR_P(entry));
1032 zend_hash_add_empty_element(class_hash, lcname);
1033 zend_string_release(lcname);
/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c1187 zend_string *lcname; local
1196 lcname = zend_string_tolower(name);
1197 ret = memcmp(ZSTR_VAL(lcname), ZSTR_VAL(key), ZSTR_LEN(key)) == 0;
1198 zend_string_release(lcname);
1268 zend_string *lcname; local
1291 lcname = zend_string_tolower(method_name);
1292 if (zend_hash_exists(&ce->function_table, lcname)) {
1293 zend_string_release(lcname);
1307 zend_string_release(lcname);
1312 zend_string_release(lcname);
1502 zend_string *lcname; local
2661 zend_string *lcname; local
2682 zend_string *lcname; local
[all...]
H A Dzend_constants.c261 char *lcname = do_alloca(name_len + 1, use_heap); local
262 zend_str_tolower_copy(lcname, name, name_len);
263 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name_len)) != NULL) {
270 free_alloca(lcname, use_heap);
282 char *lcname = do_alloca(ZSTR_LEN(name) + 1, use_heap); local
283 zend_str_tolower_copy(lcname, ZSTR_VAL(name), ZSTR_LEN(name));
284 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, ZSTR_LEN(name))) != NULL) {
291 free_alloca(lcname, use_heap);
318 char *lcname; local
323 lcname
391 char *lcname; local
[all...]
H A Dzend_inheritance.c1167 zend_string *lcname; local
1187 lcname = zend_string_tolower(alias->alias);
1188 zend_add_trait_method(ce, ZSTR_VAL(alias->alias), lcname, &fn_copy, overriden);
1189 zend_string_release(lcname);
1259 zend_string *lcname; local
1278 lcname = zend_string_tolower(cur_method_ref->method_name);
1280 lcname);
1281 zend_string_release(lcname);
1336 lcname = zend_string_tolower(cur_method_ref->method_name);
1338 lcname);
1363 zend_string *lcname = local
[all...]
H A Dzend_vm_def.h3156 zend_string *lcname; variable
3178 lcname = zend_string_init(Z_STRVAL_P(function_name), cname_length, 0);
3181 called_scope = zend_fetch_class_by_name(lcname, NULL, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION);
3183 zend_string_release(lcname);
3198 zend_string_release(lcname);
3204 zend_string_release(lcname);
3226 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
3227 zend_str_tolower_copy(ZSTR_VAL(lcname), Z_STRVAL_P(function_name) + 1, Z_STRLEN_P(function_name) - 1);
3229 lcname = zend_string_tolower(Z_STR_P(function_name));
3231 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname))
[all...]
H A Dzend_vm_execute.h1925 zend_string *lcname; local
1947 lcname = zend_string_init(Z_STRVAL_P(function_name), cname_length, 0);
1950 called_scope = zend_fetch_class_by_name(lcname, NULL, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION);
1952 zend_string_release(lcname);
1967 zend_string_release(lcname);
1973 zend_string_release(lcname);
1995 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
1996 zend_str_tolower_copy(ZSTR_VAL(lcname), Z_STRVAL_P(function_name) + 1, Z_STRLEN_P(function_name) - 1);
1998 lcname = zend_string_tolower(Z_STR_P(function_name));
2000 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname))
2344 zend_string *lcname; local
2596 zend_string *lcname; local
[all...]
H A Dzend_API.c1810 zend_string *lcname; local
1826 lcname = zend_string_alloc(name_len, 0);
1827 zend_str_tolower_copy(ZSTR_VAL(lcname), dep->name, name_len);
1829 if ((req_mod = zend_hash_find_ptr(&module_registry, lcname)) == NULL || !req_mod->module_started) {
1830 zend_string_free(lcname);
1836 zend_string_free(lcname);
1996 zend_string *lcname; local
2014 lcname = zend_string_alloc(name_len, 0);
2015 zend_str_tolower_copy(ZSTR_VAL(lcname), dep->name, name_len);
2017 if (zend_hash_exists(&module_registry, lcname)) {
2063 char lcname[16]; local
2723 zend_string *lcname; local
2836 zend_string *lcname; local
[all...]
H A Dzend_compile.c726 zend_string *lcname; local
729 ZSTR_ALLOCA_ALLOC(lcname, len, use_heap);
730 zend_str_tolower_copy(ZSTR_VAL(lcname), str, len);
731 result = zend_hash_find_ptr(ht, lcname);
732 ZSTR_ALLOCA_FREE(lcname, use_heap);
2932 zend_string *lcname = zend_string_tolower(name); local
2933 ZVAL_NEW_STR(&c, lcname);
2942 zend_string *name, *lcname; local
2951 lcname = zend_string_tolower(name);
2953 fbc = zend_hash_find_ptr(CG(function_table), lcname);
2992 zend_compile_func_cufa(znode *result, zend_ast_list *args, zend_string *lcname) argument
3010 zend_compile_func_cuf(znode *result, zend_ast_list *args, zend_string *lcname) argument
3096 zend_try_compile_special_func(znode *result, zend_string *lcname, zend_ast_list *args, zend_function *fbc) argument
3167 zend_string *lcname; local
4581 zend_string *lcname; local
4746 zend_string *name = decl->name, *lcname; local
5137 zend_string *name, *lcname, *import_name = NULL; local
5225 zend_hash_update_ptr(CG(class_table), lcname, ce); local
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1201 zend_string *lcname; local
1204 lcname = zend_string_alloc(name_len, 0);
1205 zend_str_tolower_copy(ZSTR_VAL(lcname), name_str, name_len);
1206 module = zend_hash_find_ptr(&module_registry, lcname);
1207 zend_string_free(lcname);
1618 char *lcname, *nsname; local
1638 lcname = zend_str_tolower_dup(name_str, name_len);
1641 nsname = lcname;
1642 if (lcname[0] == '\\') {
1643 nsname = &lcname[
2362 char *lcname; local
2381 char *lcname; local
3028 char *lcname; local
5586 char *lcname; local
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c1108 char *lcname = zend_str_tolower_dup(reflection_what, len); local
1111 if ((module = zend_hash_str_find_ptr(&module_registry, lcname, len)) == NULL) {
1122 efree(lcname);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_print.c189 zend_string *lcname = zend_string_alloc(strlen(param->method.name), 0); local
190 zend_str_tolower_copy(ZSTR_VAL(lcname), param->method.name, ZSTR_LEN(lcname));
192 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) {
203 zend_string_release(lcname);
217 zend_string *lcname; local
236 lcname = zend_string_alloc(func_name_len, 0);
237 zend_str_tolower_copy(ZSTR_VAL(lcname), func_name, ZSTR_LEN(lcname));
240 if ((fbc = zend_hash_find_ptr(func_table, lcname))) {
[all...]
H A Dphpdbg_bp.c380 char *lcname; local
387 lcname = zend_str_tolower_dup(name, name_len);
397 zend_hash_str_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM], lcname, name_len, &new_break, sizeof(phpdbg_breaksymbol_t));
406 efree(lcname);
944 zend_string *lcname = zend_string_tolower(ops->function_name); local
946 brake = zend_hash_find_ptr(class_table, lcname);
948 zend_string_release(lcname);
H A Dphpdbg_utils.c176 zend_string *lcname = zend_string_init(cname, strlen(cname), 0); local
177 tmp = zend_string_tolower(lcname);
178 zend_string_release(lcname);
179 lcname = tmp;
180 ce = zend_lookup_class(lcname);
182 zend_string_release(lcname);
H A Dphpdbg_list.c88 char *lcname = zend_str_tolower_dup(param->method.name, strlen(param->method.name)); local
90 if ((function = zend_hash_str_find_ptr(&ce->function_table, lcname, strlen(lcname)))) {
96 efree(lcname);
H A Dphpdbg_prompt.c1173 char *lcname = zend_str_tolower_dup(param->str, param->len); local
1174 size_t lcname_len = strlen(lcname);
1176 if (!zend_hash_str_exists(&PHPDBG_G(registered), lcname, lcname_len)) {
1177 if ((function = zend_hash_str_find_ptr(EG(function_table), lcname, lcname_len))) {
1178 zend_hash_str_update_ptr(&PHPDBG_G(registered), lcname, lcname_len, function); local
1181 phpdbg_notice("register", "function=\"%s\"", "Registered %s", lcname);
1186 phpdbg_error("register", "type=\"inuse\" function=\"%s\"", "The requested name (%s) is already in use", lcname);
1189 efree(lcname);

Completed in 68 milliseconds