Home
last modified time | relevance | path

Searched defs:offset (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/
Dhks_service_ipc_serialization.c126 struct HksParamSet **paramSet, uint32_t *offset) in GetKeyAndParamSetFromBuffer()
137 …int32_t MallocBlobFromBuffer(const struct HksBlob *srcData, struct HksBlob *blob, uint32_t *offset) in MallocBlobFromBuffer()
156 …cParamSetFromBuffer(const struct HksBlob *srcData, struct HksParamSet **paramSet, uint32_t *offset) in MallocParamSetFromBuffer()
177 uint32_t offset = 0; in HksGenerateKeyUnpack() local
205 uint32_t offset = 0; in HksImportKeyUnpack() local
215 uint32_t offset = 0; in HksImportWrappedKeyUnpack() local
230 uint32_t offset = 0; in HksDeleteKeyUnpack() local
247 uint32_t offset = 0; in HksExportPublicKeyUnpack() local
266 uint32_t offset = 0; in HksGetKeyParamSetUnpack() local
284 uint32_t offset = 0; in HksKeyExistUnpack() local
[all …]
/base/security/appverify/interfaces/innerkits/appverify/src/common/
Drandom_access_file.cpp108 long long RandomAccessFile::DoMMap(int32_t bufCapacity, long long offset, MmapInfo& mmapInfo) in DoMMap()
133 long long RandomAccessFile::ReadFileFullyFromOffset(char buf[], long long offset, int32_t bufCapaci… in ReadFileFullyFromOffset()
157 long long RandomAccessFile::ReadFileFullyFromOffset(HapByteBuffer& buffer, long long offset) in ReadFileFullyFromOffset()
179 int32_t chunkSize, long long offset) in ReadFileFromOffsetAndDigestUpdate()
197 long long RandomAccessFile::ReadFileFullyFromOffsetV2(char buf[], long long offset, int32_t bufCapa… in ReadFileFullyFromOffsetV2()
213 long long RandomAccessFile::ReadFileFullyFromOffsetV2(HapByteBuffer& buffer, long long offset) in ReadFileFullyFromOffsetV2()
244 int32_t chunkSize, long long offset) in ReadFileFromOffsetAndDigestUpdateV2()
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_client_ipc_serialization.c129 uint32_t offset = 0; in HksGenerateKeyPack() local
141 uint32_t offset = 0; in HksImportKeyPack() local
153 uint32_t offset = 0; in HksImportWrappedKeyPack() local
167 uint32_t offset = 0; in HksDeleteKeyPack() local
179 uint32_t offset = 0; in HksExportPublicKeyPack() local
191 uint32_t offset = 0; in HksGetKeyParamSetPack() local
202 uint32_t offset = 0; in HksKeyExistPack() local
212 uint32_t *offset) in HksOnceParamPack()
221 const struct HksBlob *outputData, uint32_t *offset) in HksOnceDataPack()
240 uint32_t offset = 0; in HksAgreeKeyPack() local
[all …]
/base/security/certificate_manager/test/fuzz_test/fuzz_test_common/src/
Dcm_fuzz_test_common.cpp24 bool GetUintFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, uint32_t *outVal) in GetUintFromBuffer()
37 bool GetCmBlobFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CmBlob *outB… in GetCmBlobFromBuffer()
53 bool GetCertListFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CertList *… in GetCertListFromBuffer()
67 bool GetCertInfoFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CertInfo *… in GetCertInfoFromBuffer()
85 bool TenPercentChanceOfBeingTrue(uint8_t *srcData, uint32_t *remSize, uint32_t *offset) in TenPercentChanceOfBeingTrue()
276 uint32_t *offset, CertManagerInterfaceCode code, struct CmParamSet **paramSetOut) in ConstructParamSet()
330 uint32_t offset = 0; in IpcServiceApiFuzzerTest() local
/base/update/updater/services/diffpatch/bzip2/
Dbzip2_adapter.h40 BZipBuffer2Adapter(std::vector<uint8_t> &buffer, size_t offset) in BZipBuffer2Adapter()
68 BZip2ReadAdapter(size_t offset, size_t length) : offset_(offset), dataLength_(length) {} in BZip2ReadAdapter()
86 BZip2BufferReadAdapter(size_t offset, size_t length, const BlockBuffer &info) in BZip2BufferReadAdapter()
Dlz4_adapter.h53 Lz4FrameAdapter(UpdatePatchWriterPtr outStream, size_t offset, in Lz4FrameAdapter()
74 Lz4BlockAdapter(UpdatePatchWriterPtr outStream, size_t offset, in Lz4BlockAdapter()
Dzip_adapter.cpp24 ZipAdapter::ZipAdapter(UpdatePatchWriterPtr outStream, size_t offset, const PkgManager::FileInfoPtr… in ZipAdapter()
109 int32_t ZipAdapter::FlushData(size_t &offset) in FlushData()
Dlz4_adapter.cpp27 Lz4Adapter::Lz4Adapter(UpdatePatchWriterPtr outStream, size_t offset, const PkgManager::FileInfoPtr… in Lz4Adapter()
182 int32_t Lz4FrameAdapter::FlushData(size_t &offset) in FlushData()
290 int32_t Lz4BlockAdapter::FlushData(size_t &offset) in FlushData()
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_centraldirectory.c32 void HapPutByte(const HapBuf *hapBuffer, int32_t offset, char value) in HapPutByte()
43 void HapPutData(const HapBuf *hapBuffer, int32_t offset, const unsigned char *data, int32_t len) in HapPutData()
55 void HapSetInt32(const HapBuf *buffer, int32_t offset, int32_t value) in HapSetInt32()
168 int32_t ReadFileFullyFromOffset(const HapBuf *buffer, int32_t offset, const FileRead *file) in ReadFileFullyFromOffset()
/base/update/updater/services/diffpatch/patch/
Dimage_patch.cpp35 size_t offset = startOffset; in ApplyImagePatch() local
67 size_t offset = startOffset; in ApplyImagePatch() local
91 …CompressedImagePatch::StartReadHeader(const PatchParam &param, PatchHeader &header, size_t &offset) in StartReadHeader()
111 size_t offset = startOffset; in ApplyImagePatch() local
216 int32_t ZipImagePatch::ReadHeader(const PatchParam &param, PatchHeader &header, size_t &offset) in ReadHeader()
269 int32_t Lz4ImagePatch::ReadHeader(const PatchParam &param, PatchHeader &header, size_t &offset) in ReadHeader()
/base/startup/init/services/param/base/
Dparam_trie.c60 uint32_t offset = AllocateParamTrieNode(workSpace, "#", 1); in InitWorkSpace_() local
87 uint32_t offset = workSpace->area->currOffset; in AllocateParamTrieNode() local
153 uint32_t offset = AllocateParamTrieNode(workSpace, key, keyLen); in AddToSubTrie() local
162 uint32_t offset = AllocateParamTrieNode(workSpace, key, keyLen); in AddToSubTrie() local
265 uint32_t offset = workSpace->area->currOffset; in AddParamSecurityNode() local
301 uint32_t offset = workSpace->area->currOffset; in AddParamNode() local
307 INIT_LOCAL_API void SaveIndex(uint32_t *index, uint32_t offset) in SaveIndex()
370 … uint32_t offset = AddParamNode(workSpace, type, name, strlen(name), value, strlen(value), 0); in AddParamEntry() local
390 uint32_t offset = node->labelIndex; in AddSecurityLabel() local
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
DStringPool.java49 public StringPool(HashMap<String, Integer> hashMap, int offset) { in StringPool()
86 public final int offset; field in StringPool.StringItem
88 public StringItem(int length, int offset) { in StringItem()
/base/security/certificate_manager/test/fuzz_test/cmappcert_fuzzer/
Dcmappcert_fuzzer.cpp29 …static bool InstallAppCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, uint32_t stor… in InstallAppCert()
61 …static bool GetAllAppCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, uint32_t store) in GetAllAppCert()
76 static bool GetAppCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, uint32_t store, in GetAppCert()
101 …static bool UnInstallAppCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, uint32_t st… in UnInstallAppCert()
134 uint32_t offset = 0; in DoSomethingInterestingWithMyAPI() local
/base/security/certificate_manager/test/fuzz_test/cmusertrustedstore_fuzzer/
Dcmusertrustedstore_fuzzer.cpp30 …static bool InstallUserCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, struct CmBlo… in InstallUserCert()
64 …static bool SetUserCertStatus(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, struct CmB… in SetUserCertStatus()
102 static bool GetAllUserCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset) in GetAllUserCert()
131 …static bool GetUserCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, struct CmBlob *k… in GetUserCert()
166 …static bool UnInstallUserCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, struct CmB… in UnInstallUserCert()
203 uint32_t offset = 0; in DoSomethingInterestingWithMyAPI() local
/base/update/updater/services/applypatch/
Draw_writer.h30 RawWriter(const std::string path, uint64_t offset) : fd_(-1), path_(path), offset_(offset) {} in RawWriter()
31 RawWriter(const std::string path, uint64_t startAddr, uint64_t offset) : fd_(-1), in RawWriter()
Ddata_writer.cpp60 uint64_t offset) in CreateDataWriter()
85 UpdaterEnv *env, uint64_t offset) in CreateDataWriter()
92 const std::string &partName, uint64_t startAddr, uint64_t offset) in CreateDataWriter()
/base/update/updater/services/diffpatch/diff/
Dblocks_diff.h90 …BlocksStreamDiff(std::fstream &stream, size_t offset) : BlocksDiff(), stream_(stream), offset_(off… in BlocksStreamDiff()
103 BlocksBufferDiff(std::vector<uint8_t> &patchData, size_t offset) in BlocksBufferDiff()
/base/security/certificate_manager/test/fuzz_test/cmsystemtrustedstore_fuzzer/
Dcmsystemtrustedstore_fuzzer.cpp29 …static bool SetSysCertStatus(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, struct CmBl… in SetSysCertStatus()
67 static bool GetAllSysCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset) in GetAllSysCert()
96 …static bool GetSysCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, struct CmBlob *ke… in GetSysCert()
139 uint32_t offset = 0; in DoSomethingInterestingWithMyAPI() local
/base/telephony/sms_mms/services/sms/
Dgsm_cb_pdu_decode_buffer.cpp62 void GsmCbPduDecodeBuffer::IncreasePointer(uint32_t offset) in IncreasePointer()
67 void GsmCbPduDecodeBuffer::SetPointer(uint32_t offset) in SetPointer()
/base/hiviewdfx/hiview/base/utility/include/
Dash_memory_utils.h30 uint32_t offset = 0; in WriteBulkData() local
55 uint32_t offset = 0; in ReadBulkData() local
/base/update/updater/test/unittest/diffpatch/
Dimage_patch_unittest.cpp39 int32_t TestStartReadHeader(const PatchParam &param, PatchHeader &header, size_t &offset) in TestStartReadHeader()
50 int32_t ReadHeader(const PatchParam &param, PatchHeader &header, size_t &offset) override in ReadHeader()
84 size_t offset = 0; variable
119 size_t offset = 0; variable
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dglobal_utils.c114 uint8_t offset = 0; in ConvertUint8ArrayToUint32() local
129 uint32_t offset = 0; in GetValueFromLocale() local
181 uint32_t offset = INVALID_OFFSET; in FindOffsetByLangWithScriptOrRegion() local
216 uint32_t offset = INVALID_OFFSET; in FindOffsetByAllParam() local
263 uint32_t offset = INVALID_OFFSET; in GetIdHeaderOffsetByCount() local
390 uint32_t offset = GetIdHeaderOffsetByLocale(locale, keys, resConfigNum); in GetOffsetByLocale() local
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/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_file_operator.c69 static int32_t FileRead(const char *fileName, uint32_t offset, struct HksBlob *blob, uint32_t *size) in FileRead()
103 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite()
154 int32_t HksTestFileRead(const char *path, const char *fileName, uint32_t offset, struct HksBlob *bl… in HksTestFileRead()
171 int32_t HksTestFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *bu… in HksTestFileWrite()
/base/update/updater/services/package/pkg_package/
Dpkg_gzipfile.cpp65 void GZipFileEntry::GetUpGradeCompInfo(size_t &offset, PkgBuffer &buffer) in GetUpGradeCompInfo()
110 size_t offset = 0; in EncodeHeader() local
236 void GZipFileEntry::DecodeHeaderCalOffset(uint8_t flags, const PkgBuffer &buffer, size_t &offset, in DecodeHeaderCalOffset()
268 size_t offset = sizeof(GZipHeader); in DecodeHeader() local
349 int32_t GZipPkgFile::SavePackage(size_t &offset) in SavePackage()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
Ddfx_map.h36 DfxMap(uint64_t begin, uint64_t end, uint64_t offset, in DfxMap()
39 DfxMap(uint64_t begin, uint64_t end, uint64_t offset, in DfxMap()
55 uint64_t offset = 0; variable

12345678910>>...15