/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
D | hiappevent_clean.cpp | 32 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()
|
D | hiappevent_config.cpp | 204 void HiAppEventConfig::SetStorageDir(const std::string& dir) in SetStorageDir() 238 std::string dir = context->GetFilesDir() + APP_EVENT_DIR; in GetStorageDir() local
|
D | hiappevent_write.cpp | 52 void CheckStorageSpace(const std::string& dir) in CheckStorageSpace()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/ |
D | file_util.cpp | 41 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/ |
D | file_util.cpp | 41 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/ |
D | sys_event_doc.cpp | 123 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/ |
D | thermal_utils_test.cpp | 39 std::string dir = ""; variable
|
/base/security/huks/utils/file_operator/ |
D | hks_file_operator.c | 263 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/ |
D | compatibility_bin.c | 39 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/ |
D | cm_event_process.c | 138 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
|
D | cert_manager_file_operator.c | 243 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
|
D | cert_manager_file.c | 48 void *dir = CmOpenDir(path); in GetNumberOfFiles() local 183 void *dir = CmOpenDir(userIdPath); in GetNumberOfDirs() local
|
/base/security/selinux_adapter/test/unittest/common/ |
D | test_common.cpp | 83 std::string dir = ""; in GetDirectory() local 93 std::string dir = GetDirectory(path); in CreateFile() local
|
/base/msdp/device_status/services/device_manager/src/ |
D | enumerator.cpp | 49 DIR *dir = opendir(DEV_INPUT_PATH.c_str()); in ScanAndAddDevices() local
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/ |
D | app_event_store.cpp | 63 AppEventStore::AppEventStore(const std::string& dir) : dbStore_(nullptr), dirPath_("") in AppEventStore() 98 void AppEventStore::InitDbStoreDir(const std::string& dir) in InitDbStoreDir()
|
D | app_event_cache.cpp | 43 int AppEventCache::Open(const std::string& dir) in Open()
|
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/ |
D | hc_file_posix.c | 53 DIR *dir = opendir(dirCache); in CreateDirectory() local 197 DIR *dir = NULL; in HcFileGetSubFileName() local
|
/base/powermgr/battery_manager/test/utils/ |
D | test_utils.cpp | 86 DIR* dir = opendir(POWER_SUPPLY_PATH); in IsMock() local
|
/base/startup/init/test/unittest/init/ |
D | utils_unittest.cpp | 42 const char *dir = "/data/init_ut/mkdir_test"; variable
|
/base/global/i18n_lite/interfaces/kits/js/builtin/src/ |
D | locale_module.cpp | 82 const char *dir = GetTextDirection(); in GetLocale() local
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_common_utils.cpp | 41 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/ |
D | file_operation.cpp | 31 int32_t FileOperation::CreateNodeDir(std::string dir) in CreateNodeDir()
|
/base/startup/init/services/init/standard/ |
D | switch_root.c | 30 static void FreeOldRoot(DIR *dir, dev_t dev) in FreeOldRoot()
|
/base/security/huks/test/unittest/modify_old_version_key_test_util/ |
D | hks_test_modify_old_key.c | 94 DIR *dir; in ChangeDirAndFiles() local
|
/base/startup/init/test/unittest/ueventd/ |
D | ueventd_event_unittest.cpp | 101 auto dir = std::unique_ptr<DIR, decltype(&closedir)>(opendir(path.c_str()), closedir); in RemoveDir() local 147 DIR *dir = opendir("/"); in SwitchRoot() local
|