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

/PHP_TRUNK/Zend/
H A Dzend_closures.c211 zend_string *lc_name; local
213 lc_name = zend_string_alloc(method->len, 0);
214 zend_str_tolower_copy(lc_name->val, method->val, method->len);
216 zend_string_free(lc_name);
219 zend_string_free(lc_name);
H A Dzend_builtin_functions.c1242 zend_string *lc_name; local
1261 lc_name = zend_string_alloc(class_name->len - 1, 0);
1262 zend_str_tolower_copy(lc_name->val, class_name->val + 1, class_name->len - 1);
1264 lc_name = zend_string_alloc(class_name->len, 0);
1265 zend_str_tolower_copy(lc_name->val, class_name->val, class_name->len);
1267 ce = zend_hash_find_ptr(EG(class_table), lc_name);
1268 zend_string_free(lc_name);
1285 zend_string *iface_name, *lc_name; local
1304 lc_name = zend_string_alloc(iface_name->len - 1, 0);
1305 zend_str_tolower_copy(lc_name
1328 zend_string *trait_name, *lc_name; local
[all...]
H A Dzend_compile.c352 zend_string *lc_name = zend_string_alloc(name->len, 0); local
353 zend_str_tolower_copy(lc_name->val, name->val, name->len);
354 zend_add_literal_string(op_array, &lc_name TSRMLS_CC);
369 zend_string *lc_name = zend_string_alloc(name->len, 0); local
370 zend_str_tolower_copy(lc_name->val, name->val, name->len);
371 zend_add_literal_string(op_array, &lc_name TSRMLS_CC);
375 lc_name = zend_string_alloc(unqualified_name_len, 0);
376 zend_str_tolower_copy(lc_name->val, unqualified_name, unqualified_name_len);
377 zend_add_literal_string(op_array, &lc_name TSRMLS_CC);
390 zend_string *lc_name local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c358 char *lc_name, *lc_free; local
365 lc_free = lc_name = emalloc(name_length + 1);
366 zend_str_tolower_copy(lc_name, name, name_length);
369 if (lc_name[0] == '\\') {
370 lc_name += 1;
375 *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length);
H A Dphpdbg_prompt.c97 char *lc_name; local
105 lc_name = zend_str_tolower_dup(name->str, name->len);
107 if (zend_hash_str_exists(&PHPDBG_G(registered), lc_name, name->len)) {
113 ZVAL_STRINGL(&fci.function_name, lc_name, name->len);
192 efree(lc_name);
197 efree(lc_name);
/PHP_TRUNK/ext/spl/
H A Dphp_spl.c69 zend_string *lc_name = zend_string_alloc(name->len, 0); local
70 zend_str_tolower_copy(lc_name->val, name->val, name->len);
72 ce = zend_hash_find_ptr(EG(class_table), lc_name);
73 zend_string_free(lc_name);
248 static int spl_autoload(zend_string *class_name, zend_string *lc_name, const char *ext, int ext_len TSRMLS_DC) /* {{{ */ argument
258 class_file_len = (int)spprintf(&class_file, 0, "%s%.*s", lc_name->val, ext_len, ext);
299 return zend_hash_exists(EG(class_table), lc_name);
312 zend_string *class_name, *lc_name, *file_exts = SPL_G(autoload_extensions); local
326 lc_name = zend_string_alloc(class_name->len, 0);
327 zend_str_tolower_copy(lc_name
412 zend_string *lc_name, *func_name; local
459 zend_string *lc_name; local
617 zend_string *lc_name; local
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dpass1_5.c431 char *lc_name = zend_str_tolower_dup( local
434 if ((func = zend_hash_str_find_ptr(EG(function_table), lc_name, Z_STRLEN(ZEND_OP1_LITERAL(send1_opline)))) != NULL &&
445 efree(lc_name);
449 efree(lc_name);
454 char *lc_name = zend_str_tolower_dup( local
457 lc_name, Z_STRLEN(ZEND_OP1_LITERAL(send1_opline)));
459 efree(lc_name);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c811 zend_string *lc_name; local
837 lc_name = zend_string_alloc(lc_name_len, 0);
838 zend_str_tolower_copy(lc_name->val, fptr->common.function_name->val, lc_name_len);
839 if ((overwrites = zend_hash_find_ptr(&fptr->common.scope->parent->function_table, lc_name)) != NULL) {
844 efree(lc_name);
3639 char *name, *lc_name; local
3648 lc_name = zend_str_tolower_dup(name, name_len);
3650 && memcmp(lc_name, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1) == 0)
3651 || zend_hash_str_exists(&ce->function_table, lc_name, name_len)) {
3652 efree(lc_name);
3669 char *name, *lc_name; local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c1273 char *lc_name; local
1322 lc_name = emalloc(namelen+1);
1323 zend_str_tolower_copy(lc_name, funcs->fname, namelen);
1324 zend_hash_str_add_mem(dbh->cls_methods[kind], lc_name, namelen, &func, sizeof(func));
1325 efree(lc_name);

Completed in 30 milliseconds