Home
last modified time | relevance | path

Searched refs:pathIn (Results 1 - 13 of 13) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dpath_tools.cpp158 void SplitPath(string_view pathIn, string_view& drive, string_view& path, string_view& filename, string_view& ext) in SplitPath() argument
161 if (pathIn[0] == '/') { in SplitPath()
163 if (pathIn[2] == ':') { // 2: index of ':' in SplitPath()
166 pathIn = pathIn.substr(1); in SplitPath()
170 if (pathIn[1] == ':') { in SplitPath()
171 drive = pathIn.substr(0, 1); in SplitPath()
172 pathIn = pathIn.substr(2); // 2: remove the drive part in SplitPath()
174 auto lastSlash = pathIn in SplitPath()
[all...]
H A Dstd_filesystem.cpp62 string StdFilesystem::ValidatePath(const string_view pathIn) const in ValidatePath()
64 auto path = NormalizePath(pathIn); in ValidatePath()
88 IFile::Ptr StdFilesystem::OpenFile(const string_view pathIn) in OpenFile() argument
90 auto path = ValidatePath(pathIn); in OpenFile()
97 IFile::Ptr StdFilesystem::CreateFile(const string_view pathIn) in CreateFile() argument
99 auto path = ValidatePath(pathIn); in CreateFile()
107 bool StdFilesystem::DeleteFile(const string_view pathIn) in DeleteFile() argument
109 auto path = ValidatePath(pathIn); in DeleteFile()
121 IDirectory::Ptr StdFilesystem::OpenDirectory(const string_view pathIn) in OpenDirectory() argument
123 auto path = ValidatePath(pathIn); in OpenDirectory()
131 CreateDirectory(const string_view pathIn) CreateDirectory() argument
141 DeleteDirectory(const string_view pathIn) DeleteDirectory() argument
[all...]
H A Dfilesystem_api.cpp126 string_view pathIn = inPathRaw; in ResolvePath() local
128 if (pathIn.find("\\") != string_view::npos) { in ResolvePath()
129 tmp = pathIn; in ResolvePath()
131 pathIn = tmp; in ResolvePath()
138 SplitPath(pathIn, drive, path, filename, ext); in ResolvePath()
H A Dpath_tools.h46 * Splits "pathIn", to it's components. accepts "/C:/" and "C:/".
48 void SplitPath(BASE_NS::string_view pathIn, BASE_NS::string_view& drive, BASE_NS::string_view& path,
H A Dfile_manager.cpp50 string FileManager::FixPath(string_view pathIn) const in FixPath()
54 if (ParseUri(pathIn, protocol, path)) { in FixPath()
95 return string(pathIn); in FixPath()
H A Dfile_manager.h76 BASE_NS::string FixPath(BASE_NS::string_view pathIn) const;
H A Dstd_directory.cpp242 string StdDirectory::ResolveAbsolutePath(const string_view pathIn, bool isDirectory) in ResolveAbsolutePath() argument
245 auto path = pathIn; in ResolveAbsolutePath()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/mac/
H A Dplatform_mac.cpp42 string_view pathIn = pathRaw; in PlatformMac()
44 if (pathIn.find("\\") != string_view::npos) { in PlatformMac()
45 tmp = pathIn; in PlatformMac()
47 pathIn = tmp; in PlatformMac()
53 if (pathIn.empty()) { in PlatformMac()
56 if (pathIn[0] != '/') { in PlatformMac()
58 normalizedPath = NormalizePath(curPath + pathIn); in PlatformMac()
60 normalizedPath = NormalizePath(pathIn); in PlatformMac()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/linux/
H A Dplatform_linux.cpp41 string_view pathIn = pathRaw; in PlatformLinux()
43 if (pathIn.find("\\") != string_view::npos) { in PlatformLinux()
44 tmp = pathIn; in PlatformLinux()
46 pathIn = tmp; in PlatformLinux()
50 string_view path = pathIn; in PlatformLinux()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/windows/
H A Dplatform_windows.cpp51 string_view pathIn = pathRaw; in PlatformWindows()
53 if (pathIn.find("\\") != string_view::npos) { in PlatformWindows()
54 tmp = pathIn; in PlatformWindows()
56 pathIn = tmp; in PlatformWindows()
63 SplitPath(pathIn, drive, path, filename, ext); in PlatformWindows()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/
H A Dohos_filesystem.cpp47 string OhosFilesystem::ValidatePath(const string_view pathIn) const in ValidatePath()
49 auto path = NormalizePath(pathIn); in ValidatePath()
111 IDirectory::Ptr OhosFilesystem::OpenDirectory(BASE_NS::string_view pathIn) in OpenDirectory() argument
113 auto path = ValidatePath(pathIn); in OpenDirectory()
H A Dohos_filesystem.h59 BASE_NS::string ValidatePath(const BASE_NS::string_view pathIn) const;
H A Dohos_file.cpp120 bool OhosFileDirectory::Open(const BASE_NS::string_view pathIn) in Open() argument
122 auto path = pathIn; in Open()

Completed in 7 milliseconds