Home
last modified time | relevance | path

Searched refs:realPath (Results 1 - 4 of 4) sorted by relevance

/commonlibrary/c_utils/base/include/
H A Ddirectory_ex.h36 bool RustPathToRealPath(const rust::String& path, rust::String& realPath);
165 bool PathToRealPath(const std::string& path, std::string& realPath);
/commonlibrary/c_utils/base/src/
H A Ddirectory_ex.cpp69 bool RustPathToRealPath(const rust::String& path, rust::String& realPath) in RustPathToRealPath() argument
75 realPath = tmpResolved; in RustPathToRealPath()
416 bool PathToRealPath(const string& path, string& realPath) in PathToRealPath() argument
434 realPath = tmpPath; in PathToRealPath()
435 if (access(realPath.c_str(), F_OK) != 0) { in PathToRealPath()
436 UTILS_LOGE("check realpath (%{private}s) error: %{public}s", realPath.c_str(), strerror(errno)); in PathToRealPath()
H A Dfile_ex.cpp260 string realPath; in LoadBufferFromNodeFile() local
261 if (!PathToRealPath(filePath, realPath)) { in LoadBufferFromNodeFile()
262 UTILS_LOGD("filePath to realPath failed! filePath:%{private}s", filePath.c_str()); in LoadBufferFromNodeFile()
266 FILE *fp = fopen(realPath.c_str(), "r"); in LoadBufferFromNodeFile()
268 UTILS_LOGD("open file failed! filePath:%{private}s", realPath.c_str()); in LoadBufferFromNodeFile()
/commonlibrary/c_utils/base/src/rust/
H A Ddirectory_ex.rs98 pub fn RustPathToRealPath(path: &String, realPath: &mut String) -> bool; in RustPathToRealPath()

Completed in 2 milliseconds