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 STR_ALLOCA_ALLOC(lcname, class_name->len, use_heap);
249 zend_str_tolower_copy(lcname->val, class_name->val, class_name->len);
250 res = zend_hash_exists(classes, lcname);
251 STR_ALLOCA_FREE(lcname, use_heap);
H A Dvar.c1026 zend_string *lcname; local
1030 lcname = zend_string_tolower(Z_STR_P(entry));
1031 zend_hash_add_empty_element(class_hash, lcname);
1032 zend_string_release(lcname);
/PHP_TRUNK/sapi/phpdbg/
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.c1164 char *lcname = zend_str_tolower_dup(param->str, param->len); local
1165 size_t lcname_len = strlen(lcname);
1167 if (!zend_hash_str_exists(&PHPDBG_G(registered), lcname, lcname_len)) {
1168 if ((function = zend_hash_str_find_ptr(EG(function_table), lcname, lcname_len))) {
1169 zend_hash_str_update_ptr(&PHPDBG_G(registered), lcname, lcname_len, function); local
1172 phpdbg_notice("register", "function=\"%s\"", "Registered %s", lcname);
1177 phpdbg_error("register", "type=\"inuse\" function=\"%s\"", "The requested name (%s) is already in use", lcname);
1180 efree(lcname);
H A Dphpdbg_bp.c390 char *lcname = zend_str_tolower_dup(func_name, func_len); local
397 if (!zend_hash_str_exists(class_table, lcname, func_len)) {
408 zend_hash_str_update_mem(class_table, lcname, func_len, &new_break, sizeof(phpdbg_breakmethod_t));
417 efree(lcname);
909 char *lcname = zend_str_tolower_dup(ops->function_name->val, lcname_len); local
911 brake = zend_hash_str_find_ptr(class_table, lcname, lcname_len);
913 efree(lcname);
H A Dphpdbg_print.c197 zend_string *lcname = zend_string_alloc(strlen(param->method.name), 0); local
198 zend_str_tolower_copy(lcname->val, param->method.name, lcname->len);
200 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) {
211 zend_string_release(lcname);
225 zend_string *lcname; local
244 lcname = zend_string_alloc(func_name_len, 0);
245 zend_str_tolower_copy(lcname->val, func_name, lcname->len);
248 if ((fbc = zend_hash_find_ptr(func_table, lcname))) {
[all...]
H A Dphpdbg_utils.c173 zend_string *lcname = zend_string_alloc(strlen(cname), 0); local
174 memcpy(lcname->val, zend_str_tolower_dup(cname, lcname->len), lcname->len + 1);
175 ce = zend_lookup_class(lcname);
177 efree(lcname);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c1104 char *lcname = zend_str_tolower_dup(reflection_what, len); local
1107 if ((module = zend_hash_str_find_ptr(&module_registry, lcname, len)) == NULL) {
1118 efree(lcname);
/PHP_TRUNK/Zend/
H A Dzend_constants.c260 char *lcname = do_alloca(name_len + 1, use_heap); local
261 zend_str_tolower_copy(lcname, name, name_len);
262 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name_len)) != NULL) {
269 free_alloca(lcname, use_heap);
281 char *lcname = do_alloca(name->len + 1, use_heap); local
282 zend_str_tolower_copy(lcname, name->val, name->len);
283 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name->len)) != NULL) {
290 free_alloca(lcname, use_heap);
317 char *lcname; local
322 lcname
390 char *lcname; local
[all...]
H A Dzend_inheritance.c1148 zend_string *lcname; local
1168 lcname = zend_string_tolower(alias->alias);
1169 zend_add_trait_method(ce, alias->alias->val, lcname, &fn_copy, overriden);
1170 zend_string_release(lcname);
1239 zend_string *lcname; local
1258 lcname = zend_string_tolower(cur_method_ref->method_name);
1260 lcname);
1261 zend_string_release(lcname);
1316 lcname = zend_string_tolower(cur_method_ref->method_name);
1318 lcname);
1343 zend_string *lcname = local
[all...]
H A Dzend_API.c1816 zend_string *lcname; local
1832 lcname = zend_string_alloc(name_len, 0);
1833 zend_str_tolower_copy(lcname->val, dep->name, name_len);
1835 if ((req_mod = zend_hash_find_ptr(&module_registry, lcname)) == NULL || !req_mod->module_started) {
1836 zend_string_free(lcname);
1842 zend_string_free(lcname);
2002 zend_string *lcname; local
2020 lcname = zend_string_alloc(name_len, 0);
2021 zend_str_tolower_copy(lcname->val, dep->name, name_len);
2023 if (zend_hash_exists(&module_registry, lcname)) {
2069 char lcname[16]; local
2729 zend_string *lcname; local
2842 zend_string *lcname; local
[all...]
H A Dzend_builtin_functions.c1179 zend_string *lcname; local
1188 lcname = zend_string_tolower(name);
1189 ret = memcmp(lcname->val, key->val, key->len) == 0;
1190 zend_string_release(lcname);
1260 zend_string *lcname; local
1283 lcname = zend_string_tolower(method_name);
1284 if (zend_hash_exists(&ce->function_table, lcname)) {
1285 zend_string_release(lcname);
1299 zend_string_release(lcname);
1304 zend_string_release(lcname);
1494 zend_string *lcname; local
2653 zend_string *lcname; local
2674 zend_string *lcname; local
[all...]
H A Dzend_compile.c732 zend_string *lcname; local
735 STR_ALLOCA_ALLOC(lcname, len, use_heap);
736 zend_str_tolower_copy(lcname->val, str, len);
737 result = zend_hash_find_ptr(ht, lcname);
738 STR_ALLOCA_FREE(lcname, use_heap);
2962 zend_string *lcname = zend_string_tolower(name); local
2963 ZVAL_NEW_STR(&c, lcname);
2972 zend_string *name, *lcname; local
2981 lcname = zend_string_tolower(name);
2983 fbc = zend_hash_find_ptr(CG(function_table), lcname);
3021 zend_compile_func_cufa(znode *result, zend_ast_list *args, zend_string *lcname) argument
3039 zend_compile_func_cuf(znode *result, zend_ast_list *args, zend_string *lcname) argument
3125 zend_try_compile_special_func(znode *result, zend_string *lcname, zend_ast_list *args, zend_function *fbc) argument
3196 zend_string *lcname; local
4445 zend_string *lcname; local
4610 zend_string *name = decl->name, *lcname; local
5008 zend_string *name = decl->name, *lcname, *import_name = NULL; local
5094 zend_hash_update_ptr(CG(class_table), lcname, ce); local
[all...]
H A Dzend_vm_def.h3170 zend_string *lcname; variable
3198 lcname = zend_string_init(Z_STRVAL_P(function_name), cname_length, 0);
3200 called_scope = zend_fetch_class_by_name(lcname, NULL, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION);
3202 zend_string_release(lcname);
3218 zend_string_release(lcname);
3224 zend_string_release(lcname);
3243 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
3244 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name) + 1, Z_STRLEN_P(function_name) - 1);
3246 lcname = zend_string_tolower(Z_STR_P(function_name));
3248 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname))
[all...]
H A Dzend_vm_execute.h2047 zend_string *lcname; local
2075 lcname = zend_string_init(Z_STRVAL_P(function_name), cname_length, 0);
2077 called_scope = zend_fetch_class_by_name(lcname, NULL, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION);
2079 zend_string_release(lcname);
2095 zend_string_release(lcname);
2101 zend_string_release(lcname);
2120 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
2121 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name) + 1, Z_STRLEN_P(function_name) - 1);
2123 lcname = zend_string_tolower(Z_STR_P(function_name));
2125 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname))
2494 zend_string *lcname; local
2747 zend_string *lcname; local
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1184 zend_string *lcname; local
1187 lcname = zend_string_alloc(name_len, 0);
1188 zend_str_tolower_copy(lcname->val, name_str, name_len);
1189 module = zend_hash_find_ptr(&module_registry, lcname);
1190 zend_string_free(lcname);
1579 char *lcname, *nsname; local
1599 lcname = zend_str_tolower_dup(name_str, name_len);
1602 nsname = lcname;
1603 if (lcname[0] == '\\') {
1604 nsname = &lcname[
2324 char *lcname; local
2343 char *lcname; local
2885 char *lcname; local
5402 char *lcname; local
[all...]

Completed in 68 milliseconds