Home
last modified time | relevance | path

Searched refs:offset (Results 1 - 25 of 2480) sorted by relevance

12345678910>>...100

/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_browse.cpp93 uint16_t offset = 0x0000; in AssemblePacket() local
94 offset += PushOctets1((buffer + offset), pduId_); in AssemblePacket()
97 offset += PushOctets2((buffer + offset), parameterLength_); in AssemblePacket()
100 PushOctets2((buffer + offset), playerId_); in AssemblePacket()
115 uint16_t offset = 0x0000; in DisassemblePacket() local
117 offset += PopOctets1((buffer + offset), payload); in DisassemblePacket()
121 offset in DisassemblePacket()
157 DisassemblePacketName(uint8_t *buffer, uint16_t offset) DisassemblePacketName() argument
224 uint16_t offset = 0x0000; AssemblePacket() local
252 uint16_t offset = 0x0000; DisassemblePacket() local
325 uint16_t offset = 0x0000; AssemblePacket() local
367 uint16_t offset = 0x0000; DisassemblePacket() local
422 uint16_t offset = 0x00; DisassembleMpParameter() local
472 DisassembleMpParameterName(uint8_t *buffer, uint16_t offset, std::string &name) DisassembleMpParameterName() argument
506 uint16_t offset = 0x00; DisassembleMeParameter() local
552 DisassembleMeParameterName(uint8_t *buffer, uint16_t offset, std::string &name) DisassembleMeParameterName() argument
581 DisassembleMeParameterAttributesAndValues(uint8_t *buffer, uint16_t offset, uint8_t itemType, std::vector<uint32_t> &attributes, std::vector<std::string> &values) DisassembleMeParameterAttributesAndValues() argument
675 uint16_t offset = 0x0000; AssemblePacket() local
712 uint16_t offset = 0x0000; DisassemblePacket() local
753 DisassemblePacketName(uint8_t *buffer, uint16_t &offset) DisassemblePacketName() argument
815 uint16_t offset = 0x0000; AssemblePacket() local
837 uint16_t offset = 0x0000; DisassemblePacket() local
[all...]
H A Davrcp_ct_vendor.cpp60 uint16_t offset = AVRC_CT_VENDOR_CTYPE_OFFSET; in DisassemblePacket() local
62 PopOctets1((buffer + offset), payload); in DisassemblePacket()
66 offset = AVRC_CT_VENDOR_COMPANY_ID_OFFSET; in DisassemblePacket()
68 PopOctets3((buffer + offset), payload); in DisassemblePacket()
72 offset = AVRC_CT_VENDOR_PACKET_TYPE_OFFSET; in DisassemblePacket()
74 PopOctets1((buffer + offset), payload); in DisassemblePacket()
81 offset = AVRC_CT_VENDOR_STATUS_OFFSET; in DisassemblePacket()
83 PopOctets1((buffer + offset), payload); in DisassemblePacket()
103 uint16_t offset = 0x00; in AssembleFixedOperands() local
104 offset in AssembleFixedOperands()
136 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; IsValidParameterLength() local
197 uint16_t offset = 0x0000; AssembleParameters() local
219 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
296 uint16_t offset = 0x0000; AssembleParameters() local
315 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
382 uint16_t offset = 0x0000; AssembleParameters() local
407 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
505 uint16_t offset = 0x0000; AssembleParameters() local
537 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
640 uint16_t offset = 0x0000; AssembleParameters() local
671 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
754 uint16_t offset = 0x0000; AssembleParameters() local
785 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
874 uint16_t offset = 0x0000; AssembleParameters() local
908 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
983 DisassemblePacketAttributes(uint8_t *buffer, uint16_t offset) DisassemblePacketAttributes() argument
1051 uint16_t offset = 0x0000; AssembleParameters() local
1085 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
1162 uint16_t offset = 0x0000; AssembleParameters() local
1181 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
1263 uint16_t offset = 0x0000; AssembleParameters() local
1337 uint16_t offset = 0x0000; AssembleParameters() local
1359 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
1411 uint16_t offset = 0x0000; AssembleParameters() local
1433 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
1495 uint16_t offset = 0x00; AssembleParameters() local
1523 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
1583 uint16_t offset = 0x0000; AssembleParameters() local
1611 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
1669 uint16_t offset = 0x0000; AssembleParameters() local
1691 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
[all...]
H A Davrcp_ct_unit_info.cpp49 uint16_t offset = 0x00; in AssemblePacket() local
50 offset += PushOctets1((buffer + offset), crCode_); in AssemblePacket()
51 offset += PushOctets1((buffer + offset), (subunitType_ << AVRC_CT_UNIT_MOVE_BIT_3) | subunitId_); in AssemblePacket()
52 offset += PushOctets1((buffer + offset), opCode_); in AssemblePacket()
53 offset += PushOctets1((buffer + offset), AVRC_CT_UNIT_OCTET_3); in AssemblePacket()
54 offset in AssemblePacket()
71 uint16_t offset = AVRC_CT_AVC_COMMON_CTYPE_OFFSET; DisassemblePacket() local
[all...]
H A Davrcp_ct_sub_unit_info.cpp58 uint16_t offset = 0x00; in AssemblePacket() local
59 offset += PushOctets1((buffer + offset), crCode_); in AssemblePacket()
60 offset += PushOctets1((buffer + offset), (subunitType_ << AVRC_CT_SUB_UNIT_MOVE_BIT_3) | subunitId_); in AssemblePacket()
61 offset += PushOctets1((buffer + offset), opCode_); in AssemblePacket()
62 offset += PushOctets1( in AssemblePacket()
63 (buffer + offset), ((page_ & 0b00000111) << AVRC_CT_SUB_UNIT_MOVE_BIT_4) | (extentionCode_ & 0b00000111)); in AssemblePacket()
64 offset in AssemblePacket()
81 uint16_t offset = AVRC_CT_AVC_COMMON_CTYPE_OFFSET; DisassemblePacket() local
[all...]
H A Davrcp_ct_notification.cpp71 uint16_t offset = 0x0000; in AssembleParameters() local
72 offset += PushOctets2((bufferPtr + offset), parameterLength_); in AssembleParameters()
75 offset += PushOctets1((bufferPtr + offset), eventId_); in AssembleParameters()
78 PushOctets4((bufferPtr + offset), interval_); in AssembleParameters()
94 uint16_t offset = AVRC_CT_VENDOR_PARAMETER_LENGTH_OFFSET; in DisassembleParameters() local
96 offset += PopOctets2((buffer + offset), payload); in DisassembleParameters()
101 PopOctets1((buffer + offset), payloa in DisassembleParameters()
149 uint16_t offset = AVRC_CT_NOTIFY_EVENT_ID_OFFSET + AVRC_CT_NOTIFY_EVENT_ID_SIZE; DisassemblePlaybackStatus() local
166 uint16_t offset = AVRC_CT_NOTIFY_EVENT_ID_OFFSET + AVRC_CT_NOTIFY_EVENT_ID_SIZE; DisassembleTrackChanged() local
183 uint16_t offset = AVRC_CT_NOTIFY_EVENT_ID_OFFSET + AVRC_CT_NOTIFY_EVENT_ID_SIZE; DisassemblePlaybackPosChanged() local
203 uint16_t offset = AVRC_CT_NOTIFY_EVENT_ID_OFFSET + AVRC_CT_NOTIFY_EVENT_ID_SIZE; DisassemblePlayerApplicationSettingChanged() local
229 uint16_t offset = AVRC_CT_NOTIFY_EVENT_ID_OFFSET + AVRC_CT_NOTIFY_EVENT_ID_SIZE; DisassembleAddressedPlayerChanged() local
251 uint16_t offset = AVRC_CT_NOTIFY_EVENT_ID_OFFSET + AVRC_CT_NOTIFY_EVENT_ID_SIZE; DisassembleUidsChanged() local
268 uint16_t offset = AVRC_CT_NOTIFY_EVENT_ID_OFFSET + AVRC_CT_NOTIFY_EVENT_ID_SIZE; DisassembleVolumeChanged() local
[all...]
/foundation/ability/dmsfwk/test/fuzztest/dschedallconnectmanager_fuzzer/
H A Ddschedallconnectmanager_fuzzer.cpp42 uint32_t offset = UINT32_T_OFFSET; in FuzzApplyAdvanceResource() local
44 *(reinterpret_cast<const ServiceCollaborationManagerHardwareType*>(data + offset)); in FuzzApplyAdvanceResource()
45 offset += ENUM_OFFSET; in FuzzApplyAdvanceResource()
46 remoteHardwareListTemp.canShare = *(reinterpret_cast<const bool*>(data + offset)); in FuzzApplyAdvanceResource()
47 offset += BOOL_OFFSET; in FuzzApplyAdvanceResource()
50 reqInfoSets.localHardwareListSize = *(reinterpret_cast<const uint32_t*>(data + offset)); in FuzzApplyAdvanceResource()
51 offset += UINT32_T_OFFSET; in FuzzApplyAdvanceResource()
55 *(reinterpret_cast<const ServiceCollaborationManagerHardwareType*>(data + offset)); in FuzzApplyAdvanceResource()
56 offset += ENUM_OFFSET; in FuzzApplyAdvanceResource()
57 localHardwareListTemp.canShare = *(reinterpret_cast<const bool*>(data + offset)); in FuzzApplyAdvanceResource()
88 uint32_t offset = UINT32_T_OFFSET; FuzzGetResourceRequest() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_util.c48 uint16_t SdpAddAttributeForUuid(uint8_t *buffer, uint16_t offset, const BtUuid *uuid) in SdpAddAttributeForUuid() argument
53 buffer[offset] = (DE_TYPE_UUID << SDP_DESCRIPTOR_SIZE_BIT) | DE_SIZE_16; in SdpAddAttributeForUuid()
54 offset++; in SdpAddAttributeForUuid()
56 *(uint16_t *)(buffer + offset) = H2BE_16(uuid->uuid16); in SdpAddAttributeForUuid()
57 offset += SDP_UUID16_LENGTH; in SdpAddAttributeForUuid()
61 buffer[offset] = (DE_TYPE_UUID << SDP_DESCRIPTOR_SIZE_BIT) | DE_SIZE_32; in SdpAddAttributeForUuid()
62 offset++; in SdpAddAttributeForUuid()
64 *(uint32_t *)(buffer + offset) = H2BE_32(uuid->uuid32); in SdpAddAttributeForUuid()
65 offset += SDP_UUID32_LENGTH; in SdpAddAttributeForUuid()
69 buffer[offset] in SdpAddAttributeForUuid()
91 uint16_t offset = 0; SdpGetLengthFromType() local
138 uint16_t offset = 0; SdpGetUuid() local
[all...]
H A Dsdp_server.c64 uint8_t *buffer, uint16_t offset, const SdpProtocolParameter *parameter, uint16_t parameterNumber);
65 static uint16_t SdpAddAttributeForUuidSequence(uint8_t *buffer, uint16_t offset, const BtUuid *uuid);
66 static uint16_t SdpAddAttributeForValue(uint8_t *buffer, uint16_t offset, uint32_t value);
67 static uint16_t SdpAddAttributeForString(uint8_t *buffer, uint16_t offset, const char *name, uint16_t nameLen);
68 static uint16_t SdpAddAttributeForUrl(uint8_t *buffer, uint16_t offset, const uint8_t *url, uint16_t urlLen);
206 uint16_t offset = 0; in SdpAddServiceRecordHandle() local
210 buffer[offset] = (DE_TYPE_UINT << SDP_DESCRIPTOR_SIZE_BIT) | DE_SIZE_32; in SdpAddServiceRecordHandle()
211 offset++; in SdpAddServiceRecordHandle()
214 offset += SDP_SERVICE_RECORD_HANDLE_BYTE; in SdpAddServiceRecordHandle()
217 ret = SdpAddAttributeToServiceRecord(handle, SDP_ATTRIBUTE_SERVICE_RECORD_HANDLE, 0, offset, buffe in SdpAddServiceRecordHandle()
226 uint16_t offset = 0; SdpAddServiceClassIdList() local
255 uint16_t offset = 0; SdpAddServiceRecordState() local
274 uint16_t offset; SdpAddServiceId() local
299 uint16_t offset = 0; SdpAddProtocolDescriptorList() local
346 uint16_t offset = 0; SdpAddAdditionalProtocolDescriptorList() local
398 uint16_t offset = 0; SdpAddBrowseGroupList() local
446 uint16_t offset = 0; SdpAddLanguageBaseAttributeIdList() local
506 uint16_t offset = SdpAddAttributeForValue(buffer, 0, value); SdpAddServiceInfoTimeToLive() local
542 uint16_t offset = 0; SdpAddBluetoothProfileDescriptorList() local
584 uint16_t offset; SdpAddDocumentationUrl() local
603 uint16_t offset; SdpAddClientExecutableUrl() local
622 uint16_t offset; SdpAddIconUrl() local
647 uint16_t offset; SdpAddServiceName() local
673 uint16_t offset; SdpAddServiceDescription() local
697 uint16_t offset; SdpAddProviderName() local
831 SdpAddAttributeForProtocolDescriptor( uint8_t *buffer, uint16_t offset, const SdpProtocolParameter *parameter, uint16_t parameterNumber) SdpAddAttributeForProtocolDescriptor() argument
875 SdpAddAttributeForUuidSequence(uint8_t *buffer, uint16_t offset, const BtUuid *uuid) SdpAddAttributeForUuidSequence() argument
913 SdpAddAttributeForValue(uint8_t *buffer, uint16_t offset, uint32_t value) SdpAddAttributeForValue() argument
924 SdpAddAttributeForUrl(uint8_t *buffer, uint16_t offset, const uint8_t *url, uint16_t urlLen) SdpAddAttributeForUrl() argument
953 SdpAddAttributeForString(uint8_t *buffer, uint16_t offset, const char *name, uint16_t nameLen) SdpAddAttributeForString() argument
986 uint16_t offset = 0; SdpAddAttributeToServiceRecord() local
1111 uint16_t offset = 0; SdpCreateSearchResponse() local
1141 uint16_t offset = 0; SdpGetUuidArray() local
1177 uint16_t offset = 0; SdpParseSearchRequest() local
1237 uint16_t offset = 0; BuildAttributeListByIdRange() local
1275 uint16_t offset = 0; BuildAttributeListByIdList() local
1316 uint16_t offset = 0; SdpCreateAttributeResponse() local
1364 uint16_t offset = 0; SdpParseAttributeRequest() local
1476 BuildAttributeListArrayCommon(int offset, uint8_t *attributeList, Packet *packet) BuildAttributeListArrayCommon() argument
1516 int offset; BuildAttributeListArray() local
1574 SdpParseSearchAttributeRequestCommon( uint16_t lcid, uint16_t transactionId, uint16_t maximumAttributeByteCount, uint8_t *buffer, uint16_t offset) SdpParseSearchAttributeRequestCommon() argument
1607 uint16_t offset = 0; SdpParseSearchAttributeRequest() local
1752 uint16_t offset = 0; GetUuidfromSequenceLevelThree() local
1776 uint16_t offset = 0; GetUuidfromSequenceLevelTwo() local
1804 uint16_t offset = 0; GetUuidfromSequenceLevelOne() local
1832 uint16_t offset = 0; GetUuidfromSequence() local
1860 const uint16_t offset = 3; GetRecordHandleArrayByUuid() local
[all...]
H A Dsdp_client_parse.c316 uint16_t offset = 0; in SdpParseServerResponse() local
325 pduId = header[offset]; in SdpParseServerResponse()
326 offset++; in SdpParseServerResponse()
328 transactionId = BE2H_16(*(uint16_t *)(header + offset)); in SdpParseServerResponse()
329 offset += SDP_UINT16_LENGTH; in SdpParseServerResponse()
331 parameterLength = BE2H_16(*(uint16_t *)(header + offset)); in SdpParseServerResponse()
425 uint16_t offset = 0; in SdpParseSingleAttributeList() local
450 type = bufferInfo->buffer[offset]; in SdpParseSingleAttributeList()
451 offset++; in SdpParseSingleAttributeList()
459 pos = SdpGetLengthFromType(bufferInfo->buffer + offset, typ in SdpParseSingleAttributeList()
557 uint16_t offset = 0; SdpParseAttributeListArray() local
832 uint16_t offset = 0; SdpGetValue() local
856 uint16_t offset = 0; SdpGetALLValue() local
900 uint16_t offset = 0; SdpGetString() local
937 uint16_t offset = 0; SdpGetServiceClassIdList() local
984 SdpGetCommonProtocolDescriptorEachList(SdpProtocolDescriptor *descriptor, uint16_t descriptorNumber, uint32_t currentLength, BufferInfo *bufferInfo, int offset) SdpGetCommonProtocolDescriptorEachList() argument
1028 int offset = 0; SdpGetCommonProtocolDescriptorList() local
1080 int offset; SdpGetProtocolDescriptorList() local
1100 uint16_t offset = 0; SdpGetAdditionalProtocolDescriptorList() local
1155 uint16_t offset = 0; SdpGetBrowseGroupList() local
1192 uint16_t offset = 0; SdpGetLanguageBaseAttributeIdList() local
1266 uint16_t offset = 0; SdpGetServiceAvailability() local
1285 uint16_t offset = 0; SdpGetBluetoothProfileDescriptorList() local
1428 uint16_t offset = 0; SdpGetSequenceAttribute() local
1463 uint16_t offset = 0; SdpGetAttributeForBool() local
1491 uint16_t offset = 0; SdpGetAttributeForUint() local
1557 uint16_t offset = 0; SdpGetAttributeForInt() local
1615 uint16_t offset = 0; SdpGetAttributeForUuid() local
1667 uint16_t offset = 0; SdpGetAttributeForString() local
1712 uint16_t offset = 0; SdpGetAttributeForUrl() local
1757 int offset = 0; SdpGetAttribute() local
1799 int offset; SdpParseAttributeValue() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_cmd.c28 size_t offset = 0x00; in SMP_SendPairingRequest() local
33 PacketPayloadWrite(pkt, &code, offset, sizeof(code)); in SMP_SendPairingRequest()
34 offset += sizeof(code); in SMP_SendPairingRequest()
35 PacketPayloadWrite(pkt, &pairReqParam->ioCapability, offset, sizeof(pairReqParam->ioCapability)); in SMP_SendPairingRequest()
36 offset += sizeof(pairReqParam->ioCapability); in SMP_SendPairingRequest()
37 PacketPayloadWrite(pkt, &pairReqParam->oobDataFlag, offset, sizeof(pairReqParam->oobDataFlag)); in SMP_SendPairingRequest()
38 offset += sizeof(pairReqParam->oobDataFlag); in SMP_SendPairingRequest()
39 PacketPayloadWrite(pkt, &pairReqParam->authReq, offset, sizeof(pairReqParam->authReq)); in SMP_SendPairingRequest()
40 offset += sizeof(pairReqParam->authReq); in SMP_SendPairingRequest()
41 PacketPayloadWrite(pkt, &pairReqParam->maxEncKeySize, offset, sizeo in SMP_SendPairingRequest()
59 size_t offset = 0x00; SMP_SendPairingResponse() local
90 size_t offset = 0x00; SMP_SendPairingConfirm() local
114 size_t offset = 0x00; SMP_SendPairingRandom() local
138 size_t offset = 0x00; SMP_SendPairingFailed() local
162 size_t offset = 0x00; SMP_SendPairingPublicKey() local
186 size_t offset = 0x00; SMP_SendPairingDHKeyCheck() local
210 size_t offset = 0x00; SMP_SendEncryptionInformation() local
234 size_t offset = 0x00; SMP_SendMasterIdentification() local
263 size_t offset = 0x00; SMP_SendIdentityInformation() local
287 size_t offset = 0x00; SMP_SendIdentityAddressInformation() local
313 size_t offset = 0x00; SMP_SendSigningInformation() local
337 size_t offset = 0x00; SMP_SendSecurityRequest() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_snoop_filter_acl.c302 uint16_t offset = sizeof(HciEventHeader); in ProcessHciLeConnInfo() local
303 const uint8_t *subEventCode = *data + offset; in ProcessHciLeConnInfo()
304 offset += sizeof(uint8_t); in ProcessHciLeConnInfo()
307 HciLeConnectionCompleteEventParam *evtParam = (HciLeConnectionCompleteEventParam *)(*data + offset); in ProcessHciLeConnInfo()
325 (HciLeEnhancedConnectionCompleteEventParam *)(*data + offset); in ProcessHciLeConnInfo()
348 uint16_t offset = 0; in ProcessHciConnInfo() local
350 offset += sizeof(HciEventHeader); in ProcessHciConnInfo()
354 HciConnectionCompleteEventParam *evtParam = (HciConnectionCompleteEventParam *)(*data + offset); in ProcessHciConnInfo()
366 HciDisconnectCompleteEventParam *evtParam = (HciDisconnectCompleteEventParam *)(*data + offset); in ProcessHciConnInfo()
392 uint16_t offset in BtmFilterCheckAndSaveAclConnInfo() local
414 uint16_t offset = 0; ProcessL2capConnectionRequest() local
451 uint16_t offset = 0; ProcessL2capConnectionResponse() local
491 uint16_t offset = 0; ProcessL2capConfigurationRequest() local
532 uint16_t offset = 0; ProcessL2capConfigurationResponse() local
578 uint16_t offset = 0; ProcessL2capDisconnectionResponse() local
593 uint16_t offset = 0; ProcessL2capConnInfo() local
667 RfcommDataCheckFrameTypeUih(const uint8_t **data, uint16_t originalLength, FilterL2capChannelConnInfo *l2capInfo, uint16_t *offset, uint16_t *payloadLen) RfcommDataCheckFrameTypeUih() argument
701 uint16_t offset; RfcommDataFilterUseHfp() local
744 uint16_t offset; RfcommDataFilterUseOther() local
756 uint16_t offset = 0; IsL2capSignalingChannelData() local
785 uint16_t offset = 0; L2capDataFilterUseRfcomm() local
817 uint16_t offset = sizeof(HciAclDataHeader) + l2capInfo->headerLength + AVDT_MEDIA_PACKET_HEADER_LEN; L2capDataFilterUseAvdtp() local
827 uint16_t offset = sizeof(HciAclDataHeader) + l2capInfo->headerLength + AVCT_PACKET_HEADER_LEN; L2capDataFilterUseAvctp() local
850 uint16_t offset = sizeof(HciAclDataHeader) + l2capInfo->headerLength + AVCT_PACKET_HEADER_LEN; L2capDataFilterUseAvctpBrowsing() local
864 uint16_t offset = sizeof(HciAclDataHeader) + l2capInfo->headerLength; L2capDataFilterUseAtt() local
898 uint16_t offset = sizeof(HciAclDataHeader) + l2capInfo->headerLength; L2capDataFilterUseSmp() local
969 uint16_t offset = 0; BtmFilterAclData() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_notification.cpp116 uint16_t offset = 0x0000; in AssemblePlaybackStatusChanged() local
117 offset += PushOctets1((bufferPtr + offset), packetType_); in AssemblePlaybackStatusChanged()
121 offset += PushOctets2((bufferPtr + offset), parameterLength_); in AssemblePlaybackStatusChanged()
124 offset += PushOctets1((bufferPtr + offset), eventId_); in AssemblePlaybackStatusChanged()
127 PushOctets1((bufferPtr + offset), playStatus_); in AssemblePlaybackStatusChanged()
150 uint16_t offset = 0x0000; in AssembleTrackChanged() local
151 offset in AssembleTrackChanged()
184 uint16_t offset = 0x0000; AssemblePlaybackPosChanged() local
224 uint16_t offset = 0x0000; AssemblePlayerApplicationSettingChanged() local
272 uint16_t offset = 0x0000; AssembleAddressedPlayerChanged() local
310 uint16_t offset = 0x0000; AssembleUidsChanged() local
344 uint16_t offset = 0x0000; AssembleVolumeChanged() local
374 uint16_t offset = 0x0000; AssembleCommonChanged() local
397 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
[all...]
H A Davrcp_tg_vendor.cpp111 uint16_t offset = AVRC_TG_VENDOR_CTYPE_OFFSET; in DisassemblePacket() local
113 PopOctets1((buffer + offset), payload); in DisassemblePacket()
117 offset = AVRC_TG_VENDOR_COMPANY_ID_OFFSET; in DisassemblePacket()
119 PopOctets3((buffer + offset), payload); in DisassemblePacket()
123 offset = AVRC_TG_VENDOR_PACKET_TYPE_OFFSET; in DisassemblePacket()
125 PopOctets1((buffer + offset), payload); in DisassemblePacket()
188 uint16_t offset = 0x00; in AssembleRejectPacket() local
189 offset += PushOctets1((buffer + offset), crCode_); in AssembleRejectPacket()
192 offset in AssembleRejectPacket()
227 uint16_t offset = 0x00; AssembleMinOperands() local
257 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; IsValidParameterLength() local
348 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
403 uint16_t offset = 0x0000; AssembleCompanies() local
445 uint16_t offset = 0x0000; AssembleEvents() local
524 uint16_t offset = 0x0000; AssembleParameters() local
632 uint16_t offset = 0x0000; AssembleParameters() local
668 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
796 uint16_t offset = 0x0000; AssembleParameters() local
838 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
973 uint16_t offset = 0x0000; AssembleParameters() local
994 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
1146 uint16_t offset = 0x0000; AssembleParameters() local
1180 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
1321 uint16_t offset = 0x0000; AssembleParameters() local
1355 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
1524 uint16_t offset = 0x0000; AssembleParameters() local
1574 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
1721 uint16_t offset = 0x0000; AssembleParameters() local
1805 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
1879 uint16_t offset = 0x0000; AssembleParameters() local
1901 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
1976 uint16_t offset = 0x0000; AssembleParameters() local
2002 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
2078 uint16_t offset = 0x0000; AssembleParameters() local
2103 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
2186 uint16_t offset = 0x0000; AssembleParameters() local
2212 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
2303 uint16_t offset = 0x0000; AssembleParameters() local
2329 uint16_t offset = AVRC_TG_VENDOR_PARAMETER_LENGTH_OFFSET; DisassembleParameters() local
[all...]
H A Davrcp_tg_browse.cpp54 uint16_t offset = 0x0000; in AssemblePacket() local
55 offset += PushOctets1((buffer + offset), pduId_); in AssemblePacket()
59 offset += PushOctets2((buffer + offset), parameterLength_); in AssemblePacket()
62 PushOctets1((buffer + offset), status_); in AssemblePacket()
87 uint16_t offset = AVRC_TG_BROWSE_PARAMETER_LENGTH_OFFSET; in IsValidParameterLength() local
89 PopOctets2((buffer + offset), payload); in IsValidParameterLength()
155 uint16_t offset = 0x0000; in AssemblePacket() local
156 offset in AssemblePacket()
203 uint16_t offset = 0x0000; DisassemblePacket() local
265 uint16_t offset = 0x0000; AssemblePacket() local
291 uint16_t offset = 0x0000; DisassemblePacket() local
444 uint16_t offset = 0x0000; AssembleMpPacket() local
469 AssembleMpItem(uint8_t *buffer, uint16_t offset) AssembleMpItem() argument
573 uint16_t offset = 0x0000; AssembleMePacket() local
598 AssembleMeItem(uint8_t *buffer, uint16_t offset) AssembleMeItem() argument
670 uint16_t offset = 0x0000; DisassemblePacket() local
721 DisassemblePacketAttributes(Packet *pkt, uint8_t offset) DisassemblePacketAttributes() argument
812 uint16_t offset = 0x0000; AssemblePacket() local
857 uint16_t offset = 0x0000; DisassemblePacket() local
904 DisassemblePacketAttributes(Packet *pkt, uint8_t offset) DisassemblePacketAttributes() argument
970 uint16_t offset = 0x0000; AssemblePacket() local
1000 uint16_t offset = 0x0000; DisassemblePacket() local
[all...]
H A Davrcp_tg_sub_unit_info.cpp58 uint16_t offset = 0x00; in AssemblePacket() local
59 offset += PushOctets1((buffer + offset), crCode_); in AssemblePacket()
60 offset += PushOctets1((buffer + offset), (subunitType_ << AVRC_TG_OFFSET_THREE_BITS) | subunitId_); in AssemblePacket()
61 offset += PushOctets1((buffer + offset), opCode_); in AssemblePacket()
62 offset += PushOctets1( in AssemblePacket()
63 (buffer + offset), ((page_ & 0b00000111) << AVRC_TG_OFFSET_FOUR_BITS) | (extentionCode_ & 0b00000111)); in AssemblePacket()
64 offset in AssemblePacket()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/badge/
H A Drosen_render_badge.cpp33 void RosenRenderBadge::Paint(RenderContext& context, const Offset& offset) in Paint() argument
39 context.PaintChild(badgeChild, offset + badgeChildInitialOffset_); in Paint()
41 DrawBadge(context, offset); in Paint()
43 PaintText(offset + textInitialOffset_, context); in Paint()
49 void RosenRenderBadge::DrawCircleBadge(SkCanvas* canvas, const Offset& offset) in DrawCircleBadge() argument
71 rRect.offset(offset.GetX() + width_ - badgeCircleDiameter_, offset.GetY()); in DrawCircleBadge()
72 boundaryStartX = offset.GetX() + width_ - badgeCircleDiameter_; in DrawCircleBadge()
73 boundaryStartY = offset in DrawCircleBadge()
95 DrawCircleBadge(RSCanvas* canvas, const Offset& offset) DrawCircleBadge() argument
147 DrawNumericalBadge(SkCanvas* canvas, const Offset& offset) DrawNumericalBadge() argument
184 DrawNumericalBadge(RSCanvas* canvas, const Offset& offset) DrawNumericalBadge() argument
224 DrawBadge(RenderContext& context, const Offset& offset) DrawBadge() argument
286 SetBoundaryForNumericalBadge( double& boundaryStartX, double& boundaryStartY, SkRRect& rRect, const Offset& offset) SetBoundaryForNumericalBadge() argument
[all...]
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/utils/
H A Dmedia_cached_buffer.h40 uint64_t offset; member
57 explicit FragmentCacheBuffer(uint64_t offset = 0) : offsetBegin(offset), dataLength(0), in FragmentCacheBuffer()
83 size_t Read(void* ptr, uint64_t offset, size_t readSize);
85 bool Seek(uint64_t offset);
86 size_t GetBufferSize(uint64_t offset);
87 uint64_t GetNextBufferOffset(uint64_t offset);
92 bool ClearFragmentBeforeOffset(uint64_t offset);
93 bool ClearChunksOfFragment(uint64_t offset);
95 bool IsReadSplit(uint64_t offset);
121 GetOffsetFragmentCache(FragmentIterator& fragmentPos, uint64_t offset, Pred pred) GetOffsetFragmentCache() argument
141 GetOffsetChunkCache(CacheChunkList& chunkCaches, uint64_t offset, Pred pred) GetOffsetChunkCache() argument
157 CalcAllowMaxChunkNum(uint64_t fragmentReadSize, uint64_t offset) CalcAllowMaxChunkNum() argument
[all...]
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/
H A Dsend_object_info_data.cpp53 size_t offset = MTP_CONTAINER_HEADER_SIZE; in Parser() local
54 context_->storageID = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
55 context_->parent = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
57 size_t offset = MTP_CONTAINER_HEADER_SIZE; in Parser() local
58 int res = ParserData(buffer, offset); in Parser()
101 int SendObjectInfoData::ParserData(const std::vector<uint8_t> &buffer, size_t &offset) in ParserData() argument
105 if (!MtpPacketTool::GetUInt32(buffer, offset, tmpUse32)) { // storage ID in ParserData()
108 if (!MtpPacketTool::GetUInt16(buffer, offset, context_->format)) { in ParserData()
111 if (!MtpPacketTool::GetUInt16(buffer, offset, tmpUse16)) { // protection status in ParserData()
114 if (!MtpPacketTool::GetUInt32(buffer, offset, context in ParserData()
137 ParserDataForImageInfo(const std::vector<uint8_t> &buffer, size_t &offset) ParserDataForImageInfo() argument
167 ParserDataForFileInfo(const std::vector<uint8_t> &buffer, size_t &offset) ParserDataForFileInfo() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/evt/
H A Dhci_evt_le.c61 int offset = 0; in HciEventOnLeAdvertisingReportEvent() local
63 .numReports = param[offset], in HciEventOnLeAdvertisingReportEvent()
66 offset += sizeof(uint8_t); in HciEventOnLeAdvertisingReportEvent()
75 reports[i].eventType = param[offset]; in HciEventOnLeAdvertisingReportEvent()
76 offset += sizeof(uint8_t); in HciEventOnLeAdvertisingReportEvent()
78 reports[i].addressType = param[offset]; in HciEventOnLeAdvertisingReportEvent()
79 offset += sizeof(uint8_t); in HciEventOnLeAdvertisingReportEvent()
81 (void)memcpy_s(reports[i].address.raw, BT_ADDRESS_SIZE, param + offset, BT_ADDRESS_SIZE); in HciEventOnLeAdvertisingReportEvent()
82 offset += BT_ADDRESS_SIZE; in HciEventOnLeAdvertisingReportEvent()
84 reports[i].lengthData = param[offset]; in HciEventOnLeAdvertisingReportEvent()
228 HciParseLeDirectedAdvertisingReport( HciLeDirectedAdvertisingReport *report, const uint8_t *param, int *offset) HciParseLeDirectedAdvertisingReport() argument
258 int offset = 0; HciEventOnLeDirectedAdvertisingReportCompleteEvent() local
306 HciParseLeExtendedAdvertisingReport( HciLeExtendedAdvertisingReport *report, const uint8_t *param, size_t length, int *offset) HciParseLeExtendedAdvertisingReport() argument
372 int offset = 0; HciEventOnLeExtendedAdvertisingReportEvent() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_bluetooth_data.cpp36 int offset = 0; in GetClassicBluetoothData() local
40 btData[offset] = dataStructure.GetLength(); in GetClassicBluetoothData()
41 btData[offset + EXTEND_INQUIRY_RESPONSE_LENGTH_SIZE] = dataStructure.GetType(); in GetClassicBluetoothData()
44 memcpy_s(&btData[offset + EXTEND_INQUIRY_RESPONSE_LENGTH_SIZE + EXTEND_INQUIRY_RESPONSE_TYPE_SIZE], in GetClassicBluetoothData()
45 (maxLength_ - offset - EXTEND_INQUIRY_RESPONSE_TYPE_SIZE - EXTEND_INQUIRY_RESPONSE_LENGTH_SIZE), in GetClassicBluetoothData()
51 offset = offset + dataStructure.GetLength() + 1; in GetClassicBluetoothData()
64 int offset = offset_ + dataStruct.GetLength() + 1; in AddDataStructure() local
65 if (offset > maxLength_) { in AddDataStructure()
70 offset_ = offset; in AddDataStructure()
77 int offset = 0; ParserData() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Dcustom_paint_component.cpp87 auto task = [](RenderCustomPaint& interface, const Offset& offset) { interface.WebGLUpdate(); }; in WebGLUpdate()
99 auto task = [rect](RenderCustomPaint& interface, const Offset& offset) { interface.FillRect(offset, rect); }; in FillRect()
105 auto task = [rect](RenderCustomPaint& interface, const Offset& offset) { interface.StrokeRect(offset, rect); }; in StrokeRect()
111 auto task = [rect](RenderCustomPaint& interface, const Offset& offset) { interface.ClearRect(offset, rect); }; in ClearRect()
117 auto task = [text, textOffset](RenderCustomPaint& interface, const Offset& offset) { in FillText()
118 interface.FillText(offset, text, textOffset.GetX(), textOffset.GetY()); in FillText()
125 auto task = [text, textOffset](RenderCustomPaint& interface, const Offset& offset) { in StrokeText()
[all...]
H A Drosen_render_custom_paint.h49 void Paint(RenderContext& context, const Offset& offset) override;
63 void FillRect(const Offset& offset, const Rect& rect) override;
64 void StrokeRect(const Offset& offset, const Rect& rect) override;
65 void ClearRect(const Offset& offset, const Rect& rect) override;
66 void FillText(const Offset& offset, const std::string& text, double x, double y) override;
67 void StrokeText(const Offset& offset, const std::string& text, double x, double y) override;
73 void MoveTo(const Offset& offset, double x, double y) override;
74 void LineTo(const Offset& offset, double x, double y) override;
75 void BezierCurveTo(const Offset& offset, const BezierCurveParam& param) override;
76 void QuadraticCurveTo(const Offset& offset, cons
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Drosen_render_swiper.h28 void Paint(RenderContext& context, const Offset& offset) override;
32 void PaintIndicator(RenderContext& context, const Offset& offset);
33 void PaintMask(RenderContext& context, const Offset& offset) const;
35 void CanvasDrawIndicator(RenderContext& context, const Offset& offset);
36 void PaintFade(RenderContext& context, const Offset& offset);
37 void PaintShadow(RSCanvas* canvas, const Offset& offset);
40 void DrawIndicator(RenderContext& context, const Offset& offset);
41 void DrawIndicatorHoverBackground(RenderContext& context, const Offset& offset);
42 void DrawIndicatorBackground(RenderContext& context, const Offset& offset);
43 void DrawIndicatorItems(RenderContext& context, const Offset& offset);
[all...]
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H A Doffset_t.h72 T GetDistance(const OffsetT& offset) const in GetDistance()
74 T dx = x_ - offset.x_; in GetDistance()
75 T dy = y_ - offset.y_; in GetDistance()
99 OffsetT operator+(const OffsetT& offset) const in operator +()
101 return OffsetT(x_ + offset.x_, y_ + offset.y_); in operator +()
104 OffsetT operator-(const OffsetT& offset) const in operator -()
106 return OffsetT(x_ - offset.x_, y_ - offset.y_); in operator -()
122 OffsetT& operator+=(const OffsetT& offset) in operator +=() argument
129 operator -=(const OffsetT& offset) operator -=() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_linear_track.cpp84 void RosenRenderLinearTrack::Paint(RenderContext& context, const Offset& offset) in Paint() argument
87 PaintSliderTrack(context, offset); in Paint()
100 PaintBackgroundTrack(canvas, offset, trackHeight); in Paint()
103 PaintSliderSteps(context, offset); in Paint()
118 const double startRect = leftToRight_ ? offset.GetX() : offset.GetX() + GetLayoutSize().Width(); in Paint()
122 { startRect, offset.GetY(), endRect, offset.GetY() + trackHeight }, trackHeight * HALF, trackHeight * HALF); in Paint()
134 startRect = isReverse_ ? offset.GetY() + GetLayoutSize().Height() : offset in Paint()
209 PaintSliderSteps(RenderContext& context, const Offset& offset) PaintSliderSteps() argument
329 PaintSliderTrack(RenderContext& context, const Offset& offset) PaintSliderTrack() argument
443 PaintBackgroundTrack(SkCanvas* canvas, const Offset& offset, double trackHeight) const PaintBackgroundTrack() argument
462 PaintBackgroundTrack(RSCanvas* canvas, const Offset& offset, double trackHeight) const PaintBackgroundTrack() argument
[all...]

Completed in 16 milliseconds

12345678910>>...100