Home
last modified time | relevance | path

Searched defs:fp (Results 1 – 25 of 86) sorted by relevance

1234

/base/hiviewdfx/hiview_lite/
Dhiview_file.c40 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/
Dparam_persistadp.c41 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/
Dupdaterkits_unittest.cpp46 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/
Dhc_file.c99 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/
Dhc_file_posix.c104 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
Dhc_file.c74 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/
Dmisc_info.cpp31 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/
Dupdater_main_unittest.cpp78 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/
Dapp_verify_hap.c111 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()
Dapp_verify.c169 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/
Dcmd_utils.cpp23 FILE *fp = popen(cmd.c_str(), "r"); in ExecCmdSync() local
/base/hiviewdfx/hilog_lite/services/apphilogcat/
Dhiview_applogcat.c44 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/
Dsadump_fuzzer.cpp27 …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/
Dhiview_sa_test.cpp80 FILE* fp = popen("hidumper -s 1201", "r"); variable
/base/hiviewdfx/hiview/adapter/utility/platform/ohos/
Dcommon_utils.cpp95 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/
Dmisc_info_unittest.cpp42 auto fp = std::unique_ptr<FILE, decltype(&fclose)>(fopen(MISC_FILE.c_str(), "wb"), fclose); variable
/base/startup/init/services/modules/reboot/
Dreboot_misc.c40 FILE *fp = fopen(realPath, "rb+"); in RBMiscWriteUpdaterMessage() local
55 FILE *fp = NULL; in RBMiscReadUpdaterMessage() local
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dcmd_dumper.cpp116 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/
Dhiview_plugin_platform_module_test.cpp30 FILE* fp = popen(cmd.c_str(), "r"); in GetCmdResultFromPopen() local
/base/startup/appspawn/test/moduletest/
Dappspawn_module_test.cpp207 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/
Dmock_obtain_file.cpp40 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/
Dhks_test_file_operator.c102 FILE *fp = fopen(filePath, "rb"); in FileRead() local
147 FILE *fp = fopen(filePath, "wb+"); in FileWrite() local
/base/hiviewdfx/hidumper/test/unittest/common/
Dhidumper_privacy_test.cpp53 FILE *fp = popen(cmd.c_str(), "r"); in IsExistInCmdResult() local
/base/hiviewdfx/hiview/utility/common_utils/
Dcalc_fingerprint.cpp64 FILE *fp = nullptr; in CalcFileSha() local
/base/hiviewdfx/hiview/base/include/
Dplugin_factory.h52 PluginRegister(const std::string& name, std::shared_ptr<PluginRegistInfo> fp) in PluginRegister()

1234