/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/ |
D | hks_ipc_serialization.c | 124 struct HksParamSet **paramSet, uint32_t *offset) in GetKeyAndParamSetFromBuffer() 135 …int32_t MallocBlobFromBuffer(const struct HksBlob *srcData, struct HksBlob *blob, uint32_t *offset) in MallocBlobFromBuffer() 154 …cParamSetFromBuffer(const struct HksBlob *srcData, struct HksParamSet **paramSet, uint32_t *offset) in MallocParamSetFromBuffer() 175 uint32_t offset = 0; in HksGenerateKeyUnpack() local 203 uint32_t offset = 0; in HksImportKeyUnpack() local 213 uint32_t offset = 0; in HksImportWrappedKeyUnpack() local 228 uint32_t offset = 0; in HksExportPublicKeyUnpack() local 241 uint32_t offset = 0; in HksGetKeyParamSetUnpack() local 252 struct HksBlob *inputData, uint32_t *offset) in SignVerifyMacUnpack() 266 uint32_t offset = 0; in HksSignUnpack() local [all …]
|
/base/update/updater/services/diffpatch/bzip2/ |
D | bzip2_adapter.h | 40 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()
|
D | zip_adapter.cpp | 24 ZipAdapter::ZipAdapter(UpdatePatchWriterPtr outStream, size_t offset, const PkgManager::FileInfoPtr… in ZipAdapter() 109 int32_t ZipAdapter::FlushData(size_t &offset) in FlushData()
|
D | lz4_adapter.h | 53 Lz4FrameAdapter(UpdatePatchWriterPtr outStream, size_t offset, in Lz4FrameAdapter() 74 Lz4BlockAdapter(UpdatePatchWriterPtr outStream, size_t offset, in Lz4BlockAdapter()
|
D | lz4_adapter.cpp | 27 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/ |
D | app_centraldirectory.c | 32 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/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/ |
D | hks_ipc_serialization.c | 127 uint32_t offset = 0; in HksGenerateKeyPack() local 139 uint32_t offset = 0; in HksImportKeyPack() local 151 uint32_t offset = 0; in HksImportWrappedKeyPack() local 165 uint32_t offset = 0; in HksExportPublicKeyPack() local 173 uint32_t offset = 0; in HksGetKeyParamSetPack() local 180 uint32_t *offset) in HksOnceParamPack() 189 const struct HksBlob *outputData, uint32_t *offset) in HksOnceDataPack() 208 uint32_t offset = 0; in HksAgreeKeyPack() local 223 uint32_t offset = 0; in HksDeriveKeyPack() local 234 uint32_t offset = 0; in HksGetKeyInfoListPack() local [all …]
|
/base/security/certificate_manager/test/fuzz_test/fuzz_test_common/src/ |
D | cm_fuzz_test_common.cpp | 22 bool GetUintFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, uint32_t *outVal) in GetUintFromBuffer() 35 bool GetCmBlobFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CmBlob *outB… in GetCmBlobFromBuffer() 51 bool GetCertListFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CertList *… in GetCertListFromBuffer() 65 bool GetCertInfoFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CertInfo *… in GetCertInfoFromBuffer() 261 uint32_t *offset, CertManagerInterfaceCode code, struct CmParamSet **paramSetOut) in ConstructParamSet() 315 uint32_t offset = 0; in IpcServiceApiFuzzerTest() local
|
/base/security/appverify/interfaces/innerkits/appverify/src/common/ |
D | random_access_file.cpp | 81 long long RandomAccessFile::DoMMap(int32_t bufCapacity, long long offset, MmapInfo& mmapInfo) in DoMMap() 106 long long RandomAccessFile::ReadFileFullyFromOffset(char buf[], long long offset, int32_t bufCapaci… in ReadFileFullyFromOffset() 127 long long RandomAccessFile::ReadFileFullyFromOffset(HapByteBuffer& buffer, long long offset) in ReadFileFullyFromOffset() 146 int32_t chunkSize, long long offset) in ReadFileFromOffsetAndDigestUpdate()
|
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
D | StringPool.java | 46 public StringPool(HashMap<String, Integer> hashMap, int offset) { in StringPool() 83 public final int offset; field in StringPool.StringItem 85 public StringItem(int length, int offset) { in StringItem()
|
D | LocaleMaskItem.java | 37 private int offset = -1; field in LocaleMaskItem 89 public void setOffset(int offset) { in setOffset()
|
/base/update/updater/services/diffpatch/patch/ |
D | image_patch.cpp | 33 size_t offset = startOffset; in ApplyImagePatch() local 64 size_t offset = startOffset; in ApplyImagePatch() local 88 …CompressedImagePatch::StartReadHeader(const PatchParam ¶m, PatchHeader &header, size_t &offset) in StartReadHeader() 106 size_t offset = startOffset; in ApplyImagePatch() local 210 int32_t ZipImagePatch::ReadHeader(const PatchParam ¶m, PatchHeader &header, size_t &offset) in ReadHeader() 263 int32_t Lz4ImagePatch::ReadHeader(const PatchParam ¶m, PatchHeader &header, size_t &offset) in ReadHeader()
|
/base/update/updater/services/diffpatch/diff/ |
D | blocks_diff.h | 90 …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/startup/init/services/param/base/ |
D | param_trie.c | 56 uint32_t offset = AllocateParamTrieNode(workSpace, "#", 1); in InitWorkSpace_() local 83 uint32_t offset = workSpace->area->currOffset; in AllocateParamTrieNode() local 149 uint32_t offset = AllocateParamTrieNode(workSpace, key, keyLen); in AddToSubTrie() local 158 uint32_t offset = AllocateParamTrieNode(workSpace, key, keyLen); in AddToSubTrie() local 254 uint32_t offset = workSpace->area->currOffset; in AddParamSecurityNode() local 286 uint32_t offset = workSpace->area->currOffset; in AddParamNode() local 292 INIT_LOCAL_API void SaveIndex(uint32_t *index, uint32_t offset) in SaveIndex() 354 uint32_t offset = AddParamNode(workSpace, type, name, strlen(name), value, strlen(value)); in AddParamEntry() local 374 uint32_t offset = node->labelIndex; in AddSecurityLabel() local
|
/base/telephony/sms_mms/services/sms/ |
D | gsm_cb_pdu_decode_buffer.cpp | 62 void GsmCbPduDecodeBuffer::IncreasePointer(uint32_t offset) in IncreasePointer() 67 void GsmCbPduDecodeBuffer::SetPointer(uint32_t offset) in SetPointer()
|
/base/security/huks/test/unittest/huks_lite_test/common/ |
D | hks_test_file_operator.c | 98 static uint32_t FileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in FileRead() 143 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite() 201 static uint32_t FileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in FileRead() 236 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite() 287 uint32_t HksTestFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uin… in HksTestFileRead() 304 int32_t HksTestFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *bu… in HksTestFileWrite()
|
/base/update/updater/services/applypatch/ |
D | data_writer.cpp | 60 uint64_t offset) in CreateDataWriter() 85 UpdaterEnv *env, uint64_t offset) in CreateDataWriter()
|
/base/hiviewdfx/faultloggerd/frameworks/unwinder/ |
D | dfx_memory_file.cpp | 32 …shared_ptr<DfxMemoryFile> DfxMemoryFile::CreateFileMemory(const std::string& path, uint64_t offset) in CreateFileMemory() 49 bool DfxMemoryFile::Init(const std::string& file, uint64_t offset, uint64_t size) in Init()
|
D | dfx_symbols.cpp | 61 uint64_t pc, std::string& name, uint64_t& offset) in GetNameAndOffsetByPc() 85 uint64_t pc, std::string& name, uint64_t& offset) in GetNameAndOffsetByPc() 109 bool DfxSymbols::GetNameAndOffsetByPc(uint64_t pc, std::string& name, uint64_t& offset) in GetNameAndOffsetByPc()
|
/base/global/i18n/frameworks/intl/src/ |
D | i18n_break_iterator.cpp | 91 int32_t I18nBreakIterator::Following(int32_t offset) in Following() 114 bool I18nBreakIterator::IsBoundary(int32_t offset) in IsBoundary()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | global_utils.c | 114 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_standard_test/interface_inner_test/sdk_test/src/ |
D | hks_test_file_operator.c | 88 static uint32_t FileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in FileRead() 133 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite() 191 uint32_t HksFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uint32_… in HksFileRead() 208 int32_t HksFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *buf, u… in HksFileWrite()
|
/base/update/updater/services/package/pkg_package/ |
D | pkg_gzipfile.cpp | 65 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/startup/init/services/param/include/ |
D | param_trie.h | 36 #define GetTrieNode(workSpace, offset) (ParamTrieNode *)(((offset) == 0 || (offset) > (workSpace)->… argument
|
/base/startup/init/services/param/linux/ |
D | param_message.c | 49 uint32_t offset = *start; in FillParamMsgContent() local 84 ParamMsgContent *GetNextContent(const ParamMessage *request, uint32_t *offset) in GetNextContent()
|