Searched defs:old_name (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/zip/lib/
H A Dzip_file_rename.c43 const char *old_name; local
56 if ((old_name=zip_get_name(za, idx, 0)) == NULL)
60 old_is_dir = (old_name[strlen(old_name)-1] == '/');
/PHP_TRUNK/ext/standard/
H A Dfile.c1415 /* {{{ proto bool rename(string old_name, string new_name[, resource context])
1419 char *old_name, *new_name; local
1425 if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp|r", &old_name, &old_name_len, &new_name, &new_name_len, &zcontext) == FAILURE) {
1429 wrapper = php_stream_locate_url_wrapper(old_name, NULL, 0);
1448 RETURN_BOOL(wrapper->wops->rename(wrapper, old_name, new_name, 0, context));
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c193 zend_string *old_name = op_array->function_name; local
194 zend_string *new_name = zend_shared_alloc_get_xlat_entry(old_name);
200 zend_shared_alloc_register_xlat_entry(old_name, op_array->function_name);
/PHP_TRUNK/Zend/
H A Dzend_compile.c5374 static void zend_check_already_in_use(uint32_t type, zend_string *old_name, zend_string *new_name, zend_string *check_name) /* {{{ */ argument
5376 if (zend_string_equals_ci(old_name, check_name)) {
5381 "is already in use", zend_get_use_type_str(type), ZSTR_VAL(old_name), ZSTR_VAL(new_name));
5398 zend_string *old_name = zend_ast_get_str(old_name_ast); local
5406 if (zend_get_unqualified_name(old_name, &unqualified_name, &unqualified_name_len)) {
5410 new_name = zend_string_copy(old_name);
5432 "is a special class name", ZSTR_VAL(old_name), ZSTR_VAL(new_name), ZSTR_VAL(new_name));
5442 zend_check_already_in_use(type, old_name, new_name, ns_name);
5454 zend_check_already_in_use(type, old_name, new_name, lookup_name);
5464 zend_check_already_in_use(type, old_name, new_nam
[all...]

Completed in 28 milliseconds