Home
last modified time | relevance | path

Searched refs:SDP_UINT8_LENGTH (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_util.c96 offset = SDP_UINT8_LENGTH; in SdpGetLengthFromType()
97 *length = SDP_UINT8_LENGTH; in SdpGetLengthFromType()
H A Dsdp_client_parse.c874 case SDP_UINT8_LENGTH: in SdpGetALLValue()
1475 service->attribute[service->attributeNumber].attributeValueLength = SDP_UINT8_LENGTH; in SdpGetAttributeForBool()
1476 service->attribute[service->attributeNumber].attributeValue = MEM_MALLOC.alloc(SDP_UINT8_LENGTH); in SdpGetAttributeForBool()
1481 (void)memset_s(service->attribute[service->attributeNumber].attributeValue, SDP_UINT8_LENGTH, 0, SDP_UINT8_LENGTH); in SdpGetAttributeForBool()
1483 service->attribute[service->attributeNumber].attributeValue, SDP_UINT8_LENGTH, &data, SDP_UINT8_LENGTH); in SdpGetAttributeForBool()
1484 offset += 1 + SDP_UINT8_LENGTH; in SdpGetAttributeForBool()
1499 service->attribute[service->attributeNumber].attributeValueLength = SDP_UINT8_LENGTH; in SdpGetAttributeForUint()
1501 service->attribute[service->attributeNumber].attributeValue = MEM_MALLOC.alloc(SDP_UINT8_LENGTH); in SdpGetAttributeForUint()
[all...]
H A Dsdp_util.h114 #define SDP_UINT8_LENGTH 1 macro
H A Dsdp_server.c718 length = SDP_UINT8_LENGTH + 1; in SdpAddAttributeForCommon()
722 length = SDP_UINT8_LENGTH + 1; in SdpAddAttributeForCommon()
849 offset += SDP_UINT8_LENGTH; in SdpAddAttributeForProtocolDescriptor()
1319 buffer = MEM_MALLOC.alloc(length + 1 + SDP_UINT8_LENGTH); in SdpCreateAttributeResponse()
1326 offset += 1 + SDP_UINT8_LENGTH; in SdpCreateAttributeResponse()
1484 newBuffer = BufferMalloc(offset + SDP_UINT8_LENGTH + 1); in BuildAttributeListArrayCommon()
1488 if (memcpy_s(bufferPtr + SDP_UINT8_LENGTH + 1, offset, attributeList, offset) != EOK) { in BuildAttributeListArrayCommon()
1557 packet = PacketInheritMalloc(payloadPacket, SDP_UINT8_LENGTH + 1, 0); in SdpCreateSearchAttributeResponse()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_defines.h191 static constexpr uint8_t SDP_UINT8_LENGTH = 1; member
H A Dhid_host_sdp_client.cpp102 offset = SDP_UINT8_LENGTH + 1; in ParseHidDescInfo()

Completed in 12 milliseconds