Home
last modified time | relevance | path

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

12345678910>>...15

/vim-8.2.3635/src/
H A Dmemfile_test.c36 blocknr_T key; in test_mf_hash() local
66 key = index_to_key(i); in test_mf_hash()
72 item->mhi_key = key; in test_mf_hash()
88 key = index_to_key(i); in test_mf_hash()
89 item = mf_hash_find(&ht, key); in test_mf_hash()
91 assert(item->mhi_key == key); in test_mf_hash()
99 key = index_to_key(i); in test_mf_hash()
102 assert(item->mhi_key == key); in test_mf_hash()
120 key = index_to_key(i); in test_mf_hash()
121 item = mf_hash_find(&ht, key); in test_mf_hash()
[all …]
H A Ddict.c222 dictitem_alloc(char_u *key) in dictitem_alloc() argument
229 STRCPY(di->di_key, key); in dictitem_alloc()
624 akey = key; in dict_find()
848 char_u *key; in get_literal_key() local
856 key = rettv.vval.v_string; in get_literal_key()
862 key = rettv.vval.v_string; in get_literal_key()
875 return key; in get_literal_key()
892 char_u *key = NULL; in eval_dict() local
982 if (key == NULL) in eval_dict()
1350 char_u *key; in dict_remove() local
[all …]
H A Dmisc2.c1438 key = handle_x_keys(key); in find_special_key()
1452 key = simplify_key(key, &modifiers); in find_special_key()
1517 && ((key >= '!' && key <= '/') in may_remove_shift_modifier()
1518 || (key >= ':' && key <= 'Z') in may_remove_shift_modifier()
1519 || (key >= '[' && key <= '`') in may_remove_shift_modifier()
1520 || (key >= '{' && key <= '~'))) in may_remove_shift_modifier()
1524 && (key == '{' || key == '}' || key == '|')) in may_remove_shift_modifier()
1548 key = TOUPPER_ASC(key); in extract_modifiers()
1559 key = TOUPPER_ASC(key); in extract_modifiers()
1569 && ((key >= '?' && key <= '_') || ASCII_ISALPHA(key)) in extract_modifiers()
[all …]
H A Dhashtab.c118 hash_find(hashtab_T *ht, char_u *key) in hash_find() argument
120 return hash_lookup(ht, key, hash_hash(key)); in hash_find()
176 && STRCMP(hi->hi_key, key) == 0) in hash_lookup()
207 hash_add(hashtab_T *ht, char_u *key) in hash_add() argument
209 hash_T hash = hash_hash(key); in hash_add()
231 char_u *key, in hash_add_item() argument
242 hi->hi_key = key; in hash_add_item()
262 hi->hi_key = key;
467 hash_hash(char_u *key) in hash_hash() argument
472 if ((hash = *key) == 0) in hash_hash()
[all …]
H A Dcrypt.c301 char_u *key, in crypt_create() argument
330 char_u *key, in crypt_create_from_header() argument
392 char_u *key, in crypt_create_for_writing() argument
581 crypt_free_key(char_u *key) in crypt_free_key() argument
585 if (key != NULL) in crypt_free_key()
587 for (p = key; *p != NUL; ++p) in crypt_free_key()
589 vim_free(key); in crypt_free_key()
717 char_u *key UNUSED, in crypt_sodium_init()
736 if (crypto_pwhash(dkey, sizeof(dkey), (const char *)key, STRLEN(key), salt, in crypt_sodium_init()
747 retval += sodium_mlock(key, STRLEN(key)); in crypt_sodium_init()
[all …]
H A Dblowfish.c406 char_u *key; in bf_key_init() local
411 key = sha256_key(password, salt, salt_len); in bf_key_init()
413 key = sha256_key(key, salt, salt_len); in bf_key_init()
416 keylen = (int)STRLEN(key) / 2; in bf_key_init()
424 sscanf((char *)&key[i * 2], "%2x", &u); in bf_key_init()
425 key[i] = u; in bf_key_init()
436 val = (val << 8) | key[keypos++ % keylen]; in bf_key_init()
641 char_u* key, in crypt_blowfish_init() argument
660 bf_key_init(bfs, key, salt, salt_len); in crypt_blowfish_init()
H A Dterminal.c1299 switch (key) in term_mouse_click()
1327 if (key == K_LEFTRELEASE || key == K_RIGHTRELEASE) in term_mouse_click()
1360 switch (key) in term_mouse_click()
1403 key = VTERM_KEY_DOWN; break; in term_convert_key()
1406 key = VTERM_KEY_END; break; in term_convert_key()
1408 key = VTERM_KEY_END; break; in term_convert_key()
1423 key = VTERM_KEY_HOME; break; in term_convert_key()
1425 key = VTERM_KEY_HOME; break; in term_convert_key()
1463 key = VTERM_KEY_UP; break; in term_convert_key()
1466 key = VTERM_KEY_TAB; break; in term_convert_key()
[all …]
H A Dhighlight.c786 if (*key == 'T') in highlight_set_termgui_attr()
795 else if (*key == 'C') in highlight_set_termgui_attr()
1001 char_u *key, in highlight_set_cterm_color() argument
1088 if (key[5] == 'F') in highlight_set_cterm_color()
1090 else if (key[5] == 'B') in highlight_set_cterm_color()
1351 if (key[2] == 'A') in highlight_set_startstop_termcode()
1541 vim_free(key); in do_highlight()
1543 if (key == NULL) in do_highlight()
1660 else if (STRCMP(key, "START") == 0 || STRCMP(key, "STOP") == 0) in do_highlight()
1741 vim_free(key); in do_highlight()
[all …]
H A Dgui_photon.c439 PhKeyEvent_t *key; in gui_ph_handle_keyboard() local
444 key = PhGetData(info->event); in gui_ph_handle_keyboard()
487 if (key->key_cap >= Pk_KP_Enter && key->key_cap <= Pk_KP_9 in gui_ph_handle_keyboard()
492 ch = key->key_cap - 0xf080; in gui_ph_handle_keyboard()
502 if (key->key_mods & Pk_KM_Ctrl) in gui_ph_handle_keyboard()
504 if (key->key_mods & Pk_KM_Alt) in gui_ph_handle_keyboard()
512 ch = PhTo8859_1(key); in gui_ph_handle_keyboard()
515 len = PhKeyToMb(string, key); in gui_ph_handle_keyboard()
541 ch = key->key_cap; in gui_ph_handle_keyboard()
1488 PhKeyEvent_t *key; in gui_ph_dialog_esc() local
[all …]
/vim-8.2.3635/src/proto/
H A Ddict.pro12 dictitem_T *dictitem_alloc(char_u *key);
18 int dict_add_number(dict_T *d, char *key, varnumber_T nr);
19 int dict_add_bool(dict_T *d, char *key, varnumber_T nr);
20 int dict_add_string(dict_T *d, char *key, char_u *str);
22 int dict_add_list(dict_T *d, char *key, list_T *list);
23 int dict_add_tv(dict_T *d, char *key, typval_T *tv);
27 int dict_add_dict(dict_T *d, char *key, dict_T *dict);
29 dictitem_T *dict_find(dict_T *d, char_u *key, int len);
30 int dict_get_tv(dict_T *d, char_u *key, typval_T *rettv);
31 char_u *dict_get_string(dict_T *d, char_u *key, int save);
[all …]
H A Dhashtab.pro5 hashitem_T *hash_find(hashtab_T *ht, char_u *key);
6 hashitem_T *hash_lookup(hashtab_T *ht, char_u *key, hash_T hash);
8 int hash_add(hashtab_T *ht, char_u *key);
9 int hash_add_item(hashtab_T *ht, hashitem_T *hi, char_u *key, hash_T hash);
14 hash_T hash_hash(char_u *key);
H A Dcrypt.pro11 cryptstate_T *crypt_create(int method_nr, char_u *key, char_u *salt, int salt_len, char_u *seed, in…
12 cryptstate_T *crypt_create_from_header(int method_nr, char_u *key, char_u *header);
13 cryptstate_T *crypt_create_from_file(FILE *fp, char_u *key);
14 cryptstate_T *crypt_create_for_writing(int method_nr, char_u *key, char_u **header, int *header_len…
21 void crypt_free_key(char_u *key);
26 int crypt_sodium_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, i…
H A Dmisc2.pro24 int simplify_key(int key, int *modifiers);
25 int handle_x_keys(int key);
28 int special_to_buf(int key, int modifiers, int keycode, char_u *dst);
30 int may_adjust_key_for_ctrl(int modifiers, int key);
31 int may_remove_shift_modifier(int modifiers, int key);
32 int extract_modifiers(int key, int *modp, int simplify, int *did_simplify);
/vim-8.2.3635/src/libvterm/src/
H A Dkeyboard.c141 void vterm_keyboard_key(VTerm *vt, VTermKey key, VTermModifier mod) in vterm_keyboard_key() argument
145 if(key == VTERM_KEY_NONE) in vterm_keyboard_key()
148 if(key < VTERM_KEY_FUNCTION_0) { in vterm_keyboard_key()
149 if(key >= sizeof(keycodes)/sizeof(keycodes[0])) in vterm_keyboard_key()
151 k = keycodes[key]; in vterm_keyboard_key()
153 else if(key >= VTERM_KEY_FUNCTION_0 && key <= VTERM_KEY_FUNCTION_MAX) { in vterm_keyboard_key()
154 if((key - VTERM_KEY_FUNCTION_0) >= sizeof(keycodes_fn)/sizeof(keycodes_fn[0])) in vterm_keyboard_key()
156 k = keycodes_fn[key - VTERM_KEY_FUNCTION_0]; in vterm_keyboard_key()
158 else if(key >= VTERM_KEY_KP_0) { in vterm_keyboard_key()
159 if((key - VTERM_KEY_KP_0) >= sizeof(keycodes_kp)/sizeof(keycodes_kp[0])) in vterm_keyboard_key()
[all …]
/vim-8.2.3635/runtime/doc/
H A Dversion4.txt19 Key codes changed |key-codes-changed|
85 In 3.0 both the delete key and the backspace key worked as a backspace in
250 t_f1 t_k1 <F1> function key 1 *t_f1*
251 t_f2 t_k2 <F2> function key 2 *t_f2*
252 t_f3 t_k3 <F3> function key 3 *t_f3*
253 t_f4 t_k4 <F4> function key 4 *t_f4*
254 t_f5 t_k5 <F5> function key 5 *t_f5*
255 t_f6 t_k6 <F6> function key 6 *t_f6*
256 t_f7 t_k7 <F7> function key 7 *t_f7*
257 t_f8 t_k8 <F8> function key 8 *t_f8*
[all …]
H A Dterm.txt184 single hit of the <Esc> key or the start of a cursor key sequence. It waits
206 key sequence as a cursor key movement. To avoid this and make Vim do what you
273 special key.
430 KEY CODES *terminal-key-codes*
470 <S-F1> shifted function key 1
486 t_%1 <Help> help key *t_%1* *'t_%1'*
487 t_&8 <Undo> undo key *t_&8* *'t_&8'*
492 t_kh <Home> home key *t_kh* *'t_kh'*
494 <xHome> alternate home key *<xHome>*
495 t_@7 <End> end key *t_@7* *'t_@7'*
[all …]
H A Drecover.txt210 swap file. You will be asked for the crypt key twice:
212 Need encryption key for "/tmp/tt" ~
213 Enter encryption key: ****** ~
218 If you entered a new crypt key but did not write the text file, ~
219 enter the new crypt key. ~
220 If you wrote the text file after changing the crypt key press enter ~
221 to use the same key for text file and swap file ~
222 Enter encryption key: ~
226 1. The encryption key was not changed, or after changing the key the text file
232 encrypted with the old key. At the second prompt enter the new key.
[all …]
H A Dintro.txt412 *key-notation* *key-codes* *keycodes*
451 <Help> help key
452 <Undo> undo key
453 <Insert> insert key
471 <M-...> alt-key or meta-key *meta* *alt* *<M-*
477 Note: The shifted cursor keys, the help key, and the undo key are only
480 after typing another key.
502 4. "<key>" means the special key typed. This is the notation explained in
504 <Esc> Escape key
506 <Up> cursor up key
[all …]
H A Dusr_23.txt168 Vim prompts you for a key used for encrypting and decrypting the file:
170 Enter encryption key: ~
172 Carefully type the secret key now. You cannot see the characters you type,
174 will cause trouble, Vim asks you to enter the key again:
176 Enter same key again: ~
181 When you edit the file with Vim, it will ask you to enter the same key
188 it much harder to break the key).
195 :set key=
202 encryption key, just like the "-x" argument did: >
205 Enter encryption key: ******
[all …]
/vim-8.2.3635/runtime/syntax/
H A Dgpg.vim25 \ check-sigs decrypt decrypt-files delete-key
26 \ delete-secret-and-public-key delete-secret-key
27 \ edit-key encrypt-files export export-all
32 \ list-sigs lsign-key nrsign-key print-md print-mds
33 \ recv-keys search-keys send-keys sign-key verify
37 \ encrypt gen-key gen-revoke help list-packets
45 \ default-key default-preference-list
51 \ notation-data options output override-session-key
57 \ trusted-key verify-options keyid-format list-options
60 \ allow-secret-key-import always-trust
[all …]
H A Dtypescriptreact.vim91 " <tag key={this.props.key}>
106 " <tag key={this.props.key}>
123 " <tag key={this.props.key}>
/vim-8.2.3635/src/testdir/
H A Dtest_crypt.vim48 call assert_equal('*****', &key)
53 set key= cryptmethod&
77 set bin noeol key= fenc=latin1
87 set key=
100 set key=
173 set key=
226 set bin noeol key= fenc=latin1
235 set key=
245 call assert_equal('', &key)
260 set key=anotherkey
[all …]
H A Dtest_filter_map.vim7 call assert_equal([3, 4], filter([1, 2, 3, 4], 'v:key > 1'))
12 call assert_equal([0, 2, 4, 6], map([1, 2, 3, 4], 'v:key * 2'))
23 call assert_equal({"foo": 1, "baz": 3}, filter(copy(dict), 'v:key > "bar"'))
28 call assert_equal({"foo": "f", "bar": "b", "baz": "b"}, map(copy(dict), 'v:key[0]'))
71 func! s:filter1(key, val) abort argument
76 func! s:filter2(key, val) abort argument
77 return a:key > "bar"
82 func! s:filter3(key, val) abort argument
87 func! s:filter4(key, val) abort argument
88 return a:key[0]
[all …]
H A Dtest_matchfuzzy.vim67 call assert_equal([{'id' : 6, 'val' : 'camera'}], matchfuzzy(l, 'cam', {'key' : 'val'}))
69 call assert_equal([], matchfuzzy(l, 'day', {'key' : 'val'}))
76 call assert_fails("let x = matchfuzzy(l, 'foo', {'key' : []})", 'E730:')
78 call assert_fails("let x = matchfuzzy(l, 'foo', {'key' : test_null_string()})", 'E475:')
82 call assert_equal(l, l->matchfuzzy('abc', #{key: 'text'}))
85 call assert_fails("let x = matchfuzzy(l, 'foo', {'key' : 'name'})", 'E730:')
137 \ matchfuzzypos(l, 'cam', {'key' : 'val'}))
139 call assert_equal([[], [], []], matchfuzzypos(l, 'day', {'key' : 'val'}))
146 call assert_fails("let x = matchfuzzypos(l, 'foo', {'key' : []})", 'E730:')
148 call assert_fails("let x = matchfuzzypos(l, 'foo', {'key' : test_null_string()})", 'E475:')
[all …]
/vim-8.2.3635/src/VisVim/
H A DVisVim.cpp97 CRegKey key; in DllRegisterServer() local
98 LONG lRes = key.Open (HKEY_CLASSES_ROOT, _T ("CLSID")); in DllRegisterServer()
108 lRes = key.Open (key, lpsz); in DllRegisterServer()
114 key.SetKeyValue (_T ("Description"), strDescription); in DllRegisterServer()

12345678910>>...15