new_path 827 ext/standard/basic_functions.c ZEND_ARG_INFO(0, new_path) new_path 5798 ext/standard/basic_functions.c char *path, *new_path; new_path 5810 ext/standard/basic_functions.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sp", &path, &path_len, &new_path, &new_path_len) == FAILURE) { new_path 5818 ext/standard/basic_functions.c if (php_check_open_basedir(new_path TSRMLS_CC)) { new_path 5822 ext/standard/basic_functions.c if (VCWD_RENAME(path, new_path) == 0) { new_path 5828 ext/standard/basic_functions.c ret = VCWD_CHMOD(new_path, 0666 & ~oldmask); new_path 5834 ext/standard/basic_functions.c } else if (php_copy_file_ex(path, new_path, STREAM_DISABLE_OPEN_BASEDIR TSRMLS_CC) == SUCCESS) { new_path 5842 ext/standard/basic_functions.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to move '%s' to '%s'", path, new_path); new_path 829 ext/standard/http_fopen_wrapper.c char new_path[HTTP_HEADER_BLOCK_SIZE]; new_path 832 ext/standard/http_fopen_wrapper.c *new_path='\0'; new_path 863 ext/standard/http_fopen_wrapper.c snprintf(new_path, sizeof(new_path) - 1, "%s://%s:%d%s", resource->scheme, resource->host, resource->port, loc_path); new_path 865 ext/standard/http_fopen_wrapper.c snprintf(new_path, sizeof(new_path) - 1, "%s://%s%s", resource->scheme, resource->host, loc_path); new_path 868 ext/standard/http_fopen_wrapper.c strlcpy(new_path, location, sizeof(new_path)); new_path 873 ext/standard/http_fopen_wrapper.c if ((resource = php_url_parse(new_path)) == NULL) { new_path 874 ext/standard/http_fopen_wrapper.c php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Invalid redirect URL! %s", new_path); new_path 886 ext/standard/http_fopen_wrapper.c php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Invalid redirect URL! %s", new_path); \ new_path 894 ext/standard/http_fopen_wrapper.c if (strncasecmp(new_path, "http://", sizeof("http://") - 1) || strncasecmp(new_path, "https://", sizeof("https://") - 1)) { new_path 899 ext/standard/http_fopen_wrapper.c stream = php_stream_url_wrap_http_ex(wrapper, new_path, mode, options, opened_path, context, --redirect_max, HTTP_WRAPPER_REDIRECTED STREAMS_CC TSRMLS_CC); new_path 131 win32/registry.c char *new_path = (char*)emalloc(path_len+max_key+2); new_path 141 win32/registry.c memcpy(new_path, path, path_len); new_path 142 win32/registry.c new_path[path_len] = '/'; new_path 143 win32/registry.c memcpy(new_path+path_len+1, name, name_len+1); new_path 144 win32/registry.c zend_str_tolower(new_path, path_len+name_len+1); new_path 147 win32/registry.c memcpy(new_path, name, name_len+1); new_path 148 win32/registry.c zend_str_tolower(new_path, name_len); new_path 150 win32/registry.c if (LoadDirectory(directories, subkey, new_path, name_len, ht)) { new_path 157 win32/registry.c efree(new_path);