| /openbsd-src/gnu/usr.bin/perl/ |
| H A D | sbox32_hash.h | 113 #define case_256_SBOX32(hash,state,key) _SBOX32_CASE(256,hash,state,key) argument 115 #define case_256_SBOX32(hash,state,key) /**/ argument 118 #define case_255_SBOX32(hash,state,key) _SBOX32_CASE(255,hash,state,key) argument 120 #define case_255_SBOX32(hash,state,key) /**/ argument 123 #define case_254_SBOX32(hash,state,key) _SBOX32_CASE(254,hash,state,key) argument 125 #define case_254_SBOX32(hash,state,key) /**/ argument 128 #define case_253_SBOX32(hash,state,key) _SBOX32_CASE(253,hash,state,key) argument 130 #define case_253_SBOX32(hash,state,key) /**/ argument 133 #define case_252_SBOX32(hash,state,key) _SBOX32_CASE(252,hash,state,key) argument 135 #define case_252_SBOX32(hash,state,key) /**/ argument [all …]
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | input-keys.c | 29 * key code and translates it into something suitable to be sent to the 36 /* Entry in the key tree. */ 38 key_code key; member 54 { .key = KEYC_PASTE_START, 57 { .key = KEYC_PASTE_END, 62 { .key = KEYC_F1, 65 { .key = KEYC_F2, 68 { .key = KEYC_F3, 71 { .key = KEYC_F4, 74 { .key 351 input_key_get(key_code key) input_key_get() argument 378 key_code key; input_key_build() local 407 input_key_pane(struct window_pane * wp,key_code key,struct mouse_event * m) input_key_pane() argument 432 input_key(struct screen * s,struct bufferevent * bev,key_code key) input_key() argument [all...] |
| H A D | server-client.c | 233 /* Set client key table. */ in server_client_get_key_table() 256 /* Get default key table. */ in server_client_create() 266 name = options_get_string(s->options, "key-table"); in server_client_create() 272 /* Is this table the default key table? */ in server_client_create() 678 key_code key; in server_client_check_mouse() 696 if (event->key == KEYC_DOUBLECLICK) { in server_client_check_mouse() 901 * End a mouse drag by passing a MouseDragEnd key corresponding in server_client_check_mouse() 907 key = KEYC_MOUSEDRAGEND1_PANE; in server_client_check_mouse() 909 key = KEYC_MOUSEDRAGEND1_STATUS; in server_client_check_mouse() 911 key in server_client_check_mouse() 572 key_code key; server_client_check_mouse() local 1794 server_client_is_bracket_pasting(struct client * c,key_code key) server_client_is_bracket_pasting() argument 1864 key_code key = event->key; server_client_key_callback() local [all...] |
| H A D | key-string.c | 1 /* $OpenBSD: key-string.c,v 1.75 2024/08/23 13:25:39 nicm Exp $ */ 33 key_code key; 194 /* Find key string in table. */ in key_string_get_modifiers() 202 return (key_string_table[i].key); in key_string_get_modifiers() 241 /* Lookup a string and convert to a key value. */ in key_string_lookup_string() 245 key_code key, modifiers = 0; in key_string_lookup_string() 253 /* Is this no key or any key? */ in key_string_lookup_string() 282 /* Check for short Ctrl key. */ in key_string_lookup_string() 295 /* Is this a standard ASCII key in key_string_lookup_string() 32 key_code key; global() member 210 key_code key, modifiers; key_string_lookup_string() local 309 key_string_lookup_key(key_code key,int with_flags) key_string_lookup_key() argument [all...] |
| /openbsd-src/gnu/usr.bin/texinfo/info/ |
| H A D | session.h | 36 void name (WINDOW *window, int count, unsigned char key) 64 extern void info_dispatch_on_key (unsigned char key, Keymap map); 119 extern void info_next_line (WINDOW *window, int count, unsigned char key); 120 extern void info_prev_line (WINDOW *window, int count, unsigned char key); 121 extern void info_end_of_line (WINDOW *window, int count, unsigned char key); 122 extern void info_beginning_of_line (WINDOW *window, int count, unsigned char key); 123 extern void info_forward_char (WINDOW *window, int count, unsigned char key); 124 extern void info_backward_char (WINDOW *window, int count, unsigned char key); 125 extern void info_forward_word (WINDOW *window, int count, unsigned char key); 126 extern void info_backward_word (WINDOW *window, int count, unsigned char key); [all …]
|
| H A D | echo-area.h | 60 extern void ea_insert (WINDOW *window, int count, unsigned char key); 61 extern void ea_quoted_insert (WINDOW *window, int count, unsigned char key); 62 extern void ea_beg_of_line (WINDOW *window, int count, unsigned char key); 63 extern void ea_backward (WINDOW *window, int count, unsigned char key); 64 extern void ea_delete (WINDOW *window, int count, unsigned char key); 65 extern void ea_end_of_line (WINDOW *window, int count, unsigned char key); 66 extern void ea_forward (WINDOW *window, int count, unsigned char key); 67 extern void ea_abort (WINDOW *window, int count, unsigned char key); 68 extern void ea_rubout (WINDOW *window, int count, unsigned char key); 69 extern void ea_complete (WINDOW *window, int count, unsigned char key); [all …]
|
| /openbsd-src/lib/libfuse/ |
| H A D | dict.c | 29 char key[MAX_DICTKEY_SIZE + 1]; member 40 struct dictentry key; in dict_check() local 42 if (strlcpy(key.key, k, sizeof key.key) >= sizeof key.key) in dict_check() 45 return (SPLAY_FIND(dict, d, &key) != NULL); in dict_check() 51 struct dictentry *entry, key; in dict_set() local 53 if (strlcpy(key.key, k, sizeof key.key) >= sizeof key.key) in dict_set() 55 if ((entry = SPLAY_FIND(dict, d, &key)) == NULL) { in dict_set() 60 strlcpy(entry->key, k, sizeof entry->key); in dict_set() 72 struct dictentry key, *entry; in dict_get() local 74 if (strlcpy(key.key, k, sizeof key.key) >= sizeof key.key) in dict_get() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/lib/CPAN/Meta/ |
| H A D | Merge.pm | 29 for my $key (keys %{$next}) { 30 if (not exists $current->{$key}) { 31 $current->{$key} = $next->{$key}; 33 elsif (my $merger = $mergers->{$key}) { 34 $current->{$key} = $merger->($current->{$key}, $next->{$key}, [ @{$path}, $key ]); 37 $current->{$key} = $merger->($current->{$key}, $next->{$key}, [ @{$path}, $key ]); 40 croak sprintf "Can't merge unknown attribute '%s'", join '.', @{$path}, $key; 58 for my $key (keys %{$right}) { 59 if (not exists $left->{$key}) { 60 $left->{$key} = $right->{$key}; [all …]
|
| H A D | Validator.pm | 538 for my $key (keys %$spec) { 539 next unless($spec->{$key}->{mandatory}); 540 next if(defined $data->{$key}); 541 push @{$self->{stack}}, $key; 542 $self->_error( "Missing mandatory field, '$key'" ); 546 for my $key (keys %$data) { 547 push @{$self->{stack}}, $key; 548 if($spec->{$key}) { 549 if($spec->{$key}{value}) { 550 $spec->{$key}{value}->($self,$key,$data->{$key}); [all …]
|
| /openbsd-src/gnu/lib/libreadline/ |
| H A D | vi_mode.c | 130 _rl_vi_set_last (key, repeat, sign) in _rl_vi_set_last() argument 131 int key, repeat, sign; in _rl_vi_set_last() 133 _rl_vi_last_command = key; 191 rl_vi_undo (count, key) in rl_vi_undo() argument 192 int count, key; in rl_vi_undo() 194 return (rl_undo_command (count, key)); 199 rl_vi_yank_arg (count, key) in rl_vi_yank_arg() argument 200 int count, key; in rl_vi_yank_arg() 240 rl_vi_search_again (count, key) in rl_vi_search_again() argument 241 int count, key; in rl_vi_search_again() [all …]
|
| /openbsd-src/usr.bin/dig/lib/dns/ |
| H A D | dst_api.c | 63 static isc_result_t computeid(dst_key_t *key); 130 dst_context_create3(dst_key_t *key, in dst_context_create3() argument 144 dst_key_attach(key, &dctx->key); in dst_context_create3() 150 result = key->func->createctx(key, dctx); in dst_context_create3() 152 if (dctx->key != NULL) in dst_context_create3() 153 dst_key_free(&dctx->key); in dst_context_create3() 168 dctx->key->func->destroyctx(dctx); in dst_context_destroy() 169 if (dctx->key != NULL) in dst_context_destroy() 170 dst_key_free(&dctx->key); in dst_context_destroy() 178 return (dctx->key->func->adddata(dctx, data)); in dst_context_adddata() [all …]
|
| H A D | hmac_link.c | 50 static isc_result_t hmacsha1_fromdns(dst_key_t *key, isc_buffer_t *data); 53 unsigned char key[ISC_SHA1_BLOCK_LENGTH]; member 57 hmacsha1_createctx(dst_key_t *key, dst_context_t *dctx) { in hmacsha1_createctx() argument 59 dst_hmacsha1_key_t *hkey = key->keydata.hmacsha1; in hmacsha1_createctx() 64 isc_hmacsha1_init(hmacsha1ctx, hkey->key, ISC_SHA1_BLOCK_LENGTH); in hmacsha1_createctx() 116 hmacsha1_destroy(dst_key_t *key) { in hmacsha1_destroy() argument 117 dst_hmacsha1_key_t *hkey = key->keydata.hmacsha1; in hmacsha1_destroy() 120 key->keydata.hmacsha1 = NULL; in hmacsha1_destroy() 124 hmacsha1_todns(const dst_key_t *key, isc_buffer_t *data) { in hmacsha1_todns() argument 128 REQUIRE(key->keydata.hmacsha1 != NULL); in hmacsha1_todns() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/Cross/ |
| H A D | generate_config_sh | 60 my $key = $1; 62 if (ref($callbacks->{$key}) eq "ARRAY") { 63 ($callbacks->{$key}[0])->($key,$value); 70 my $key = shift; 72 my $envvar = $callbacks->{$key}->[1][0]; 75 my $rawtext = `$callbacks->{$key}->[1][1]`; 77 print("$key=\'$rawtext\'\n"); 79 print("$key=\'$callbacks->{$key}->[1][2]\'\n"); 85 my $key = shift; 86 my $envvar = $callbacks->{$key}->[1][0]; [all …]
|
| /openbsd-src/gnu/gcc/gcc/config/ |
| H A D | vxlib.c | 164 #define KEY_VALID_P(key) !(tls_keys.generation[key] & 1) argument 194 __gthread_key_t key; in tls_delete_hook() local 199 for (key = 0; key < MAX_KEYS; key++) in tls_delete_hook() 201 if (data->generation[key] == tls_keys.generation[key]) in tls_delete_hook() 203 tls_dtor dtor = tls_keys.dtor[key]; in tls_delete_hook() 206 dtor (data->values[key]); in tls_delete_hook() 263 __gthread_key_t key; in __gthread_key_create() local 270 for (key = 0; key < MAX_KEYS; key++) in __gthread_key_create() 271 if (!KEY_VALID_P (key)) in __gthread_key_create() 279 tls_keys.generation[key]++; /* making it even */ in __gthread_key_create() [all …]
|
| /openbsd-src/regress/lib/libcrypto/bf/ |
| H A D | bf_test.c | 26 const uint8_t key[64]; member 44 .key = { 59 .key = { 74 .key = { 89 .key = { 104 .key = { 119 .key = { 134 .key = { 149 .key = { 164 .key = { [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Params-Check/lib/Params/ |
| H A D | Check.pm | 275 for my $key (keys %$href) { 276 my $org = $key; 277 $key = lc $key unless $PRESERVE_CASE; 278 $key =~ s/^-// if $STRIP_LEADING_DASHES; 279 $args->{$key} = $href->{$org}; 290 for my $key (keys %$utmpl) { 291 my $tmpl = $utmpl->{$key}; 297 if( $tmpl->{'required'} and not exists $args->{$key} ) { 300 $key, _who_was_it(), _who_was_it(1)), $verbose ); 308 $defs{$key} = $tmpl->{'default'} [all …]
|
| /openbsd-src/usr.sbin/unbound/util/storage/ |
| H A D | dnstree.c | 100 node->node.key = node; in name_tree_insert() 112 node->node.key = node; in addr_tree_insert() 182 struct name_tree_node key; in name_tree_find() local 183 key.node.key = &key; in name_tree_find() 184 key.name = name; in name_tree_find() 185 key.len = len; in name_tree_find() 186 key.labs = labs; in name_tree_find() 187 key.dclass = dclass; in name_tree_find() 188 return (struct name_tree_node*)rbtree_search(tree, &key); in name_tree_find() 196 struct name_tree_node key; in name_tree_lookup() local [all …]
|
| /openbsd-src/sbin/unwind/libunbound/util/storage/ |
| H A D | dnstree.c | 100 node->node.key = node; in name_tree_insert() 112 node->node.key = node; in addr_tree_insert() 182 struct name_tree_node key; in name_tree_find() local 183 key.node.key = &key; in name_tree_find() 184 key.name = name; in name_tree_find() 185 key.len = len; in name_tree_find() 186 key.labs = labs; in name_tree_find() 187 key.dclass = dclass; in name_tree_find() 188 return (struct name_tree_node*)rbtree_search(tree, &key); in name_tree_find() 196 struct name_tree_node key; in name_tree_lookup() local [all …]
|
| /openbsd-src/sys/net80211/ |
| H A D | ieee80211_pae_output.c | 67 struct ieee80211_eapol_key *key; in ieee80211_send_eapol_key() local 80 key = (struct ieee80211_eapol_key *)&eh[1]; in ieee80211_send_eapol_key() 81 key->version = EAPOL_VERSION; in ieee80211_send_eapol_key() 82 key->type = EAPOL_KEY; in ieee80211_send_eapol_key() 83 key->desc = (ni->ni_rsnprotos == IEEE80211_PROTO_RSN) ? in ieee80211_send_eapol_key() 86 info = BE_READ_2(key->info); in ieee80211_send_eapol_key() 96 BE_WRITE_2(key->info, info); in ieee80211_send_eapol_key() 99 BE_WRITE_2(key->paylen, len - sizeof(*key)); in ieee80211_send_eapol_key() 100 BE_WRITE_2(key->len, len - 4); in ieee80211_send_eapol_key() 107 BE_WRITE_2(key->info, info); in ieee80211_send_eapol_key() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Host/macosx/cfcpp/ |
| H A D | CFCMutableDictionary.h | 28 const void *GetValue(const void *key) const; 29 Boolean GetValueIfPresent(const void *key, const void **value_handle) const; 30 bool AddValue(CFStringRef key, const void *value, bool can_create = false); 31 bool SetValue(CFStringRef key, const void *value, bool can_create = false); 32 bool AddValueSInt8(CFStringRef key, int8_t value, bool can_create = false); 33 bool SetValueSInt8(CFStringRef key, int8_t value, bool can_create = false); 34 bool AddValueSInt16(CFStringRef key, int16_t value, bool can_create = false); 35 bool SetValueSInt16(CFStringRef key, int16_t value, bool can_create = false); 36 bool AddValueSInt32(CFStringRef key, int32_t value, bool can_create = false); 37 bool SetValueSInt32(CFStringRef key, int32_t value, bool can_create = false); [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Math-BigInt/t/ |
| H A D | config.t | 43 Verify that $class->config("key") works. 51 # Test getting via the new style $class->config($key). 53 subtest qq|New-style getter $class->config("\$key")| => sub { 56 for my $key (sort keys %table) { 57 my $val = $table{$key}; 58 is($class->config($key), $val, qq|$class->config("$key")|); 62 # Test getting via the old style $class->config()->{$key}, which is still 68 subtest qq|Old-style getter $class->config()->{"\$key"}| => sub { 71 for my $key (sor [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/Util/ |
| H A D | ExternalMeta.pm | 17 my ($key, $value) = @_; 19 validate_key($key); 22 $self->{+META_KEY}->{$key} = $value; 27 my ($key) = @_; 29 validate_key($key); 32 return $meta->{$key}; 37 my ($key) = @_; 39 validate_key($key); 42 delete $meta->{$key}; 47 my ($key, [all...] |
| /openbsd-src/usr.sbin/ldapd/ |
| H A D | search.c | 43 if (a->key.size < b->key.size) in uniqdn_cmp() 45 if (a->key.size > b->key.size) in uniqdn_cmp() 47 return memcmp(a->key.data, b->key.data, a->key.size); in uniqdn_cmp() 183 free(dn->key.data); in search_close() 204 is_child_of(struct btval *key, const char *base) in is_child_of() argument 209 if ((p = memchr(key->data, ',', key->size)) == NULL) in is_child_of() 212 ksz = key->size - (p - (char *)key->data); in is_child_of() 218 check_search_entry(struct btval *key, struct btval *val, struct search *search) in check_search_entry() argument 226 !is_child_of(key, search->basedn)) { in check_search_entry() 231 if ((dn0 = strndup(key->data, key->size)) == NULL) { in check_search_entry() [all …]
|
| /openbsd-src/regress/lib/libcrypto/ige/ |
| H A D | igetest.c | 80 const unsigned char key[16]; member 130 AES_KEY key; in run_test_vectors() local 137 AES_set_encrypt_key(v->key, 8*sizeof v->key, &key); in run_test_vectors() 139 AES_set_decrypt_key(v->key, 8*sizeof v->key, &key); in run_test_vectors() 141 AES_ige_encrypt(v->in, buf, v->length, &key, iv, v->encrypt); in run_test_vectors() 146 hexdump(stdout, "key", v->key, sizeof v->key); in run_test_vectors() 158 AES_ige_encrypt(buf, buf, v->length, &key, iv, v->encrypt); in run_test_vectors() 163 hexdump(stdout, "key", v->key, sizeof v->key); in run_test_vectors() 180 AES_KEY key; in main() local 201 AES_set_encrypt_key(rkey, 8*sizeof rkey, &key); in main() [all …]
|
| /openbsd-src/usr.sbin/smtpd/ |
| H A D | dict.c | 30 const char *key; member 41 struct dictentry key; in dict_check() local 43 key.key = k; in dict_check() 44 return (SPLAY_FIND(_dict, &d->dict, &key) != NULL); in dict_check() 57 e->key = t = (char*)(e) + sizeof(*e); in dict_alloc() 67 struct dictentry *entry, key; in dict_set() local 70 key.key = k; in dict_set() 71 if ((entry = SPLAY_FIND(_dict, &d->dict, &key)) == NULL) { in dict_set() 100 struct dictentry key, *entry; in dict_get() local 102 key.key = k; in dict_get() [all …]
|