Home
last modified time | relevance | path

Searched refs:key (Results 1 – 15 of 15) sorted by relevance

/scripts/kconfig/lxdialog/
Dmenubox.c189 int key = 0, button = 0, scroll = 0, choice = 0; in dialog_menu() local
282 while (key != KEY_ESC) { in dialog_menu()
283 key = wgetch(menu); in dialog_menu()
285 if (key < 256 && isalpha(key)) in dialog_menu()
286 key = tolower(key); in dialog_menu()
288 if (strchr("ynmh", key)) in dialog_menu()
294 if (key == tolower(item_str()[j])) in dialog_menu()
301 if (key == tolower(item_str()[j])) in dialog_menu()
308 key == KEY_UP || key == KEY_DOWN || in dialog_menu()
309 key == '-' || key == '+' || in dialog_menu()
[all …]
Dchecklist.c121 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local
208 while (key != KEY_ESC) { in dialog_checklist()
209 key = wgetch(dialog); in dialog_checklist()
213 if (toupper(key) == toupper(item_str()[0])) in dialog_checklist()
217 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist()
218 key == '+' || key == '-') { in dialog_checklist()
219 if (key == KEY_UP || key == '-') { in dialog_checklist()
244 } else if (key == KEY_DOWN || key == '+') { in dialog_checklist()
286 switch (key) { in dialog_checklist()
306 button = ((key == KEY_LEFT ? --button : ++button) < 0) in dialog_checklist()
[all …]
Dyesno.c44 int i, x, y, key = 0, button = 0; in dialog_yesno() local
78 while (key != KEY_ESC) { in dialog_yesno()
79 key = wgetch(dialog); in dialog_yesno()
80 switch (key) { in dialog_yesno()
93 button = ((key == KEY_LEFT ? --button : ++button) < 0) ? 1 : (button > 1 ? 0 : button); in dialog_yesno()
103 key = on_key_esc(dialog); in dialog_yesno()
113 return key; /* ESC pressed */ in dialog_yesno()
Dinputbox.c48 int input_x = 0, key = 0, button = -1; in dialog_inputbox() local
119 while (key != KEY_ESC) { in dialog_inputbox()
120 key = wgetch(dialog); in dialog_inputbox()
123 switch (key) { in dialog_inputbox()
197 if (key < 0x100 && isprint(key)) { in dialog_inputbox()
203 instr[pos] = key; in dialog_inputbox()
205 instr[len] = key; in dialog_inputbox()
233 switch (key) { in dialog_inputbox()
287 key = KEY_ESC; in dialog_inputbox()
290 key = on_key_esc(dialog); in dialog_inputbox()
Dtextbox.c60 int i, x, y, cur_x, cur_y, key = 0; in dialog_textbox() local
142 key = wgetch(dialog); in dialog_textbox()
143 switch (key) { in dialog_textbox()
219 if (key == '0') in dialog_textbox()
251 if (key == keys[i]) { in dialog_textbox()
273 return key; in dialog_textbox()
Dutil.c554 int key; in on_key_esc() local
560 key = wgetch(win); in on_key_esc()
567 if (key == KEY_ESC && key2 == ERR) in on_key_esc()
569 else if (key != ERR && key != KEY_ESC && key2 == ERR) in on_key_esc()
570 ungetch(key); in on_key_esc()
/scripts/
Dbootgraph.pl149 foreach my $key (@initcalls) {
150 my $duration = $end{$key} - $start{$key};
154 my $pid = $pids{$key};
160 $s = ($start{$key} - $firsttime) * $mult;
163 $e = ($end{$key} - $firsttime) * $mult;
175 if ($type{$key} == 1) {
181 print "<text transform=\"translate($s2,$y2) rotate(90)\">$key</text>\n";
183 print "<text transform=\"translate($s3,$y2) rotate(90)\" font-size=\"3pt\">$key</text>\n";
Dsign-file205 my $key = asn1_extract($tbs->[1], $UNIV | $CONS | $SEQUENCE);
Dcheckpatch.pl150 for my $key (keys %debug) {
152 eval "\${dbg_$key} = '$debug{$key}';";
/scripts/kconfig/
Dnconf.c287 typedef void (*function_key_handler_t)(int *key, struct menu *menu);
288 static void handle_f1(int *key, struct menu *current_item);
289 static void handle_f2(int *key, struct menu *current_item);
290 static void handle_f3(int *key, struct menu *current_item);
291 static void handle_f4(int *key, struct menu *current_item);
292 static void handle_f5(int *key, struct menu *current_item);
293 static void handle_f6(int *key, struct menu *current_item);
294 static void handle_f7(int *key, struct menu *current_item);
295 static void handle_f8(int *key, struct menu *current_item);
296 static void handle_f9(int *key, struct menu *current_item);
[all …]
Dzconf.hash.c_shipped35 /* maximum key range = 71, duplicates = 0 */
269 register int key = kconf_id_hash (str, len);
271 if (key <= MAX_HASH_VALUE && key >= 0)
273 register int o = wordlist[key].name;
279 return &wordlist[key];
Dqconf.h35 Q3ValueList<int> readSizes(const QString& key, bool *ok);
36 bool writeSizes(const QString& key, const Q3ValueList<int>& value);
Dmconf.c376 int key = '0' + (pos->index % JUMP_NB) + 1; in update_text() local
378 sprintf(header, "(%c)", key); in update_text()
379 data->keys[k] = key; in update_text()
Dqconf.cc75 Q3ValueList<int> ConfigSettings::readSizes(const QString& key, bool *ok) in readSizes() argument
78 QStringList entryList = readListEntry(key, ok); in readSizes()
90 bool ConfigSettings::writeSizes(const QString& key, const Q3ValueList<int>& value) in writeSizes() argument
97 return writeEntry(key, stringList); in writeSizes()
313 switch (e->key()) { in keyPressEvent()
665 if (ev->key() == Qt::Key_Escape && mode != fullMode && mode != listMode) { in keyPressEvent()
677 switch (ev->key()) { in keyPressEvent()
/scripts/genksyms/
Dkeywords.hash.c_shipped37 /* maximum key range = 64, duplicates = 0 */
209 register int key = is_reserved_hash (str, len);
211 if (key <= MAX_HASH_VALUE && key >= 0)
213 register const char *s = wordlist[key].name;
216 return &wordlist[key];