Searched refs:cmdbuf (Results 1 – 6 of 6) sorted by relevance
/external/wpa_supplicant_8/src/utils/ |
D | edit.c | 24 static char cmdbuf[CMD_BUF_LEN]; variable 93 while (cmdbuf_pos > 0 && cmdbuf[cmdbuf_pos - 1] == ' ') in move_word_left() 95 while (cmdbuf_pos > 0 && cmdbuf[cmdbuf_pos - 1] != ' ') in move_word_left() 103 while (cmdbuf_pos < cmdbuf_len && cmdbuf[cmdbuf_pos] == ' ') in move_word_right() 105 while (cmdbuf_pos < cmdbuf_len && cmdbuf[cmdbuf_pos] != ' ') in move_word_right() 117 os_memmove(cmdbuf + cmdbuf_pos - 1, cmdbuf + cmdbuf_pos, in delete_left() 131 os_memmove(cmdbuf + cmdbuf_pos, cmdbuf + cmdbuf_pos + 1, in delete_current() 144 while (pos > 0 && cmdbuf[pos - 1] == ' ') in delete_word() 146 while (pos > 0 && cmdbuf[pos - 1] != ' ') in delete_word() 148 os_memmove(cmdbuf + pos, cmdbuf + cmdbuf_pos, cmdbuf_len - cmdbuf_pos); in delete_word() [all …]
|
D | edit_simple.c | 23 static char cmdbuf[CMD_BUF_LEN]; variable 47 cmdbuf[cmdbuf_pos] = '\0'; in edit_read_char() 49 edit_cmd_cb(edit_cb_ctx, cmdbuf); in edit_read_char() 56 if (cmdbuf_pos < (int) sizeof(cmdbuf) - 1) { in edit_read_char() 57 cmdbuf[cmdbuf_pos++] = c; in edit_read_char() 94 cmdbuf[cmdbuf_pos] = '\0'; in edit_redraw() 95 printf("\r> %s", cmdbuf); in edit_redraw()
|
/external/tcpdump/ |
D | tcpdump.c | 453 register char *cp, *infile, *cmdbuf, *device, *RFileName, *WFileName, *WFileNameAlt; in main() local 939 cmdbuf = read_infile(infile); in main() 941 cmdbuf = copy_argv(&argv[optind]); in main() 943 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0) in main()
|
/external/wpa_supplicant/ |
D | wpa_cli.c | 1343 char cmdbuf[256], *cmd, *argv[max_args], *pos; in wpa_cli_interactive() local 1385 cmd = fgets(cmdbuf, sizeof(cmdbuf), stdin); in wpa_cli_interactive() 1425 if (cmd != cmdbuf) in wpa_cli_interactive()
|
/external/valgrind/main/callgrind/ |
D | dump.c | 44 static Char cmdbuf[BUF_LEN]; variable 1345 my_fwrite(fd, (void*)cmdbuf, VG_(strlen)(cmdbuf)); in new_dumpfile() 1646 size = VG_(sprintf)(cmdbuf, " %s", VG_(args_the_exename)); in init_cmdbuf() 1651 if ((size>0) && (size < BUF_LEN)) cmdbuf[size++] = ' '; in init_cmdbuf() 1653 if (size < BUF_LEN) cmdbuf[size++] = argv[j]; in init_cmdbuf() 1657 cmdbuf[size] = 0; in init_cmdbuf()
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | wpa_cli.c | 1681 char cmdbuf[256], *cmd, *argv[max_args], *pos; in wpa_cli_interactive() local 1727 cmd = fgets(cmdbuf, sizeof(cmdbuf), stdin); in wpa_cli_interactive() 1767 if (cmd != cmdbuf) in wpa_cli_interactive()
|