Home
last modified time | relevance | path

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

123

/vim-8.2.3635/src/
H A Dfold.c1462 mch_memmove(fp + moved, fp + 1, in deleteFoldEntry()
2904 fp[1].fd_len = fp->fd_len - (fp[1].fd_top - fp->fd_top); in foldSplit()
2905 fp[1].fd_flags = fp->fd_flags; in foldSplit()
2928 fp->fd_len = top - fp->fd_top; in foldSplit()
2965 foldRemove(&fp->fd_nested, top - fp->fd_top, bot - fp->fd_top); in foldRemove()
2974 fp->fd_len = top - fp->fd_top; in foldRemove()
3063 fp->fd_len = end - fp->fd_top; in truncate_fold()
3066 #define fold_end(fp) ((fp)->fd_top + (fp)->fd_len - 1) argument
3105 fp = fp + 1; in foldMoveRange()
3116 for (; valid_fold(fp, gap) && fold_end(fp) <= dest; fp++) in foldMoveRange()
[all …]
H A Dprofiler.c483 ufunc_T *fp; in prof_sort_list() local
490 prof_func_line(fd, fp->uf_tm_count, &fp->uf_tm_total, &fp->uf_tm_self, in prof_sort_list()
548 if (fp->uf_tml_count == NULL || fp->uf_tml_total == NULL in func_do_profile()
668 while (fp->uf_tml_idx > 0 && FUNCLINE(fp, fp->uf_tml_idx) == NULL) in func_line_start()
686 if (fp->uf_profiling && fp->uf_tml_idx >= 0) in func_line_exec()
699 if (fp->uf_profiling && fp->uf_tml_idx >= 0) in func_line_end()
703 ++fp->uf_tml_count[fp->uf_tml_idx]; in func_line_end()
705 profile_sub_wait(&fp->uf_tml_wait, &fp->uf_tml_start); in func_line_end()
706 profile_add(&fp->uf_tml_total[fp->uf_tml_idx], &fp->uf_tml_start); in func_line_end()
707 profile_self(&fp->uf_tml_self[fp->uf_tml_idx], &fp->uf_tml_start, in func_line_end()
[all …]
H A Duserfunc.c414 fp->uf_va_name = ((char_u **)fp->uf_args.ga_data) in parse_argument_types()
466 funccal_unref(fp->uf_scoped, fp, FALSE); in register_closure()
490 STRCAT(fp->uf_name_exp, fp->uf_name + 3); in set_ufunc_name()
2007 if (fp != NULL && fp->uf_scoped == fc) in free_funccal()
2222 fp->uf_cb_free(fp->uf_cb_state); in func_clear_items()
2250 funccal_unref(fp->uf_scoped, fp, force); in func_clear()
2894 if (--fp->uf_calls <= 0 && fp->uf_refcount <= 0) in call_user_func_check()
3441 return fp->uf_name_exp != NULL ? fp->uf_name_exp : fp->uf_name; in printable_func_name()
4805 if (fp != NULL && (--fp->uf_refcount <= 0 in func_ptr_unref()
4808 && fp->uf_partial->pt_func == fp))) in func_ptr_unref()
[all …]
H A Dviminfo.c448 putc('%', fp); in write_viminfo_bufferlist()
915 putc('\n', fp); in write_viminfo_history()
1911 putc('\t', fp); in write_viminfo_registers()
1935 putc(',', fp); in write_viminfo_registers()
1940 putc('\n', fp); in write_viminfo_registers()
2060 FILE *fp, in write_one_filemark() argument
2086 putc('\n', fp); in write_one_filemark()
3013 FILE *fp; in read_viminfo() local
3038 if (fp == NULL) in read_viminfo()
3042 fclose(fp); in read_viminfo()
[all …]
H A Dtag.c1557 FILE *fp; in find_tags() local
1618 FILE *fp; in find_tags() member
1947 rewind(fp); in find_tags()
2015 fp = incstack[incstack_idx].fp; in find_tags()
2089 incstack[incstack_idx].fp = fp; in find_tags()
2090 fp = NULL; in find_tags()
2099 if (fp != NULL) in find_tags()
2110 if (fp == NULL) in find_tags()
2114 fp = incstack[incstack_idx].fp; in find_tags()
2215 filesize = vim_ftell(fp); in find_tags()
[all …]
H A Dmouse.c2966 frame_T *fp; in mouse_find_win() local
2993 fp = topframe; in mouse_find_win()
2997 if (fp->fr_layout == FR_LEAF) in mouse_find_win()
2999 if (fp->fr_layout == FR_ROW) in mouse_find_win()
3001 for (fp = fp->fr_child; fp->fr_next != NULL; fp = fp->fr_next) in mouse_find_win()
3003 if (*colp < fp->fr_width) in mouse_find_win()
3005 *colp -= fp->fr_width; in mouse_find_win()
3010 for (fp = fp->fr_child; fp->fr_next != NULL; fp = fp->fr_next) in mouse_find_win()
3012 if (*rowp < fp->fr_height) in mouse_find_win()
3014 *rowp -= fp->fr_height; in mouse_find_win()
[all …]
H A Dos_vms.c706 char_u *fp; in vms_remove_version() local
712 if ((fp = vim_strrchr( fname, ']')) != NULL ) {;} in vms_remove_version()
713 else if ((fp = vim_strrchr( fname, '>')) != NULL ) {;} in vms_remove_version()
714 else fp = fname; in vms_remove_version()
716 while ( *fp != '\0' && fp < cp ) in vms_remove_version()
717 if ( *fp++ == '.' ) in vms_remove_version()
H A Ddebugger.c531 static linenr_T debuggy_find(int file,char_u *fname, linenr_T after, garray_T *gap, int *fp);
900 int *fp) // return: forceit in has_profiling() argument
902 return (debuggy_find(file, fname, (linenr_T)0, &prof_ga, fp) in has_profiling()
916 int *fp) // if not NULL: return forceit in debuggy_find() argument
969 if (fp != NULL) in debuggy_find()
970 *fp = bp->dbg_forceit; in debuggy_find()
H A Dundo.c1197 FILE *fp = bi->bi_fp; in serialize_header() local
1569 FILE *fp = NULL; in u_write_undo() local
1722 if (fp == NULL) in u_write_undo()
1737 bi.bi_fp = fp; in u_write_undo()
1795 fclose(fp); in u_write_undo()
1838 FILE *fp; in u_read_undo() local
1906 if (fp == NULL) in u_read_undo()
1913 bi.bi_fp = fp; in u_read_undo()
1924 version = get2c(fp); in u_read_undo()
2186 if (fp != NULL) in u_read_undo()
[all …]
H A Dos_mac.rsr.hqx119 fp[Efp[Efp[Efp[Efp[Efrrm!!!!!!!!!!!!!rrEfp[Efp[Efp[Efp[Efp[Efp[E
121 fp[Efp[Efp[Efp[Efp[EfrrMjr2m!!!!!!!!!rrEfp[Efp[Efp[Efp[Efp[Efp[E
124 fp[Efp[rr+rRmr2cmr2cmr2cmr2cmr2cmr2cjr2rfp[Efp[EfrrmVqIcrrrrrrrr
126 fp[Efp[rr+rRmirrMrq2rirrMrq2riq2Mrb[jr2riq2Efp[EfrrmVqIcMirrrirr
128 fp[Efp[rr+rRmrrrrrrrrrrrrrrrrrrrrrb[jr2riq2Efp[EfrrmVqIcriq2rirr
130 fp[Efp[rr+rRmrrrrrrrrrrrrrrrrrrrrrb[jr2riq2Efp[EfrrmVqIcrrrrrrrr
132 fp[Efp[rr+rRmirrMirrrrrrrrrrrrrrrrb[jr2riq2Efp[EfrrmVqIcrrrrrrrr
134 fp[Efp[rr+rRjqIRjqIRjqIRjqIRjqIRjqIRjr2riq2Efp[Efr`$rr2cmr2cmr2c
136 fp[Efp[m!!!!!!!$rq2Miq2Miq2Miq2Miq2Miq2Mip[Efp[Efr`!!!!!!!2riq2M
138 fp[Efp[m!!!!!!!$rp[Efp[Efp[Efp[Efp[Efp[Efp[Efp[Efr`!!!!!!!2rrrrr
[all …]
H A Dscriptfile.c1192 cookie.fp = fopen_noinh_readbin((char *)fname_exp); in do_source()
1194 cookie.fp = mch_fopen((char *)fname_exp, READBIN); in do_source()
1196 if (cookie.fp == NULL && check_other) in do_source()
1211 cookie.fp = fopen_noinh_readbin((char *)fname_exp); in do_source()
1213 cookie.fp = mch_fopen((char *)fname_exp, READBIN); in do_source()
1218 if (cookie.fp == NULL) in do_source()
1503 fclose(cookie.fp); in do_source()
1656 sp->fp) == NULL) in get_one_sourceline()
1776 if (sp->finished || sp->fp == NULL) in getsourceline()
H A Dcindent.c881 pos_T fp; in get_indent_nolabel() local
890 fp.col = (colnr_T)(p - l); in get_indent_nolabel()
891 fp.lnum = lnum; in get_indent_nolabel()
892 getvcol(curwin, &fp, &col, NULL, NULL); in get_indent_nolabel()
943 pos_T fp; in cin_first_id_amount() local
974 fp.lnum = curwin->w_cursor.lnum; in cin_first_id_amount()
975 fp.col = (colnr_T)(p - line); in cin_first_id_amount()
976 getvcol(curwin, &fp, &col, NULL, NULL); in cin_first_id_amount()
995 pos_T fp; in cin_get_equal_amount() local
1022 fp.lnum = lnum; in cin_get_equal_amount()
[all …]
H A Devalfunc.c2869 pos_T *fp; in get_col() local
4384 pos = *fp; in getpos_both()
4387 fp = &pos; in getpos_both()
4396 list_append_number(l, (fp != NULL) ? (varnumber_T)fp->lnum in getpos_both()
4399 ? (varnumber_T)(fp->col == MAXCOL ? MAXCOL : fp->col + 1) in getpos_both()
4401 list_append_number(l, (fp != NULL) ? (varnumber_T)fp->coladd : in getpos_both()
6792 lnum = fp->lnum; in f_line()
9991 pos_T *fp; in f_virtcol() local
10000 if (fp != NULL && fp->lnum <= curbuf->b_ml.ml_line_count in f_virtcol()
10004 if (fp->col < 0) in f_virtcol()
[all …]
H A Dwindow.c6521 frame_T *fp; in last_status_rec() local
6537 fp = fr; in last_status_rec()
6538 while (fp->fr_height <= frame_minheight(fp, NULL)) in last_status_rec()
6540 if (fp == topframe) in last_status_rec()
6547 if (fp->fr_parent->fr_layout == FR_COL && fp->fr_prev != NULL) in last_status_rec()
6548 fp = fp->fr_prev; in last_status_rec()
6550 fp = fp->fr_parent; in last_status_rec()
6553 if (fp != fr) in last_status_rec()
6555 frame_new_height(fp, fp->fr_height - 1, FALSE, FALSE); in last_status_rec()
6568 FOR_ALL_FRAMES(fp, fr->fr_child) in last_status_rec()
[all …]
H A Dsearch.c103 FILE *fp; // File pointer member
3579 bigger[i].fp = NULL; in find_pattern_in_path()
3754 LSIZE, files[depth].fp)) in find_pattern_in_path()
3817 (depth == -1) ? NULL : files[depth].fp, in find_pattern_in_path()
3838 (depth == -1) ? NULL : files[depth].fp, in find_pattern_in_path()
3939 fclose(files[depth].fp); in find_pattern_in_path()
3972 fclose(files[i].fp); in find_pattern_in_path()
4014 FILE *fp, in show_pat_in_path() argument
4029 if (fp != NULL) in show_pat_in_path()
4054 if (fp != NULL) in show_pat_in_path()
[all …]
H A Dcrypt.c351 crypt_create_from_file(FILE *fp, char_u *key) in crypt_create_from_file() argument
359 if (fread(magic_buffer, CRYPT_MAGIC_LEN, 1, fp) != 1) in crypt_create_from_file()
371 header_len - CRYPT_MAGIC_LEN, 1, fp) != 1) in crypt_create_from_file()
H A Dmacros.h317 # define FUNCARG(fp, j) ((char_u **)(fp->uf_args.ga_data))[j] argument
H A Dtesting.c1114 ufunc_T *fp; in f_test_refcount() local
1116 fp = find_func(argvars[0].vval.v_string, FALSE, NULL); in f_test_refcount()
1117 if (fp != NULL) in f_test_refcount()
1118 retval = fp->uf_refcount; in f_test_refcount()
/vim-8.2.3635/src/xxd/
H A Dxxd.c145 # define BIN_ASSIGN(fp, yes) setmode(fileno(fp), (yes) ? O_BINARY : O_TEXT) argument
151 # define BIN_ASSIGN(fp, yes) ((yes) ? (void) setmode(fileno(fp), O_BINARY) : (void) (fp)) argument
158 # define BIN_ASSIGN(fp, dummy) fp argument
165 # define BIN_ASSIGN(fp, dummy) fp argument
459 FILE *fp, *fpo; in main() local
704 seekoff = ftell(fp); in main()
713 if (ferror(fp)) in main()
727 if (fp != stdin) in main()
766 if (fclose(fp)) in main()
795 if (fclose(fp)) in main()
[all …]
/vim-8.2.3635/src/proto/
H A Duserfunc.pro20 int check_user_func_argcount(ufunc_T *fp, int argcount);
21 int call_user_func_check(ufunc_T *fp, int argcount, typval_T *argvars, typval_T *rettv, funcexe_T *…
33 char_u *printable_func_name(ufunc_T *fp);
48 void func_ptr_unref(ufunc_T *fp);
50 void func_ptr_ref(ufunc_T *fp);
H A Dprofiler.pro21 void func_do_profile(ufunc_T *fp);
22 void profile_may_start_func(profinfo_T *info, ufunc_T *fp, ufunc_T *caller);
23 void profile_may_end_func(profinfo_T *info, ufunc_T *fp, ufunc_T *caller);
H A Ddebugger.pro13 int has_profiling(int file, char_u *fname, int *fp);
H A Dcrypt.pro13 cryptstate_T *crypt_create_from_file(FILE *fp, char_u *key);
/vim-8.2.3635/runtime/plugin/
H A DlogiPat.vim308 let fp = s:patstack_{ifp}
310 let fplen= strlen(fp)
312 let fp= fp.strpart(" ",1,30-fplen)
314 " call Decho(fp.op)
321 let fp = s:patstack_{ifp}
322 " call Decho(fp)
/vim-8.2.3635/src/tee/
H A Dtee.c65 myfread(char *buf, int elsize /*ignored*/, int max, FILE *fp) in myfread() argument

123