Searched defs:lc_name (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/spl/
H A Dphp_spl.c71 char *lc_name; local
74 lc_name = do_alloca(len + 1, use_heap);
75 zend_str_tolower_copy(lc_name, name, len);
77 found = zend_hash_find(EG(class_table), lc_name, len +1, (void **) &ce);
78 free_alloca(lc_name, use_heap);
253 static int spl_autoload(const char *class_name, const char * lc_name, int class_name_len, const char * file_extension TSRMLS_DC) /* {{{ */ argument
263 class_file_len = spprintf(&class_file, 0, "%s%s", lc_name, file_extension);
307 return zend_hash_exists(EG(class_table), (char*)lc_name, class_name_len+1);
318 char *class_name, *lc_name, *file_exts = SPL_G(autoload_extensions); local
334 lc_name
417 char *func_name, *lc_name; local
470 char *lc_name = NULL; local
631 char *lc_name = NULL; local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c1283 char *lc_name; local
1331 lc_name = emalloc(namelen+1);
1332 zend_str_tolower_copy(lc_name, funcs->fname, namelen);
1333 zend_hash_add(dbh->cls_methods[kind], lc_name, namelen+1, &func, sizeof(func), NULL);
1334 efree(lc_name);
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dpass1_5.c369 char *lc_name = zend_str_tolower_dup( variable
372 if (zend_hash_find(EG(function_table), lc_name, Z_STRLEN(ZEND_OP1_LITERAL(opline - 1)) + 1,
385 efree(lc_name); variable
391 char *lc_name = zend_str_tolower_dup( variable
394 lc_name, Z_STRLEN(ZEND_OP1_LITERAL(opline - 1)) + 1, (void *)&m) == SUCCESS;
396 efree(lc_name); variable
/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c1231 char *class_name, *lc_name; local
1246 lc_name = do_alloca(class_name_len + 1, use_heap);
1247 zend_str_tolower_copy(lc_name, class_name, class_name_len);
1250 name = lc_name;
1252 if (lc_name[0] == '\\') {
1253 name = &lc_name[1];
1258 free_alloca(lc_name, use_heap);
1274 char *iface_name, *lc_name; local
1289 lc_name = do_alloca(iface_name_len + 1, use_heap);
1290 zend_str_tolower_copy(lc_name, iface_nam
1317 char *trait_name, *lc_name; local
[all...]
H A Dzend_closures.c179 char *lc_name; local
182 lc_name = do_alloca(method_len + 1, use_heap);
183 zend_str_tolower_copy(lc_name, method_name, method_len);
185 memcmp(lc_name, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1) == 0
187 free_alloca(lc_name, use_heap);
190 free_alloca(lc_name, use_heap);
H A Dzend_execute_API.c913 char *lc_name; local
922 lc_name = Z_STRVAL(key->constant);
930 lc_free = lc_name = do_alloca(name_length + 1, use_heap);
931 zend_str_tolower_copy(lc_name, name, name_length);
934 if (lc_name[0] == '\\') {
935 lc_name += 1;
939 hash = zend_inline_hash_func(lc_name, lc_length);
942 if (zend_hash_quick_find(EG(class_table), lc_name, lc_length, hash, (void **) ce) == SUCCESS) {
972 if (zend_hash_quick_add(EG(in_autoload), lc_name, lc_length, hash, (void**)&dummy, sizeof(char), NULL) == FAILURE) {
1015 zend_hash_quick_del(EG(in_autoload), lc_name, lc_lengt local
[all...]
H A Dzend_compile.c386 char *lc_name; local
399 lc_name = zend_str_tolower_dup(Z_STRVAL_P(zv), Z_STRLEN_P(zv));
400 ZVAL_STRINGL(&c, lc_name, Z_STRLEN_P(zv), 0);
411 char *lc_name; local
426 lc_name = zend_str_tolower_dup(Z_STRVAL_P(zv), Z_STRLEN_P(zv));
427 ZVAL_STRINGL(&c, lc_name, Z_STRLEN_P(zv), 0);
436 lc_name = zend_str_tolower_dup(ns_separator, lc_len);
437 ZVAL_STRINGL(&c, lc_name, lc_len, 0);
449 char *lc_name; local
465 lc_name
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c834 char *lc_name; local
860 lc_name = zend_str_tolower_dup(fptr->common.function_name, lc_name_len);
861 if (zend_hash_find(&fptr->common.scope->parent->function_table, lc_name, lc_name_len + 1, (void**) &overwrites) == SUCCESS) {
866 efree(lc_name);
3694 char *name, *lc_name; local
3703 lc_name = zend_str_tolower_dup(name, name_len);
3705 && memcmp(lc_name, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1) == 0)
3706 || zend_hash_exists(&ce->function_table, lc_name, name_len + 1)) {
3707 efree(lc_name);
3710 efree(lc_name);
3724 char *name, *lc_name; local
[all...]

Completed in 31 milliseconds