Searched refs:canonicalPath (Results 1 - 10 of 10) sorted by relevance
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/src/ |
H A D | document_store_manager.cpp | 55 std::string canonicalPath; in GetDocumentStore() local 57 int errCode = CheckDBPath(path, canonicalPath, dbName); in GetDocumentStore() 80 std::string dbRealPath = canonicalPath + "/" + dbName; in GetDocumentStore() 128 int DocumentStoreManager::CheckDBPath(const std::string &path, std::string &canonicalPath, std::string &dbName) in CheckDBPath() argument 143 int errCode = OSAPI::GetRealPath(dirPath, canonicalPath); in CheckDBPath() 149 if (!OSAPI::CheckPathPermission(canonicalPath)) { in CheckDBPath()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | std_filesystem.cpp | 200 auto canonicalPath = std::filesystem::canonical(U8Path(uri), ec); in GetEntry() local 204 auto status = std::filesystem::status(canonicalPath, ec); in GetEntry() 208 auto time = std::filesystem::last_write_time(canonicalPath, ec); in GetEntry() 213 auto asString = canonicalPath.u8string(); in GetEntry() 224 char canonicalPath[CORE_MAX_PATH] = { 0 }; in GetEntry() 226 if (realpath(path.c_str(), canonicalPath) == nullptr) { in GetEntry() 230 if (stat(canonicalPath, &ds) != 0) { in GetEntry() 235 return { IDirectory::Entry::DIRECTORY, canonicalPath, static_cast<uint64_t>(ds.st_mtime) }; in GetEntry() 238 return { IDirectory::Entry::FILE, canonicalPath, static_cast<uint64_t>(ds.st_mtime) }; in GetEntry()
|
H A D | std_file.cpp | 111 auto canonicalPath = std::filesystem::canonical(U8Path(path), ec); in Open() local 116 if (std::filesystem::is_directory(canonicalPath)) { in Open() 120 if (auto stream = std::fstream(canonicalPath, OpenFileAccessMode(mode)); stream) { in Open() 124 char canonicalPath[CORE_MAX_PATH] = { 0 }; in Open() 125 if (realpath(string(path).c_str(), canonicalPath) == nullptr) { in Open() 129 if (auto stream = std::fstream(canonicalPath, OpenFileAccessMode(mode)); stream) { in Open() 145 auto canonicalPath = std::filesystem::weakly_canonical(U8Path(path), ec); in Create() local 150 if (auto stream = std::fstream(canonicalPath, CreateFileAccessMode(mode)); stream) { in Create()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | mock_directory_ex_test.cpp | 97 const string canonicalPath = "a";
in HWTEST_F() local 99 GetDirFiles(canonicalPath, strFiles);
in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/include/ |
H A D | document_store_manager.h | 33 static int CheckDBPath(const std::string &path, std::string &canonicalPath, std::string &dbName);
|
/foundation/multimedia/image_framework/plugins/manager/src/framework/ |
H A D | plugin_mgr.h | 37 uint32_t TraverseFiles(const std::string &canonicalPath);
|
H A D | plugin_mgr.cpp | 85 uint32_t PluginMgr::TraverseFiles(const string &canonicalPath) in TraverseFiles() argument 89 GetDirFiles(canonicalPath, strFiles); in TraverseFiles()
|
/foundation/multimedia/image_framework/plugins/manager/src/ |
H A D | plugin_server.cpp | 170 PluginFWType PluginServer::AnalyzeFWType(const string &canonicalPath) in AnalyzeFWType() argument 173 if (canonicalPath.find(platformAdp_.DIR_SEPARATOR + "gstreamer") != string::npos) { in AnalyzeFWType()
|
/foundation/multimedia/image_framework/plugins/manager/include/ |
H A D | plugin_server.h | 189 PluginFWType AnalyzeFWType(const std::string &canonicalPath);
|
/foundation/distributedhardware/distributed_input/common/include/ |
H A D | input_hub.cpp | 1668 char canonicalPath[PATH_MAX + 1] = {0x00}; in Enable() local 1670 if (path.length() == 0 || path.length() > PATH_MAX || realpath(path.c_str(), canonicalPath) == nullptr) { in Enable() 1674 fd = open(canonicalPath, O_RDWR | O_CLOEXEC | O_NONBLOCK); in Enable()
|
Completed in 6 milliseconds