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

/PHP_5_6/ext/zip/lib/
H A Dzip_file_rename.c47 const char *old_name;
60 if ((old_name=zip_get_name(za, idx, 0)) == NULL)
64 old_is_dir = (old_name[strlen(old_name)-1] == '/');
45 const char *old_name; local
/PHP_5_6/ext/standard/
H A Dfile.c1439 /* {{{ proto bool rename(string old_name, string new_name[, resource context])
1443 char *old_name, *new_name; local
1449 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp|r", &old_name, &old_name_len, &new_name, &new_name_len, &zcontext) == FAILURE) {
1453 wrapper = php_stream_locate_url_wrapper(old_name, NULL, 0 TSRMLS_CC);
1472 RETURN_BOOL(wrapper->wops->rename(wrapper, old_name, new_name, 0, context TSRMLS_CC));

Completed in 20 milliseconds