Searched refs:cmdbuf (Results 1 – 5 of 5) sorted by relevance
/external/wpa_supplicant_8/src/utils/ |
D | edit.c | 18 static char cmdbuf[CMD_BUF_LEN]; variable 89 while (cmdbuf_pos > 0 && cmdbuf[cmdbuf_pos - 1] == ' ') in move_word_left() 91 while (cmdbuf_pos > 0 && cmdbuf[cmdbuf_pos - 1] != ' ') in move_word_left() 99 while (cmdbuf_pos < cmdbuf_len && cmdbuf[cmdbuf_pos] == ' ') in move_word_right() 101 while (cmdbuf_pos < cmdbuf_len && cmdbuf[cmdbuf_pos] != ' ') in move_word_right() 113 os_memmove(cmdbuf + cmdbuf_pos - 1, cmdbuf + cmdbuf_pos, in delete_left() 127 os_memmove(cmdbuf + cmdbuf_pos, cmdbuf + cmdbuf_pos + 1, in delete_current() 140 while (pos > 0 && cmdbuf[pos - 1] == ' ') in delete_word() 142 while (pos > 0 && cmdbuf[pos - 1] != ' ') in delete_word() 144 os_memmove(cmdbuf + pos, cmdbuf + cmdbuf_pos, cmdbuf_len - cmdbuf_pos); in delete_word() [all …]
|
D | edit_simple.c | 17 static char cmdbuf[CMD_BUF_LEN]; variable 41 cmdbuf[cmdbuf_pos] = '\0'; in edit_read_char() 43 edit_cmd_cb(edit_cb_ctx, cmdbuf); in edit_read_char() 50 if (cmdbuf_pos < (int) sizeof(cmdbuf) - 1) { in edit_read_char() 51 cmdbuf[cmdbuf_pos++] = c; in edit_read_char() 88 cmdbuf[cmdbuf_pos] = '\0'; in edit_redraw() 89 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/valgrind/main/callgrind/ |
D | dump.c | 44 static Char cmdbuf[BUF_LEN]; variable 1347 my_fwrite(fd, (void*)cmdbuf, VG_(strlen)(cmdbuf)); in new_dumpfile() 1651 size = VG_(sprintf)(cmdbuf, " %s", VG_(args_the_exename)); in init_cmdbuf() 1657 if ((size>0) && (size < BUF_LEN)) cmdbuf[size++] = ' '; in init_cmdbuf() 1659 if (size < BUF_LEN) cmdbuf[size++] = argv[j]; in init_cmdbuf() 1663 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()
|