Home
last modified time | relevance | path

Searched refs:VIM_ISDIGIT (Results 1 – 25 of 55) sorted by relevance

123

/vim-8.2.3635/src/
H A Dtermlib.c332 for (i = 0; i < 3 && VIM_ISDIGIT(*tmp); ++i) in tgetstr()
477 while (VIM_ISDIGIT(*ptr) || *ptr == '.') in tgoto()
488 while (VIM_ISDIGIT(*ptr) || *ptr == '.') in tgoto()
539 if (VIM_ISDIGIT(*cp)) { in tputs()
542 while (VIM_ISDIGIT(*cp)) in tputs()
545 while (VIM_ISDIGIT(*++cp)) { in tputs()
H A Dcharset.c170 if (VIM_ISDIGIT(*p)) in buf_init_chartab()
180 if (VIM_ISDIGIT(*p)) in buf_init_chartab()
1498 while (VIM_ISDIGIT(*p)) // skip to next non-digit in skipdigits()
1552 while (*p != NUL && !VIM_ISDIGIT(*p)) // skip to next digit in skiptodigit()
1859 for (n = 1; n != maxlen && VIM_ISDIGIT(ptr[n]); ++n) in vim_str2nr()
1950 while (VIM_ISDIGIT(*ptr)) in vim_str2nr()
1963 if ((what & STR2NR_QUOTE) && *ptr == '\'' && VIM_ISDIGIT(ptr[1])) in vim_str2nr()
H A Dmark.c115 if (ASCII_ISUPPER(c) || VIM_ISDIGIT(c)) in setmark_pos()
117 if (VIM_ISDIGIT(c)) in setmark_pos()
398 else if (ASCII_ISUPPER(c) || VIM_ISDIGIT(c)) // named file mark in getmark_buf_fnum()
400 if (VIM_ISDIGIT(c)) in getmark_buf_fnum()
811 digit = VIM_ISDIGIT(*p); in ex_delmarks()
820 : (digit ? VIM_ISDIGIT(p[2]) in ex_delmarks()
H A Dex_eval.c281 && VIM_ISDIGIT(tmsg[5]) in cause_errthrow()
282 && VIM_ISDIGIT(tmsg[6]) in cause_errthrow()
283 && VIM_ISDIGIT(tmsg[7]) in cause_errthrow()
465 && VIM_ISDIGIT(p[1]) in get_exception_string()
467 || (VIM_ISDIGIT(p[2]) in get_exception_string()
469 || (VIM_ISDIGIT(p[3]) in get_exception_string()
H A Dmacros.h101 #define VIM_ISDIGIT(c) ((unsigned)(c) - '0' < 10) macro
114 # define ASCII_ISALNUM(c) (ASCII_ISALPHA(c) || VIM_ISDIGIT(c))
H A Dregexp_bt.c1630 if (VIM_ISDIGIT(c) || c == '<' || c == '>' in regatom()
1645 while (VIM_ISDIGIT(c)) in regatom()
1911 if (VIM_ISDIGIT(cu)) in regatom()
2790 if (vim_isIDc(PTR2CHAR(scan)) && (testval || !VIM_ISDIGIT(*scan))) in regrepeat()
2821 && (testval || !VIM_ISDIGIT(*scan))) in regrepeat()
2851 if (vim_isfilec(PTR2CHAR(scan)) && (testval || !VIM_ISDIGIT(*scan))) in regrepeat()
2892 && (testval || !VIM_ISDIGIT(*scan))) in regrepeat()
3502 if (VIM_ISDIGIT(*rex.input) || !vim_isIDc(c)) in regmatch()
3516 if (VIM_ISDIGIT(*rex.input) in regmatch()
3531 if (VIM_ISDIGIT(*rex.input) || !vim_isfilec(c)) in regmatch()
[all …]
H A Doptionstr.c605 while (VIM_ISDIGIT(*s)) in check_stl_option()
612 while (*s && VIM_ISDIGIT(*s)) in check_stl_option()
1297 && !VIM_ISDIGIT(*s) && *s != '-') in did_set_string_option()
1400 if (!VIM_ISDIGIT(*(s - 1))) in did_set_string_option()
1971 if (VIM_ISDIGIT(*p_bs)) in did_set_string_option()
H A Djson.c766 if (VIM_ISDIGIT(*p) || (*p == '-' in json_decode_item()
767 && (VIM_ISDIGIT(p[1]) || p[1] == NUL))) in json_decode_item()
779 if (!VIM_ISDIGIT(*sp)) in json_decode_item()
H A Dindent.c52 if (VIM_ISDIGIT(*cp)) in tabstop_set()
874 && ((p[6] == '-' && VIM_ISDIGIT(p[7])) || VIM_ISDIGIT(p[6]))) in briopt_check()
879 else if (STRNCMP(p, "min:", 4) == 0 && VIM_ISDIGIT(p[4])) in briopt_check()
H A Dstrings.c2003 else if (VIM_ISDIGIT((int)(*p))) in vim_vsnprintf_typval()
2009 while (VIM_ISDIGIT((int)(*p))) in vim_vsnprintf_typval()
2037 else if (VIM_ISDIGIT((int)(*p))) in vim_vsnprintf_typval()
2043 while (VIM_ISDIGIT((int)(*p))) in vim_vsnprintf_typval()
H A Dviminfo.c84 if (p != NULL && VIM_ISDIGIT(*p)) in get_viminfo_parameter()
2502 ((*virp->vir_line == '\'' && (VIM_ISDIGIT(*str) || isupper(*str))) in read_viminfo_filemark()
2525 else if (VIM_ISDIGIT(*str)) in read_viminfo_filemark()
2605 if (name != '\'' && !VIM_ISDIGIT(name) && !ASCII_ISUPPER(name)) in handle_viminfo_mark()
2677 if (VIM_ISDIGIT(name)) in handle_viminfo_mark()
H A Dlocale.c160 if (p != NULL && VIM_ISDIGIT(*p)) in get_mess_env()
H A Dterm.c4964 if (!VIM_ISDIGIT(*ap)) in handle_csi()
4974 else if (VIM_ISDIGIT(*ap)) in handle_csi()
4981 if (!VIM_ISDIGIT(*ap)) in handle_csi()
5429 && VIM_ISDIGIT(termcodes[idx].name[1])) in check_termcode()
5564 && (VIM_ISDIGIT(*argp) || *argp == '>' || *argp == '?')) in check_termcode()
5962 if ((flags & REPTERM_FROM_PART) && src[0] == '#' && VIM_ISDIGIT(src[1])) in replace_termcodes()
H A Dsearch.c1360 if (*p == '+' || *p == '-' || VIM_ISDIGIT(*p)) in do_search()
1369 if (VIM_ISDIGIT(*p) || *p == '+' || *p == '-') // got an offset in do_search()
1372 if (VIM_ISDIGIT(*p) || VIM_ISDIGIT(*(p + 1))) in do_search()
1379 while (VIM_ISDIGIT(*p)) // skip number in do_search()
H A Dmisc2.c1409 && VIM_ISDIGIT(last_dash[6])) in find_special_key()
2137 if (!VIM_ISDIGIT(*p)) in parse_shape_opt()
2177 if (!VIM_ISDIGIT(*p)) in parse_shape_opt()
H A Dfold.c1865 if (VIM_ISDIGIT(p[len])) in foldDelMarker()
2064 if (VIM_ISDIGIT(s[len])) in foldtext_cleanup()
3433 if (VIM_ISDIGIT(*s)) in foldlevelMarker()
3458 if (VIM_ISDIGIT(*s)) in foldlevelMarker()
H A Dbuffer.c1646 if (!VIM_ISDIGIT(*arg)) in do_bufdel()
4405 if (VIM_ISDIGIT(*s)) in build_stl_str_hl()
4450 if (VIM_ISDIGIT(*s)) in build_stl_str_hl()
4815 if (l + 1 == minwid && fillchar == '-' && VIM_ISDIGIT(*t)) in build_stl_str_hl()
4829 && (!VIM_ISDIGIT(*(t + 1)) || fillchar != '-')) in build_stl_str_hl()
H A Dspell.c3300 if (VIM_ISDIGIT(*s)) in spell_soundfold_sal()
3370 if (VIM_ISDIGIT(*s)) in spell_soundfold_sal()
3593 if (VIM_ISDIGIT(*s)) in spell_soundfold_wsal()
3666 if (VIM_ISDIGIT(*s)) in spell_soundfold_wsal()
H A Dcmdhist.c708 if (!(VIM_ISDIGIT(*arg) || *arg == '-' || *arg == ',')) in ex_history()
H A Dregexp_nfa.c1717 while (VIM_ISDIGIT(c)) in nfa_regatom()
5067 if (VIM_ISDIGIT(c)) in check_char_class()
6544 result = !VIM_ISDIGIT(curc) && vim_isIDc(curc); in nfa_regmatch()
6554 result = !VIM_ISDIGIT(curc) in nfa_regmatch()
6565 result = !VIM_ISDIGIT(curc) && vim_isfilec(curc); in nfa_regmatch()
6575 result = !VIM_ISDIGIT(curc) && vim_isprintc(PTR2CHAR(rex.input)); in nfa_regmatch()
H A Dif_cscope.c1481 if ((strlen(stok) < 2 && VIM_ISDIGIT((int)(stok[0]))) in cs_kill()
1483 && VIM_ISDIGIT((int)(stok[1])))) in cs_kill()
H A Dex_docmd.c2367 && !((ea.argt & EX_COUNT) && VIM_ISDIGIT(*ea.arg))) in do_one_cmd()
2401 if ((ea.argt & EX_COUNT) && VIM_ISDIGIT(*ea.arg) in do_one_cmd()
3816 if (VIM_ISDIGIT(*cmd)) in modifier_len()
4324 if (VIM_ISDIGIT(*cmd)) // absolute line number in get_address()
4331 if (*cmd != '-' && *cmd != '+' && !VIM_ISDIGIT(*cmd)) in get_address()
4376 if (VIM_ISDIGIT(*cmd)) in get_address()
4380 if (!VIM_ISDIGIT(*cmd)) // '+' is '+1', but '+0' is not '+1' in get_address()
H A Ddebugger.c609 VIM_ISDIGIT(*p)) in dbg_parsearg()
H A Dspellfile.c2052 if (!VIM_ISDIGIT(*p)) in spell_check_msm()
2059 if (!VIM_ISDIGIT(*p)) in spell_check_msm()
2065 if (!VIM_ISDIGIT(*p)) in spell_check_msm()
3219 if (!VIM_ISDIGIT(**pp)) in get_affitem()
4226 else if (VIM_ISDIGIT(*p)) // region number(s) in spell_read_wordfile()
H A Dtag.c3072 if (!VIM_ISDIGIT(*p)) // check for start of line number in parse_tag_line()
3827 if (VIM_ISDIGIT(*str)) in find_extra()
3849 || !(VIM_ISDIGIT(str[1]) || str[1] == '/' || str[1] == '?')) in find_extra()

123