Home
last modified time | relevance | path

Searched refs:cmdbuf_pos (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/utils/
Dedit.c19 static int cmdbuf_pos = 0; variable
58 cmdbuf_pos = 0; in move_start()
65 cmdbuf_pos = cmdbuf_len; in move_end()
72 if (cmdbuf_pos > 0) { in move_left()
73 cmdbuf_pos--; in move_left()
81 if (cmdbuf_pos < cmdbuf_len) { in move_right()
82 cmdbuf_pos++; in move_right()
90 while (cmdbuf_pos > 0 && cmdbuf[cmdbuf_pos - 1] == ' ') in move_word_left()
91 cmdbuf_pos--; in move_word_left()
92 while (cmdbuf_pos > 0 && cmdbuf[cmdbuf_pos - 1] != ' ') in move_word_left()
[all …]
Dedit_simple.c18 static int cmdbuf_pos = 0; variable
42 cmdbuf[cmdbuf_pos] = '\0'; in edit_read_char()
43 cmdbuf_pos = 0; in edit_read_char()
51 if (cmdbuf_pos > 0) in edit_read_char()
52 cmdbuf_pos--; in edit_read_char()
57 if (cmdbuf_pos < (int) sizeof(cmdbuf) - 1) { in edit_read_char()
58 cmdbuf[cmdbuf_pos++] = c; in edit_read_char()
96 cmdbuf[cmdbuf_pos] = '\0'; in edit_redraw()