Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 127) sorted by relevance

123456

/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/
Dhc_file.c41 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()
Dhc_file_posix.c97 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/
Dfile_util.cpp30 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/
Dhc_file.c78 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/
Dapp_file.c29 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/
Dbattery_vibrate.cpp97 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/
Dfile_util.cpp30 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/
Dfile_utils.rs21 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/
Dobtain_file.cpp32 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()
Dupload_task.cpp98 FILE *file; in InitFileArray() local
181 for (auto &file : fileDatas_) { in ClearFileArray() local
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/
Dlog_util.cpp85 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/
Dsys_event_database.cpp38 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
Dsys_event_doc.cpp41 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/
Dinit_eng.c31 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/
Dtest_common.cpp27 FILE *file = popen(command.c_str(), "r"); in RunCommand() local
/base/update/sys_installer/frameworks/ipc_server/src/
Dmodule_update_service.cpp63 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/
Daccount_log_wrapper.cpp28 std::string AccountLogWrapper::GetBriefFileName(const std::string &file) in GetBriefFileName()
/base/telephony/telephony_data/common/src/
Ddata_storage_log_wrapper.cpp34 std::string DataStorageLogWrapper::GetBriefFileName(const std::string &file) in GetBriefFileName()
/base/update/updater/test/unittest/package/
Dpkg_package_unittest.cpp49 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/
Dglobal_utils.c294 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/
Ddump_utils.cpp84 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/
Dmodule_file_repository.cpp54 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/
Devent_source_example.cpp66 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/
Dbundle_event_source_example.cpp62 std::ofstream file(path); in CreateWatchFile() local
166 void BundleEventSourceExample::CreateAndPublishEvent(const std::string &file) in CreateAndPublishEvent()
/base/update/updater/services/ui/language/
Dlanguage_ui.cpp74 for (auto &file : res_) { in Parse() local
87 bool LanguageUI::ParseJson(const std::string &file) in ParseJson()

123456