Home | History | Annotate | Download | only in src

Lines Matching full:sizeof

320 	versions = (void **)malloc(sdpServerVnumEntries * sizeof(void *));
321 versionDTDs = (void **)malloc(sdpServerVnumEntries * sizeof(void *));
324 uint16_t *version = malloc(sizeof(uint16_t));
437 sdp_uuid2strn((uuid_t *) pattern->data, uuid, sizeof(uuid));
484 if (bufsize < sizeof(uint8_t) + sizeof(uint8_t)) {
489 lookAheadAttrId = ntohs(bt_get_unaligned((uint16_t *) (p + sizeof(uint8_t))));
494 if (bufsize < (sizeof(uint8_t) * 2) +
495 sizeof(uint16_t) + sizeof(uint32_t)) {
500 sizeof(uint8_t) + sizeof(uint16_t) +
501 sizeof(uint8_t))));
523 int attrSize = sizeof(uint8_t);
526 if (bufsize < attrSize + sizeof(uint16_t)) {
536 attrSize += sizeof(uint16_t);
576 uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t);
577 int bufsize = req->len - sizeof(sdp_pdu_hdr_t);
583 p += sizeof(bdaddr_t);
584 bufsize -= sizeof(bdaddr_t);
628 sizeof(uint32_t);
634 rsp->data_size = sizeof(uint16_t);
646 uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t);
647 int bufsize = req->len - sizeof(sdp_pdu_hdr_t);
652 p += sizeof(uint32_t);
653 bufsize -= sizeof(uint32_t);
678 rsp->data_size = sizeof(uint16_t);
687 uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t);
693 p += sizeof(uint32_t);
711 rsp->data_size = sizeof(uint16_t);