Home
last modified time | relevance | path

Searched refs:pathName (Results 1 – 9 of 9) sorted by relevance

/reactos/modules/rosapps/applications/net/ncftp/ncftp/
H A Dbookmark.c277 char pathName[256], path2[256]; in OpenBookmarkFile() local
286 (void) OurDirectoryPath(pathName, sizeof(pathName), kBookmarkFileName); in OpenBookmarkFile()
300 (void) _chmod(pathName, 00600); in OpenBookmarkFile()
321 (void) rename(pathName, path2); in OpenBookmarkFile()
645 char pathName[256], path2[256]; in SwapBookmarkFiles() local
648 (void) OurDirectoryPath(pathName, sizeof(pathName), kTmpBookmarkFileName); in SwapBookmarkFiles()
670 char pathName[256], path2[256]; in OpenTmpBookmarkFile() local
676 (void) OurDirectoryPath(pathName, sizeof(pathName), kTmpBookmarkFileName); in OpenTmpBookmarkFile()
683 perror(pathName); in OpenTmpBookmarkFile()
690 perror(pathName); in OpenTmpBookmarkFile()
[all …]
H A Dtrace.c112 char pathName[256]; in OpenTrace() local
124 (void) OurDirectoryPath(pathName, sizeof(pathName), tName); in OpenTrace()
126 fp = fopen(pathName, FOPEN_WRITE_TEXT); in OpenTrace()
128 (void) _chmod(pathName, 00600); in OpenTrace()
161 char pathName[256]; in CloseTrace() local
169 (void) OurDirectoryPath(pathName, sizeof(pathName), tName); in CloseTrace()
177 (void) rename(pathName, pathName2); in CloseTrace()
H A Dpref.c558 char pathName[256]; in LoadPrefs() local
580 (void) OurDirectoryPath(pathName, sizeof(pathName), kPrefFileName); in LoadPrefs()
582 fp = fopen(pathName, FOPEN_READ_TEXT); in LoadPrefs()
589 (void) OurDirectoryPath(pathName, sizeof(pathName), kPrefFileNameV2); in LoadPrefs()
590 fp = fopen(pathName, FOPEN_READ_TEXT); in LoadPrefs()
697 char pathName[256]; in SavePrefs() local
706 (void) OurDirectoryPath(pathName, sizeof(pathName), kPrefFileName); in SavePrefs()
724 (void) unlink(pathName); in SavePrefs()
725 if (rename(pathName2, pathName) < 0) { in SavePrefs()
742 char pathName[256]; in CheckForNewV3User() local
[all …]
H A Dpreffw.c271 char pathName[256]; in LoadFirewallPrefs() local
282 (void) OurDirectoryPath(pathName, sizeof(pathName), kFirewallPrefFileName); in LoadFirewallPrefs()
300 fp = fopen(pathName, FOPEN_READ_TEXT); in LoadFirewallPrefs()
320 fp = fopen(pathName, FOPEN_WRITE_TEXT); in LoadFirewallPrefs()
324 (void) _chmod(pathName, 00600); in LoadFirewallPrefs()
H A Dreadln.c608 char pathName[256]; in LoadHistory() local
612 (void) OurDirectoryPath(pathName, sizeof(pathName), kHistoryFileName); in LoadHistory()
614 gl_histloadfile(pathName); in LoadHistory()
644 char pathName[256]; in SaveHistory() local
648 (void) OurDirectoryPath(pathName, sizeof(pathName), kHistoryFileName); in SaveHistory()
651 gl_histsavefile(pathName); in SaveHistory()
652 (void) _chmod(pathName, 00600); in SaveHistory()
/reactos/drivers/filesystems/ntfs/
H A Dfcb.c397 WCHAR pathName[MAX_PATH]; in NtfsMakeFCBFromDirEntry() local
419 wcscpy(pathName, DirectoryFCB->PathName); in NtfsMakeFCBFromDirEntry()
422 wcscat(pathName, L"\\"); in NtfsMakeFCBFromDirEntry()
424 wcscat(pathName, Name->Buffer); in NtfsMakeFCBFromDirEntry()
429 pathName[FileName->NameLength] = UNICODE_NULL; in NtfsMakeFCBFromDirEntry()
434 rcFCB = NtfsCreateFCB(pathName, Stream, Vcb); in NtfsMakeFCBFromDirEntry()
610 WCHAR pathName [MAX_PATH]; in NtfsGetFCBForFile() local
643 wcscpy (pathName, L"\\"); in NtfsGetFCBForFile()
685 NtfsWSubString(pathName, in NtfsGetFCBForFile()
688 DPRINT(" pathName:%S\n", pathName); in NtfsGetFCBForFile()
[all …]
/reactos/modules/rosapps/applications/net/ncftp/libncftp/
H A Dutil.c963 FilenameExtensionIndicatesASCII(const char *const pathName, const char *const extnList) in FilenameExtensionIndicatesASCII() argument
970 extn = pathName + strlen(pathName) - 1; in FilenameExtensionIndicatesASCII()
972 if (extn <= pathName) in FilenameExtensionIndicatesASCII()
H A Dncftp.h589 int FilenameExtensionIndicatesASCII(const char *const pathName, const char *const extnList);
H A Dio.c565 AutomaticallyUseASCIIModeDependingOnExtension(const FTPCIPtr cip, const char *const pathName, int *… in AutomaticallyUseASCIIModeDependingOnExtension() argument
568 if (FilenameExtensionIndicatesASCII(pathName, cip->asciiFilenameExtensions)) { in AutomaticallyUseASCIIModeDependingOnExtension()