Home
last modified time | relevance | path

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

/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/
H A Dbt_endian.h20 #define H2BE_16(x) (x) macro
37 #define H2BE_16(x) htobe16(x) macro
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp_client.c73 *(uint16_t *)(idRange + pos) = H2BE_16(attributeIdList.attributeIdRange.start); in SdpBuildAttributeList()
75 *(uint16_t *)(idRange + pos) = H2BE_16(attributeIdList.attributeIdRange.end); in SdpBuildAttributeList()
98 *(uint16_t *)(buffer + offset) = H2BE_16(attributeIdList.attributeIdList.attributeId[i]); in SdpBuildAttributeList()
120 *(uint16_t *)(buffer + offset) = H2BE_16(SDP_MAX_RECORD_HANDLE_COUNT); in SdpCreateSearchRequest()
134 *(uint16_t *)(buffer + offset) = H2BE_16(SDP_MAX_ATTRIBUTE_BYTE_COUNT); in SdpCreateAttributeRequest()
157 *(uint16_t *)(buffer + offset) = H2BE_16(SDP_MAX_ATTRIBUTE_BYTE_COUNT); in SdpCreateSearchAttributeRequest()
H A Dsdp_connect.c1208 *(uint16_t *)buffer = H2BE_16(errorCode); in SdpSendErrorResponse()
1216 *(uint16_t *)(header + offset) = H2BE_16(transactionId); in SdpSendErrorResponse()
1219 *(uint16_t *)(header + offset) = H2BE_16(SDP_UINT16_LENGTH); in SdpSendErrorResponse()
1263 *(uint16_t *)(tail + 1) = H2BE_16(size); in SdpBuildSearchFragmentResponse()
1274 *(uint16_t *)(header + offset) = H2BE_16(transactionId); in SdpBuildSearchFragmentResponse()
1277 *(uint16_t *)(header + offset) = H2BE_16(length); in SdpBuildSearchFragmentResponse()
1280 *(uint16_t *)(header + offset) = H2BE_16(totalServiceRecordCount); in SdpBuildSearchFragmentResponse()
1283 *(uint16_t *)(header + offset) = H2BE_16(currentServiceRecordCount); in SdpBuildSearchFragmentResponse()
1390 *(uint16_t *)(header + pos) = H2BE_16(transactionId); in SdpSendSearchResponse()
1393 *(uint16_t *)(header + pos) = H2BE_16(lengt in SdpSendSearchResponse()
[all...]
H A Dsdp_server.c466 *(uint16_t *)(buffer + offset) = H2BE_16(baseAttributeId[i].languageIdentifier); in SdpAddLanguageBaseAttributeIdList()
472 *(uint16_t *)(buffer + offset) = H2BE_16(baseAttributeId[i].characterEncodingIdentifier); in SdpAddLanguageBaseAttributeIdList()
478 *(uint16_t *)(buffer + offset) = H2BE_16(baseAttributeId[i].baseAttributeId); in SdpAddLanguageBaseAttributeIdList()
569 *(uint16_t *)(buffer + offset) = H2BE_16(profileDescriptor->versionNumber); in SdpAddBluetoothProfileDescriptorList()
725 *(uint16_t *)(buffer + 1) = H2BE_16(*(uint16_t *)attributeValue); in SdpAddAttributeForCommon()
738 *(uint16_t *)(buffer + 1) = H2BE_16(value); in SdpAddAttributeForCommon()
856 *(uint16_t *)(buffer + offset) = H2BE_16(parameter->value & 0xFFFF); in SdpAddAttributeForProtocolDescriptor()
931 *(uint16_t *)(buffer + offset) = H2BE_16(urlLen); in SdpAddAttributeForUrl()
960 *(uint16_t *)(buffer + offset) = H2BE_16(nameLen); in SdpAddAttributeForString()
1011 *(uint16_t *)(attributeValue + offset) = H2BE_16(attributeI in SdpAddAttributeToServiceRecord()
[all...]
H A Dsdp_util.c56 *(uint16_t *)(buffer + offset) = H2BE_16(uuid->uuid16); in SdpAddAttributeForUuid()

Completed in 6 milliseconds