Home
last modified time | relevance | path

Searched refs:aPath (Results 1 - 3 of 3) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/io/dev/
H A DFileMonitor.cpp38 void formatPath(std::string& aPath, bool isDirectory) in formatPath() argument
40 size_t length = aPath.length(); in formatPath()
43 std::replace(aPath.begin(), aPath.end(), '\\', '/'); in formatPath()
46 if (aPath.length() > 0 && isDirectory) { in formatPath()
47 if (aPath[length - 1] != '/') in formatPath()
48 aPath += '/'; in formatPath()
52 std::string resolveAbsolutePath(const std::string& aPath, bool isDirectory) in resolveAbsolutePath() argument
58 std::filesystem::path path = std::filesystem::canonical(aPath, ec); in resolveAbsolutePath()
64 auto ret = GetFullPathNameA(aPath in resolveAbsolutePath()
102 recursivelyCollectAllFiles(const std::string& aPath, std::vector<std::string>& aFiles) recursivelyCollectAllFiles() argument
176 addPath(const std::string& aPath) addPath() argument
199 removePath(const std::string& aPath) removePath() argument
223 addFile(const std::string& aPath) addFile() argument
245 removeFile(const std::string& aPath) removeFile() argument
256 isWatchingDirectory(const std::string& aPath) isWatchingDirectory() argument
268 isWatchingSubDirectory(const std::string& aPath) isWatchingSubDirectory() argument
[all...]
H A DFileMonitor.h33 @param aPath Path to directory that is being monitored, such as 'x:/images/' or './images'.
36 bool addPath(const std::string &aPath);
39 @param aPath Path to directory to be no longer monitored.
42 bool removePath(const std::string &aPath);
60 bool addFile(const std::string &aPath);
61 bool removeFile(const std::string &aPath);
63 bool isWatchingDirectory(const std::string &aPath);
64 bool isWatchingSubDirectory(const std::string &aPath);
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/lume/log/
H A DLoggerOutput.cpp50 std::string getFilename(const std::string &aPath) in getFilename() argument
52 for (int i = static_cast<int>(aPath.size()) - 1; i >= 0 ; --i) in getFilename()
55 if (aPath[index] == '\\' || aPath[index] == '/') { in getFilename()
56 return aPath.substr(index + 1); in getFilename()
59 return aPath; in getFilename()

Completed in 2 milliseconds