OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bt_get_unaligned
(Results
1 - 15
of
15
) sorted by null
/external/bluetooth/hcidump/src/
bpasniff.c
187
num = ntohs(
bt_get_unaligned
((uint16_t *) (buf + 1)));
188
len = btohs(
bt_get_unaligned
((uint16_t *) (buf + 3)));
191
time = ntohl(
bt_get_unaligned
((uint32_t *) (buf + 6)));
197
type = (len < 7) ? 0xff :
bt_get_unaligned
((uint8_t *) (buf + 11));
225
addr =
bt_get_unaligned
((uint8_t *) (buf + 12));
226
temp =
bt_get_unaligned
((uint8_t *) (buf + 13));
230
hec =
bt_get_unaligned
((uint8_t *) (buf + 14));
232
hdr =
bt_get_unaligned
((uint8_t *) (buf + 20));
236
hdr =
bt_get_unaligned
((uint8_t *) (buf + 21));
/system/bluetooth/bluez-clean-headers/bluetooth/
bluetooth.h
104
#define
bt_get_unaligned
(ptr) ({ struct __attribute__((packed)) { typeof(*(ptr)) __v; } *__p = (void *) (ptr); __p->__v; })
macro
/external/bluetooth/bluez/src/
sdpd-request.c
181
bt_put_unaligned(ntohs(
bt_get_unaligned
((uint16_t *)p)), (uint16_t *)&aid->uint16);
185
bt_put_unaligned(ntohs(
bt_get_unaligned
((uint16_t *)p)), (uint16_t *)pElem);
204
bt_put_unaligned(ntohl(
bt_get_unaligned
((uint32_t *)p)), (uint32_t *)&aid->uint32);
208
bt_put_unaligned(ntohl(
bt_get_unaligned
((uint32_t *)p)), (uint32_t *)pElem);
388
expected = ntohs(
bt_get_unaligned
((uint16_t *)pdata));
475
rsp_count = ntohs(
bt_get_unaligned
((uint16_t *)pCacheBuffer));
501
bt_put_unaligned(
bt_get_unaligned
((uint32_t *)(pCacheBuffer + i * sizeof(uint32_t))), (uint32_t *)pdata);
574
uint16_t attr =
bt_get_unaligned
((uint16_t *)&aid->uint16);
579
uint32_t range =
bt_get_unaligned
((uint32_t *)&aid->uint32);
642
handle = ntohl(
bt_get_unaligned
((uint32_t *)pdata))
[
all
...]
sdpd-service.c
316
lookAheadAttrId = ntohs(
bt_get_unaligned
((uint16_t *) (p + sizeof(uint8_t))));
326
handle = ntohl(
bt_get_unaligned
((uint32_t *) (p +
362
attrId = ntohs(
bt_get_unaligned
((uint16_t *) (p + attrSize)));
474
uint32_t handle = ntohl(
bt_get_unaligned
((uint32_t *) p));
513
uint32_t handle = ntohl(
bt_get_unaligned
((uint32_t *) p));
/external/bluetooth/hcidump/parser/
parser.h
172
return ntohs(
bt_get_unaligned
(u16_ptr));
180
return ntohl(
bt_get_unaligned
(u32_ptr));
186
uint64_t u64 =
bt_get_unaligned
(u64_ptr), tmp;
l2cap.c
206
return btohs(
bt_get_unaligned
((uint16_t *) ptr));
208
return btohl(
bt_get_unaligned
((uint32_t *) ptr));
453
rto = btohs(
bt_get_unaligned
((uint16_t *) (ptr + 3)));
454
mto = btohs(
bt_get_unaligned
((uint16_t *) (ptr + 5)));
455
mps = btohs(
bt_get_unaligned
((uint16_t *) (ptr + 7)));
799
psm = btohs(
bt_get_unaligned
((uint16_t *) frm->ptr));
818
ctrl = btohs(
bt_get_unaligned
((uint16_t *) frm->ptr));
821
fcs = btohs(
bt_get_unaligned
((uint16_t *) (frm->ptr + frm->len)));
841
len = btohs(
bt_get_unaligned
((uint16_t *) frm->ptr));
ppp.c
107
fcs =
bt_get_unaligned
((uint16_t *) (frm->ptr + frm->len - 2));
hci.c
793
val = btohs(
bt_get_unaligned
(((uint16_t *) (data + i * 2))));
[
all
...]
/external/bluetooth/bluez/attrib/
att.h
164
return
bt_get_unaligned
(u8_ptr);
170
return btohs(
bt_get_unaligned
(u16_ptr));
176
return btohl(
bt_get_unaligned
(u32_ptr));
/external/bluetooth/bluez/lib/
sdp.c
381
d->val.uint16 =
bt_get_unaligned
((uint16_t *) value);
385
d->val.int16 =
bt_get_unaligned
((int16_t *) value);
389
d->val.uint32 =
bt_get_unaligned
((uint32_t *) value);
393
d->val.int32 =
bt_get_unaligned
((int32_t *) value);
397
d->val.int64 =
bt_get_unaligned
((int64_t *) value);
401
d->val.uint64 =
bt_get_unaligned
((uint64_t *) value);
413
sdp_uuid16_create(&d->val.uuid,
bt_get_unaligned
((uint16_t *) value));
417
sdp_uuid32_create(&d->val.uuid,
bt_get_unaligned
((uint32_t *) value));
1021
sdp_uuid16_create(uuid, ntohs(
bt_get_unaligned
((uint16_t *) p)));
1028
sdp_uuid32_create(uuid, ntohl(
bt_get_unaligned
((uint32_t *) p)))
[
all
...]
/external/bluetooth/bluez/lib/bluetooth/
bluetooth.h
113
#define
bt_get_unaligned
(ptr) \
macro
/external/bluetooth/bluez/plugins/
mgmtops.c
89
mgmt_revision = btohs(
bt_get_unaligned
(&rp->revision));
752
num = btohs(
bt_get_unaligned
(&rp->num_controllers));
762
index = btohs(
bt_get_unaligned
(&rp->index[i]));
806
info->manufacturer = btohs(
bt_get_unaligned
(&rp->manufacturer));
808
info->hci_rev = btohs(
bt_get_unaligned
(&rp->hci_rev));
1123
opcode = btohs(
bt_get_unaligned
(&ev->opcode));
1220
opcode = btohs(
bt_get_unaligned
(&ev->opcode));
1416
opcode = btohs(
bt_get_unaligned
(&hdr->opcode));
1417
len = btohs(
bt_get_unaligned
(&hdr->len));
1418
index = btohs(
bt_get_unaligned
(&hdr->index))
[
all
...]
hciops.c
[
all
...]
/external/bluetooth/bluez/network/
server.c
412
*dst_role = ntohs(
bt_get_unaligned
((uint16_t *) dest));
413
*src_role = ntohs(
bt_get_unaligned
((uint16_t *) source));
417
*dst_role = ntohl(
bt_get_unaligned
((uint32_t *) dest));
418
*src_role = ntohl(
bt_get_unaligned
((uint32_t *) source));
/external/bluetooth/bluez/tools/
hciconfig.c
1308
uint16_t val = btohs(
bt_get_unaligned
((uint16_t *) (ptr + (i * 2))));
[
all
...]
Completed in 569 milliseconds