/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/ |
D | hc_file.c | 41 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen() 61 int HcFileSize(FileHandle file) in HcFileSize() 72 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead() 83 int HcFileWrite(FileHandle file, const void *src, int srcSize) in HcFileWrite() 94 void HcFileClose(FileHandle file) in HcFileClose()
|
D | hc_file_posix.c | 97 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen() 114 int HcFileSize(FileHandle file) in HcFileSize() 122 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead() 148 int HcFileWrite(FileHandle file, const void *src, int srcSize) in HcFileWrite() 170 void HcFileClose(FileHandle file) in HcFileClose()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/ |
D | file_util.cpp | 30 bool IsFileExists(const std::string& file) in IsFileExists() 35 bool IsFile(const std::string& file) in IsFile() 47 bool RemoveFile(const std::string& file) in RemoveFile() 133 for (auto& file : files) { in GetDirSize() local 141 uint64_t GetFileSize(const std::string& file) in GetFileSize() 147 bool SaveStringToFile(const std::string& file, const std::string& content, bool isTrunc) in SaveStringToFile()
|
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/ |
D | hc_file.c | 78 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen() 95 int HcFileSize(FileHandle file) in HcFileSize() 112 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead() 136 int HcFileWrite(FileHandle file, const void *src, int srcSize) in HcFileWrite() 167 void HcFileClose(FileHandle file) in HcFileClose()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_file.c | 29 int32_t InitVerify(FileRead *file, const char *filePath, int32_t *handle) in InitVerify() 66 int32_t HapMMap(int32_t bufCapacity, int32_t offset, MmapInfo *mmapInfo, const FileRead *file) in HapMMap()
|
/base/powermgr/battery_manager/charger/src/ |
D | battery_vibrate.cpp | 97 FILE* file = fopen(VIBRATOR_PLAYMODE_PATH.c_str(), "w"); in SetPlayMode() local 113 FILE* file = fopen(VIBRATOR_ACTIVATEMODE_PATH.c_str(), "w"); in ActivateVibration() local 128 FILE* file = fopen(VIBRATOR_DURATIONMODE_PATH.c_str(), "w"); in SetDuration() local
|
/base/hiviewdfx/hisysevent/adapter/native/idl/src/ |
D | file_util.cpp | 30 bool IsFileExists(const std::string& file) in IsFileExists() 35 bool IsFile(const std::string& file) in IsFile() 47 bool RemoveFile(const std::string& file) in RemoveFile()
|
/base/security/code_signature/services/key_enable/src/ |
D | file_utils.rs | 21 let mut file = File::open(file_path).expect("Open file failed."); in load_bytes_from_file() localVariable
|
/base/request/request/frameworks/js/napi/src/upload/ |
D | obtain_file.cpp | 32 uint32_t ObtainFile::GetFile(FILE **file, const std::string &fileUri, unsigned int &fileSize, in GetFile() 57 uint32_t ObtainFile::GetDataAbilityFile(FILE **file, const std::string &fileUri, uint32_t &fileSize, in GetDataAbilityFile() 117 uint32_t ObtainFile::GetInternalFile(FILE **file, const std::string &fileUri, uint32_t &fileSize, in GetInternalFile()
|
D | upload_task.cpp | 98 FILE *file; in InitFileArray() local 181 for (auto &file : fileDatas_) { in ClearFileArray() local
|
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/ |
D | log_util.cpp | 85 bool LogUtil::ReadFileBuff(const string& file, stringstream& buffer) in ReadFileBuff() 104 int LogUtil::GetFileFd(const string& file) in GetFileFd() 119 bool LogUtil::FileExist(const string& file) in FileExist()
|
/base/hiviewdfx/hiview/base/event_store/store/ |
D | sys_event_database.cpp | 38 int64_t GetFileSeq(const std::string& file) in GetFileSeq() 43 std::string GetFileDomain(const std::string& file) in GetFileDomain() 191 std::string file = files.top(); in UpdateClearMap() local 256 for (auto& file : files) { in GetQueryFiles() local 277 bool SysEventDatabase::IsContainQueryArg(const std::string file, const SysEventQueryArg& queryArg) in IsContainQueryArg() 310 std::string file = queryFiles.top(); in QueryByFiles() local
|
D | sys_event_doc.cpp | 41 SysEventDoc::SysEventDoc(const std::string& file) : writer_(nullptr), reader_(nullptr), type_(0), c… in SysEventDoc() 111 bool SysEventDoc::IsFileFull(const std::string& file) in IsFileFull() 150 for (auto& file : files) { in GetCurFile() local
|
/base/startup/init/services/modules/init_eng/ |
D | init_eng.c | 31 ENG_STATIC bool IsFileExistWithType(const char *file, FileType type) in IsFileExistWithType() 61 static bool IsRegularFile(const char *file) in IsRegularFile() 66 static bool IsExistFile(const char *file) in IsExistFile()
|
/base/account/os_account/frameworks/account_iam/test/unittest/src/ |
D | test_common.cpp | 27 FILE *file = popen(command.c_str(), "r"); in RunCommand() local
|
/base/update/sys_installer/frameworks/ipc_server/src/ |
D | module_update_service.cpp | 63 bool BackupFile(const std::string &file) in BackupFile() 139 for (auto &file : files) { in InstallModulePackage() local 261 for (auto &file : files) { in CollectModulePackageInfo() local 380 for (const auto &file : activeFiles) { in BackupActiveModules() local 428 for (auto &file : files) { in ScanPreInstalledHmp() local
|
/base/account/os_account/frameworks/common/log/src/ |
D | account_log_wrapper.cpp | 28 std::string AccountLogWrapper::GetBriefFileName(const std::string &file) in GetBriefFileName()
|
/base/telephony/telephony_data/common/src/ |
D | data_storage_log_wrapper.cpp | 34 std::string DataStorageLogWrapper::GetBriefFileName(const std::string &file) in GetBriefFileName()
|
/base/update/updater/test/unittest/package/ |
D | pkg_package_unittest.cpp | 49 virtual int32_t AddEntry(const PkgManager::FileInfoPtr file, const PkgStreamPtr inStream) in AddEntry() 81 … auto file = std::make_unique<Lz4PkgFile>(pkgManager_, PkgStreamImpl::ConvertPkgStream(stream)); in TestPkgFile() local 104 std::unique_ptr<TestFile> file = std::make_unique<TestFile>(pkgManager_, in TestPkgFileInvalid() local 124 std::unique_ptr<TestFile> file = std::make_unique<TestFile>(pkgManager_, in TestBigZipEntry() local
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | global_utils.c | 294 static int32_t GetKeyParams(int32_t file, Key *keys, uint32_t resConfigNum) in GetKeyParams() 362 int32_t file = open(realResourcePath, O_RDONLY, S_IRUSR | S_IRGRP | S_IROTH); in GetOffsetByLocale() local 399 static uint32_t GetDefaultOffsetValue(int32_t file) in GetDefaultOffsetValue() 412 static uint32_t GetKeyValue(int32_t file) in GetKeyValue() 425 static int32_t GetIdItem(int32_t file, uint32_t offset, IdItem *idItem) in GetIdItem() 496 static int32_t GetIdHeaderByOffset(int32_t file, uint32_t offset, IdHeader *idHeader) in GetIdHeaderByOffset()
|
/base/hiviewdfx/hidumper/frameworks/native/ |
D | dump_utils.cpp | 84 int DumpUtils::FdToRead(const std::string &file) in FdToRead() 105 int DumpUtils::FdToWrite(const std::string &file) in FdToWrite() 132 bool DumpUtils::FileWriteable(const std::string &file) in FileWriteable()
|
/base/update/sys_installer/services/module_update/src/ |
D | module_file_repository.cpp | 54 const string &file, std::unordered_map<int32_t, ModuleFile> &fileMap) const in ProcessFile() argument 94 ModuleFile file = fileIter->second; in GetModuleFile() local
|
/base/hiviewdfx/hiview/test/plugins/examples/event_source_example/ |
D | event_source_example.cpp | 66 std::ofstream file(path); in CreateWatchFile() local 170 void EventSourceExample::CreateAndPublishEvent(const std::string &file) in CreateAndPublishEvent()
|
/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_event_source_example/ |
D | bundle_event_source_example.cpp | 62 std::ofstream file(path); in CreateWatchFile() local 166 void BundleEventSourceExample::CreateAndPublishEvent(const std::string &file) in CreateAndPublishEvent()
|
/base/update/updater/services/ui/language/ |
D | language_ui.cpp | 74 for (auto &file : res_) { in Parse() local 87 bool LanguageUI::ParseJson(const std::string &file) in ParseJson()
|