/base/telephony/core_service/services/sim/src/ |
H A D | tag_service.cpp | 122 if (!hasNext_ || offset_ >= data_.size()) { in Next() 130 for (; offset_ < data_.size(); ++offset_, ++order) { in Next() 131 const auto res = TagFunc(data_.at(offset_), order, tag_); in Next() 136 ++offset_; in Next() 142 if (offset_ >= data_.size()) { in Next() 148 for (; offset_ < data_.size(); ++offset_, ++order) { in Next() 149 const auto res = LengthFunc(data_.at(offset_), order, length_); in Next() 154 ++offset_; in Next() [all...] |
/base/update/updater/services/applypatch/ |
H A D | raw_writer.h | 30 RawWriter(const std::string path, uint64_t offset) : fd_(-1), path_(path), offset_(offset) {} in RawWriter() 32 path_(path), offset_(startAddr + offset) {} in RawWriter() 36 offset_ = 0; in ~RawWriter() 51 off64_t offset_; member in Updater::RawWriter
|
H A D | partition_record.cpp | 83 offset_ = newOffset; in RecordPartitionSetOffset() 84 if (lseek(fd, PARTITION_RECORD_START + offset_, SEEK_SET) < 0) { in RecordPartitionSetOffset() 103 offset_ += static_cast<off_t>(sizeof(PartitionRecordInfo)); in RecordPartitionSetInfo() 108 if (write(fd, &offset_, sizeof(off_t)) != static_cast<ssize_t>(sizeof(off_t))) { in RecordPartitionSetInfo() 134 if (offset_ + static_cast<off_t>(sizeof(PartitionRecordInfo)) < PARTITION_UPDATER_RECORD_SIZE) { in RecordPartitionUpdateStatus() 139 LOG(DEBUG) << "PartitionRecord: offset is " << offset_; in RecordPartitionUpdateStatus() 141 LOG(WARNING) << "PartitionRecord: partition record overflow, offset = " << offset_; in RecordPartitionUpdateStatus()
|
H A D | raw_writer.cpp | 62 int ret = lseek64(fd, offset_, SEEK_SET); in WriteInternal() 64 LOG(ERROR) << "RawWriter: failed to seek file to " << offset_ << " : " << strerror(errno); in WriteInternal() 77 offset_ += static_cast<off64_t>(len); in WriteInternal()
|
/base/security/code_signature/interfaces/innerkits/jit_code_sign/src/ |
H A D | jit_code_signer_single.cpp | 37 offset_ = 0; in Reset() 42 int index = GetIndexFromOffset(offset_); in SignInstruction() 44 LOG_INFO("Offset = %{public}x, insn = %{public}x", offset_, insn); in SignInstruction() 47 GetIndexFromOffset(offset_), signTable_.size()); in SignInstruction() 51 offset_ += INSTRUCTION_SIZE; in SignInstruction()
|
H A D | jit_code_signer_hybrid.cpp | 37 offset_ = 0; in Reset() 48 if (static_cast<size_t>(GetIndexFromOffset(offset_)) != signTable_.size()) { in SignInstruction() 50 GetIndexFromOffset(offset_), signTable_.size()); in SignInstruction() 52 LOG_INFO("Offset = %{public}x, insn = %{public}x", offset_, insn); in SignInstruction() 55 skippedOffset_.push_back(offset_); in SignInstruction() 56 signTable_.push_back(ctx_.SignSingle(insn, GetIndexFromOffset(offset_))); in SignInstruction() 60 ctx_.Init(GetIndexFromOffset(offset_)); in SignInstruction() 66 offset_ += INSTRUCTION_SIZE; in SignInstruction()
|
/base/update/updater/services/diffpatch/bzip2/ |
H A D | lz4_adapter.cpp | 28 : DeflateAdapter(), outStream_(outStream), offset_(offset)
in Lz4Adapter() 86 int32_t ret = outStream_->Write(offset_, {buffer_.data(), dataSize}, dataSize);
in Open() 91 offset_ += dataSize;
in Open() 172 ret = outStream_->Write(offset_, {buffer_.data(), dataSize}, dataSize);
in CompressData() 178 offset_ += dataSize;
in CompressData() 197 int32_t ret = outStream_->Write(offset_, {buffer_.data(), dataSize}, dataSize);
in FlushData() 202 offset_ += dataSize;
in FlushData() 203 offset = offset_;
in FlushData() 233 ret = outStream_->Write(offset_, {buffer_.data(), sizeof(int32_t)}, sizeof(int32_t));
in Open() 238 offset_ in Open() [all...] |
H A D | zip_adapter.cpp | 25 : DeflateAdapter(), outStream_(outStream), offset_(offset)
in ZipAdapter() 84 ret = outStream_->Write(offset_, {buffer_.data(), deflateLen}, deflateLen);
in WriteData() 89 offset_ += deflateLen;
in WriteData() 121 ret = outStream_->Write(offset_, {buffer_.data(), deflateLen}, deflateLen);
in FlushData() 126 offset_ += deflateLen;
in FlushData() 144 offset = offset_;
in FlushData()
|
H A D | bzip2_adapter.cpp | 53 char *next = reinterpret_cast<char*>(buffer_.data() + offset_ + dataSize_);
in WriteData() 54 stream_.avail_out = buffer_.size() - offset_ - dataSize_;
in WriteData() 89 stream_.avail_out = buffer_.size() - offset_ - dataSize_;
in FlushData() 90 char *next = reinterpret_cast<char*>(buffer_.data() + offset_ + dataSize_);
in FlushData() 98 stream_.avail_out = buffer_.size() - offset_ - dataSize_;
in FlushData() 99 next = reinterpret_cast<char*>(buffer_.data() + offset_ + dataSize_);
in FlushData() 108 PATCH_DEBUG("FlushData offset_ %zu dataSize_ %zu ", offset_, dataSize_);
in FlushData() 190 if (dataLength_ > buffer_.length - offset_) {
in Open() 195 PATCH_DEBUG("BZip2BufferReadAdapter::Open %zu dataLength_ %zu", offset_, dataLength in Open() [all...] |
H A D | bzip2_adapter.h | 41 : BZip2Adapter(), offset_(offset), buffer_(buffer) {}
in BZipBuffer2Adapter() 47 size_t offset_ { 0 };
68 BZip2ReadAdapter(size_t offset, size_t length) : offset_(offset), dataLength_(length) {}
in BZip2ReadAdapter() 79 size_t offset_ { 0 };
|
H A D | zip_adapter.h | 44 size_t offset_;
member in UpdatePatch::ZipAdapter
|
H A D | lz4_adapter.h | 43 size_t offset_;
member in UpdatePatch::Lz4Adapter
|
/base/web/webview/ohos_adapter/media_adapter/src/ |
H A D | buffer_info_adapter_impl.cpp | 32 return offset_; in GetOffset() 47 offset_ = offset; in SetOffset()
|
/base/update/updater/services/include/applypatch/ |
H A D | partition_record.h | 67 offset_ = 0; in PartitionRecord() 79 off_t offset_; member in Updater::PartitionRecord
|
/base/update/updater/services/diffpatch/diff/ |
H A D | blocks_diff.h | 90 BlocksStreamDiff(std::fstream &stream, size_t offset) : BlocksDiff(), stream_(stream), offset_(offset) {}
in BlocksStreamDiff() 98 size_t offset_ { 0 };
104 : BlocksDiff(), patchData_(patchData), offset_(offset) {}
in BlocksBufferDiff() 112 size_t offset_ { 0 };
|
H A D | blocks_diff.cpp | 202 offset_ + patchOffset);
in CreateBZip2Adapter() 226 if (patchData_.size() <= headerLen + offset_) {
in WritePatchHeader() 231 int32_t ret = memcpy_s(patchData_.data() + offset_, patchData_.size(), BSDIFF_MAGIC,
in WritePatchHeader() 238 BlockBuffer data = {patchData_.data() + offset_ + headerLen, patchData_.size()};
in WritePatchHeader() 241 BlockBuffer diffData = {patchData_.data() + offset_ + headerLen, patchData_.size()};
in WritePatchHeader() 244 BlockBuffer newData = {patchData_.data() + offset_ + headerLen, patchData_.size()};
in WritePatchHeader() 255 if (offset_ > static_cast<size_t>(numeric_limits<std::fstream::off_type>::max())) {
in WritePatchHeader() 256 PATCH_LOGE("offset_ error");
in WritePatchHeader() 260 stream_.seekp(offset_, std::ios::beg);
in WritePatchHeader()
|
/base/security/code_signature/interfaces/innerkits/jit_code_sign/include/ |
H A D | jit_code_signer_base.h | 39 JitCodeSignerBase() : tmpBuffer_(nullptr), offset_(0) {}; in JitCodeSignerBase() 59 int offset_; member in OHOS::Security::CodeSign::JitCodeSignerBase
|
/base/web/webview/ohos_adapter/media_adapter/include/ |
H A D | buffer_info_adapter_impl.h | 42 int32_t offset_ = 0; member in OHOS::NWeb::BufferInfoAdapterImpl
|
/base/global/resource_management/frameworks/resmgr/include/ |
H A D | res_desc.h | 126 uint32_t offset_; member in OHOS::Global::Resource::IdParam 197 uint32_t offset_; member in OHOS::Global::Resource::ResKey
|
/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | res_desc.h | 110 uint32_t offset_; member in OHOS::Global::Resource::IdParam 176 uint32_t offset_; member in OHOS::Global::Resource::ResKey
|
/base/telephony/core_service/services/sim/include/ |
H A D | tag_service.h | 47 size_t offset_ = 0; member in OHOS::Telephony::TagService
|
/base/telephony/core_service/services/network_search/include/ |
H A D | nitz_update.h | 61 static int32_t offset_; member in OHOS::Telephony::NitzUpdate
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_symbol.h | 44 uint64_t offset_ = 0; member 104 offset_ = fileVaddr_ - funcVaddr_; in SetIpVAddress()
|
/base/telephony/core_service/services/network_search/src/ |
H A D | nitz_update.cpp | 60 int32_t NitzUpdate::offset_ = 0; member in OHOS::Telephony::NitzUpdate 94 offset_ = networkTime.offset; in ProcessNitzUpdate() 312 int32_t offset = QUARTER_TO_MILLISECOND * offset_; in UpdateCountryCode()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | res_desc.cpp | 213 return FormatString("[id:%u, offset:%u, data:%s]", id_, offset_, in ToString() 246 std::string ret = FormatString("offset:%u, keyParamsCount:%u, keyParams:", offset_, keyParamsCount_); in ToString()
|