Home
last modified time | relevance | path

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

12

/scripts/kconfig/
Dmnconf-common.c8 int next_jump_key(int key) in next_jump_key() argument
10 if (key < '1' || key > '9') in next_jump_key()
13 key++; in next_jump_key()
15 if (key > '9') in next_jump_key()
16 key = '1'; in next_jump_key()
18 return key; in next_jump_key()
21 int handle_search_keys(int key, size_t start, size_t end, void *_data) in handle_search_keys() argument
27 if (key < '1' || key > '9') in handle_search_keys()
39 if (key == index) { in handle_search_keys()
Dnconf.c297 typedef void (*function_key_handler_t)(int *key, struct menu *menu);
298 static void handle_f1(int *key, struct menu *current_item);
299 static void handle_f2(int *key, struct menu *current_item);
300 static void handle_f3(int *key, struct menu *current_item);
301 static void handle_f4(int *key, struct menu *current_item);
302 static void handle_f5(int *key, struct menu *current_item);
303 static void handle_f6(int *key, struct menu *current_item);
304 static void handle_f7(int *key, struct menu *current_item);
305 static void handle_f8(int *key, struct menu *current_item);
306 static void handle_f9(int *key, struct menu *current_item);
[all …]
Dmnconf-common.h16 int next_jump_key(int key);
17 int handle_search_keys(int key, size_t start, size_t end, void *_data);
Dqconf.h27 QList<int> readSizes(const QString& key, bool *ok);
28 bool writeSizes(const QString& key, const QList<int>& value);
/scripts/gendwarfksyms/
Dcache.c9 unsigned long key; member
14 void cache_set(struct cache *cache, unsigned long key, int value) in cache_set() argument
19 ci->key = key; in cache_set()
21 hash_add(cache->cache, &ci->hash, hash_32(key)); in cache_set()
24 int cache_get(struct cache *cache, unsigned long key) in cache_get() argument
28 hash_for_each_possible(cache->cache, ci, hash, hash_32(key)) { in cache_get()
29 if (ci->key == key) in cache_get()
Dgendwarfksyms.h214 void cache_set(struct cache *cache, unsigned long key, int value);
215 int cache_get(struct cache *cache, unsigned long key);
/scripts/
Dparse-maintainers.pl115 foreach my $key (sort by_category keys %$hashref) {
116 if ($key eq " ") {
117 print $file $$hashref{$key};
124 print $file $key . "\n";
126 foreach my $pattern (sort by_pattern split('\n', %$hashref{$key})) {
130 foreach my $pattern (split('\n', %$hashref{$key})) {
183 foreach my $key (keys %hash) {
184 if ($key =~ /$type/ || $hash{$key} =~ /$type/) {
185 $new_hash{$key} = $hash{$key};
186 delete $hash{$key};
Dbootgraph.pl173 foreach my $key (@initcalls) {
174 my $duration = $end{$key} - $start{$key};
178 my $pid = $pids{$key};
184 $s = ($start{$key} - $firsttime) * $mult;
187 $e = ($end{$key} - $firsttime) * $mult;
199 if ($type{$key} == 1) {
205 print "<text transform=\"translate($s2,$y2) rotate(90)\">$key</text>\n";
207 print "<text transform=\"translate($s3,$y2) rotate(90)\" font-size=\"3pt\">$key</text>\n";
Dgenerate_rust_target.rs111 fn push(&mut self, key: &str, value: impl Into<Value>) { in push()
112 self.0.push((key.to_string(), value.into())); in push()
121 for (key, value) in rest { in fmt()
122 write!(formatter, " \"{}\": {},\n", key, value)?; in fmt()
152 let (key, value) = line.split_once('=').expect("Missing `=` in line."); in from_stdin()
153 result.insert(key.to_string(), value.trim_end_matches('\n').to_string()); in from_stdin()
Dleaking_addresses.pl700 my ($cache, $key, $value) = @_;
702 if (!$cache->{$key}) {
703 $cache->{$key} = ();
705 push @{$cache->{$key}}, $value;
DMakefile.modinst107 sig-key := $(if $(wildcard $(CONFIG_MODULE_SIG_KEY)),,$(srctree)/)$(CONFIG_MODULE_SIG_KEY)
109 sig-key := $(CONFIG_MODULE_SIG_KEY)
Drust_is_available_test.py122 for key, value in override_env.items():
124 del env[key]
126 env[key] = value
/scripts/include/
Dhashtable.h16 #define hash_head(table, key) (&(table)[(key) % HASH_SIZE(table)]) argument
41 #define hash_add(table, node, key) \ argument
42 hlist_add_head(node, hash_head(table, key))
83 #define hash_for_each_possible(table, obj, member, key) \ argument
84 hlist_for_each_entry(obj, hash_head(table, key), member)
95 #define hash_for_each_possible_safe(table, obj, tmp, member, key) \ argument
96 hlist_for_each_entry_safe(obj, tmp, hash_head(table, key), member)
/scripts/kconfig/lxdialog/
Dmenubox.c168 int key = 0, button = 0, scroll = 0, choice = 0; in dialog_menu() local
261 while (key != KEY_ESC) { in dialog_menu()
262 key = wgetch(menu); in dialog_menu()
264 if (key < 256 && isalpha(key)) in dialog_menu()
265 key = tolower(key); in dialog_menu()
267 if (strchr("ynmh ", key)) in dialog_menu()
273 if (key == tolower(item_str()[j])) in dialog_menu()
280 if (key == tolower(item_str()[j])) in dialog_menu()
287 key == KEY_UP || key == KEY_DOWN || in dialog_menu()
288 key == '-' || key == '+' || in dialog_menu()
[all …]
Dyesno.c31 int i, x, y, key = 0, button = 0; in dialog_yesno() local
65 while (key != KEY_ESC) { in dialog_yesno()
66 key = wgetch(dialog); in dialog_yesno()
67 switch (key) { in dialog_yesno()
80 button = ((key == KEY_LEFT ? --button : ++button) < 0) ? 1 : (button > 1 ? 0 : button); in dialog_yesno()
90 key = on_key_esc(dialog); in dialog_yesno()
100 return key; /* ESC pressed */ in dialog_yesno()
Dchecklist.c108 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local
194 while (key != KEY_ESC) { in dialog_checklist()
195 key = wgetch(dialog); in dialog_checklist()
199 if (toupper(key) == toupper(item_str()[0])) in dialog_checklist()
203 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist()
204 key == '+' || key == '-') { in dialog_checklist()
205 if (key == KEY_UP || key == '-') { in dialog_checklist()
230 } else if (key == KEY_DOWN || key == '+') { in dialog_checklist()
272 switch (key) { in dialog_checklist()
292 button = ((key == KEY_LEFT ? --button : ++button) < 0) in dialog_checklist()
[all …]
Dinputbox.c35 int input_x = 0, key = 0, button = -1; in dialog_inputbox() local
108 while (key != KEY_ESC) { in dialog_inputbox()
109 key = wgetch(dialog); in dialog_inputbox()
112 switch (key) { in dialog_inputbox()
187 if (key < 0x100 && isprint(key)) { in dialog_inputbox()
193 instr[pos] = key; in dialog_inputbox()
195 instr[len] = key; in dialog_inputbox()
223 switch (key) { in dialog_inputbox()
277 key = KEY_ESC; in dialog_inputbox()
280 key = on_key_esc(dialog); in dialog_inputbox()
Dtextbox.c155 int i, x, y, cur_x, cur_y, key = 0; in dialog_textbox() local
236 key = wgetch(dialog); in dialog_textbox()
237 switch (key) { in dialog_textbox()
307 if (key == '0') in dialog_textbox()
336 if (extra_key_cb && extra_key_cb(key, start, end, data)) { in dialog_textbox()
357 return key; in dialog_textbox()
Dutil.c522 int key; in on_key_esc() local
528 key = wgetch(win); in on_key_esc()
535 if (key == KEY_ESC && key2 == ERR) in on_key_esc()
537 else if (key != ERR && key != KEY_ESC && key2 == ERR) in on_key_esc()
538 ungetch(key); in on_key_esc()
/scripts/gcc-plugins/
Darm_ssp_per_task_plugin.c77 if (!strcmp(argv[i].key, "disable")) in plugin_init()
83 plugin_name, argv[i].key); in plugin_init()
87 if (!strcmp(argv[i].key, "offset")) { in plugin_init()
92 plugin_name, argv[i].key); in plugin_init()
Dstructleak_plugin.c230 if (!strcmp(argv[i].key, "disable")) { in plugin_init()
234 if (!strcmp(argv[i].key, "verbose")) { in plugin_init()
238 if (!strcmp(argv[i].key, "byref")) { in plugin_init()
242 if (!strcmp(argv[i].key, "byref-all")) { in plugin_init()
246 error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key); in plugin_init()
Dstackleak_plugin.c570 if (!strcmp(argv[i].key, "track-min-size")) { in plugin_init()
573 plugin_name, argv[i].key); in plugin_init()
580 plugin_name, argv[i].key, argv[i].value); in plugin_init()
583 } else if (!strcmp(argv[i].key, "arch")) { in plugin_init()
586 plugin_name, argv[i].key); in plugin_init()
592 } else if (!strcmp(argv[i].key, "disable")) { in plugin_init()
594 } else if (!strcmp(argv[i].key, "verbose")) { in plugin_init()
598 plugin_name, argv[i].key); in plugin_init()
Dsancov_plugin.c115 if (!strcmp(argv[i].key, "no-sancov")) { in plugin_init()
119 error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key); in plugin_init()
/scripts/gdb/linux/
Dproc.py118 for key, string in lst.items():
119 if opt & key:
/scripts/clang-tools/
Dgen_compile_commands.py224 json.dump(sorted(compile_commands, key=lambda x: x["file"]), f, indent=2, sort_keys=True)

12