Searched refs:lcname (Results 1 - 17 of 17) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_constants.c290 char *lcname = do_alloca(name_len + 1, use_heap); local
291 zend_str_tolower_copy(lcname, name, name_len);
292 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name_len)) != NULL) {
299 free_alloca(lcname, use_heap);
311 char *lcname = do_alloca(name->len + 1, use_heap); local
312 zend_str_tolower_copy(lcname, name->val, name->len);
313 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name->len)) != NULL) {
320 free_alloca(lcname, use_heap);
347 char *lcname; local
352 lcname
413 char *lcname; local
[all...]
H A Dzend_inheritance.c1126 zend_string *lcname; local
1146 lcname = zend_string_alloc(alias->alias->len, 0);
1147 zend_str_tolower_copy(lcname->val, alias->alias->val, alias->alias->len);
1148 zend_add_trait_method(ce, alias->alias->val, lcname, &fn_copy, overriden);
1149 zend_string_release(lcname);
1217 zend_string *lcname; local
1234 lcname = zend_string_alloc(cur_method_ref->method_name->len, 0);
1235 zend_str_tolower_copy(lcname->val,
1239 lcname);
1240 zend_string_free(lcname);
1324 zend_string *lcname = zend_string_alloc(precedences[i]->trait_method->method_name->len, 0); local
[all...]
H A Dzend_compile.c597 zend_string *lcname; local
600 STR_ALLOCA_ALLOC(lcname, len, use_heap);
601 zend_str_tolower_copy(lcname->val, str, len);
602 result = zend_hash_find_ptr(ht, lcname);
603 STR_ALLOCA_FREE(lcname, use_heap);
2631 zend_string *lcname = zend_string_alloc(name->len, 0); local
2632 zend_str_tolower_copy(lcname->val, name->val, name->len);
2633 ZVAL_NEW_STR(&c, lcname);
2642 zend_string *name, *lcname; local
2651 lcname
2692 zend_compile_func_cufa(znode *result, zend_ast_list *args, zend_string *lcname) argument
2710 zend_compile_func_cuf(znode *result, zend_ast_list *args, zend_string *lcname) argument
2750 zend_try_compile_special_func(znode *result, zend_string *lcname, zend_ast_list *args) argument
2811 zend_string *lcname = zend_string_alloc(Z_STRLEN_P(name), 0); local
3921 zend_string *lcname; local
4090 zend_string *name = decl->name, *lcname; local
4469 zend_string *name = decl->name, *lcname, *import_name = NULL; local
[all...]
H A Dzend_vm_def.h2508 zend_string *lcname; variable
2519 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
2520 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name) + 1, Z_STRLEN_P(function_name) - 1);
2522 lcname = zend_string_alloc(Z_STRLEN_P(function_name), 0);
2523 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name), Z_STRLEN_P(function_name));
2525 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname)) == NULL)) {
2528 zend_string_free(lcname);
H A Dzend_vm_execute.h1564 zend_string *lcname; local
1575 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
1576 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name) + 1, Z_STRLEN_P(function_name) - 1);
1578 lcname = zend_string_alloc(Z_STRLEN_P(function_name), 0);
1579 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name), Z_STRLEN_P(function_name));
1581 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname)) == NULL)) {
1584 zend_string_free(lcname);
1948 zend_string *lcname; local
1959 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
1960 zend_str_tolower_copy(lcname
2138 zend_string *lcname; local
[all...]
H A Dzend_builtin_functions.c1138 char *lcname = zend_str_tolower_dup(name, name_len); local
1139 int ret = memcmp(lcname, key, name_len) == 0;
1140 efree(lcname);
1211 zend_string *lcname; local
1234 lcname = zend_string_alloc(method_name->len, 0);
1235 zend_str_tolower_copy(lcname->val, method_name->val, method_name->len);
1236 if (zend_hash_exists(&ce->function_table, lcname)) {
1237 zend_string_free(lcname);
1253 zend_string_free(lcname);
1258 efree(lcname);
1450 zend_string *lcname; local
2590 zend_string *lcname; local
2612 zend_string *lcname; local
[all...]
H A Dzend_API.c1822 zend_string *lcname; local
1838 lcname = zend_string_alloc(name_len, 0);
1839 zend_str_tolower_copy(lcname->val, dep->name, name_len);
1841 if ((req_mod = zend_hash_find_ptr(&module_registry, lcname)) == NULL || !req_mod->module_started) {
1842 zend_string_free(lcname);
1848 zend_string_free(lcname);
2008 zend_string *lcname; local
2026 lcname = zend_string_alloc(name_len, 0);
2027 zend_str_tolower_copy(lcname->val, dep->name, name_len);
2029 if (zend_hash_exists(&module_registry, lcname)) {
2075 char lcname[16]; local
2706 zend_string *lcname; local
2814 zend_string *lcname; local
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1206 zend_string *lcname; local
1209 lcname = zend_string_alloc(name_len, 0);
1210 zend_str_tolower_copy(lcname->val, name_str, name_len);
1211 module = zend_hash_find_ptr(&module_registry, lcname);
1212 zend_string_free(lcname);
1601 char *lcname; local
1619 lcname = zend_str_tolower_dup(name_str, name_len);
1622 nsname = lcname;
1623 if (lcname[0] == '\\') {
1624 nsname = &lcname[
2156 char *lcname; local
2175 char *lcname; local
2713 char *lcname; local
5182 char *lcname; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dvar.c1022 zend_string *lcname; local
1026 lcname = zend_string_alloc(Z_STRLEN_P(entry), 0);
1027 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(entry), Z_STRLEN_P(entry));
1028 zend_hash_add_empty_element(class_hash, lcname);
1029 zend_string_release(lcname);
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_unserializer.re235 zend_string *lcname;
246 STR_ALLOCA_ALLOC(lcname, class_name->len, use_heap);
247 zend_str_tolower_copy(lcname->val, class_name->val, class_name->len);
248 res = zend_hash_exists(classes, lcname);
249 STR_ALLOCA_FREE(lcname, use_heap);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c1128 char *lcname = zend_str_tolower_dup(reflection_what, len); local
1131 if ((module = zend_hash_str_find_ptr(&module_registry, lcname, len)) == NULL) {
1142 efree(lcname);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.c388 char *lcname = zend_str_tolower_dup(func_name, func_len); local
395 if (!zend_hash_str_exists(class_table, lcname, func_len)) {
406 zend_hash_str_update_mem(class_table, lcname, func_len, &new_break, sizeof(phpdbg_breakmethod_t));
415 efree(lcname);
904 char *lcname = zend_str_tolower_dup(ops->function_name->val, lcname_len); local
906 brake = zend_hash_str_find_ptr(class_table, lcname, lcname_len);
908 efree(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_print.c193 zend_string *lcname = zend_string_alloc(strlen(param->method.name), 0); local
194 zend_str_tolower_copy(lcname->val, param->method.name, lcname->len);
196 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) {
207 zend_string_release(lcname);
221 zend_string *lcname; local
240 lcname = zend_string_alloc(func_name_len, 0);
241 zend_str_tolower_copy(lcname->val, func_name, lcname->len);
244 if ((fbc = zend_hash_find_ptr(func_table, lcname))) {
[all...]
H A Dphpdbg_prompt.c1104 char *lcname = zend_str_tolower_dup(param->str, param->len); local
1105 size_t lcname_len = strlen(lcname);
1107 if (!zend_hash_str_exists(&PHPDBG_G(registered), lcname, lcname_len)) {
1108 if ((function = zend_hash_str_find_ptr(EG(function_table), lcname, lcname_len))) {
1109 zend_hash_str_update_ptr(&PHPDBG_G(registered), lcname, lcname_len, function); local
1112 phpdbg_notice("register", "function=\"%s\"", "Registered %s", lcname);
1117 phpdbg_error("register", "type=\"inuse\" function=\"%s\"", "The requested name (%s) is already in use", lcname);
1120 efree(lcname);
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);

Completed in 92 milliseconds