Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 92) sorted by relevance

1234

/vim-8.2.3635/src/testdir/
H A Dtest_float_func.vim310 call assert_equal('2.0', string(round(2.1)))
311 call assert_equal('3.0', string(round(2.5)))
312 call assert_equal('3.0', string(round(2.9)))
313 eval 2.9->round()->string()->assert_equal('3.0')
314 call assert_equal('-2.0', string(round(-2.1)))
315 call assert_equal('-3.0', string(round(-2.5)))
316 call assert_equal('-3.0', string(round(-2.9)))
317 call assert_equal('nan', string(round(0.0/0.0)))
318 call assert_equal('inf', string(round(1.0/0.0)))
319 call assert_equal('-inf', string(round(-1.0/0.0)))
[all …]
/vim-8.2.3635/src/
H A Dspellsuggest.c2686 int round[MAXWLEN]; in find_keepcap_word() local
2715 round[0] = 0; in find_keepcap_word()
2812 round[depth] = 0; in find_keepcap_word()
2890 int round; in score_combine() local
2955 for (round = 1; round <= 2; ++round) in score_combine()
4140 int round; in spell_edit_score_limit() local
4203 for (round = 0; round <= 1; ++round) in spell_edit_score_limit()
4214 gi2 = gi + round; in spell_edit_score_limit()
4315 int round; in spell_edit_score_limit_w() local
4388 for (round = 0; round <= 1; ++round) in spell_edit_score_limit_w()
[all …]
H A Dspell.c1551 int round; in spell_load_lang() local
1561 for (round = 1; round <= 2; ++round) in spell_load_lang()
1684 int round; in slang_clear() local
1694 for (round = 1; round <= 2; ++round) in slang_clear()
1986 int round; in did_set_spelllang() local
2158 for (round = 0; round == 0 || *spf != NUL; ++round) in did_set_spelllang()
2160 if (round == 0) in did_set_spelllang()
2195 if (round == 0) in did_set_spelllang()
3877 int round; in spell_dump_compl() local
3958 for (round = 1; round <= 2; ++round) in spell_dump_compl()
[all …]
H A Dcrypt.c642 int round; in crypt_get_key() local
644 for (round = 0; ; ++round) in crypt_get_key()
648 p1 = getcmdline_prompt(NUL, round == 0 in crypt_get_key()
657 if (round == twice) in crypt_get_key()
665 round = -1; // do it again in crypt_get_key()
H A Dpopupmenu.c414 int round; in pum_redraw() local
468 for (round = 1; round <= 3; ++round) in pum_redraw()
472 switch (round) in pum_redraw()
589 if (round > 1) in pum_redraw()
595 if (round == 3 in pum_redraw()
596 || (round == 2 && pum_array[idx].pum_extra == NULL) in pum_redraw()
597 || (round == 1 && pum_array[idx].pum_kind == NULL in pum_redraw()
H A Dmap.c505 int round; in do_map() local
665 for (round = 0; (round == 0 || maptype == 1) && round <= 1 in do_map()
666 && !did_it && !got_int; ++round) in do_map()
698 if (round) // second round: Try unmap "rhs" string in do_map()
717 if (n != len && (!abbrev || round || n > len in do_map()
1263 int round; in ExpandMappings() local
1274 for (round = 1; round <= 2; ++round) in ExpandMappings()
1301 if (round == 1) in ExpandMappings()
1327 if (round == 1) in ExpandMappings()
1343 if (round == 1) in ExpandMappings()
H A Dsyntax.c3244 int round; in check_keyword_id() local
3277 for (round = 1; round <= 2; ++round) in check_keyword_id()
5330 int round; in syn_combine_list() local
5365 for (round = 1; round <= 2; round++) in syn_combine_list()
5381 if (round == 2) in syn_combine_list()
5393 if (round == 2) in syn_combine_list()
5415 if (round == 1) in syn_combine_list()
5922 int round; in get_id_list() local
5939 for (round = 1; round <= 2; ++round) in get_id_list()
6077 round = 1; in get_id_list()
[all …]
H A Dmisc2.c2049 int round; in parse_shape_opt() local
2054 for (round = 1; round <= 2; ++round) in parse_shape_opt()
2108 else if (round == 2) in parse_shape_opt()
2139 if (round == 2) in parse_shape_opt()
2149 if (round == 2) in parse_shape_opt()
2184 if (round == 2) in parse_shape_opt()
2193 else if (round == 2) in parse_shape_opt()
2205 if (round == 2) in parse_shape_opt()
2226 if (round == 2) in parse_shape_opt()
H A Dspellfile.c4860 int round; in write_vim_spell() local
4993 for (round = 1; round <= 3; ++round) in write_vim_spell()
4995 if (round == 1) in write_vim_spell()
5012 if (round != 2) in write_vim_spell()
5016 i = round == 1 ? SN_REP : (round == 2 ? SN_SAL : SN_REPSAL); in write_vim_spell()
5030 if (round == 2) in write_vim_spell()
5034 if (round == 2) in write_vim_spell()
5092 for (round = 1; round <= 2; ++round) in write_vim_spell()
5108 if (round == 1) in write_vim_spell()
5227 for (round = 1; round <= 3; ++round) in write_vim_spell()
[all …]
H A Dregexp.c2396 int round; in reg_submatch() local
2408 for (round = 1; round <= 2; ++round) in reg_submatch()
2423 if (round == 2) in reg_submatch()
2432 if (round == 2) in reg_submatch()
2442 if (round == 2) in reg_submatch()
2445 if (round == 2) in reg_submatch()
2449 if (round == 2) in reg_submatch()
2453 if (round == 2) in reg_submatch()
H A Dscriptfile.c749 int round; in ex_packadd() local
753 for (round = 1; round <= 2; ++round) in ex_packadd()
756 if (round == 1 && did_source_packages) in ex_packadd()
763 vim_snprintf(pat, len, plugpat, round == 1 ? "start" : "opt", eap->arg); in ex_packadd()
767 DIP_ALL + DIP_DIR + (round == 2 && res == FAIL ? DIP_ERR : 0), in ex_packadd()
H A Dindent.c1219 int round, in change_indent() argument
1278 shift_line(type == INDENT_DEC, round, 1, call_changed_bytes); in change_indent()
1441 int round; in copy_indent() local
1448 for (round = 1; round <= 2; ++round) in copy_indent()
H A Dviminfo.c827 int round; in write_viminfo_history() local
856 for (round = 1; round <= 2; ++round) in write_viminfo_history()
858 if (round == 1) in write_viminfo_history()
869 && !(round == 2 && i >= viminfo_hisidx[type])) in write_viminfo_history()
875 if (round == 1) in write_viminfo_history()
888 if (p != NULL && (round == 2 in write_viminfo_history()
918 if (round == 1) in write_viminfo_history()
H A Dpopupwin.c3367 int round; in popup_no_mapping() local
3370 for (round = 1; round <= 2; ++round) in popup_no_mapping()
3371 for (wp = round == 1 ? first_popupwin : curtab->tp_first_popupwin; in popup_no_mapping()
4324 int round; in popup_win_closed() local
4329 for (round = 1; round <= 2; ++round) in popup_win_closed()
4330 for (wp = round == 1 ? first_popupwin : curtab->tp_first_popupwin; in popup_win_closed()
H A Dcmdexpand.c2203 int round; in ExpandGeneric() local
2209 for (round = 0; round <= 1; ++round) in ExpandGeneric()
2221 if (round) in ExpandGeneric()
2248 if (round == 0) in ExpandGeneric()
H A Dscreen.c4816 int round, i, len, entries; in set_chars_option() local
4872 for (round = 0; round <= 1; ++round) in set_chars_option()
4874 if (round > 0) in set_chars_option()
4936 if (round > 0) in set_chars_option()
4963 if (round == 0) in set_chars_option()
/vim-8.2.3635/runtime/syntax/
H A Dxquery.vim29 …lace resolve-QName resolve-uri resolve-uri reverse root root round round-half-to-even round-half-t…
H A Dsqloracle.vim115 syn keyword sqlFunction next_day numtodsinterval numtoyminterval round sessiontimezone
120 syn keyword sqlFunction floor ln log mod nanvl power remainder round sign
H A Dampl.vim82 syn keyword amplBuiltInFunction max min precision round sin
H A Dless.vim32 syn match lessFunction "\<\%(ceil\|floor\|percentage\|round\|sqrt\|abs\|sin\|asin\|cos\|acos\|tan\|…
H A Darduino.vim67 syn keyword arduinoStdFunc randomSeed release releaseAll round roundf signbit
H A Dmatlab.vim69 syn keyword matlabOperator break zeros default margin round ones rand
/vim-8.2.3635/src/proto/
H A Dops.pro7 void shift_line(int left, int round, int amount, int call_changed_bytes);
H A Dindent.pro27 void change_indent(int type, int amount, int round, int replaced, int call_changed_bytes);
/vim-8.2.3635/runtime/ftplugin/
H A Dlogtalk.dict197 round

1234