Home
last modified time | relevance | path

Searched refs:old_name (Results 1 – 13 of 13) sorted by relevance

/PHP-7.2/ext/zip/lib/
H A Dzip_file_rename.c43 const char *old_name; in zip_file_rename() local
56 if ((old_name=zip_get_name(za, idx, 0)) == NULL) in zip_file_rename()
60 old_is_dir = (old_name[strlen(old_name)-1] == '/'); in zip_file_rename()
H A Dzip_set_name.c48 const zip_uint8_t *old_name, *new_name; in _zip_set_name() local
115 if ((old_name = _zip_string_get(old_str, NULL, 0, &za->error)) == NULL) { in _zip_set_name()
121 old_name = NULL; in _zip_set_name()
128 if (old_name) { in _zip_set_name()
129 _zip_hash_delete(za->names, old_name, NULL); in _zip_set_name()
/PHP-7.2/ext/standard/tests/file/
H A Drename_variation10.phpt7 /* Prototype : bool rename(string old_name, string new_name[, resource context])
25 $old_name = __FILE__.'.tmp';
116 touch($old_name);
117 $res = rename($old_name, $new_name, $value);
123 unlink($old_name);
H A Drename_variation12.phpt11 /* Prototype : bool rename(string old_name, string new_name[, resource context])
H A Drename_variation11-win32.phpt12 /* Prototype : bool rename(string old_name, string new_name[, resource context])
H A Drename_variation12-win32.phpt11 /* Prototype : bool rename(string old_name, string new_name[, resource context])
H A Drename_variation13.phpt12 /* Prototype : bool rename(string old_name, string new_name[, resource context])
H A Drename_variation13-win32.phpt12 /* Prototype : bool rename(string old_name, string new_name[, resource context])
/PHP-7.2/ext/opcache/
H A Dzend_persist_calc.c195 zend_string *old_name = op_array->function_name; in zend_persist_op_array_calc_ex() local
196 zend_string *new_name = zend_shared_alloc_get_xlat_entry(old_name); in zend_persist_op_array_calc_ex()
202 zend_shared_alloc_register_xlat_entry(old_name, op_array->function_name); in zend_persist_op_array_calc_ex()
/PHP-7.2/ext/standard/
H A Dfile.c1460 char *old_name, *new_name; in PHP_FUNCTION() local
1467 Z_PARAM_PATH(old_name, old_name_len) in PHP_FUNCTION()
1473 wrapper = php_stream_locate_url_wrapper(old_name, NULL, 0); in PHP_FUNCTION()
1492 RETURN_BOOL(wrapper->wops->rename(wrapper, old_name, new_name, 0, context)); in PHP_FUNCTION()
H A Dbasic_functions.c1162 ZEND_ARG_INFO(0, old_name)
/PHP-7.2/Zend/
H A Dzend_compile.c6545 if (zend_string_equals_ci(old_name, check_name)) { in zend_check_already_in_use()
6550 "is already in use", zend_get_use_type_str(type), ZSTR_VAL(old_name), ZSTR_VAL(new_name)); in zend_check_already_in_use()
6567 zend_string *old_name = zend_ast_get_str(old_name_ast); in zend_compile_use() local
6575 if (zend_get_unqualified_name(old_name, &unqualified_name, &unqualified_name_len)) { in zend_compile_use()
6579 new_name = zend_string_copy(old_name); in zend_compile_use()
6601 "is a special class name", ZSTR_VAL(old_name), ZSTR_VAL(new_name), ZSTR_VAL(new_name)); in zend_compile_use()
6611 zend_check_already_in_use(type, old_name, new_name, ns_name); in zend_compile_use()
6617 zend_check_already_in_use(type, old_name, new_name, lookup_name); in zend_compile_use()
6621 zend_string_addref(old_name); in zend_compile_use()
6622 old_name = zend_new_interned_string(old_name); in zend_compile_use()
[all …]
/PHP-7.2/ext/imap/
H A Dphp_imap.c213 ZEND_ARG_INFO(0, old_name)

Completed in 1187 milliseconds