Home
last modified time | relevance | path

Searched refs:AdaptLongPath (Results 1 – 3 of 3) sorted by relevance

/developtools/global_resource_tool/src/
Dfile_entry.cpp67 HANDLE handle = FindFirstFile(AdaptLongPath(temp).c_str(), &findData); in GetChilds()
116 return PathFileExists(AdaptLongPath(path).c_str()); in Exist()
148 if (!CopyFile(AdaptLongPath(src).c_str(), AdaptLongPath(dst).c_str(), false)) { in CopyFileInner()
167 if (!PathIsDirectory(AdaptLongPath(path).c_str())) { in IsDirectory()
292 bool result = remove(AdaptLongPath(path).c_str()) == 0; in RemoveAllDirInner()
309 bool result = rmdir(AdaptLongPath(path).c_str()) == 0; in RemoveAllDirInner()
325 return CreateDirectory(AdaptLongPath(path).c_str(), nullptr) != 0; in CreateDirsInner()
334 if (!CreateDirectory(AdaptLongPath(subPath).c_str(), nullptr)) { in CreateDirsInner()
369 string FileEntry::AdaptLongPath(const string &path) in CreateDirsInner() function in OHOS::Global::Restool::FileEntry
Dresource_util.cpp75 ifstream ifs(FileEntry::AdaptLongPath(path), ios::binary); in OpenJsonFile()
101 ofstream out(FileEntry::AdaptLongPath(path), ofstream::out | ofstream::binary); in SaveToJsonFile()
/developtools/global_resource_tool/include/
Dfile_entry.h60 static std::string AdaptLongPath(const std::string &path);