Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dedit.c20 static int cmdbuf_len = 0; variable
51 for (i = 0; i < cmdbuf_len + 2 + (ps2 ? (int) os_strlen(ps2) : 0); i++) in edit_clear_line()
65 cmdbuf_pos = cmdbuf_len; in move_end()
81 if (cmdbuf_pos < cmdbuf_len) { in move_right()
100 while (cmdbuf_pos < cmdbuf_len && cmdbuf[cmdbuf_pos] == ' ') in move_word_right()
102 while (cmdbuf_pos < cmdbuf_len && cmdbuf[cmdbuf_pos] != ' ') in move_word_right()
115 cmdbuf_len - cmdbuf_pos); in delete_left()
117 cmdbuf_len--; in delete_left()
124 if (cmdbuf_pos == cmdbuf_len) in delete_current()
129 cmdbuf_len - cmdbuf_pos); in delete_current()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dedit.c20 static int cmdbuf_len = 0; variable
51 for (i = 0; i < cmdbuf_len + 2 + (ps2 ? (int) os_strlen(ps2) : 0); i++) in edit_clear_line()
65 cmdbuf_pos = cmdbuf_len; in move_end()
81 if (cmdbuf_pos < cmdbuf_len) { in move_right()
100 while (cmdbuf_pos < cmdbuf_len && cmdbuf[cmdbuf_pos] == ' ') in move_word_right()
102 while (cmdbuf_pos < cmdbuf_len && cmdbuf[cmdbuf_pos] != ' ') in move_word_right()
115 cmdbuf_len - cmdbuf_pos); in delete_left()
117 cmdbuf_len--; in delete_left()
124 if (cmdbuf_pos == cmdbuf_len) in delete_current()
129 cmdbuf_len - cmdbuf_pos); in delete_current()
[all …]