Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 269) sorted by relevance

1234567891011

/vim-8.2.3635/src/
H A Doption.c563 long_u flags; in set_option_default() local
568 flags = options[opt_idx].flags; in set_option_default()
1199 int flags = 0; in ex_set() local
1202 flags = OPT_LOCAL; in ex_set()
1428 flags = options[opt_idx].flags; in do_set()
1433 flags = P_STRING; in do_set()
3867 if ((flags & P_RBUF) || (flags & P_RWIN) || all) in check_redraw()
4336 long_u flags; in set_option_value() local
4369 flags = options[opt_idx].flags; in set_option_value()
4840 long_u flags) in put_setstring() argument
[all …]
H A Dfilepath.c640 char_u *flags; in modify_fname() local
643 flags = (char_u *)""; in modify_fname()
831 char_u *flags; in f_delete() local
852 flags = (char_u *)""; in f_delete()
854 if (*flags == NUL) in f_delete()
2362 if (flags & BROWSE_DIR) in do_browse()
2429 if (flags & BROWSE_DIR) in do_browse()
3964 if ((flags & EW_PATH) in gen_expand_wildcards()
4033 int flags) in addfile() argument
4040 if (!(flags & EW_NOTFOUND) && ((flags & EW_ALLLINKS) in addfile()
[all …]
H A Dspell.c416 unsigned flags; in find_word() local
594 flags = idxs[arridx]; in find_word()
621 flags, in find_word()
629 flags |= WF_RARE; in find_word()
957 p = flags; in can_compound()
1033 int flags, in valid_word_prefix() argument
3880 int flags; in spell_dump_compl() local
4000 flags = (int)idxs[n]; in spell_dump_compl()
4010 flags &= ~WF_REGION; in spell_dump_compl()
4075 flags |= WF_ONECAP; in dump_word()
[all …]
H A Dscriptfile.c205 flags += DIP_OPT + DIP_NORTP; in ex_runtime()
215 flags += DIP_START + DIP_OPT; in ex_runtime()
242 int flags, in do_in_path() argument
347 if (flags & DIP_ERR) in do_in_path()
379 int flags, in do_in_path_and_pp() argument
392 if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_START)) in do_in_path_and_pp()
403 if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_OPT)) in do_in_path_and_pp()
423 int flags, in do_in_runtimepath() argument
809 int flags, in ExpandRTDir() argument
839 if (flags & DIP_START) { in ExpandRTDir()
[all …]
H A Dmemfile.c121 mf_open(char_u *fname, int flags) in mf_open() argument
475 int flags; in mf_put() local
477 flags = hp->bh_flags; in mf_put()
479 if ((flags & BH_LOCKED) == 0) in mf_put()
481 flags &= ~BH_LOCKED; in mf_put()
484 flags |= BH_DIRTY; in mf_put()
487 hp->bh_flags = flags; in mf_put()
561 if (flags & MFS_STOP) in mf_sync()
1275 flags |= O_EXTRA | O_NOFOLLOW; in mf_do_open()
1280 flags |= O_NOINHERIT; in mf_do_open()
[all …]
H A Dtextformat.c43 int flags, in internal_format() argument
58 int do_comments = (flags & INSCHAR_DO_COM); in internal_format()
100 else if (!(flags & INSCHAR_FORMAT) in internal_format()
116 if (!(flags & INSCHAR_FORMAT) in internal_format()
135 || (flags & INSCHAR_FORMAT) in internal_format()
356 if (!(flags & INSCHAR_COM_LIST)) in internal_format()
362 if (!(flags & INSCHAR_COM_LIST)) in internal_format()
460 char_u *flags = NULL; // init for GCC in fmt_check_par() local
472 flags = *leader_flags; in fmt_check_par()
473 while (*flags && *flags != ':' && *flags != COM_END) in fmt_check_par()
[all …]
H A Devalvars.c755 int flags = 0; in ex_let() local
771 flags |= ASSIGN_CONST; in ex_let()
773 flags |= ASSIGN_FINAL; in ex_let()
777 flags |= ASSIGN_NO_DECL; in ex_let()
843 flags, op); in ex_let()
915 flags, op); in ex_let()
3219 int flags = flags_arg; in set_var_const() local
3241 flags &= ~ASSIGN_FINAL; in set_var_const()
3492 if (flags & ASSIGN_CONST) in set_var_const()
3527 if (flags & DI_FLAGS_RO) in var_check_ro()
[all …]
H A Dspellfile.c864 char_u *flags; in read_charflags_section() local
877 vim_free(flags); in read_charflags_section()
3513 int flags; in spell_read_dic() local
3647 flags = 0; in spell_read_dic()
4098 int flags; in spell_read_wordfile() local
4210 flags = 0; in spell_read_wordfile()
4433 int flags, in tree_add_word() argument
4489 && (flags < 0 in tree_add_word()
4931 int flags; in write_vim_spell() local
4950 flags = 0; in write_vim_spell()
[all …]
H A Dbufwrite.c56 int flags) // FIO_ flags in ucs2bytes() argument
63 if (flags & FIO_UCS4) in ucs2bytes()
65 if (flags & FIO_ENDIAN_L) in ucs2bytes()
84 if (flags & FIO_UTF16) in ucs2bytes()
92 if (flags & FIO_ENDIAN_L) in ucs2bytes()
107 if (flags & FIO_ENDIAN_L) in ucs2bytes()
154 if (flags & FIO_UTF8) in buf_write_bytes()
167 if (flags & FIO_LATIN1) in buf_write_bytes()
241 if (flags & FIO_LATIN1) in buf_write_bytes()
552 int flags; in make_bom() local
[all …]
H A Dwindow.c818 if ((flags & WSP_TOP) && (flags & WSP_BOT)) in win_split()
826 if (flags & WSP_HELP) in win_split()
843 int flags, in win_split_ins() argument
863 if (flags & WSP_TOP) in win_split_ins()
887 if (flags & WSP_VERT) in win_split_ins()
901 if (flags & WSP_ROOM) in win_split_ins()
984 if (flags & WSP_ROOM) in win_split_ins()
1079 || (flags & WSP_BELOW) in win_split_ins()
1133 if (flags & WSP_BELOW) in win_split_ins()
1221 - (new_size + ((flags & WSP_TOP) != 0)), flags & WSP_TOP, in win_split_ins()
[all …]
H A Dos_vms.c440 mch_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file, int flags) in mch_expand_wildcards() argument
470 …cnt = decc$to_vms(result, vms_wproc, 1 /*allow wild*/ , (flags & EW_DIR ? 0:1 ) /*allow directory*… in mch_expand_wildcards()
481 if (!(flags & EW_NOTFOUND) && mch_getperm(vms_fmatch[i]) < 0) in mch_expand_wildcards()
486 if (( dir && !(flags & EW_DIR)) || (!dir && !(flags & EW_FILE))) in mch_expand_wildcards()
490 if (!dir && (flags & EW_EXEC) in mch_expand_wildcards()
491 && !mch_can_exe(vms_fmatch[i], NULL, !(flags & EW_SHELLCMD))) in mch_expand_wildcards()
518 mch_expandpath(garray_T *gap, char_u *path, int flags) in mch_expandpath() argument
530 …cnt = decc$to_vms(result, vms_wproc, 1 /*allow_wild*/, (flags & EW_DIR ? 0:1 ) /*allow directory*/… in mch_expandpath()
537 addfile(gap, vms_fmatch[i], flags); in mch_expandpath()
H A Dsyntax.c1775 long flags; in syn_current_attr() local
1912 if (flags & HL_TRANSP) in syn_current_attr()
2058 flags = 0; in syn_current_attr()
3304 *flagsp = kp->flags; in check_keyword_id()
4103 if (flags & nlist[i].flag) in syn_list_flags()
4457 kp->flags = flags; in add_keyword()
4535 int flags; in get_syn_options() member
4563 opt->flags |= HL_CONCEAL; in get_syn_options()
4648 opt->flags |= flagtab[fidx].flags; in get_syn_options()
4957 syn_opt_arg.flags = 0; in syn_cmd_match()
[all …]
H A Dif_cscope.c479 char *flags) in cs_add_common() argument
888 if (csinfo[i].flags) in cs_create_connection()
915 if (csinfo[i].flags != NULL) in cs_create_connection()
1281 csinfo[i].flags = NULL; in clear_csinfo()
1305 char *flags, in cs_insert_filelist() argument
1411 if (flags != NULL) in cs_insert_filelist()
1413 if ((csinfo[i].flags = alloc(strlen(flags) + 1)) == NULL) in cs_insert_filelist()
1419 (void)strcpy(csinfo[i].flags, (const char *)flags); in cs_insert_filelist()
1421 csinfo[i].flags = NULL; in cs_insert_filelist()
2262 vim_free(csinfo[i].flags); in cs_release_csp()
[all …]
H A Dquickfix.c383 efminfo->flags = *efmp++; in efm_analyze_prefix()
2853 int flags; in jump_to_help_window() local
2865 flags = WSP_HELP; in jump_to_help_window()
2868 flags |= WSP_TOP; in jump_to_help_window()
2954 int flags; in qf_open_new_file_win() local
2956 flags = WSP_ABOVE; in qf_open_new_file_win()
2958 flags |= WSP_NEWLOC; in qf_open_new_file_win()
4168 int flags = 0; in qf_open_new_cwindow() local
4182 flags = WSP_BELOW; in qf_open_new_cwindow()
5934 int flags) in vgr_match_buflines() argument
[all …]
H A Dif_tcl.c500 int opt, err, idx, flags; in bufselfcmd() local
534 flags = 0; in bufselfcmd()
541 flags |= FL_UPDATE_SCREEN; in bufselfcmd()
546 flags |= FL_UPDATE_SCREEN; in bufselfcmd()
712 flags |= FL_UPDATE_CURBUF; in bufselfcmd()
866 flags |= FL_UPDATE_SCREEN; in bufselfcmd()
937 int err, idx, flags; in winselfcmd() local
968 flags = 0; in winselfcmd()
974 flags |= FL_UPDATE_SCREEN; in winselfcmd()
979 flags |= FL_UPDATE_SCREEN; in winselfcmd()
[all …]
H A Dregexp_bt.c1264 int flags; in regatom() local
2094 int flags; in regpiece() local
2105 *flagp = flags; in regpiece()
2115 if (flags & SIMPLE) in regpiece()
2129 if (flags & SIMPLE) in regpiece()
2194 if (flags & SIMPLE) in regpiece()
2236 int flags; in regconcat() local
2313 int flags; in regbranch() local
2363 int flags; in reg() local
2491 int flags; in bt_regcomp() local
[all …]
H A Dinsexpand.c452 int flags = 0; in ins_compl_add_infercase() local
578 flags |= CP_CONT_S_IPOS; in ins_compl_add_infercase()
580 flags |= CP_ICASE; in ins_compl_add_infercase()
606 if (flags & CP_FAST) in ins_compl_add()
658 flags |= CP_FREE_FNAME; in ins_compl_add()
1291 if (flags != 0) in ins_compl_dictionaries()
1306 int flags, in ins_compl_files() argument
2373 flags |= CP_ICASE; in ins_compl_add_tv()
2380 flags |= CP_EQUAL; in ins_compl_add_tv()
2465 flags |= CP_ICASE; in set_completion()
[all …]
/vim-8.2.3635/src/xdiff/
H A Dxutils.c146 if (!(flags & XDF_WHITESPACE_FLAGS)) in xdl_blankline()
179 if (!(flags & XDF_WHITESPACE_FLAGS)) in xdl_recmatch()
193 if (flags & XDF_IGNORE_WHITESPACE) { in xdl_recmatch()
204 } else if (flags & XDF_IGNORE_WHITESPACE_CHANGE) { in xdl_recmatch()
217 } else if (flags & XDF_IGNORE_WHITESPACE_AT_EOL) { in xdl_recmatch()
222 } else if (flags & XDF_IGNORE_CR_AT_EOL) { in xdl_recmatch()
253 char const *top, long flags) { in xdl_hash_record_with_whitespace() argument
272 if (flags & XDF_IGNORE_WHITESPACE) in xdl_hash_record_with_whitespace()
274 else if (flags & XDF_IGNORE_WHITESPACE_CHANGE in xdl_hash_record_with_whitespace()
279 else if (flags & XDF_IGNORE_WHITESPACE_AT_EOL in xdl_hash_record_with_whitespace()
[all …]
H A Dxprepare.c50 long flags; member
72 cf->flags = flags; in xdl_init_classifier()
122 rec->ptr, rec->size, cf->flags)) in xdl_classify_record()
184 if (XDF_DIFF_ALG(xpp->flags) == XDF_HISTOGRAM_DIFF) in xdl_prepare_ctx()
198 hav = xdl_hash_record(&cur, top, xpp->flags); in xdl_prepare_ctx()
212 if ((XDF_DIFF_ALG(xpp->flags) != XDF_HISTOGRAM_DIFF) && in xdl_prepare_ctx()
276 sample = (XDF_DIFF_ALG(xpp->flags) == XDF_HISTOGRAM_DIFF in xdl_prepare_env()
282 if (XDF_DIFF_ALG(xpp->flags) != XDF_HISTOGRAM_DIFF && in xdl_prepare_env()
298 if ((XDF_DIFF_ALG(xpp->flags) != XDF_PATIENCE_DIFF) && in xdl_prepare_env()
299 (XDF_DIFF_ALG(xpp->flags) != XDF_HISTOGRAM_DIFF) && in xdl_prepare_env()
[all …]
H A Dxdiffi.c319 if (XDF_DIFF_ALG(xpp->flags) == XDF_PATIENCE_DIFF) in xdl_do_diff()
322 if (XDF_DIFF_ALG(xpp->flags) == XDF_HISTOGRAM_DIFF) in xdl_do_diff()
398 flags)); in recs_match()
842 while (!group_slide_up(xdf, &g, flags)) in xdl_change_compact()
857 if (group_slide_down(xdf, &g, flags)) in xdl_change_compact()
884 if (group_slide_up(xdf, &g, flags)) in xdl_change_compact()
889 } else if (flags & XDF_INDENT_HEURISTIC) { in xdl_change_compact()
927 if (group_slide_up(xdf, &g, flags)) in xdl_change_compact()
1012 ignore = xdl_blankline(rec[i]->ptr, rec[i]->size, flags); in xdl_mark_ignorable_lines()
1082 if (xpp->flags & XDF_IGNORE_BLANK_LINES) in xdl_diff()
[all …]
H A Dxutils.h35 int xdl_blankline(const char *line, long size, long flags);
36 int xdl_recmatch(const char *l1, long s1, const char *l2, long s2, long flags);
37 unsigned long xdl_hash_record(char const **data, char const *top, long flags);
/vim-8.2.3635/src/proto/
H A Dfilepath.pro33 char_u *do_browse(int flags, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *fil…
52 int expand_wildcards_eval(char_u **pat, int *num_file, char_u ***file, int flags);
53 int expand_wildcards(int num_pat, char_u **pat, int *num_files, char_u ***files, int flags);
55 int unix_expandpath(garray_T *gap, char_u *path, int wildoff, int flags, int didstar);
56 int gen_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file, int flags);
57 void addfile(garray_T *gap, char_u *f, int flags);
H A Dscriptfile.pro9 int do_in_path(char_u *path, char_u *name, int flags, void (*callback)(char_u *fname, void *ck), vo…
10 int do_in_runtimepath(char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *coo…
11 int source_runtime(char_u *name, int flags);
12 int source_in_path(char_u *path, char_u *name, int flags, int *ret_sid);
18 int ExpandRTDir(char_u *pat, int flags, int *num_file, char_u ***file, char *dirnames[]);
H A Dbuffer.pro4 int open_buffer(int read_stdin, exarg_T *eap, int flags);
10 void buf_freeall(buf_T *buf, int flags);
21 buf_T *buflist_new(char_u *ffname_arg, char_u *sfname_arg, linenr_T lnum, int flags);
41 int buflist_add(char_u *fname, int flags);
56 void do_modelines(int flags);
H A Dex_cmds.pro9 void do_shell(char_u *cmd, int flags);
24 int do_ecmd(int fnum, char_u *ffname, char_u *sfname, exarg_T *eap, linenr_T newlnum, int flags, wi…
41 char_u *skip_vimgrep_pat(char_u *p, char_u **s, int *flags);
42 char_u *skip_vimgrep_pat_ext(char_u *p, char_u **s, int *flags, char_u **nulp, int *cp);

1234567891011