Home
last modified time | relevance | path

Searched defs:path (Results 1 – 25 of 230) sorted by relevance

12345678910

/base/accessibility/frameworks/asacfwk/test/unittest/
Dgesture_simulation_test.cpp215 …shared_ptr<GesturePathDefine> path = make_shared<GesturePathDefine>(startPosition, endPosition, du… variable
234 …shared_ptr<GesturePathDefine> path = make_shared<GesturePathDefine>(startPosition, endPosition, du… variable
250 GesturePathDefine path {}; variable
265 GesturePathDefine path {}; variable
280 GesturePathDefine path {}; variable
302 GesturePathDefine path {}; variable
325 GesturePathDefine path {}; variable
344 GesturePathDefine path {}; variable
363 GesturePathDefine path {}; variable
380 GesturePathDefine path {}; variable
[all …]
/base/account/os_account/services/accountmgr/src/
Daccount_file_operator.cpp33 ErrCode AccountFileOperator::CreateDir(const std::string &path) in CreateDir()
51 ErrCode AccountFileOperator::DeleteDirOrFile(const std::string &path) in DeleteDirOrFile()
67 ErrCode AccountFileOperator::InputFileByPathAndContent(const std::string &path, const std::string &… in InputFileByPathAndContent()
90 ErrCode AccountFileOperator::GetFileContentByPath(const std::string &path, std::string &content) in GetFileContentByPath()
108 bool AccountFileOperator::IsExistFile(const std::string &path) in IsExistFile()
122 bool AccountFileOperator::IsJsonFormat(const std::string &path) in IsJsonFormat()
137 bool AccountFileOperator::IsExistDir(const std::string &path) in IsExistDir()
/base/hiviewdfx/hiview/adapter/utility/platform/ohos/
Dfile_util.cpp83 std::string IncludeTrailingPathDelimiter(const std::string& path) in IncludeTrailingPathDelimiter()
88 std::string ExcludeTrailingPathDelimiter(const std::string& path) in ExcludeTrailingPathDelimiter()
93 void GetDirFiles(const std::string& path, std::vector<std::string>& files) in GetDirFiles()
98 bool ForceCreateDirectory(const std::string& path) in ForceCreateDirectory()
103 bool ForceCreateDirectory(const string& path, mode_t mode) in ForceCreateDirectory()
118 bool ForceRemoveDirectory(const std::string& path, bool isNeedDeleteGivenDirSelf) in ForceRemoveDirectory()
123 uint64_t GetFileSize(const std::string& path) in GetFileSize()
134 uint64_t GetFolderSize(const std::string& path) in GetFolderSize()
154 bool ChangeModeDirectory(const std::string& path, const mode_t& mode) in ChangeModeDirectory()
159 bool PathToRealPath(const std::string& path, std::string& realPath) in PathToRealPath()
[all …]
/base/accessibility/services/test/mock/distributeddatamgr/src/
Dmock_preferences_helper.cpp23 std::string PreferencesHelper::GetRealPath(const std::string &path, int &errorCode) in GetRealPath()
28 std::shared_ptr<Preferences> PreferencesHelper::GetPreferences(const std::string &path, int &errCod… in GetPreferences()
33 int PreferencesHelper::DeletePreferences(const std::string &path) in DeletePreferences()
38 int PreferencesHelper::RemovePreferencesFromCache(const std::string &path) in RemovePreferencesFromCache()
/base/hiviewdfx/faultloggerd/utils/
Ddirectory_ex.cpp59 string ExcludeTrailingPathDelimiter(const std::string& path) in ExcludeTrailingPathDelimiter()
72 string IncludeTrailingPathDelimiter(const std::string& path) in IncludeTrailingPathDelimiter()
81 void GetDirFiles(const string& path, vector<string>& files) in GetDirFiles()
108 bool ForceCreateDirectory(const string& path) in ForceCreateDirectory()
130 bool ForceRemoveDirectory(const string& path) in ForceRemoveDirectory()
182 bool IsEmptyFolder(const string& path) in IsEmptyFolder()
189 uint64_t GetFolderSize(const string& path) in GetFolderSize()
219 bool ChangeModeDirectory(const string& path, const mode_t& mode) in ChangeModeDirectory()
260 bool PathToRealPath(const string& path, string& realPath) in PathToRealPath()
/base/hiviewdfx/hiview/adapter/utility/platform/windows/
Dfile_util.cpp39 std::string IncludeTrailingPathDelimiter(const std::string& path) in IncludeTrailingPathDelimiter()
44 std::string ExcludeTrailingPathDelimiter(const std::string& path) in ExcludeTrailingPathDelimiter()
55 int Open(const std::string& path, const int flags, const mode_t mode) in Open()
61 void CreateDirWithDefaultPerm(const std::string& path, uid_t aidRoot, uid_t aidSystem) in CreateDirWithDefaultPerm()
66 void FormatPath2UnixStyle(std::string &path) in FormatPath2UnixStyle()
71 void RemoveFolderBeginWith(const std::string &path, const std::string &folderName) in RemoveFolderBeginWith()
/base/security/selinux/interfaces/policycoreutils/src/
Drestorecon.c20 int Restorecon(const char *path) in Restorecon()
25 int RestoreconRecurse(const char *path) in RestoreconRecurse()
/base/security/huks/utils/file_operator/
Dhks_file_operator.c34 static int32_t GetFileName(const char *path, const char *fileName, char *fullFileName, uint32_t ful… in GetFileName()
59 static int32_t GetFullFileName(const char *path, const char *fileName, char **fullFileName) in GetFullFileName()
217 int32_t HksFileRemove(const char *path, const char *fileName) in HksFileRemove()
234 int32_t HksIsFileExist(const char *path, const char *fileName) in HksIsFileExist()
251 int32_t HksIsDirExist(const char *path) in HksIsDirExist()
259 int32_t HksMakeDir(const char *path) in HksMakeDir()
276 void *HksOpenDir(const char *path) in HksOpenDir()
308 int32_t HksGetStoragePath(enum HksStoragePathType pathType, char *path, uint32_t *len) in HksGetStoragePath()
368 int32_t HksDeletDirPartTwo(const char *path) in HksDeletDirPartTwo()
406 int32_t HksDeletDirPartOne(const char *path) in HksDeletDirPartOne()
[all …]
Dhks_file_operator_lite.c45 static int32_t GetFileName(const char *path, const char *fileName, char *fullFileName, uint32_t ful… in GetFileName()
70 static int32_t GetFullFileName(const char *path, const char *fileName, char **fullFileName) in GetFullFileName()
183 int32_t HksIsDirExist(const char *path) in HksIsDirExist()
191 int32_t HksMakeDir(const char *path) in HksMakeDir()
196 void *HksOpenDir(const char *path) in HksOpenDir()
228 int32_t HksGetStoragePath(enum HksStoragePathType pathType, char *path, uint32_t *len) in HksGetStoragePath()
379 uint32_t HksFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uint32_… in HksFileRead()
396 int32_t HksFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *buf, u… in HksFileWrite()
413 uint32_t HksFileSize(const char *path, const char *fileName) in HksFileSize()
430 int32_t HksIsFileExist(const char *path, const char *fileName) in HksIsFileExist()
[all …]
/base/security/huks/services/huks_standard/huks_service/main/test/unittest/src/
Dhks_storage_file_lock_test.cpp33 std::string path = "/test/test"; variable
52 std::string path = pathBase + std::to_string(i); variable
66 std::string path = "/test/test"; variable
88 std::string path = "/test/test"; variable
/base/hiviewdfx/hiview/adapter/utility/
Dfile_util.cpp189 void GetDirFiles(const std::string& path, std::vector<std::string>& files) in GetDirFiles()
199 bool ForceCreateDirectory(const std::string& path) in ForceCreateDirectory()
211 bool ForceCreateDirectory(const std::string& path, int mode) in ForceCreateDirectory()
219 bool ForceRemoveDirectory(const std::string& path, bool isNeedDeleteGivenDirSelf) in ForceRemoveDirectory()
233 uint64_t GetFileSize(const std::string& path) in GetFileSize()
239 uint64_t GetFolderSize(const std::string& path) in GetFolderSize()
254 int CreateFile(const std::string &path, mode_t mode) in CreateFile()
290 bool IsDirectory(const std::string &path) in IsDirectory()
330 std::string GetParentDir(const std::string &path) in GetParentDir()
353 bool ChangeModeDirectory(const string& path, const mode_t& mode) in ChangeModeDirectory()
[all …]
/base/hiviewdfx/hiview/build/
Dplugin_build.json4 "path": "core", string
8 "path": "plugins/eventservice", string
12 "path": "plugins/faultlogger", string
16 "path": "plugins/eventlogger", string
20 "path": "plugins/freeze_detector", string
24 "path": "plugins/hicollie_collector", string
/base/hiviewdfx/hiview/adapter/utility/platform/linux/
Dfile_util.cpp37 std::string IncludeTrailingPathDelimiter(const std::string& path) in IncludeTrailingPathDelimiter()
42 std::string ExcludeTrailingPathDelimiter(const std::string& path) in ExcludeTrailingPathDelimiter()
61 int Open(const std::string& path, const int flags, const mode_t mode) in Open()
66 void CreateDirWithDefaultPerm(const std::string& path, uid_t aidRoot, uid_t aidSystem) in CreateDirWithDefaultPerm()
/base/update/updater/services/applypatch/
Dstore.cpp45 std::string path; in FreeStore() local
54 int32_t Store::CreateNewSpace(const std::string &path, bool needClear) in CreateNewSpace()
90 std::string path = pathTmp + fileName; in WriteDataToStore() local
116 std::string path = dirPath; in LoadDataFromStore() local
/base/security/deviceauth/deps_adapter/os_adapter/impl/src/liteos/mini/
Dhc_file.c33 static int HcFileOpenRead(const char *path) in HcFileOpenRead()
40 static int HcFileOpenWrite(const char *path) in HcFileOpenWrite()
47 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen()
110 void HcFileRemove(const char *path) in HcFileRemove()
120 void HcFileGetSubFileName(const char *path, StringVector *nameVec) in HcFileGetSubFileName()
/base/hiviewdfx/faultloggerd/common/util/
Ddfx_cutil.c39 bool ReadStringFromFile(const char* path, char* dst, size_t dstSz) in ReadStringFromFile()
81 char path[NAME_LEN]; in GetThreadName() local
91 char path[NAME_LEN]; in GetProcessName() local
Dmusl_cutil.h39 bool ReadStringFromFile(const char* path, char* dst, size_t dstSz) in ReadStringFromFile()
79 char path[NAME_LEN]; in GetThreadName() local
89 char path[NAME_LEN]; in GetProcessName() local
/base/hiviewdfx/faultloggerd/services/
Dfault_logger_config.cpp29 FaultLoggerConfig::FaultLoggerConfig(const int number, const long size, const std::string& path, co… in FaultLoggerConfig()
77 bool FaultLoggerConfig::SetLogFilePath(const std::string& path) in SetLogFilePath()
92 bool FaultLoggerConfig::SetDebugLogFilePath(const std::string& path) in SetDebugLogFilePath()
/base/security/huks/interfaces/innerkits/huks_standard/test/unittest/src/
Dhks_test_file_operator.c34 static int32_t GetFileName(const char *path, const char *fileName, char *fullFileName, uint32_t ful… in GetFileName()
59 static int32_t GetFullFileName(const char *path, const char *fileName, char **fullFileName) in GetFullFileName()
174 int32_t HksIsFileExist(const char *path, const char *fileName) in HksIsFileExist()
191 uint32_t HksFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uint32_… in HksFileRead()
208 int32_t HksFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *buf, u… in HksFileWrite()
225 uint32_t HksFileSize(const char *path, const char *fileName) in HksFileSize()
/base/security/deviceauth/deps_adapter/os_adapter/impl/src/linux/
Dhc_file.c65 static FILE *HcFileOpenRead(const char *path) in HcFileOpenRead()
70 static FILE *HcFileOpenWrite(const char *path) in HcFileOpenWrite()
81 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen()
167 void HcFileRemove(const char *path) in HcFileRemove()
176 void HcFileGetSubFileName(const char *path, StringVector *nameVec) in HcFileGetSubFileName()
/base/update/updater/services/fs_manager/
Dmount.cpp44 MountStatus GetMountStatusForPath(const std::string &path) in GetMountStatusForPath()
84 int UmountForPath(const std::string& path) in UmountForPath()
108 int MountForPath(const std::string &path) in MountForPath()
130 int FormatPartition(const std::string &path) in FormatPartition()
/base/miscservices/time/utils/native/src/
Dtime_file_utils.cpp29 bool TimeFileUtils::IsExistDir(const char *path) in IsExistDir()
82 bool TimeFileUtils::RemoveFile(const char *path) in RemoveFile()
150 bool TimeFileUtils::IsValidPath(const std::string &rootDir, const std::string &path) in IsValidPath()
162 std::string TimeFileUtils::GetPathDir(const std::string &path) in GetPathDir()
/base/update/updater/interfaces/kits/misc_info/
Dmisc_info.cpp24 bool WriteUpdaterMessage(const std::string &path, const UpdateMessage &boot) in WriteUpdaterMessage()
40 bool ReadUpdaterMessage(const std::string &path, UpdateMessage &boot) in ReadUpdaterMessage()
/base/security/huks/test/unittest/src/common/
Dhks_test_file_operator.c43 static int32_t GetFileName(const char *path, const char *fileName, char *fullFileName, uint32_t ful… in GetFileName()
68 static int32_t GetFullFileName(const char *path, const char *fileName, char **fullFileName) in GetFullFileName()
184 int32_t HksIsFileExist(const char *path, const char *fileName) in HksIsFileExist()
275 int32_t HksTestFileRemove(const char *path, const char *fileName) in HksTestFileRemove()
287 uint32_t HksTestFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uin… in HksTestFileRead()
304 int32_t HksTestFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *bu… in HksTestFileWrite()
321 uint32_t HksTestFileSize(const char *path, const char *fileName) in HksTestFileSize()
/base/hiviewdfx/hidumper/frameworks/native/
Ddump_utils.cpp86 char path[PATH_MAX] = {0}; in FdToRead() local
116 char path[PATH_MAX] = {0}; in FdToWrite() local
144 char path[PATH_MAX] = {0}; in CheckProcessAlive() local
197 bool DumpUtils::DirectoryExists(const std::string &path) in DirectoryExists()
206 bool DumpUtils::PathIsValid(const std::string &path) in PathIsValid()

12345678910