Home
last modified time | relevance | path

Searched defs:dir (Results 1 – 25 of 74) sorted by relevance

123

/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_clean.cpp32 void CreateCleaners(const std::string& dir, std::vector<std::shared_ptr<AppEventCleaner>>& cleaners) in CreateCleaners()
38 uint64_t GetCurStorageSize(const std::string& dir) in GetCurStorageSize()
49 bool IsStorageSpaceFull(const std::string& dir, uint64_t maxSize) in IsStorageSpaceFull()
54 bool ReleaseSomeStorageSpace(const std::string& dir, uint64_t maxSize) in ReleaseSomeStorageSpace()
69 void ClearData(const std::string& dir) in ClearData()
Dhiappevent_config.cpp204 void HiAppEventConfig::SetStorageDir(const std::string& dir) in SetStorageDir()
238 std::string dir = context->GetFilesDir() + APP_EVENT_DIR; in GetStorageDir() local
Dhiappevent_write.cpp52 void CheckStorageSpace(const std::string& dir) in CheckStorageSpace()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
Dfile_util.cpp41 bool IsDirectory(const std::string& dir) in IsDirectory()
52 bool RemoveDirectory(const std::string& dir) in RemoveDirectory()
57 bool ForceCreateDirectory(const std::string& dir) in ForceCreateDirectory()
76 bool ForceRemoveDirectory(const std::string& dir, bool isDeleteSelf) in ForceRemoveDirectory()
107 void GetDirFiles(const std::string& dir, std::vector<std::string>& files) in GetDirFiles()
127 uint64_t GetDirSize(const std::string& dir) in GetDirSize()
172 std::string GetFilePathByDir(const std::string& dir, const std::string& fileName) in GetFilePathByDir()
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
Dfile_util.cpp41 bool IsDirectory(const std::string& dir) in IsDirectory()
52 bool RemoveDirectory(const std::string& dir) in RemoveDirectory()
57 bool ForceCreateDirectory(const std::string& dir) in ForceCreateDirectory()
76 std::string GetFilePathByDir(const std::string& dir, const std::string& fileName) in GetFilePathByDir()
/base/hiviewdfx/hiview/base/event_store/store/
Dsys_event_doc.cpp123 std::string dir = GetDir(); in UpdateCurFile() local
137 std::string dir = SysEventDatabase::GetInstance().GetDatabaseDir() + domain_; in GetDir() local
145 std::string SysEventDoc::GetCurFile(const std::string& dir) in GetCurFile()
166 int SysEventDoc::CreateCurFile(const std::string& dir, const std::shared_ptr<SysEvent>& sysEvent) in CreateCurFile()
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_utils_test.cpp39 std::string dir = ""; variable
/base/security/huks/utils/file_operator/
Dhks_file_operator.c263 DIR *dir = (DIR *)dirp; in HksGetDirFile() local
322 DIR *dir = opendir(dirPath); in HksRemoveDir() local
342 DIR *dir = opendir(path); in HksDeletDirPartTwo() local
377 DIR *dir = opendir(path); in HksDeletDirPartOne() local
415 DIR *dir = opendir(path); in HksDeleteDir() local
/base/security/huks/utils/compatibility_bin/
Dcompatibility_bin.c39 DIR *dir; in ChangeDirAndFilesPerm() local
157 DIR *dir = opendir(srcPath); in MoveOldFolderToNew() local
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcm_event_process.c138 DIR *dir = opendir(dirPath); in RemoveDir() local
196 DIR *dir = opendir(path); in CmTraversalUidLayerDir() local
259 DIR *dir = opendir(path); in CmTraversalUserIdLayerDir() local
299 DIR *dir = opendir(path); in CmTraversalDir() local
Dcert_manager_file_operator.c243 DIR *dir = (DIR *)dirp; in CmGetDirFile() local
349 DIR *dir = opendir(path); in CmUidLayerGetFileCountAndNames() local
400 DIR *dir = opendir(path); in CmUserIdLayerGetFileCountAndNames() local
461 DIR *dir = (DIR *)dirp; in CmGetSubDir() local
Dcert_manager_file.c48 void *dir = CmOpenDir(path); in GetNumberOfFiles() local
183 void *dir = CmOpenDir(userIdPath); in GetNumberOfDirs() local
/base/security/selinux_adapter/test/unittest/common/
Dtest_common.cpp83 std::string dir = ""; in GetDirectory() local
93 std::string dir = GetDirectory(path); in CreateFile() local
/base/msdp/device_status/services/device_manager/src/
Denumerator.cpp49 DIR *dir = opendir(DEV_INPUT_PATH.c_str()); in ScanAndAddDevices() local
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
Dapp_event_store.cpp63 AppEventStore::AppEventStore(const std::string& dir) : dbStore_(nullptr), dirPath_("") in AppEventStore()
98 void AppEventStore::InitDbStoreDir(const std::string& dir) in InitDbStoreDir()
Dapp_event_cache.cpp43 int AppEventCache::Open(const std::string& dir) in Open()
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/
Dhc_file_posix.c53 DIR *dir = opendir(dirCache); in CreateDirectory() local
197 DIR *dir = NULL; in HcFileGetSubFileName() local
/base/powermgr/battery_manager/test/utils/
Dtest_utils.cpp86 DIR* dir = opendir(POWER_SUPPLY_PATH); in IsMock() local
/base/startup/init/test/unittest/init/
Dutils_unittest.cpp42 const char *dir = "/data/init_ut/mkdir_test"; variable
/base/global/i18n_lite/interfaces/kits/js/builtin/src/
Dlocale_module.cpp82 const char *dir = GetTextDirection(); in GetLocale() local
/base/hiviewdfx/hidumper/services/native/src/
Ddump_common_utils.cpp41 auto dir = opendir(path.c_str()); in GetSubNodes() local
72 auto dir = opendir(path.c_str()); in GetSubDir() local
234 DIR* dir = nullptr; in GetNamesInFolder() local
/base/powermgr/thermal_manager/utils/native/src/
Dfile_operation.cpp31 int32_t FileOperation::CreateNodeDir(std::string dir) in CreateNodeDir()
/base/startup/init/services/init/standard/
Dswitch_root.c30 static void FreeOldRoot(DIR *dir, dev_t dev) in FreeOldRoot()
/base/security/huks/test/unittest/modify_old_version_key_test_util/
Dhks_test_modify_old_key.c94 DIR *dir; in ChangeDirAndFiles() local
/base/startup/init/test/unittest/ueventd/
Dueventd_event_unittest.cpp101 auto dir = std::unique_ptr<DIR, decltype(&closedir)>(opendir(path.c_str()), closedir); in RemoveDir() local
147 DIR *dir = opendir("/"); in SwitchRoot() local

123