/reactos/modules/rosapps/applications/net/ncftp/ncftp/ |
H A D | bookmark.c | 277 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 D | trace.c | 112 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 D | pref.c | 558 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 D | preffw.c | 271 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 D | readln.c | 608 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 D | fcb.c | 397 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 D | util.c | 963 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 D | ncftp.h | 589 int FilenameExtensionIndicatesASCII(const char *const pathName, const char *const extnList);
|
H A D | io.c | 565 AutomaticallyUseASCIIModeDependingOnExtension(const FTPCIPtr cip, const char *const pathName, int *… in AutomaticallyUseASCIIModeDependingOnExtension() argument 568 if (FilenameExtensionIndicatesASCII(pathName, cip->asciiFilenameExtensions)) { in AutomaticallyUseASCIIModeDependingOnExtension()
|