Lines Matching refs:pathname
28 BOOL ensure_directory(char *pathname, char *new_part, NOTIFYPROC notify) in ensure_directory() argument
33 attr = GetFileAttributes(pathname); in ensure_directory()
36 if (!CreateDirectory(pathname, NULL) && notify) in ensure_directory()
38 "CreateDirectory (%s)", pathname); in ensure_directory()
40 notify(DIR_CREATED, pathname); in ensure_directory()
48 "CreateDirectory (%s)", pathname); in ensure_directory()
206 char pathname[MAX_PATH]; in unzip_archive() local
252 strcpy(pathname, dirname); in unzip_archive()
253 if (pathname[strlen(pathname)-1] != '\\') in unzip_archive()
254 strcat(pathname, "\\"); in unzip_archive()
255 new_part = &pathname[lstrlen(pathname)]; in unzip_archive()
270 strcat(pathname, scheme[i].prefix); in unzip_archive()
275 if ((pathname[strlen(pathname)-1] != '\\') in unzip_archive()
276 && (pathname[strlen(pathname)-1] != '/')) in unzip_archive()
277 strcat(pathname, "\\"); in unzip_archive()
287 strncat(pathname, rest, len); in unzip_archive()
292 strncat(pathname, fname, pfhdr->fname_length); in unzip_archive()
294 normpath(pathname); in unzip_archive()
295 if (pathname[strlen(pathname)-1] != '\\') { in unzip_archive()
303 dst = map_new_file(0, pathname, new_part, in unzip_archive()