• Home
  • Raw
  • Download

Lines Matching refs:path

31 ESR_ReturnCode PANSIFileSystemGetVirtualPathImpl(PFileSystem* self, LCHAR* path, size_t* len)  in PANSIFileSystemGetVirtualPathImpl()  argument
43 CHKLOG(rc, lstrtrim(path)); in PANSIFileSystemGetVirtualPathImpl()
44 CHKLOG(rc, PFileSystemCanonicalSlashes(path)); in PANSIFileSystemGetVirtualPathImpl()
45 CHKLOG(rc, PFileSystemIsAbsolutePath(path, &isAbsolute)); in PANSIFileSystemGetVirtualPathImpl()
46 if (isAbsolute && path[0] != L('/')) in PANSIFileSystemGetVirtualPathImpl()
49 driveLetter = path[0]; in PANSIFileSystemGetVirtualPathImpl()
50 LSTRCPY(path, path + 2); in PANSIFileSystemGetVirtualPathImpl()
56 if (LSTRSTR(path, value)==path) in PANSIFileSystemGetVirtualPathImpl()
72 PLogError(L("PANSIFileSystem does not handle the specified path: %s"), path); in PANSIFileSystemGetVirtualPathImpl()
77 LSTRCPY(path, path + LSTRLEN(bestValue)); in PANSIFileSystemGetVirtualPathImpl()
79 CHKLOG(rc, lstrinsert(bestKey, path, 0, len)); in PANSIFileSystemGetVirtualPathImpl()
84 CHKLOG(rc, lstrinsert(L("X:/"), path, LSTRLEN(bestKey), len)); in PANSIFileSystemGetVirtualPathImpl()
85 path[LSTRLEN(bestKey)] = driveLetter; in PANSIFileSystemGetVirtualPathImpl()
91 ESR_ReturnCode PANSIFileSystemMkdirImpl(PFileSystem* self, const LCHAR* path) in PANSIFileSystemMkdirImpl() argument
97 passert(path!=NULL); in PANSIFileSystemMkdirImpl()
98 LSTRCPY(realPath, path); in PANSIFileSystemMkdirImpl()
120 ESR_ReturnCode PANSIFileSystemGetcwdImpl(PFileSystem* self, LCHAR* path, size_t* len) in PANSIFileSystemGetcwdImpl() argument
124 if (path==NULL) in PANSIFileSystemGetcwdImpl()
130 if (getcwd(path, *len) == NULL) in PANSIFileSystemGetcwdImpl()
144 CHKLOG(rc, PANSIFileSystemGetVirtualPathImpl(self, path, len)); in PANSIFileSystemGetcwdImpl()
150 ESR_ReturnCode PANSIFileSystemChdirImpl(PFileSystem* self, const LCHAR* path) in PANSIFileSystemChdirImpl() argument
156 passert(path!=NULL); in PANSIFileSystemChdirImpl()
157 LSTRCPY(realPath, path); in PANSIFileSystemChdirImpl()
161 if ((*path != '\0') && (chdir(realPath) != 0)) in PANSIFileSystemChdirImpl()