Lines Matching full:sizeof
69 FAILIF(read_hci_event(fd, (unsigned char *)&resp, sizeof(resp)) < 0,
107 cmd.hci_hdr.plen = sizeof(uint32_t);
111 n = write(fd, &cmd, sizeof(cmd));
116 if (n < (int)sizeof(cmd)) {
118 "Stop\n", (int)sizeof(cmd), n);
146 unsigned char cmdp[1 + sizeof(hci_command_hdr)];
149 nr = read(fw, cmdp, sizeof(cmdp));
152 FAILIF(nr != sizeof(cmdp), "Could not read H4 + HCI header!\n");
169 iov_cmd[0].iov_len = sizeof(cmdp);
173 FAILIF(nw != (int) sizeof(cmd) + cmd->plen,