Home
last modified time | relevance | path

Searched refs:bt_put_unaligned (Results 1 – 5 of 5) sorted by relevance

/external/bluetooth/bluez/src/
Dsdpd-request.c181 bt_put_unaligned(ntohs(bt_get_unaligned((uint16_t *)p)), (uint16_t *)&aid->uint16); in extract_des()
185 bt_put_unaligned(ntohs(bt_get_unaligned((uint16_t *)p)), (uint16_t *)pElem); in extract_des()
204 bt_put_unaligned(ntohl(bt_get_unaligned((uint32_t *)p)), (uint32_t *)&aid->uint32); in extract_des()
208 bt_put_unaligned(ntohl(bt_get_unaligned((uint32_t *)p)), (uint32_t *)pElem); in extract_des()
413 bt_put_unaligned(0, (uint16_t *)pdata); in service_search_req()
419 bt_put_unaligned(0, (uint16_t *)pdata); in service_search_req()
436 bt_put_unaligned(htonl(rec->handle), (uint32_t *)pdata); in service_search_req()
445 bt_put_unaligned(htons(rsp_count), (uint16_t *)pTotalRecordCount); in service_search_req()
446 bt_put_unaligned(htons(rsp_count), (uint16_t *)pCurrentRecordCount); in service_search_req()
501bt_put_unaligned(bt_get_unaligned((uint32_t *)(pCacheBuffer + i * sizeof(uint32_t))), (uint32_t *)… in service_search_req()
[all …]
Dsdpd-service.c453 bt_put_unaligned(htonl(rec->handle), (uint32_t *) rsp->data); in service_register_req()
459 bt_put_unaligned(htons(SDP_INVALID_SYNTAX), (uint16_t *) rsp->data); in service_register_req()
502 bt_put_unaligned(htons(status), (uint16_t *) p); in service_update_req()
532 bt_put_unaligned(htons(status), (uint16_t *) p); in service_remove_req()
/external/bluetooth/bluez/attrib/
Datt.h191 bt_put_unaligned(src, (uint8_t *) dst); in att_put_u8()
196 bt_put_unaligned(htobs(src), (uint16_t *) dst); in att_put_u16()
201 bt_put_unaligned(htobl(src), (uint32_t *) dst); in att_put_u32()
/external/bluetooth/bluez/lib/bluetooth/
Dbluetooth.h121 #define bt_put_unaligned(val, ptr) \ macro
/external/bluetooth/bluez/lib/
Dsdp.c627 bt_put_unaligned(htons(length), (uint16_t *) ptr); in sdp_set_seq_len()
633 bt_put_unaligned(htonl(length), (uint32_t *) ptr); in sdp_set_seq_len()
690 bt_put_unaligned(htons(attr), (uint16_t *) p); in sdp_set_attrid()
2788 bt_put_unaligned(htons(dst->data_size - sizeof(uint8_t) - sizeof(uint16_t)), (uint16_t *) p); in sdp_append_to_buf()
2791 bt_put_unaligned(htonl(dst->data_size - sizeof(uint8_t) - sizeof(uint32_t)), (uint32_t *) p); in sdp_append_to_buf()
2971 bt_put_unaligned(htonl(handle), (uint32_t *) p); in sdp_device_record_unregister_binary()
3064 bt_put_unaligned(htonl(handle), (uint32_t *) p); in sdp_device_record_update()
3351 bt_put_unaligned(htons(max_rec_num), (uint16_t *) pdata); in sdp_service_search_req()
3514 bt_put_unaligned(htonl(handle), (uint32_t *) pdata); in sdp_service_attr_req()
3519 bt_put_unaligned(htons(65535), (uint16_t *) pdata); in sdp_service_attr_req()
[all …]