/base/hiviewdfx/hiview_lite/ |
D | hiview_file.c | 40 boolean InitHiviewFile(HiviewFile *fp, HiviewFileType type, uint32 size) in InitHiviewFile() 100 boolean WriteFileHeader(HiviewFile *fp) in WriteFileHeader() 123 boolean ReadFileHeader(HiviewFile *fp) in ReadFileHeader() 153 int32 WriteToFile(HiviewFile *fp, const uint8 *data, uint32 len) in WriteToFile() 177 int32 ReadFromFile(HiviewFile *fp, uint8 *data, uint32 readLen) in ReadFromFile() 201 uint32 GetFileUsedSize(HiviewFile *fp) in GetFileUsedSize() 209 uint32 GetFileFreeSize(HiviewFile *fp) in GetFileFreeSize() 218 int32 CloseHiviewFile(HiviewFile *fp) in CloseHiviewFile() 229 int8 ProcFile(HiviewFile *fp, const char *dest, FileProcMode mode) in ProcFile() 293 void RegisterFileWatcher(HiviewFile *fp, FileProc func, const char *path) in RegisterFileWatcher() [all …]
|
/base/startup/init/services/param/adapter/ |
D | param_persistadp.c | 41 FILE *fp = fopen(tmpPath, "r"); in LoadPersistParam() local 72 FILE *fp = fopen(path, "a+"); in SavePersistParam() local 90 FILE *fp = fopen(path, "w"); in BatchSavePersistParamBegin() local 102 FILE *fp = (FILE *)handle; in BatchSavePersistParam() local 112 FILE *fp = (FILE *)handle; in BatchSavePersistParamEnd() local
|
/base/update/updater/test/unittest/updaterkits_test/ |
D | updaterkits_unittest.cpp | 46 auto fp = std::unique_ptr<FILE, decltype(&fclose)>(fopen(MISC_FILE.c_str(), "wb+"), fclose); variable 60 auto fp = std::unique_ptr<FILE, decltype(&fclose)>(fopen(MISC_FILE.c_str(), "wb+"), fclose); variable
|
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/ |
D | hc_file.c | 99 FILE *fp = (FILE *)file.pfd; in HcFileSize() local 116 FILE *fp = (FILE *)file.pfd; in HcFileRead() local 139 FILE *fp = (FILE *)file.pfd; in HcFileWrite() local 158 FILE *fp = (FILE *)file.pfd; in HcFileClose() local
|
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/ |
D | hc_file_posix.c | 104 int fp = file.fileHandle.fd; in HcFileSize() local 112 int fp = file.fileHandle.fd; in HcFileRead() local 137 int fp = file.fileHandle.fd; in HcFileWrite() local 157 int fp = file.fileHandle.fd; in HcFileClose() local
|
D | hc_file.c | 74 int fp = file.fileHandle.fd; in HcFileRead() local 85 int fp = file.fileHandle.fd; in HcFileWrite() local 96 int fp = file.fileHandle.fd; in HcFileClose() local
|
/base/update/updater/interfaces/kits/misc_info/ |
D | misc_info.cpp | 31 FILE* fp = fopen(realPath, "rb+"); in WriteUpdaterMessage() local 60 FILE* fp = fopen(realPath, "rb"); in ReadUpdaterMessage() local
|
/base/update/updater/test/unittest/updater_main_test/ |
D | updater_main_unittest.cpp | 78 auto fp = std::unique_ptr<FILE, decltype(&fclose)>(fopen(commandFile.c_str(), "wb"), fclose); variable 124 …auto fp = std::unique_ptr<FILE, decltype(&fclose)>(fopen("/data/updater/updater.zip", "wb"), fclos… variable 169 FILE *fp = fopen(testFile.c_str(), "w"); variable
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_verify_hap.c | 111 static int ComputeDigestsWithOptionalBlock(const int digestAlgorithm, int fp, const SignatureInfo *… in ComputeDigestsWithOptionalBlock() 188 static int UpdateSmallBlock(int readLen, const int fp, mbedtls_md_context_t *mdCtx) in UpdateSmallBlock() 209 static int ComputerFileHash(const SignatureInfo *signInfo, int digestAlgorithm, const int fp, in ComputerFileHash() 250 static int ComputerCoreDirHash(const SignatureInfo *signInfo, int digestAlgorithm, const int fp, in ComputerCoreDirHash() 273 static int ComputerEocdHash(const SignatureInfo *signInfo, int digestAlgorithm, const int fp, in ComputerEocdHash() 296 bool VerifyIntegrityChunk(int digestAlgorithm, const int fp, in VerifyIntegrityChunk()
|
D | app_verify.c | 169 static int FindBlockHead(const SignatureInfo *signInfo, int fp, int blockType, BlockHead *block) in FindBlockHead() 195 char *GetSignBlockByType(const SignatureInfo *signInfo, int fp, int blockType, int *len, BlockHead … in GetSignBlockByType() 753 static int VerifyProfGetContent(int fp, const SignatureInfo *signInfo, int certType, ProfileProf *p… in VerifyProfGetContent() 1009 static int VerfiyAppSourceGetProfile(int fp, const SignatureInfo *signInfo, in VerfiyAppSourceGetProfile() 1078 static FileRead *GetFileRead(int fp, int offset, int size) in GetFileRead() 1091 static int VerifyBinSign(SignatureInfo *signInfo, int fp, CertInfo **signCert, int *certType) in VerifyBinSign() 1150 static int VerifyIntegrity(SignatureInfo *signInfo, int fp, ProfileProf *pf) in VerifyIntegrity()
|
/base/customization/enterprise_device_management/test/unittest/src/ |
D | cmd_utils.cpp | 23 FILE *fp = popen(cmd.c_str(), "r"); in ExecCmdSync() local
|
/base/hiviewdfx/hilog_lite/services/apphilogcat/ |
D | hiview_applogcat.c | 44 FILE *fp = fopen(filename, "r"); in FileSize() local 59 static FILE *FileClear(FILE **fp, const char *filename) in FileClear() 104 int FlushAndSync(FILE *fp) in FlushAndSync()
|
/base/hiviewdfx/hidumper/test/fuzztest/sadump_fuzzer/ |
D | sadump_fuzzer.cpp | 27 …std::unique_ptr<FILE, decltype(&pclose)> fp(popen(("hidumper -s " + randomData).c_str(), "r"), pcl… in SADumpFuzzTest() local
|
/base/hiviewdfx/hiview/adapter/service/idl/test/unittest/common/ |
D | hiview_sa_test.cpp | 80 FILE* fp = popen("hidumper -s 1201", "r"); variable
|
/base/hiviewdfx/hiview/adapter/utility/platform/ohos/ |
D | common_utils.cpp | 95 FILE* fp = popen(cmd.c_str(), "r"); in GetPidByName() local 125 FILE* fp = popen(cmd.c_str(), "r"); in WriteCommandResultToFile() local
|
/base/update/updater/test/unittest/misc_info_test/ |
D | misc_info_unittest.cpp | 42 auto fp = std::unique_ptr<FILE, decltype(&fclose)>(fopen(MISC_FILE.c_str(), "wb"), fclose); variable
|
/base/startup/init/services/modules/reboot/ |
D | reboot_misc.c | 40 FILE *fp = fopen(realPath, "rb+"); in RBMiscWriteUpdaterMessage() local 55 FILE *fp = NULL; in RBMiscReadUpdaterMessage() local
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
D | cmd_dumper.cpp | 116 FILE* fp = popen((CMD_PREFIX + cmd).c_str(), "r"); in GetCmdInterface() local 127 DumpStatus CMDDumper::GetLineData(FILE* fp, StringMatrix dumpDatas) in GetLineData()
|
/base/hiviewdfx/hiview/test/moduletest/common/ |
D | hiview_plugin_platform_module_test.cpp | 30 FILE* fp = popen(cmd.c_str(), "r"); in GetCmdResultFromPopen() local
|
/base/startup/appspawn/test/moduletest/ |
D | appspawn_module_test.cpp | 207 FILE *fp = nullptr; in checkProcName() local 263 FILE *fp = nullptr; in checkAppspawnPID() local 284 FILE *fp = nullptr; in startAppspawn() local 298 FILE *fp = nullptr; in stopAppspawn() local
|
/base/request/request/upload/unitest/src/ |
D | mock_obtain_file.cpp | 40 FILE *fp = fopen("/data/Dataability/file.txt", "r"); in GetDataAbilityFile() local
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
D | hks_test_file_operator.c | 102 FILE *fp = fopen(filePath, "rb"); in FileRead() local 147 FILE *fp = fopen(filePath, "wb+"); in FileWrite() local
|
/base/hiviewdfx/hidumper/test/unittest/common/ |
D | hidumper_privacy_test.cpp | 53 FILE *fp = popen(cmd.c_str(), "r"); in IsExistInCmdResult() local
|
/base/hiviewdfx/hiview/utility/common_utils/ |
D | calc_fingerprint.cpp | 64 FILE *fp = nullptr; in CalcFileSha() local
|
/base/hiviewdfx/hiview/base/include/ |
D | plugin_factory.h | 52 PluginRegister(const std::string& name, std::shared_ptr<PluginRegistInfo> fp) in PluginRegister()
|