Home
last modified time | relevance | path

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 Ddocument_store_manager.cpp55 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 Dstd_filesystem.cpp200 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 Dstd_file.cpp111 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 Dmock_directory_ex_test.cpp97 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 Ddocument_store_manager.h33 static int CheckDBPath(const std::string &path, std::string &canonicalPath, std::string &dbName);
/foundation/multimedia/image_framework/plugins/manager/src/framework/
H A Dplugin_mgr.h37 uint32_t TraverseFiles(const std::string &canonicalPath);
H A Dplugin_mgr.cpp85 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 Dplugin_server.cpp170 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 Dplugin_server.h189 PluginFWType AnalyzeFWType(const std::string &canonicalPath);
/foundation/distributedhardware/distributed_input/common/include/
H A Dinput_hub.cpp1668 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