Home
last modified time | relevance | path

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

12345

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
Dmock_installd_host_impl.cpp64 ErrCode InstalldHostImpl::RemoveDir(const std::string &dir) in RemoveDir()
85 ErrCode InstalldHostImpl::SetDirApl(const std::string &dir, const std::string &bundleName, const st… in SetDirApl()
90 ErrCode InstalldHostImpl::GetBundleCachePath(const std::string &dir, std::vector<std::string> &cach… in GetBundleCachePath()
96const std::string &dir, ScanMode scanMode, ResultMode resultMode, std::vector<std::string> &paths) in ScanDir()
112 const std::string &dir, const int32_t mode, const int32_t uid, const int32_t gid) in Mkdir()
134 ErrCode InstalldHostImpl::IsExistDir(const std::string &dir, bool &isExist) in IsExistDir()
139 ErrCode InstalldHostImpl::IsDirEmpty(const std::string &dir, bool &isDirEmpty) in IsDirEmpty()
144 ErrCode InstalldHostImpl::ObtainQuickFixFileDir(const std::string &dir, std::vector<std::string> &d… in ObtainQuickFixFileDir()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
Dinstalld_client.cpp97 ErrCode InstalldClient::RemoveDir(const std::string &dir) in RemoveDir()
128 ErrCode InstalldClient::SetDirApl(const std::string &dir, const std::string &bundleName, const std:… in SetDirApl()
138 ErrCode InstalldClient::GetBundleCachePath(const std::string &dir, std::vector<std::string> &cacheP… in GetBundleCachePath()
181const std::string &dir, ScanMode scanMode, ResultMode resultMode, std::vector<std::string> &paths) in ScanDir()
212 const std::string &dir, const int32_t mode, const int32_t uid, const int32_t gid) in Mkdir()
250 ErrCode InstalldClient::IsExistDir(const std::string &dir, bool &isExist) in IsExistDir()
255 ErrCode InstalldClient::IsDirEmpty(const std::string &dir, bool &isDirEmpty) in IsDirEmpty()
260 ErrCode InstalldClient::ObtainQuickFixFileDir(const std::string &dir, std::vector<std::string> &dir… in ObtainQuickFixFileDir()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/
Dopen_dir.cpp48 std::unique_ptr<DIR, std::function<void(DIR *)>> dir = { opendir(path.get()), closedir }; in Sync() local
72 DIR *dir = nullptr; member
94 DIR *dir = nullptr; in Async() local
107 std::unique_ptr<DIR, std::function<void(DIR *)>> dir = { arg->dir, closedir }; in Async() local
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
Dcontext_deal_test.cpp169 std::string dir = "CodeCacheDir"; variable
185 std::string dir = "CacheDir"; variable
200 std::string dir = "dataBaseDir"; variable
215 std::string dir = "codePath"; variable
231 std::string dir = "dataDir"; variable
/foundation/distributeddatamgr/distributedfile/interfaces/kits/js/src/mod_fileio/properties/
Dopen_dir.cpp50 std::unique_ptr<DIR, std::function<void(DIR *)>> dir = { opendir(path.get()), closedir }; in Sync() local
73 DIR *dir = nullptr; member
97 DIR *dir = nullptr; in Async() local
109 std::unique_ptr<DIR, std::function<void(DIR *)>> dir = { arg->dir, closedir }; in Async() local
Dread_dir.cpp57 unique_ptr<DIR, function<void(DIR *)>> dir = { opendir(path.get()), closedir }; in Sync() local
98 unique_ptr<DIR, function<void(DIR *)>> dir = { opendir(path.c_str()), closedir }; in Async() local
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
Dcontext_deal.cpp147 std::string dir; in GetBundleCodePath() local
312 std::string dir = GetBaseDir() + CONTEXT_DEAL_FILE_SEPARATOR + CONTEXT_DEAL_CACHE; in GetCacheDir() local
337 std::string dir = GetDataDir() + CONTEXT_DEAL_FILE_SEPARATOR + CONTEXT_DEAL_CODE_CACHE; in GetCodeCacheDir() local
351 std::string dir; in GetDatabaseDir() local
370 std::string dir = GetBaseDir() + CONTEXT_DEAL_FILE_SEPARATOR + CONTEXT_DEAL_DATA; in GetDataDir() local
394 std::string dir = applicationInfo_->dataDir + CONTEXT_DEAL_FILE_SEPARATOR + name; in GetDir() local
437 std::string dir = GetBaseDir() + CONTEXT_DEAL_FILE_SEPARATOR + CONTEXT_DEAL_Files; in GetFilesDir() local
453 std::string dir = GetDataDir() + CONTEXT_DEAL_FILE_SEPARATOR + CONTEXT_DEAL_NO_BACKUP_Files; in GetNoBackupFilesDir() local
499 std::string dir; in GetBundleResourcePath() local
643 std::string dir; in GetDistributedDir() local
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
Dinstalld_host_impl.cpp189 for (const auto &dir : Constants::BUNDLE_DATA_DIR) { in CreateBundleDataDir() local
294 ErrCode InstalldHostImpl::RemoveDir(const std::string &dir) in RemoveDir()
403 ErrCode InstalldHostImpl::SetDirApl(const std::string &dir, const std::string &bundleName, const st… in SetDirApl()
429 ErrCode InstalldHostImpl::GetBundleCachePath(const std::string &dir, std::vector<std::string> &cach… in GetBundleCachePath()
445const std::string &dir, ScanMode scanMode, ResultMode resultMode, std::vector<std::string> &paths) in ScanDir()
500 const std::string &dir, const int32_t mode, const int32_t uid, const int32_t gid) in Mkdir()
575 ErrCode InstalldHostImpl::IsExistDir(const std::string &dir, bool &isExist) in IsExistDir()
585 ErrCode InstalldHostImpl::IsDirEmpty(const std::string &dir, bool &isDirEmpty) in IsDirEmpty()
595 ErrCode InstalldHostImpl::ObtainQuickFixFileDir(const std::string &dir, std::vector<std::string> &d… in ObtainQuickFixFileDir()
Dinstalld_operator.cpp44 const std::string &dir, const std::string &subName, ResultMode resultMode) in HandleScanResult()
80 bool InstalldOperator::IsDirEmpty(const std::string &dir) in IsDirEmpty()
143 const std::string dir = GetPathDir(entryName); in ExtractFiles() local
394 DIR *dir = opendir(path.c_str()); in ChangeDirOwnerRecursively() local
483 DIR *dir = opendir(dataPath.c_str()); in DeleteFiles() local
528 int64_t InstalldOperator::GetDiskUsage(const std::string &dir) in GetDiskUsage()
584 DIR* dir = opendir(filePath.c_str()); in TraverseCacheDirectory() local
632 DIR* dir = opendir(realPath.c_str()); in ScanDir() local
849 bool InstalldOperator::ObtainQuickFixFileDir(const std::string &dir, std::vector<std::string> &file… in ObtainQuickFixFileDir()
/foundation/filemanagement/storage_service/services/storage_daemon/utils/test/common/
Dhelp_utils.cpp97 for (const Dir &dir : g_rootDirs) { in CheckUserDir() local
117 for (const Dir &dir : g_subDirs) { in CheckUserDir() local
137 for (const Dir &dir : g_hmdfsDirs) { in CheckUserDir() local
184 DIR *dir = opendir(path.c_str()); in RmDirRecurse() local
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
Dfscrypt_key_v2.h27 …FscryptKeyV2(const std::string &dir, uint8_t keyLen = CRYPTO_AES_256_XTS_KEY_SIZE) : BaseKey(dir, … in BaseKey() argument
Dfscrypt_key_v1.h27 …FscryptKeyV1(const std::string &dir, uint8_t keyLen = CRYPTO_AES_256_XTS_KEY_SIZE) : BaseKey(dir, … in BaseKey() argument
Dfscrypt_key_v1_ext.h27 void SetDir(const std::string &dir) in SetDir()
/foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/
Dfscrypt_utils.c20 int FscryptPolicyEnable(const char *dir) in FscryptPolicyEnable()
/foundation/filemanagement/storage_service/services/storage_daemon/user/src/
Duser_manager.cpp132 for (const DirInfo &dir : vec) { in PrepareDirsFromVec() local
145 for (const DirInfo &dir : vec) { in DestroyDirsFromVec() local
240 for (const DirInfo &dir : backupDirVec_) { in PrepareEl2BackupDir() local
251 for (const DirInfo &dir : backupDirVec_) { in DestroyEl2BackupDir() local
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/
Dbundle_file_utils.cpp54 bool BundleFileUtils::MkRecursiveDir(const char *dir, bool isReadOthers) in MkRecursiveDir()
81 bool BundleFileUtils::MkOwnerDir(const char *dir) in MkOwnerDir()
112 DIR *dir = opendir(path); in RemoveFile() local
Dbundle_daemon_handler.cpp82 const std::string dir = BundleFileUtils::GetPathDir(fileName); in ExtractHap() local
172 const std::string dir = BundleFileUtils::GetPathDir(filePath); in StoreContentToFile() local
215 DIR *dir = opendir(static_cast<char *>(realOldPath)); in MoveFile() local
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/
Dnstackx_util.c25 int32_t GetTargetFileSize(const char *dir, uint64_t *size) in GetTargetFileSize()
63 uint32_t GetFileNameLen(const char *dir) in GetFileNameLen()
85 int32_t GetFileName(const char *dir, char *name, uint32_t nameLen) in GetFileName()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/autils/src/
Ddirectory_utils.cpp32 DIR *dir = opendir(path.c_str()); in ChangeModeFileOnly() local
74 DIR *dir = opendir(path.c_str()); in ChangeModeDirOnly() local
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
Dcontext_impl.cpp79 std::string dir; in GetBundleCodeDir() local
92 std::string dir = GetBaseDir() + CONTEXT_FILE_SEPARATOR + CONTEXT_CACHE; in GetCacheDir() local
110 std::string dir; in GetDatabaseDir() local
127 std::string dir = GetBaseDir() + CONTEXT_FILE_SEPARATOR + CONTEXT_PREFERENCES; in GetPreferencesDir() local
135 std::string dir = GetBaseDir() + CONTEXT_TEMP; in GetTempDir() local
143 std::string dir = GetBaseDir() + CONTEXT_FILES; in GetFilesDir() local
152 std::string dir; in GetDistributedFilesDir() local
/foundation/multimodalinput/input/tools/vuinput/src/
Dmmi_virtual_device_main.cpp24 DIR* dir = opendir(OHOS::MMI::g_folderPath.c_str()); in main() local
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
Dkey_manager.cpp39 std::shared_ptr<BaseKey> KeyManager::GetBaseKey(const std::string& dir) in GetBaseKey()
57 int KeyManager::GenerateAndInstallDeviceKey(const std::string &dir) in GenerateAndInstallDeviceKey()
91 int KeyManager::RestoreDeviceKey(const std::string &dir) in RestoreDeviceKey()
159 int KeyManager::GenerateAndInstallUserKey(uint32_t userId, const std::string &dir, const UserAuth &… in GenerateAndInstallUserKey()
200 int KeyManager::RestoreUserKey(uint32_t userId, const std::string &dir, const UserAuth &auth, KeyTy… in RestoreUserKey()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
Dinstalld_proxy.cpp133 ErrCode InstalldProxy::RemoveDir(const std::string &dir) in RemoveDir()
175 ErrCode InstalldProxy::SetDirApl(const std::string &dir, const std::string &bundleName, const std::… in SetDirApl()
188 ErrCode InstalldProxy::GetBundleCachePath(const std::string &dir, std::vector<std::string> &cachePa… in GetBundleCachePath()
207const std::string &dir, ScanMode scanMode, ResultMode resultMode, std::vector<std::string> &paths) in ScanDir()
254 const std::string &dir, const int32_t mode, const int32_t uid, const int32_t gid) in Mkdir()
320 ErrCode InstalldProxy::IsExistDir(const std::string &dir, bool &isExist) in IsExistDir()
337 ErrCode InstalldProxy::IsDirEmpty(const std::string &dir, bool &isDirEmpty) in IsDirEmpty()
354 ErrCode InstalldProxy::ObtainQuickFixFileDir(const std::string &dir, std::vector<std::string> &dirV… in ObtainQuickFixFileDir()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
Dpath.cpp83 void Path::AddRect(const Rect& rect, PathDirection dir) in AddRect()
88 void Path::AddRect(scalar left, scalar top, scalar right, scalar bottom, PathDirection dir) in AddRect()
93 void Path::AddOval(const Rect& oval, PathDirection dir) in AddOval()
108 void Path::AddCircle(scalar x, scalar y, scalar radius, PathDirection dir) in AddCircle()
113 void Path::AddRoundRect(const Rect& rect, scalar xRadius, scalar yRadius, PathDirection dir) in AddRoundRect()
/foundation/ability/idl_tool/codegen/
Dcode_generator.cpp27 CodeGenerator::CodeGenerator(MetaComponent* mc, const String& language, const String& dir) in CodeGenerator()

12345