Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 1955) sorted by relevance

12345678910>>...79

/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/src/
H A Djs_buffer.ts588 offset = 0;
622 offset = 0;
871 offset = 0;
882 offset = 0;
894 offset = 0;
922 offset = 0;
933 offset = 0;
945 offset = 0;
958 offset = 0;
969 offset = 0;
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_browse.cpp94 offset += PushOctets1((buffer + offset), pduId_); in AssemblePacket()
117 offset += PopOctets1((buffer + offset), payload); in DisassemblePacket()
121 offset += PopOctets2((buffer + offset), payload); in DisassemblePacket()
125 offset += PopOctets1((buffer + offset), payload); in DisassemblePacket()
129 offset += PopOctets2((buffer + offset), payload); in DisassemblePacket()
225 offset += PushOctets1((buffer + offset), pduId_); in AssemblePacket()
326 offset += PushOctets1((buffer + offset), pduId_); in AssemblePacket()
333 offset += PushOctets1((buffer + offset), scope_); in AssemblePacket()
424 offset += PopOctets1((buffer + offset), payload); in DisassembleMpParameter()
428 offset += PopOctets2((buffer + offset), payload); in DisassembleMpParameter()
[all …]
H A Davrcp_ct_vendor.cpp104 offset += PushOctets1((buffer + offset), crCode_); in AssembleFixedOperands()
111 offset += PushOctets1((buffer + offset), opCode_); in AssembleFixedOperands()
114 offset += PushOctets3((buffer + offset), companyId_); in AssembleFixedOperands()
117 offset += PushOctets1((buffer + offset), pduId_); in AssembleFixedOperands()
221 offset += PopOctets2((buffer + offset), payload); in DisassembleParameters()
225 offset += PopOctets1((buffer + offset), payload); in DisassembleParameters()
229 offset += PopOctets1((buffer + offset), payload); in DisassembleParameters()
317 offset += PopOctets2((buffer + offset), payload); in DisassembleParameters()
321 offset += PopOctets1((buffer + offset), payload); in DisassembleParameters()
409 offset += PopOctets2((buffer + offset), payload); in DisassembleParameters()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_server.c211 offset++; in SdpAddServiceRecordHandle()
260 offset++; in SdpAddServiceRecordState()
917 offset++; in SdpAddAttributeForValue()
1009 offset++; in SdpAddAttributeToServiceRecord()
1186 offset++; in SdpParseSearchRequest()
1203 offset++; in SdpParseSearchRequest()
1378 offset++; in SdpParseAttributeRequest()
1390 offset++; in SdpParseAttributeRequest()
1581 offset++; in SdpParseSearchAttributeRequestCommon()
1611 offset++; in SdpParseSearchAttributeRequest()
[all …]
H A Dsdp_util.c54 offset++; in SdpAddAttributeForUuid()
62 offset++; in SdpAddAttributeForUuid()
70 offset++; in SdpAddAttributeForUuid()
80 return offset; in SdpAddAttributeForUuid()
91 uint16_t offset = 0; in SdpGetLengthFromType() local
116 offset = 1; in SdpGetLengthFromType()
132 return offset; in SdpGetLengthFromType()
141 offset++; in SdpGetUuid()
145 return offset; in SdpGetUuid()
164 offset += length; in SdpGetUuid()
[all …]
/ohos5.0/docs/zh-cn/application-dev/onlyfortest/9Release/
H A Dcheck-illegal-code.md25 xs: { span: 6, offset: 0 },
26 sm: { span: 2, offset: 0 },
27 md: { span: 2, offset: 0 },
28 lg: { span: 2, offset: 0 }
33 xs: { span: 2, offset: 6 },
34 sm: { span: 6, offset: 2 },
35 md: { span: 2, offset: 2 },
36 lg: { span: 2, offset: 2 }
41 xs: { span: 2, offset: 8 },
44 lg: { span: 2, offset: 4 }
[all …]
H A Dcheck-deprecated-doc.md28 xs: { span: 6, offset: 0 },
29 sm: { span: 2, offset: 0 },
30 md: { span: 2, offset: 0 },
31 lg: { span: 2, offset: 0 }
36 xs: { span: 2, offset: 6 },
37 sm: { span: 6, offset: 2 },
38 md: { span: 2, offset: 2 },
39 lg: { span: 2, offset: 2 }
44 xs: { span: 2, offset: 8 },
47 lg: { span: 2, offset: 4 }
[all …]
H A Dcheck-legal-code.md27 xs: { span: 6, offset: 0 },
28 sm: { span: 2, offset: 0 },
29 md: { span: 2, offset: 0 },
30 lg: { span: 2, offset: 0 }
35 xs: { span: 2, offset: 6 },
36 sm: { span: 6, offset: 2 },
37 md: { span: 2, offset: 2 },
38 lg: { span: 2, offset: 2 }
43 xs: { span: 2, offset: 8 },
46 lg: { span: 2, offset: 4 }
[all …]
/ohos5.0/foundation/ability/dmsfwk/test/fuzztest/dschedallconnectmanager_fuzzer/
H A Ddschedallconnectmanager_fuzzer.cpp45 offset += ENUM_OFFSET; in FuzzApplyAdvanceResource()
47 offset += BOOL_OFFSET; in FuzzApplyAdvanceResource()
56 offset += ENUM_OFFSET; in FuzzApplyAdvanceResource()
58 offset += BOOL_OFFSET; in FuzzApplyAdvanceResource()
63 offset += INT32_T_OFFSET; in FuzzApplyAdvanceResource()
65 offset += INT32_T_OFFSET; in FuzzApplyAdvanceResource()
67 offset += INT32_T_OFFSET; in FuzzApplyAdvanceResource()
91 offset += ENUM_OFFSET; in FuzzGetResourceRequest()
93 offset += BOOL_OFFSET; in FuzzGetResourceRequest()
102 offset += ENUM_OFFSET; in FuzzGetResourceRequest()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_cmd.c28 size_t offset = 0x00; in SMP_SendPairingRequest() local
34 offset += sizeof(code); in SMP_SendPairingRequest()
59 size_t offset = 0x00; in SMP_SendPairingResponse() local
65 offset += sizeof(code); in SMP_SendPairingResponse()
90 size_t offset = 0x00; in SMP_SendPairingConfirm() local
114 size_t offset = 0x00; in SMP_SendPairingRandom() local
138 size_t offset = 0x00; in SMP_SendPairingFailed() local
162 size_t offset = 0x00; in SMP_SendPairingPublicKey() local
186 size_t offset = 0x00; in SMP_SendPairingDHKeyCheck() local
210 size_t offset = 0x00; in SMP_SendEncryptionInformation() local
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_notification.cpp117 offset += PushOctets1((bufferPtr + offset), packetType_); in AssemblePlaybackStatusChanged()
124 offset += PushOctets1((bufferPtr + offset), eventId_); in AssemblePlaybackStatusChanged()
151 offset += PushOctets1((bufferPtr + offset), packetType_); in AssembleTrackChanged()
158 offset += PushOctets1((bufferPtr + offset), eventId_); in AssembleTrackChanged()
192 offset += PushOctets1((bufferPtr + offset), eventId_); in AssemblePlaybackPosChanged()
233 offset += PushOctets1((bufferPtr + offset), eventId_); in AssemblePlayerApplicationSettingChanged()
281 offset += PushOctets1((bufferPtr + offset), eventId_); in AssembleAddressedPlayerChanged()
318 offset += PushOctets1((bufferPtr + offset), eventId_); in AssembleUidsChanged()
352 offset += PushOctets1((bufferPtr + offset), eventId_); in AssembleVolumeChanged()
399 offset += PopOctets2((buffer + offset), payload); in DisassembleParameters()
[all …]
H A Davrcp_tg_browse.cpp55 offset += PushOctets1((buffer + offset), pduId_); in AssemblePacket()
156 offset += PushOctets1((buffer + offset), pduId_); in AssemblePacket()
163 offset += PushOctets1((buffer + offset), status_); in AssemblePacket()
166 offset += PushOctets2((buffer + offset), uidCounter_); in AssemblePacket()
266 offset += PushOctets1((buffer + offset), pduId_); in AssemblePacket()
272 offset += PushOctets1((buffer + offset), status_); in AssemblePacket()
445 offset += PushOctets1((buffer + offset), pduId_); in AssembleMpPacket()
455 offset += PushOctets1((buffer + offset), status_); in AssembleMpPacket()
574 offset += PushOctets1((buffer + offset), pduId_); in AssembleMePacket()
584 offset += PushOctets1((buffer + offset), status_); in AssembleMePacket()
[all …]
H A Davrcp_tg_vendor.cpp189 offset += PushOctets1((buffer + offset), crCode_); in AssembleRejectPacket()
195 offset += PushOctets1((buffer + offset), opCode_); in AssembleRejectPacket()
201 offset += PushOctets1((buffer + offset), pduId_); in AssembleRejectPacket()
228 offset += PushOctets1((buffer + offset), crCode_); in AssembleMinOperands()
234 offset += PushOctets1((buffer + offset), opCode_); in AssembleMinOperands()
237 offset += PushOctets3((buffer + offset), companyId_); in AssembleMinOperands()
350 offset += PopOctets2((buffer + offset), payload); in DisassembleParameters()
1182 offset += PopOctets2((buffer + offset), payload); in DisassembleParameters()
1187 offset += PopOctets1((buffer + offset), payload); in DisassembleParameters()
1576 offset += PopOctets2((buffer + offset), payload); in DisassembleParameters()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_snoop_filter_acl.c348 uint16_t offset = 0; in ProcessHciConnInfo() local
414 uint16_t offset = 0; in ProcessL2capConnectionRequest() local
451 uint16_t offset = 0; in ProcessL2capConnectionResponse() local
491 uint16_t offset = 0; in ProcessL2capConfigurationRequest() local
532 uint16_t offset = 0; in ProcessL2capConfigurationResponse() local
578 uint16_t offset = 0; in ProcessL2capDisconnectionResponse() local
593 uint16_t offset = 0; in ProcessL2capConnInfo() local
701 uint16_t offset; in RfcommDataFilterUseHfp() local
744 uint16_t offset; in RfcommDataFilterUseOther() local
756 uint16_t offset = 0; in IsL2capSignalingChannelData() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/badge/
H A Drosen_render_badge.cpp41 DrawBadge(context, offset); in Paint()
71 rRect.offset(offset.GetX() + width_ - badgeCircleDiameter_, offset.GetY()); in DrawCircleBadge()
75 rRect.offset( in DrawCircleBadge()
76offset.GetX() + width_ - badgeCircleDiameter_, offset.GetY() + height_ / 2 - badgeCircleRadius_); in DrawCircleBadge()
80 rRect.offset(offset.GetX(), offset.GetY() + height_ / 2 - badgeCircleRadius_); in DrawCircleBadge()
119 rRect.Offset(offset.GetX() + width_ - badgeCircleDiameter_, offset.GetY()); in DrawCircleBadge()
128 rRect.Offset(offset.GetX(), offset.GetY() + height_ / 2 - badgeCircleRadius_); in DrawCircleBadge()
299 …rRect.offset(offset.GetX() + textInitialOffset_.GetX(), offset.GetY() + textInitialOffset_.GetY()); in SetBoundaryForNumericalBadge()
308 …rRect.offset(offset.GetX() + textInitialOffset_.GetX(), offset.GetY() + textInitialOffset_.GetY()); in SetBoundaryForNumericalBadge()
317 rRect.offset(offset.GetX(), offset.GetY() + textInitialOffset_.GetY()); in SetBoundaryForNumericalBadge()
[all …]
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hdr/
H A Djpeg_mpf_parser.cpp87 for (offset = 0; offset < size; offset++) { in CheckMpfOffset()
213 while (offset > 0) { in GetLastAuxiliaryTagOffset()
214 if (FindAuxiliaryTags(data + offset, size - offset, foundTag)) { in GetLastAuxiliaryTagOffset()
217 --offset; in GetLastAuxiliaryTagOffset()
230 while (offset > 0) { in ParsingAuxiliaryPictures()
256 offset = offset - imageSize - UINT32_BYTE_SIZE; in ParsingAuxiliaryPictures()
258 .offset = offset, in ParsingAuxiliaryPictures()
276 for (uint32_t offset = 0; offset < size; offset++) { in ParsingFragmentMetadata() local
304 ImageUtils::Uint32ToBytes(images[i].offset, bytes, offset); in WriteMPEntryToBytes()
370 uint32_t offset = 0; in PackFragmentMetadata() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_linear_track.cpp135 startRect = isReverse_ ? offset.GetY() + GetLayoutSize().Height() : offset.GetY(); in Paint()
249 dyOffset = std::clamp(current, offset.GetY(), offset.GetY() + trackLength); in PaintSliderSteps()
271 dxOffset = std::clamp(current, offset.GetX(), offset.GetX() + trackLength); in PaintSliderSteps()
294 dyOffset = std::clamp(current, offset.GetY(), offset.GetY() + trackLength); in PaintSliderSteps()
317 dxOffset = std::clamp(current, offset.GetX(), offset.GetX() + trackLength); in PaintSliderSteps()
395 fromOffset = isReverse_ ? offset.GetY() + trackLength : offset.GetY(); in PaintSliderTrack()
421 fromOffset = isReverse_ ? offset.GetY() + trackLength : offset.GetY(); in PaintSliderTrack()
452 …{ offset.GetX(), offset.GetY(), offset.GetX() + trackHeight, offset.GetY() + GetLayoutSize().Heigh… in PaintBackgroundTrack()
456 …{ offset.GetX(), offset.GetY(), offset.GetX() + GetLayoutSize().Width(), offset.GetY() + trackHeig… in PaintBackgroundTrack()
471 …RSRect(offset.GetX(), offset.GetY(), offset.GetX() + trackHeight, offset.GetY() + GetLayoutSize().… in PaintBackgroundTrack()
[all …]
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/
H A Djs_buffer.cpp342 unsigned int loop = length > end - offset ? end - offset : length; in WriteStringLoop()
345 while (offset < end) { in WriteStringLoop()
347 WriteBytes(str, end - offset, raw_ + byteOffset_ + offset); in WriteStringLoop()
351 offset += loop; in WriteStringLoop()
410 if (end - offset <= 0) { in FillBuffer()
415 while (offset < end) { in FillBuffer()
420 offset += loop; in FillBuffer()
431 while (offset < end) { in FillNumber()
436 offset += loop; in FillNumber()
536 ReadBytes(sData, offset, length_ - offset); in IndexOf()
[all …]
/ohos5.0/base/update/updater/services/diffpatch/patch/
H A Dimage_patch.cpp35 size_t offset = startOffset; in ApplyImagePatch() local
42 offset += sizeof(int64_t); in ApplyImagePatch()
44 offset += sizeof(int64_t); in ApplyImagePatch()
46 offset += sizeof(int64_t); in ApplyImagePatch()
61 startOffset = offset; in ApplyImagePatch()
67 size_t offset = startOffset; in ApplyImagePatch() local
77 offset += sizeof(uint32_t); in ApplyImagePatch()
160 startOffset = offset; in ApplyImagePatch()
234 offset += sizeof(int32_t); in ReadHeader()
236 offset += sizeof(int32_t); in ReadHeader()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/evt/
H A Dhci_evt_le.c61 int offset = 0; in HciEventOnLeAdvertisingReportEvent() local
66 offset += sizeof(uint8_t); in HciEventOnLeAdvertisingReportEvent()
232 *offset += sizeof(uint8_t); in HciParseLeDirectedAdvertisingReport()
235 *offset += sizeof(uint8_t); in HciParseLeDirectedAdvertisingReport()
240 *offset += BT_ADDRESS_SIZE; in HciParseLeDirectedAdvertisingReport()
243 *offset += sizeof(uint8_t); in HciParseLeDirectedAdvertisingReport()
246 *offset += BT_ADDRESS_SIZE; in HciParseLeDirectedAdvertisingReport()
249 *offset += sizeof(uint8_t); in HciParseLeDirectedAdvertisingReport()
258 int offset = 0; in HciEventOnLeDirectedAdvertisingReportCompleteEvent() local
372 int offset = 0; in HciEventOnLeExtendedAdvertisingReportEvent() local
[all …]
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/utils/
H A Dmedia_cached_buffer.cpp64 chunkInfo.offset = offset; in InitChunkInfo()
183 offset < (*chunkPos)->offset || in ReadInner()
245 if (chunkInfoTmp->offset <= offset && in WriteInPlace()
247 …size_t diff = static_cast<size_t>(offset > chunkInfoTmp->offset ? offset - chunkInfoTmp->offset : … in WriteInPlace()
484 uint64_t copyBegin = offset > chunkInfo.offset ? offset - chunkInfo.offset : 0; in WriteOneChunkData()
753 splitHead->offset = offset; in GetFragmentIterator()
754 uint64_t diff = offset > chunkInfo->offset ? offset - chunkInfo->offset : 0; in GetFragmentIterator()
786 if (offset != chunkInfo->offset) { in SplitFragmentCacheBuffer()
807 if (offset != chunkInfo->offset) { in SplitFragmentCacheBuffer()
821 splitHead->offset = offset; in SplitFragmentCacheBuffer()
[all …]
H A Dmedia_cached_buffer.h40 uint64_t offset; member
57 explicit FragmentCacheBuffer(uint64_t offset = 0) : offsetBegin(offset), dataLength(0),
85 bool Seek(uint64_t offset);
86 size_t GetBufferSize(uint64_t offset);
93 bool ClearChunksOfFragment(uint64_t offset);
95 bool IsReadSplit(uint64_t offset);
104 uint64_t offset, ChunkIterator chunkPos);
146 if (pred(offset, fragment->offset, fragment->offset + fragment->dataLength)) { in GetOffsetChunkCache()
193 virtual bool Seek(uint64_t offset) = 0;
220 bool Seek(uint64_t offset) override;
[all …]
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/
H A Dhks_service_ipc_serialization.c177 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
313 uint32_t offset = 0; in HksSignUnpack() local
326 uint32_t offset = 0; in HksVerifyUnpack() local
336 uint32_t offset = 0; in HksEncryptDecryptUnpack() local
[all …]
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/ts/streamrw/src/
H A Dstreamrw.ts33 private offset: number;
60 this.offset = this.stream?.seek(offset);
62 this.offset = this.stream?.seek(offset, whence);
64 return this.offset;
87 const off = this.offset;
96 this.offset = this.offset - readSize + readOut;
106 private offset: number;
133 this.offset = this.stream?.seek(offset);
135 this.offset = this.stream?.seek(offset, whence);
137 return this.offset;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Dcustom_paint_component.cpp99 … task = [rect](RenderCustomPaint& interface, const Offset& offset) { interface.FillRect(offset, re… in FillRect() argument
111 …task = [rect](RenderCustomPaint& interface, const Offset& offset) { interface.ClearRect(offset, re… in ClearRect() argument
160 …o task = [x, y](RenderCustomPaint& interface, const Offset& offset) { interface.MoveTo(offset, x, … in MoveTo() argument
166 …o task = [x, y](RenderCustomPaint& interface, const Offset& offset) { interface.LineTo(offset, x, … in LineTo() argument
185 …auto task = [param](RenderCustomPaint& interface, const Offset& offset) { interface.Arc(offset, pa… in Arc() argument
191 … task = [rect](RenderCustomPaint& interface, const Offset& offset) { interface.AddRect(offset, rec… in AddRect() argument
197 … task = [param](RenderCustomPaint& interface, const Offset& offset) { interface.ArcTo(offset, para… in ArcTo() argument
209 auto task = [](RenderCustomPaint& interface, const Offset& offset) { interface.Fill(offset); }; in Fill() argument
215 …auto task = [path](RenderCustomPaint& interface, const Offset& offset) { interface.Fill(offset, pa… in Fill() argument
221 … auto task = [](RenderCustomPaint& interface, const Offset& offset) { interface.Stroke(offset); }; in Stroke() argument
[all …]

12345678910>>...79