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

/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 = 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
410 zend_string *lc_name, *func_name; local
457 zend_string *lc_name; local
615 zend_string *lc_name; local
[all...]
/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_compile.c348 zend_string *lc_name; local
360 lc_name = zend_string_alloc(Z_STRLEN_P(zv), 0);
361 zend_str_tolower_copy(lc_name->val, Z_STRVAL_P(zv), Z_STRLEN_P(zv));
362 ZVAL_NEW_STR(&c, lc_name);
372 zend_string *lc_name; local
386 lc_name = zend_string_alloc(Z_STRLEN_P(zv), 0);
387 zend_str_tolower_copy(lc_name->val, Z_STRVAL_P(zv), Z_STRLEN_P(zv));
388 ZVAL_NEW_STR(&c, lc_name);
396 lc_name = zend_string_alloc(lc_len, 0);
397 zend_str_tolower_copy(lc_name
408 zend_string *lc_name; local
[all...]
H A Dzend_builtin_functions.c1271 zend_string *lc_name; local
1290 lc_name = zend_string_alloc(class_name->len - 1, 0);
1291 zend_str_tolower_copy(lc_name->val, class_name->val + 1, class_name->len - 1);
1293 lc_name = zend_string_alloc(class_name->len, 0);
1294 zend_str_tolower_copy(lc_name->val, class_name->val, class_name->len);
1296 ce = zend_hash_find_ptr(EG(class_table), lc_name);
1297 zend_string_free(lc_name);
1314 zend_string *iface_name, *lc_name; local
1333 lc_name = zend_string_alloc(iface_name->len - 1, 0);
1334 zend_str_tolower_copy(lc_name
1357 zend_string *trait_name, *lc_name; local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c1275 char *lc_name; local
1324 lc_name = emalloc(namelen+1);
1325 zend_str_tolower_copy(lc_name, funcs->fname, namelen);
1326 zend_hash_str_add_mem(dbh->cls_methods[kind], lc_name, namelen, &func, sizeof(func));
1327 efree(lc_name);
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dpass1_5.c383 char *lc_name = zend_str_tolower_dup( local
386 if ((func = zend_hash_str_find_ptr(EG(function_table), lc_name, Z_STRLEN(ZEND_OP1_LITERAL(opline + 1)))) != NULL &&
399 efree(lc_name);
404 char *lc_name = zend_str_tolower_dup( local
407 lc_name, Z_STRLEN(ZEND_OP1_LITERAL(opline + 1)));
409 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);
3637 char *name, *lc_name; local
3646 lc_name = zend_str_tolower_dup(name, name_len);
3648 && memcmp(lc_name, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1) == 0)
3649 || zend_hash_str_exists(&ce->function_table, lc_name, name_len)) {
3650 efree(lc_name);
3667 char *name, *lc_name; local
[all...]

Completed in 24 milliseconds