Home
last modified time | relevance | path

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

12

/scripts/kconfig/
A 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()
A Dnconf.c320 .key = F_HELP,
332 .key = F_INSTS,
338 .key = F_CONF,
344 .key = F_BACK,
350 .key = F_SAVE,
356 .key = F_LOAD,
368 .key = F_EXIT,
481 if (*key == KEY_F(function_keys[i].key) || in process_special_keys()
482 *key == '0' + function_keys[i].key){ in process_special_keys()
1009 if (key == '/' || (state->in_search && key == 27)) { in do_match()
[all …]
A Dmnconf-common.h16 int next_jump_key(int key);
17 int handle_search_keys(int key, size_t start, size_t end, void *_data);
A Dqconf.h28 QList<int> readSizes(const QString& key, bool *ok);
29 bool writeSizes(const QString& key, const QList<int>& value);
/scripts/gendwarfksyms/
A 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()
A Dgendwarfksyms.h214 void cache_set(struct cache *cache, unsigned long key, int value);
215 int cache_get(struct cache *cache, unsigned long key);
/scripts/
A 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};
A 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";
A 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()
A Dleaking_addresses.pl700 my ($cache, $key, $value) = @_;
702 if (!$cache->{$key}) {
703 $cache->{$key} = ();
705 push @{$cache->{$key}}, $value;
A DMakefile.modinst103 sig-key := $(if $(wildcard $(CONFIG_MODULE_SIG_KEY)),,$(srctree)/)$(CONFIG_MODULE_SIG_KEY)
105 sig-key := $(CONFIG_MODULE_SIG_KEY)
A Dsorttable.c620 uint64_t key = *(const uint64_t *)K; in cmp_func_addr() local
623 if (key + before_func < a->addr) in cmp_func_addr()
625 return key >= a->addr + a->size; in cmp_func_addr()
629 static int find_func(uint64_t key) in find_func() argument
631 return bsearch(&key, function_list, function_list_size, in find_func()
858 uint64_t key; in sort_mcount_loc() local
860 key = long_size == 4 ? *(uint32_t *)ptr : *(uint64_t *)ptr; in sort_mcount_loc()
861 if (!find_func(key)) { in sort_mcount_loc()
/scripts/include/
A 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/
A Dmenubox.c262 key = wgetch(menu); in dialog_menu()
264 if (key < 256 && isalpha(key)) in dialog_menu()
265 key = tolower(key); in dialog_menu()
287 key == KEY_UP || key == KEY_DOWN || in dialog_menu()
288 key == '-' || key == '+' || in dialog_menu()
289 key == KEY_PPAGE || key == KEY_NPAGE)) { in dialog_menu()
293 if (key == KEY_UP || key == '-') { in dialog_menu()
302 } else if (key == KEY_DOWN || key == '+') { in dialog_menu()
352 switch (key) { in dialog_menu()
378 switch (key) { in dialog_menu()
[all …]
A 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()
A Dchecklist.c194 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()
300 key = KEY_ESC; in dialog_checklist()
303 key = on_key_esc(dialog); in dialog_checklist()
[all …]
A 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()
A 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()
A Dutil.c521 int key; in on_key_esc() local
527 key = wgetch(win); in on_key_esc()
534 if (key == KEY_ESC && key2 == ERR) in on_key_esc()
536 else if (key != ERR && key != KEY_ESC && key2 == ERR) in on_key_esc()
537 ungetch(key); in on_key_esc()
/scripts/crypto/
A Dgen-hash-testvecs.py32 def __init__(self, key): argument
33 assert len(key) == POLY1305_KEY_SIZE
36 self.r = int.from_bytes(key[:16], byteorder='little') & rclamp
37 self.s = int.from_bytes(key[16:], byteorder='little')
115 key = rand_bytes(key_len)
116 mac = hmac.digest(key, data[:data_len], alg)
123 key = b'\xff' * POLY1305_KEY_SIZE
125 ctx = Poly1305(key)
132 Poly1305(key).update(data).digest())
/scripts/lib/abi/
A Dabi_parser.py133 if fdata.key:
144 key = "abi_" + content.lower()
145 fdata.key = self.re_unprintable.sub("_", key).strip("_")
152 while fdata.key in self.data:
157 fdata.key += chr(char)
159 if fdata.key and fdata.key not in self.data:
160 self.data[fdata.key] = {
174 t = (content, fdata.key)
311 fdata.key = None
343 if fdata.key:
[all …]
A Dabi_regex.py197 for t in sorted(self.data.items(), key=lambda x: x[0]):
229 key= lambda k: len(self.regex_group[k]),
/scripts/lib/kdoc/
A Dkdoc_item.py25 def get(self, key, default = None): argument
26 return self.other_stuff.get(key, default)
28 def __getitem__(self, key): argument
29 return self.get(key)
/scripts/gcc-plugins/
A 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()
/scripts/gdb/linux/
A Dproc.py118 for key, string in lst.items():
119 if opt & key:

Completed in 32 milliseconds

12