Lines Matching full:sizeof
51 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
194 if (rsp->type == BT_ERROR && rsp->length == sizeof(bt_audio_error_t))
234 bytes_left = rsp->h.length - sizeof(*rsp);
236 if (bytes_left < sizeof(codec_capabilities_t)) {
241 ptr = ((void *) rsp) + sizeof(*rsp);
243 memcpy(&codec, ptr, sizeof(codec)); /** ALIGNMENT? **/
246 (unsigned long) bytes_left, (unsigned long) sizeof(codec));
256 codec.length != sizeof(u->hsp.pcm_capabilities))
262 &codec, sizeof(u->hsp.pcm_capabilities));
276 memcpy(&codec, ptr, sizeof(codec));
283 codec.length != sizeof(u->a2dp.sbc_capabilities))
289 sizeof(u->a2dp.sbc_capabilities));
308 memset(&msg, 0, sizeof(msg));
311 msg.getcaps_req.h.length = sizeof(msg.getcaps_req);
314 sizeof(msg.getcaps_req.destination));
579 memset(&msg, 0, sizeof(msg));
582 msg.open_req.h.length = sizeof(msg.open_req);
585 sizeof(msg.open_req.destination));
595 msg.open_rsp.h.length = sizeof(msg.open_rsp);
616 memset(&msg, 0, sizeof(msg));
619 msg.setconf_req.h.length = sizeof(msg.setconf_req);
623 sizeof(u->a2dp.sbc_capabilities));
625 sizeof(msg.setconf_req.codec);
629 msg.setconf_req.codec.length = sizeof(pcm_capabilities_t);
635 msg.setconf_rsp.h.length = sizeof(msg.setconf_rsp);
718 sizeof(priority)) < 0)
853 msg.start_req.h.length = sizeof(msg.start_req);
858 msg.rsp.length = sizeof(msg.start_rsp);
862 msg.rsp.length = sizeof(msg.streamfd_ind);
908 msg.stop_req.h.length = sizeof(msg.stop_req);
915 msg.rsp.length = sizeof(msg.stop_rsp);