Home
last modified time | relevance | path

Searched refs:SDP_UINT32_LENGTH (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_util.c104 offset = SDP_UINT32_LENGTH; in SdpGetLengthFromType()
105 *length = SDP_UINT32_LENGTH; in SdpGetLengthFromType()
124 offset = SDP_UINT32_LENGTH; in SdpGetLengthFromType()
H A Dsdp_client_parse.c704 uint32_t *handleArray = (uint32_t *)MEM_MALLOC.alloc(SDP_UINT32_LENGTH * totalServiceRecordCount); in SdpParseSearchResponse()
710 handleArray, SDP_UINT32_LENGTH * totalServiceRecordCount, 0, SDP_UINT32_LENGTH * totalServiceRecordCount); in SdpParseSearchResponse()
842 if (((type >> SDP_DESCRIPTOR_SIZE_BIT) != DE_TYPE_UINT) || (length != SDP_UINT32_LENGTH)) { in SdpGetValue()
882 case SDP_UINT32_LENGTH: in SdpGetALLValue()
1533 service->attribute[service->attributeNumber].attributeValueLength = SDP_UINT32_LENGTH; in SdpGetAttributeForUint()
1535 service->attribute[service->attributeNumber].attributeValue = MEM_MALLOC.alloc(SDP_UINT32_LENGTH); in SdpGetAttributeForUint()
1541 service->attribute[service->attributeNumber].attributeValue, SDP_UINT32_LENGTH, 0, SDP_UINT32_LENGTH); in SdpGetAttributeForUint()
1543 SDP_UINT32_LENGTH, in SdpGetAttributeForUint()
[all...]
H A Dsdp_connect.c1247 PacketInheritMalloc(fragmentPacket, SDP_PDU_HEADER_LENGTH + SDP_UINT32_LENGTH, SDP_PACKET_TAIL_ONE_BYTE); in SdpBuildSearchFragmentResponse()
1250 length = currentServiceRecordCount * SDP_UINT32_LENGTH + SDP_UINT32_LENGTH + SDP_PACKET_TAIL_ONE_BYTE; in SdpBuildSearchFragmentResponse()
1253 PacketInheritMalloc(fragmentPacket, SDP_PDU_HEADER_LENGTH + SDP_UINT32_LENGTH, SDP_PACKET_TAIL_TWO_BYTE); in SdpBuildSearchFragmentResponse()
1257 length = currentServiceRecordCount * SDP_UINT32_LENGTH + SDP_UINT32_LENGTH + SDP_PACKET_TAIL_TWO_BYTE; in SdpBuildSearchFragmentResponse()
1260 PacketInheritMalloc(fragmentPacket, SDP_PDU_HEADER_LENGTH + SDP_UINT32_LENGTH, SDP_PACKET_TAIL_THREE_BYTE); in SdpBuildSearchFragmentResponse()
1264 length = currentServiceRecordCount * SDP_UINT32_LENGTH + SDP_UINT32_LENGTH + SDP_PACKET_TAIL_THREE_BYTE; in SdpBuildSearchFragmentResponse()
1382 length = totalServiceRecordCount * SDP_SERVICE_RECORD_HANDLE_BYTE + SDP_UINT32_LENGTH in SdpSendSearchResponse()
[all...]
H A Dsdp_util.h116 #define SDP_UINT32_LENGTH 4 macro
H A Dsdp_server.c263 offset += SDP_UINT32_LENGTH; in SdpAddServiceRecordState()
730 length = SDP_UINT32_LENGTH + 1; in SdpAddAttributeForCommon()
865 offset += SDP_UINT32_LENGTH; in SdpAddAttributeForProtocolDescriptor()
919 offset += SDP_UINT32_LENGTH; in SdpAddAttributeForValue()
1415 if (length == (SDP_UINT32_LENGTH + 1)) { in SdpParseAttributeRequest()
1520 if (length == (SDP_UINT32_LENGTH + 1)) { in BuildAttributeListArray()
1646 uint32_t *handleArray = (uint32_t *)MEM_MALLOC.alloc(SDP_UINT32_LENGTH * size); in SdpParseSearchAttributeRequest()
1652 (void)memset_s(handleArray, SDP_UINT32_LENGTH * size, 0, SDP_UINT32_LENGTH * size); in SdpParseSearchAttributeRequest()

Completed in 8 milliseconds