Lines Matching refs:pathname
29 BOOL ensure_directory(char *pathname, char *new_part, NOTIFYPROC notify) in ensure_directory() argument
34 attr = GetFileAttributes(pathname); in ensure_directory()
37 if (!CreateDirectory(pathname, NULL) && notify) in ensure_directory()
39 "CreateDirectory (%s)", pathname); in ensure_directory()
41 notify(DIR_CREATED, pathname); in ensure_directory()
49 "CreateDirectory (%s)", pathname); in ensure_directory()
207 char pathname[MAX_PATH]; in unzip_archive() local
253 strcpy(pathname, dirname); in unzip_archive()
254 if (pathname[strlen(pathname)-1] != '\\') in unzip_archive()
255 strcat(pathname, "\\"); in unzip_archive()
256 new_part = &pathname[lstrlen(pathname)]; in unzip_archive()
271 strcat(pathname, scheme[i].prefix); in unzip_archive()
276 if ((pathname[strlen(pathname)-1] != '\\') in unzip_archive()
277 && (pathname[strlen(pathname)-1] != '/')) in unzip_archive()
278 strcat(pathname, "\\"); in unzip_archive()
288 strncat(pathname, rest, len); in unzip_archive()
293 strncat(pathname, fname, pfhdr->fname_length); in unzip_archive()
295 normpath(pathname); in unzip_archive()
296 if (pathname[strlen(pathname)-1] != '\\') { in unzip_archive()
304 dst = map_new_file(0, pathname, new_part, in unzip_archive()