Home
last modified time | relevance | path

Searched refs:cmd_len (Results 1 – 21 of 21) sorted by relevance

/external/libnfc-nci/src/nfc/int/
Dtags_int.h37 UINT8 cmd_len; member
67 UINT8 cmd_len; member
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c370 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() argument
385 _cmd_len = os_strlen(ctrl->cookie) + 1 + cmd_len; in wpa_ctrl_request()
394 os_memcpy(pos, cmd, cmd_len); in wpa_ctrl_request()
399 _cmd_len = cmd_len; in wpa_ctrl_request()
607 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() argument
614 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL)) in wpa_ctrl_request()
Dwpa_ctrl.h229 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len,
/external/bluetooth/bluedroid/stack/gatt/
Dgatt_auth.c100 UINT16 cmd_len; in gatt_verify_signature() local
105 cmd_len = p_buf->len - GATT_AUTH_SIGN_LEN + 4; in gatt_verify_signature()
106 p = p_orig + cmd_len - 4; in gatt_verify_signature()
109 if (BTM_BleVerifySignature(p_tcb->peer_bda, p_orig, cmd_len, counter, p)) in gatt_verify_signature()
/external/bluetooth/bluedroid/stack/l2cap/
Dl2c_main.c325 UINT16 cfg_rej_len, cmd_len; in process_l2cap_cmd() local
348 STREAM_TO_UINT16 (cmd_len, p); in process_l2cap_cmd()
351 if ((p_next_cmd = p + cmd_len) > p_pkt_end) in process_l2cap_cmd()
354 pkt_len, cmd_len, cmd_code); in process_l2cap_cmd()
463 p_cfg_end = p + cmd_len; in process_l2cap_cmd()
530 if ((cfg_len + L2CAP_CFG_OPTION_OVERHEAD) <= cmd_len) in process_l2cap_cmd()
554 …l2cu_send_peer_config_rej (p_ccb, p_cfg_start, (UINT16) (cmd_len - L2CAP_CONFIG_REQ_LEN), cfg_rej_… in process_l2cap_cmd()
569 p_cfg_end = p + cmd_len; in process_l2cap_cmd()
Dl2c_ble.c435 UINT16 cmd_len, rej_reason; in l2cble_process_sig_cmd() local
443 STREAM_TO_UINT16 (cmd_len, p); in l2cble_process_sig_cmd()
446 if ((p + cmd_len) > p_pkt_end) in l2cble_process_sig_cmd()
448 …ING3 ("L2CAP - LE - format error, pkt_len: %d cmd_len: %d code: %d", pkt_len, cmd_len, cmd_code); in l2cble_process_sig_cmd()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_priv.c460 size_t cmd_len; in wpa_priv_receive() local
481 cmd_len = res - sizeof(int); in wpa_priv_receive()
491 wpa_priv_cmd_scan(iface, cmd_buf, cmd_len); in wpa_priv_receive()
497 wpa_priv_cmd_associate(iface, cmd_buf, cmd_len); in wpa_priv_receive()
506 wpa_priv_cmd_set_key(iface, cmd_buf, cmd_len); in wpa_priv_receive()
512 wpa_priv_cmd_l2_register(iface, &from, cmd_buf, cmd_len); in wpa_priv_receive()
521 wpa_priv_cmd_l2_send(iface, &from, cmd_buf, cmd_len); in wpa_priv_receive()
525 if (pos + cmd_len >= buf + sizeof(buf)) in wpa_priv_receive()
527 pos[cmd_len] = '\0'; in wpa_priv_receive()
/external/strace/
Dscsi.c45 tprintf(", cmd[%u]=[", sg_io->cmd_len); in print_sg_io_req()
46 print_sg_io_buffer(tcp, sg_io->cmdp, sg_io->cmd_len); in print_sg_io_req()
/external/grub/netboot/
Deepro100.c124 static int do_eeprom_cmd(int cmd, int cmd_len);
321 static int do_eeprom_cmd(int cmd, int cmd_len) in do_eeprom_cmd() argument
331 short dataval = (cmd & (1 << cmd_len)) ? EE_WRITE_1 : EE_WRITE_0; in do_eeprom_cmd()
335 } while (--cmd_len >= 0); in do_eeprom_cmd()
/external/e2fsprogs/lib/ext2fs/
Dtdbtool.c426 int cmd_len; in do_command() local
432 cmd_len = strlen(ctp->name); in do_command()
433 if (strncmp(ctp->name,cmdname,cmd_len) == 0) { in do_command()
/external/linux-tools-perf/
Dbuiltin-help.c303 size_t cmd_len = strlen(cmd); in prepend() local
304 char *p = malloc(pre_len + cmd_len + 1); in prepend()
/external/qemu/hw/
Dusb-msd.c59 uint8_t cmd_len; member
392 s->tag, cbw.flags, cbw.cmd_len, s->data_len); in usb_msd_handle_data()
/external/libnfc-nci/src/nfa/include/
Dnfa_hci_api.h195 UINT16 cmd_len; /* HCP CMD parameter length */ member
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
Dnfc_hal_dm.c116 UINT16 cmd_len = NCI_MSG_HDR_SIZE + tlv_size + 1; in nfc_hal_dm_set_config() local
165 nfc_hal_dm_send_nci_cmd (p_buff, cmd_len, p_cback); in nfc_hal_dm_set_config()
/external/libnfc-nci/src/nfc/tags/
Drw_t2t.c361 ARRAY_TO_STREAM (p, p_dat, (p_cmd_rsp_info->cmd_len - 1)); in rw_t2t_send_cmd()
364 p_data->len = p_cmd_rsp_info->cmd_len; in rw_t2t_send_cmd()
Drw_t1t.c340 p_data->len = p_cmd_rsp_info->cmd_len; in rw_t1t_send_static_cmd()
408 p_data->len = p_cmd_rsp_info->cmd_len; in rw_t1t_send_dyn_cmd()
/external/libnfc-nci/src/nfa/int/
Dnfa_hci_int.h248 UINT16 cmd_len; member
/external/kernel-headers/original/linux/
Dblkdev.h186 unsigned int cmd_len; member
/external/libnfc-nci/src/nfa/hci/
Dnfa_hci_api.c610 p_msg->cmd_len = cmd_size; in NFA_HciSendCommand()
Dnfa_hci_act.c884 … p_evt_data->send_cmd.cmd_len, p_evt_data->send_cmd.data)) == NFA_STATUS_OK) in nfa_hci_api_send_cmd()
1905 evt_data.cmd_rcvd.cmd_len = data_len; in nfa_hci_handle_generic_gate_cmd()
/external/valgrind/main/include/vki/
Dvki-linux.h1724 unsigned char cmd_len; /* [i] SCSI command length ( <= 16 bytes) */ member