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

/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c1124 char *lcname = zend_str_tolower_dup(reflection_what, len); local
1127 if ((module = zend_hash_str_find_ptr(&module_registry, lcname, len)) == NULL) {
1138 efree(lcname);
/PHP_TRUNK/sapi/phpdbg/
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_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 TSRMLS_CC);
177 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_prompt.c1103 char *lcname = zend_str_tolower_dup(param->str, param->len); local
1104 size_t lcname_len = strlen(lcname);
1106 if (!zend_hash_str_exists(&PHPDBG_G(registered), lcname, lcname_len)) {
1107 if ((function = zend_hash_str_find_ptr(EG(function_table), lcname, lcname_len))) {
1108 zend_hash_str_update_ptr(&PHPDBG_G(registered), lcname, lcname_len, function); local
1111 phpdbg_notice("register", "function=\"%s\"", "Registered %s", lcname);
1116 phpdbg_error("register", "type=\"inuse\" function=\"%s\"", "The requested name (%s) is already in use", lcname);
1119 efree(lcname);
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);
/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_API.c1820 zend_string *lcname; local
1836 lcname = zend_string_alloc(name_len, 0);
1837 zend_str_tolower_copy(lcname->val, dep->name, name_len);
1839 if ((req_mod = zend_hash_find_ptr(&module_registry, lcname)) == NULL || !req_mod->module_started) {
1840 zend_string_free(lcname);
1846 zend_string_free(lcname);
2007 zend_string *lcname; local
2025 lcname = zend_string_alloc(name_len, 0);
2026 zend_str_tolower_copy(lcname->val, dep->name, name_len);
2028 if (zend_hash_exists(&module_registry, lcname)) {
2074 char lcname[16]; local
2706 zend_string *lcname; local
2814 zend_string *lcname; local
[all...]
H A Dzend_builtin_functions.c1062 char *lcname = zend_str_tolower_dup(name, name_len); local
1063 int ret = memcmp(lcname, key, name_len) == 0;
1064 efree(lcname);
1135 zend_string *lcname; local
1158 lcname = zend_string_alloc(method_name->len, 0);
1159 zend_str_tolower_copy(lcname->val, method_name->val, method_name->len);
1160 if (zend_hash_exists(&ce->function_table, lcname)) {
1161 zend_string_free(lcname);
1177 zend_string_free(lcname);
1182 efree(lcname);
1374 zend_string *lcname; local
2514 zend_string *lcname; local
2536 zend_string *lcname; local
[all...]
H A Dzend_inheritance.c1102 zend_string *lcname; local
1122 lcname = zend_string_alloc(alias->alias->len, 0);
1123 zend_str_tolower_copy(lcname->val, alias->alias->val, alias->alias->len);
1124 zend_add_trait_method(ce, alias->alias->val, lcname, &fn_copy, overriden TSRMLS_CC);
1125 zend_string_release(lcname);
1193 zend_string *lcname; local
1210 lcname = zend_string_alloc(cur_method_ref->method_name->len, 0);
1211 zend_str_tolower_copy(lcname->val,
1215 lcname);
1216 zend_string_free(lcname);
1300 zend_string *lcname = zend_string_alloc(precedences[i]->trait_method->method_name->len, 0); local
[all...]
H A Dzend_vm_def.h2394 zend_string *lcname; variable
2406 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
2407 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name) + 1, Z_STRLEN_P(function_name) - 1);
2409 lcname = zend_string_alloc(Z_STRLEN_P(function_name), 0);
2410 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name), Z_STRLEN_P(function_name));
2412 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname)) == NULL)) {
2415 zend_string_free(lcname); variable
H A Dzend_vm_execute.h1484 zend_string *lcname; local
1496 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
1497 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name) + 1, Z_STRLEN_P(function_name) - 1);
1499 lcname = zend_string_alloc(Z_STRLEN_P(function_name), 0);
1500 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name), Z_STRLEN_P(function_name));
1502 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname)) == NULL)) {
1505 zend_string_free(lcname);
1820 zend_string *lcname; local
1832 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
1833 zend_str_tolower_copy(lcname
2006 zend_string *lcname; local
2230 zend_string *lcname; local
[all...]
H A Dzend_compile.c603 zend_string *lcname; local
606 STR_ALLOCA_ALLOC(lcname, len, use_heap);
607 zend_str_tolower_copy(lcname->val, str, len);
608 result = zend_hash_find_ptr(ht, lcname);
609 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
2749 zend_try_compile_special_func(znode *result, zend_string *lcname, zend_ast_list *args TSRMLS_DC) argument
2810 zend_string *lcname = zend_string_alloc(Z_STRLEN_P(name), 0); local
3929 zend_string *lcname; local
4098 zend_string *name = decl->name, *lcname; local
4477 zend_string *name = decl->name, *lcname, *import_name = NULL; local
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1200 zend_string *lcname; local
1203 lcname = zend_string_alloc(name_len, 0);
1204 zend_str_tolower_copy(lcname->val, name_str, name_len);
1205 module = zend_hash_find_ptr(&module_registry, lcname);
1206 zend_string_free(lcname);
1591 char *lcname; local
1609 lcname = zend_str_tolower_dup(name_str, name_len);
1612 nsname = lcname;
1613 if (lcname[0] == '\\') {
1614 nsname = &lcname[
2145 char *lcname; local
2164 char *lcname; local
2669 char *lcname; local
5139 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.c231 zend_string *lcname; local
242 STR_ALLOCA_ALLOC(lcname, class_name->len, use_heap);
243 zend_str_tolower_copy(lcname->val, class_name->val, class_name->len);
244 res = zend_hash_exists(classes, lcname);
245 STR_ALLOCA_FREE(lcname, use_heap);
H A Dvar_unserializer.re229 zend_string *lcname;
240 STR_ALLOCA_ALLOC(lcname, class_name->len, use_heap);
241 zend_str_tolower_copy(lcname->val, class_name->val, class_name->len);
242 res = zend_hash_exists(classes, lcname);
243 STR_ALLOCA_FREE(lcname, use_heap);

Completed in 95 milliseconds