Home
last modified time | relevance | path

Searched refs:cmd_buf (Results 1 – 4 of 4) sorted by relevance

/external/qemu/
Dreadline.c49 memcmp(rs->cmd_buf, rs->last_cmd_buf, rs->cmd_buf_size) != 0) { in readline_update()
53 rs->cmd_buf[rs->cmd_buf_size] = '\0'; in readline_update()
55 len = strlen(rs->cmd_buf); in readline_update()
59 monitor_printf(rs->mon, "%s", rs->cmd_buf); in readline_update()
62 memcpy(rs->last_cmd_buf, rs->cmd_buf, rs->cmd_buf_size); in readline_update()
86 memmove(rs->cmd_buf + rs->cmd_buf_index + 1, in readline_insert_char()
87 rs->cmd_buf + rs->cmd_buf_index, in readline_insert_char()
89 rs->cmd_buf[rs->cmd_buf_index] = ch; in readline_insert_char()
112 memmove(rs->cmd_buf + rs->cmd_buf_index, in readline_delete_char()
113 rs->cmd_buf + rs->cmd_buf_index + 1, in readline_delete_char()
[all …]
Dreadline.h14 char cmd_buf[READLINE_CMD_BUF_SIZE + 1]; member
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c379 char *cmd_buf = NULL; in wpa_ctrl_request() local
386 cmd_buf = os_malloc(_cmd_len); in wpa_ctrl_request()
387 if (cmd_buf == NULL) in wpa_ctrl_request()
389 _cmd = cmd_buf; in wpa_ctrl_request()
390 pos = cmd_buf; in wpa_ctrl_request()
426 os_free(cmd_buf); in wpa_ctrl_request()
429 os_free(cmd_buf); in wpa_ctrl_request()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_priv.c459 void *cmd_buf; in wpa_priv_receive() local
480 cmd_buf = &buf[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()
524 pos = cmd_buf; in wpa_priv_receive()