Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 162) sorted by relevance

1234567

/vim-8.2.3635/src/libvterm/src/
H A Dstate.c42 …if((*state->callbacks->movecursor)(state->pos, *oldpos, state->mode.cursor_visible, state->cbdata)) in updatecursor()
319 …if(state->pos.row == state->combine_pos.row && state->pos.col == state->combine_pos.col + state->c… in on_text()
350 putglyph(state, state->combine_chars, state->combine_width, state->combine_pos); in on_text()
452 if(state->pos.row < 0 || state->pos.row >= state->rows || in on_text()
453 state->pos.col < 0 || state->pos.col >= state->cols) { in on_text()
563 if(state->pos.row < 0 || state->pos.row >= state->rows || in on_control()
564 state->pos.col < 0 || state->pos.col >= state->cols) { in on_control()
1278 putglyph(state, state->combine_chars, state->combine_width, state->pos); in on_csi()
1595 if(state->pos.row < 0 || state->pos.row >= state->rows || in on_csi()
1596 state->pos.col < 0 || state->pos.col >= state->cols) { in on_csi()
[all …]
H A Dpen.c128 if(state->callbacks && state->callbacks->setpenattr) in setpenattr()
129 (*state->callbacks->setpenattr)(attr, val, state->cbdata); in setpenattr()
169 vterm_state_set_default_colors(state, &state->default_fg, &state->default_bg); in vterm_state_newpen()
186state->pen.fg = state->default_fg; setpenattr_col(state, VTERM_ATTR_FOREGROUND, state->default_fg… in vterm_state_resetpen()
187state->pen.bg = state->default_bg; setpenattr_col(state, VTERM_ATTR_BACKGROUND, state->default_bg… in vterm_state_resetpen()
193 state->saved.pen = state->pen; in vterm_state_savepen()
196 state->pen = state->saved.pen; in vterm_state_savepen()
369 setpenattr_int(state, VTERM_ATTR_FONT, state->pen.font); in vterm_state_setpen()
415 if(state->pen.bold && state->bold_is_highbright) in vterm_state_setpen()
428 state->pen.fg = state->default_fg; in vterm_state_setpen()
[all …]
H A Dmouse.c9 switch(state->mouse_protocol) { in output_mouse()
56 VTermState *state = vt->state; in vterm_mouse_move() local
58 if(col == state->mouse_col && row == state->mouse_row) in vterm_mouse_move()
61 state->mouse_col = col; in vterm_mouse_move()
62 state->mouse_row = row; in vterm_mouse_move()
64 if((state->mouse_flags & MOUSE_WANT_DRAG && state->mouse_buttons) || in vterm_mouse_move()
65 (state->mouse_flags & MOUSE_WANT_MOVE)) { in vterm_mouse_move()
75 VTermState *state = vt->state; in vterm_mouse_button() local
77 int old_buttons = state->mouse_buttons; in vterm_mouse_button()
93 output_mouse(state, button-1, pressed, mod, state->mouse_col, state->mouse_row); in vterm_mouse_button()
[all …]
H A Dvterm_internal.h81 #define SCROLLREGION_BOTTOM(state) ((state)->scrollregion_bottom > -1 ? (state)->scrollregion_botto… argument
83 #define SCROLLREGION_LEFT(state) ((state)->mode.leftrightmargin ? (state)->scrollregion_left : 0) argument
85 … SCROLLREGION_RIGHT(state) ((state)->mode.leftrightmargin && (state)->scrollregion_right > -1 ? (s… argument
95 #define ROWWIDTH(state,row) ((state)->lineinfo[(row)].doublewidth ? ((state)->cols / 2) : (state)->… argument
96 #define THISROWWIDTH(state) ROWWIDTH(state, (state)->pos.row) argument
184 } state; member
226 VTermState *state; member
253 void vterm_state_free(VTermState *state);
255 void vterm_state_newpen(VTermState *state);
256 void vterm_state_resetpen(VTermState *state);
[all …]
H A Dparser.c73 switch(vt->parser.state) { in string_fragment()
104 switch(vt->parser.state) { in vterm_input_write()
122 #define IS_STRING_STATE() (vt->parser.state >= OSC_COMMAND) in vterm_input_write()
144 vt->parser.state = NORMAL; in vterm_input_write()
184 vt->parser.state = NORMAL; in vterm_input_write()
188 switch(vt->parser.state) { in vterm_input_write()
202 vt->parser.state = CSI_ARGS; in vterm_input_write()
227 vt->parser.state = CSI_INTERMED; in vterm_input_write()
258 vt->parser.state = OSC; in vterm_input_write()
266 vt->parser.state = OSC; in vterm_input_write()
[all …]
H A Dkeyboard.c9 return vt->state->mode.modify_other_keys; in vterm_is_modify_other_keys()
17 if (vt->state->mode.modify_other_keys && mod != 0) { in vterm_keyboard_unichar()
180 if(vt->state->mode.newline) in vterm_keyboard_key()
215 if(vt->state->mode.cursor) in vterm_keyboard_key()
221 if(vt->state->mode.keypad) { in vterm_keyboard_key()
232 if(vt->state->mode.bracketpaste) in vterm_keyboard_start_paste()
238 if(vt->state->mode.bracketpaste) in vterm_keyboard_end_paste()
/vim-8.2.3635/src/
H A Dcrypt.c160 state; member
309 if (state == NULL) in crypt_create()
310 return state; in crypt_create()
319 return state; in crypt_create()
379 return state; in crypt_create_from_file()
434 return state; in crypt_create_for_writing()
454 vim_free(state); in crypt_free_state()
529 cryptmethods[state->method_nr].encode_fn(state, from, len, to, last); in crypt_encode()
544 cryptmethods[state->method_nr].decode_fn(state, from, len, to, last);
558 cryptmethods[state->method_nr].encode_inplace_fn(state, buf, len, in crypt_encode_inplace()
[all …]
H A Dregexp_nfa.c3214 state = state->out1->out; in nfa_max_width()
3266 state = state->out1->out; in nfa_max_width()
3381 state = state->out; in nfa_max_width()
4128 to->state = from->state; in copy_pim()
4341 if (thread->state->id == state->id in has_state_with_pos()
4416 state = state->out1->out; in match_follows()
4466 state = state->out; in match_follows()
4693 thread->state = state; in addstate()
6121 pim.state = t->state; in nfa_regmatch()
6452 state = t->state->out; in nfa_regmatch()
[all …]
H A Dsha256.c107 A = ctx->state[0]; in sha256_process()
108 B = ctx->state[1]; in sha256_process()
109 C = ctx->state[2]; in sha256_process()
110 D = ctx->state[3]; in sha256_process()
111 E = ctx->state[4]; in sha256_process()
112 F = ctx->state[5]; in sha256_process()
113 G = ctx->state[6]; in sha256_process()
114 H = ctx->state[7]; in sha256_process()
181 ctx->state[0] += A; in sha256_process()
182 ctx->state[1] += B; in sha256_process()
[all …]
H A Dblowfish.c513 bf_state_T state; in bf_self_test() local
515 CLEAR_FIELD(state); in bf_self_test()
516 state.cfb_len = BF_MAX_CFB_LEN; in bf_self_test()
534 if (!bf_check_tables(state.pax, state.sbx, bf_test_data[i].keysum)) in bf_self_test()
539 bf_e_cblock(&state, bk.uc); in bf_self_test()
596 cryptstate_T *state, in crypt_blowfish_encode() argument
602 bf_state_T *bfs = state->method_state; in crypt_blowfish_encode()
620 cryptstate_T *state, in crypt_blowfish_decode() argument
626 bf_state_T *bfs = state->method_state; in crypt_blowfish_decode()
640 cryptstate_T *state, in crypt_blowfish_init() argument
[all …]
H A Dquickfix.c630 state->growbuf = alloc(state->linelen + 1); in qf_grow_linebuf()
633 state->growbufsiz = state->linelen; in qf_grow_linebuf()
640 state->growbufsiz = state->linelen; in qf_grow_linebuf()
667 state->linebuf = qf_grow_linebuf(state, len); in qf_get_next_str_line()
735 if (state->buflnum > state->lnumlast) in qf_get_next_buf_line()
823 state->linebuf = state->growbuf; in qf_get_next_file_line()
834 line = string_convert(&state->vc, state->linebuf, &state->linelen); in qf_get_next_file_line()
845 state->linebuf = state->growbuf = line; in qf_get_next_file_line()
886 if (state->linelen > 0 && state->linebuf[state->linelen - 1] == '\n') in qf_get_nextline()
888 state->linebuf[state->linelen - 1] = NUL; in qf_get_nextline()
[all …]
H A Dgui_beval.c291 event->crossing.state); in target_event_cb()
298 GdkModifierType state; in target_event_cb() local
319 pointer_event(beval, x, y, (unsigned int)state); in target_event_cb()
325 event->motion.state); in target_event_cb()
392 beval->state = state; in pointer_event()
402 if (state & (int)GDK_MOD1_MASK) in pointer_event()
411 (*beval->msgCB)(beval, state); in pointer_event()
584 beval->state = event->xmotion.state; in pointerEvent()
604 (*beval->msgCB)(beval, beval->state); in pointerEvent()
657 event->xkey.state, &modifier, &keysym); in pointerEvent()
[all …]
H A Dcrypt_zip.c83 cryptstate_T *state, in crypt_zip_init() argument
96 state->method_state = zs; in crypt_zip_init()
114 cryptstate_T *state, in crypt_zip_encode() argument
120 zip_state_T *zs = state->method_state; in crypt_zip_encode()
138 cryptstate_T *state, in crypt_zip_decode() argument
144 zip_state_T *zs = state->method_state; in crypt_zip_decode()
H A Dgui_at_sb.c670 Check(xkey.state); in CompareEvents()
731 if (state != NULL) in ExtractPosition()
732 *state = event->xmotion.state; in ExtractPosition()
738 if (state != NULL) in ExtractPosition()
739 *state = event->xbutton.state; in ExtractPosition()
745 if (state != NULL) in ExtractPosition()
746 *state = event->xkey.state; in ExtractPosition()
752 if (state != NULL) in ExtractPosition()
753 *state = event->xcrossing.state; in ExtractPosition()
757 if (state != NULL) in ExtractPosition()
[all …]
H A Dif_ruby.c849 int state; in ex_ruby() local
859 if (state) in ex_ruby()
915 int state; in ex_rubydo() local
932 if (state) in ex_rubydo()
934 error_print(state); in ex_rubydo()
969 int state; in ex_rubyfile() local
975 if (state) in ex_rubyfile()
1052 error_print(int state) in error_print() argument
1075 switch (state) in error_print()
1975 int state; in do_rubyeval() local
[all …]
H A Dclipboard.c59 cb->state = SELECT_CLEARED; in clip_init()
504 if (clip_star.state == SELECT_CLEARED) in clip_modeless()
639 if (cb->state == SELECT_DONE) in clip_start_selection()
737 if (cb->state != SELECT_IN_PROGRESS) in clip_process_selection()
747 cb->state = SELECT_CLEARED; in clip_process_selection()
767 cb->state = SELECT_DONE; in clip_process_selection()
814 cb->state = SELECT_IN_PROGRESS; in clip_process_selection()
933 if (cbd->state == SELECT_CLEARED) in clip_clear_selection()
938 cbd->state = SELECT_CLEARED; in clip_clear_selection()
970 clip_star.state = SELECT_CLEARED; in clip_scroll_selection()
[all …]
/vim-8.2.3635/runtime/macros/maze/
H A Dmaze_mac48 " a state machine with 8 states. Each state signifies the direction you
52 " The transition from state to state and the actions taken on each transition
53 " are given in the state table below.
81 " In the 'next state' column is given the new state of the machine after
84 " current state NextChar vi commands next state
120 " through the state table.
129 " what state changes to make.
133 " action to take in this state and after this is the next state to change to.
179 " for the current state
223 " B - put the current state
[all …]
/vim-8.2.3635/src/proto/
H A Dcrypt.pro4 int crypt_works_inplace(cryptstate_T *state);
15 void crypt_free_state(cryptstate_T *state);
16 long crypt_encode_alloc(cryptstate_T *state, char_u *from, size_t len, char_u **newptr, int last);
17 long crypt_decode_alloc(cryptstate_T *state, char_u *ptr, long len, char_u **newptr, int last);
18 void crypt_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last);
19 void crypt_encode_inplace(cryptstate_T *state, char_u *buf, size_t len, int last);
20 void crypt_decode_inplace(cryptstate_T *state, char_u *buf, size_t len, int last);
26 int crypt_sodium_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, i…
27 long crypt_sodium_buffer_encode(cryptstate_T *state, char_u *from, size_t len, char_u **buf_out, in…
28 long crypt_sodium_buffer_decode(cryptstate_T *state, char_u *from, size_t len, char_u **buf_out, in…
H A Dcrypt_zip.pro2 int crypt_zip_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int …
3 void crypt_zip_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last);
4 void crypt_zip_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last);
/vim-8.2.3635/src/libvterm/include/
H A Dvterm.h427 void *vterm_state_get_cbdata(VTermState *state);
430 void *vterm_state_get_unrecognised_fbdata(VTermState *state);
433 void vterm_state_reset(VTermState *state, int hard);
435 void vterm_state_get_cursorpos(const VTermState *state, VTermPos *cursorpos);
436 void vterm_state_get_mousestate(const VTermState *state, VTermMouseState *mousestate);
441 void vterm_state_set_bold_highbright(VTermState *state, int bold_is_highbright);
443 int vterm_state_set_termprop(VTermState *state, VTermProp prop, VTermValue *val);
444 void vterm_state_focus_in(VTermState *state);
445 void vterm_state_focus_out(VTermState *state);
446 const VTermLineInfo *vterm_state_get_lineinfo(const VTermState *state, int row);
[all …]
/vim-8.2.3635/src/libvterm/t/
H A Dharness.c26 VTermModifier state = 0; in strpe_modifiers() local
33 default: return state; in strpe_modifiers()
37 return state; in strpe_modifiers()
84 static VTermState *state; variable
555 if(!state) { in main()
556 state = vterm_obtain_state(vt); in main()
559 vterm_state_reset(state, 1); in main()
641 if(state) { in main()
642 vterm_state_reset(state, 1); in main()
735 vterm_state_focus_in(state); in main()
[all …]
/vim-8.2.3635/runtime/indent/
H A Dhtml.vim429 let state = {}
438 if state.lnum == 0
439 return state
479 return state
489 return state
510 return state
530 return state
553 return state
558 let [state.lnum, found] = HtmlIndent_FindTagStart(state.lnum)
563 let state.baseindent = indent(state.lnum) + s:nextrel * shiftwidth()
[all …]
H A Dsdl.vim15 setlocal indentkeys+==~end,=~state,*<Return>
48 …if (getline(lnum) =~? '^\s*\(start\|state\|system\|package\|connection\|channel\|alternative\|macr…
71 " Put each state where the preceding state was
72 if getline(v:lnum) =~? '^\s*state\>'
/vim-8.2.3635/runtime/autoload/
H A Drust.vim285 let l:state = 0
289 if l:state == 0 || l:state == 1 " unquoted
294 let l:state = 0
296 let l:state = 2
298 let l:state = 3
300 let l:state = 5
303 let l:state = 1
309 let l:state = 1
312 let l:state = 4
326 let l:state = 3
[all …]
/vim-8.2.3635/runtime/doc/
H A Dundo.txt150 g- Go to older text state. With a count repeat that many
153 :earlier {count} Go to older text state {count} times.
161 ":earlier 1f" will revert the text to the state when
164 When at the state of the first file write, or when
169 g+ Go to newer text state. With a count repeat that many
172 :later {count} Go to newer text state {count} times.
175 :later {N}h Go to newer text state about {N} hours later.
176 :later {N}d Go to newer text state about {N} days later.
178 :later {N}f Go to newer text state {N} file writes later.
179 When at the state of the last file write, ":later 1f"
[all …]

1234567