Searched refs:lcname (Results 1 - 14 of 14) 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_API.c1844 zend_string *lcname; local
1860 lcname = zend_string_alloc(name_len, 0);
1861 zend_str_tolower_copy(lcname->val, dep->name, name_len);
1863 if ((req_mod = zend_hash_find_ptr(&module_registry, lcname)) == NULL || !req_mod->module_started) {
1864 zend_string_free(lcname);
1870 zend_string_free(lcname);
2031 zend_string *lcname; local
2049 lcname = zend_string_alloc(name_len, 0);
2050 zend_str_tolower_copy(lcname->val, dep->name, name_len);
2052 if (zend_hash_exists(&module_registry, lcname)) {
2098 char lcname[16]; local
2730 zend_string *lcname; local
2844 zend_string *lcname; local
[all...]
H A Dzend_builtin_functions.c1070 char *lcname = zend_str_tolower_dup(name, name_len); local
1071 int ret = memcmp(lcname, key, name_len) == 0;
1072 efree(lcname);
1147 zend_string *lcname; local
1170 lcname = zend_string_alloc(method_name->len, 0);
1171 zend_str_tolower_copy(lcname->val, method_name->val, method_name->len);
1172 if (zend_hash_exists(&ce->function_table, lcname)) {
1173 zend_string_free(lcname);
1189 zend_string_free(lcname);
1194 efree(lcname);
1386 zend_string *lcname; local
2546 zend_string *lcname; local
2568 zend_string *lcname; local
[all...]
H A Dzend_inheritance.c1099 zend_string *lcname; local
1119 lcname = zend_string_alloc(alias->alias->len, 0);
1120 zend_str_tolower_copy(lcname->val, alias->alias->val, alias->alias->len);
1121 zend_add_trait_method(ce, alias->alias->val, lcname, &fn_copy, overriden TSRMLS_CC);
1122 zend_string_release(lcname);
1190 zend_string *lcname; local
1207 lcname = zend_string_alloc(cur_method_ref->method_name->len, 0);
1208 zend_str_tolower_copy(lcname->val,
1212 lcname);
1213 zend_string_free(lcname);
1297 zend_string *lcname = zend_string_alloc(precedences[i]->trait_method->method_name->len, 0); local
[all...]
H A Dzend_vm_def.h2390 zend_string *lcname; variable
2402 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
2403 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name) + 1, Z_STRLEN_P(function_name) - 1);
2405 lcname = zend_string_alloc(Z_STRLEN_P(function_name), 0);
2406 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name), Z_STRLEN_P(function_name));
2408 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname)) == NULL)) {
2411 zend_string_free(lcname); variable
H A Dzend_vm_execute.h1556 zend_string *lcname; local
1568 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
1569 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name) + 1, Z_STRLEN_P(function_name) - 1);
1571 lcname = zend_string_alloc(Z_STRLEN_P(function_name), 0);
1572 zend_str_tolower_copy(lcname->val, Z_STRVAL_P(function_name), Z_STRLEN_P(function_name));
1574 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname)) == NULL)) {
1577 zend_string_free(lcname);
1880 zend_string *lcname; local
1892 lcname = zend_string_alloc(Z_STRLEN_P(function_name) - 1, 0);
1893 zend_str_tolower_copy(lcname
2054 zend_string *lcname; local
2266 zend_string *lcname; local
[all...]
H A Dzend_compile.c581 zend_string *lcname = zend_string_alloc(len, 0); local
582 zend_str_tolower_copy(lcname->val, str, len);
583 result = zend_hash_find_ptr(ht, lcname);
584 zend_string_free(lcname);
2635 zend_string *lcname = zend_string_alloc(name->len, 0); local
2636 zend_str_tolower_copy(lcname->val, name->val, name->len);
2637 ZVAL_NEW_STR(&c, lcname);
2646 zend_string *name, *lcname; local
2655 lcname = zend_string_alloc(name->len, 0);
2656 zend_str_tolower_copy(lcname
2753 zend_try_compile_special_func(znode *result, zend_string *lcname, zend_ast_list *args TSRMLS_DC) argument
2814 zend_string *lcname = zend_string_alloc(Z_STRLEN_P(name), 0); local
3915 zend_string *lcname; local
4091 zend_string *name = decl->name, *lcname; local
4472 zend_string *name = decl->name, *lcname, *import_name = NULL; local
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1197 zend_string *lcname; local
1200 lcname = zend_string_alloc(name_len, 0);
1201 zend_str_tolower_copy(lcname->val, name_str, name_len);
1202 module = zend_hash_find_ptr(&module_registry, lcname);
1203 zend_string_free(lcname);
1588 char *lcname; local
1606 lcname = zend_str_tolower_dup(name_str, name_len);
1609 nsname = lcname;
1610 if (lcname[0] == '\\') {
1611 nsname = &lcname[
2142 char *lcname; local
2161 char *lcname; local
2666 char *lcname; local
5133 char *lcname; local
[all...]
/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_bp.c302 char *lcname = zend_str_tolower_dup(func_name, func_len); local
313 if (!zend_hash_exists(class_table, lcname, func_len)) {
324 zend_hash_update(class_table, lcname, func_len,
335 efree(lcname);
846 char *lcname = zend_str_tolower_dup(ops->function_name, strlen(ops->function_name)); local
847 size_t lcname_len = strlen(lcname);
851 lcname,
853 efree(lcname);
857 efree(lcname);
H A Dphpdbg_list.c86 char *lcname = zend_str_tolower_dup(param->method.name, strlen(param->method.name)); local
88 if (zend_hash_find(&(*ce)->function_table, lcname, strlen(lcname)+1, (void**) &function) == SUCCESS) {
94 efree(lcname);
H A Dphpdbg_print.c192 char *lcname = zend_str_tolower_dup(param->method.name, strlen(param->method.name)); local
194 if (zend_hash_find(&(*ce)->function_table, lcname, strlen(lcname)+1, (void**)&fbc) == SUCCESS) {
204 efree(lcname);
218 char *lcname; local
237 lcname = zend_str_tolower_dup(func_name, func_name_len);
239 if (zend_hash_find(func_table, lcname, strlen(lcname)+1, (void**)&fbc) == SUCCESS) {
250 efree(lcname);
H A Dphpdbg_prompt.c882 char *lcname = zend_str_tolower_dup(param->str, param->len); local
883 size_t lcname_len = strlen(lcname);
885 if (!zend_hash_exists(&PHPDBG_G(registered), lcname, lcname_len+1)) {
886 if (zend_hash_find(EG(function_table), lcname, lcname_len+1, (void**) &function) == SUCCESS) {
888 &PHPDBG_G(registered), lcname, lcname_len+1, (void*)&function, sizeof(zend_function), NULL); local
892 "Registered %s", lcname);
898 "The requested name (%s) is already in use", lcname);
901 efree(lcname);
H A Dphpdbg_utils.c174 char *lcname = zend_str_tolower_dup(fname, fname_len); local
185 zend_hash_find(&(*ce)->function_table, lcname, fname_len+1,
189 zend_hash_find(EG(function_table), lcname, fname_len+1, local
193 efree(lcname);

Completed in 66 milliseconds