new_path 814 ext/standard/basic_functions.c ZEND_ARG_INFO(0, new_path) new_path 5753 ext/standard/basic_functions.c char *path, *new_path; new_path 5765 ext/standard/basic_functions.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "sp", &path, &path_len, &new_path, &new_path_len) == FAILURE) { new_path 5773 ext/standard/basic_functions.c if (php_check_open_basedir(new_path)) { new_path 5777 ext/standard/basic_functions.c if (VCWD_RENAME(path, new_path) == 0) { new_path 5783 ext/standard/basic_functions.c ret = VCWD_CHMOD(new_path, 0666 & ~oldmask); new_path 5789 ext/standard/basic_functions.c } else if (php_copy_file_ex(path, new_path, STREAM_DISABLE_OPEN_BASEDIR) == SUCCESS) { new_path 5797 ext/standard/basic_functions.c php_error_docref(NULL, E_WARNING, "Unable to move '%s' to '%s'", path, new_path); new_path 820 ext/standard/http_fopen_wrapper.c char new_path[HTTP_HEADER_BLOCK_SIZE]; new_path 823 ext/standard/http_fopen_wrapper.c *new_path='\0'; new_path 854 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 856 ext/standard/http_fopen_wrapper.c snprintf(new_path, sizeof(new_path) - 1, "%s://%s%s", resource->scheme, resource->host, loc_path); new_path 859 ext/standard/http_fopen_wrapper.c strlcpy(new_path, location, sizeof(new_path)); new_path 864 ext/standard/http_fopen_wrapper.c if ((resource = php_url_parse(new_path)) == NULL) { new_path 865 ext/standard/http_fopen_wrapper.c php_stream_wrapper_log_error(wrapper, options, "Invalid redirect URL! %s", new_path); new_path 877 ext/standard/http_fopen_wrapper.c php_stream_wrapper_log_error(wrapper, options, "Invalid redirect URL! %s", new_path); \ new_path 885 ext/standard/http_fopen_wrapper.c if (strncasecmp(new_path, "http://", sizeof("http://") - 1) || strncasecmp(new_path, "https://", sizeof("https://") - 1)) { new_path 890 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); new_path 140 win32/registry.c char *new_path = (char*)emalloc(path_len+max_key+2); new_path 150 win32/registry.c memcpy(new_path, path, path_len); new_path 151 win32/registry.c new_path[path_len] = '/'; new_path 152 win32/registry.c memcpy(new_path+path_len+1, name, name_len+1); new_path 153 win32/registry.c zend_str_tolower(new_path, path_len+name_len+1); new_path 156 win32/registry.c memcpy(new_path, name, name_len+1); new_path 157 win32/registry.c zend_str_tolower(new_path, name_len); new_path 159 win32/registry.c if (LoadDirectory(directories, subkey, new_path, name_len, ht)) { new_path 166 win32/registry.c efree(new_path);