Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 25 of 35) sorted by relevance

12

/vim-8.2.3635/src/
H A Ddebugger.c615 bp->dbg_lnum = 0; in dbg_parsearg()
634 bp->dbg_val = eval_expr_no_emsg(bp); in dbg_parsearg()
654 bp->dbg_name = p; in dbg_parsearg()
864 bp = &BREAKP(i); in ex_breaklist()
869 bp->dbg_nr, in ex_breaklist()
871 bp->dbg_type == DBG_FUNC ? bp->dbg_name : NameBuff, in ex_breaklist()
875 bp->dbg_nr, bp->dbg_name); in ex_breaklist()
956 (bp->dbg_lnum > after && (lnum == 0 || bp->dbg_lnum < lnum))))) in debuggy_find()
968 lnum = bp->dbg_lnum; in debuggy_find()
1004 bp->dbg_val = v; in debuggy_find()
[all …]
H A Dmisc2.c1334 char_u *bp; in find_special_key() local
1350 for (bp = src + 1; *bp == '-' || vim_isNormalIDc(*bp); bp++) in find_special_key()
1352 if (*bp == '-') in find_special_key()
1354 last_dash = bp; in find_special_key()
1364 if (!(in_string && bp[1] == '"') && bp[l + 1] == '>') in find_special_key()
1365 bp += l; in find_special_key()
1366 else if (in_string && bp[1] == '\\' && bp[2] == '"' in find_special_key()
1368 bp += 2; in find_special_key()
1371 if (bp[0] == 't' && bp[1] == '_' && bp[2] && bp[3]) in find_special_key()
1381 bp += l + 5; in find_special_key()
[all …]
H A Dgetchar.c128 buffblock_T *bp; in get_buffcont() local
131 for (bp = buffer->bh_first.b_next; bp != NULL; bp = bp->b_next) in get_buffcont()
132 count += (long_u)STRLEN(bp->b_str); in get_buffcont()
137 for (bp = buffer->bh_first.b_next; bp != NULL; bp = bp->b_next) in get_buffcont()
138 for (str = bp->b_str; *str; ) in get_buffcont()
739 static buffblock_T *bp; in read_redo() local
751 bp = redobuff.bh_first.b_next; in read_redo()
752 if (bp == NULL) in read_redo()
754 p = bp->b_str; in read_redo()
779 bp = bp->b_next; in read_redo()
[all …]
H A Devalbuffer.c24 buf_T *bp; in set_ref_in_buffers() local
26 FOR_ALL_BUFFERS(bp) in set_ref_in_buffers()
31 for (lnr = bp->b_listener; !abort && lnr != NULL; lnr = lnr->lr_next) in set_ref_in_buffers()
41 if (!abort && bp->b_prompt_callback.cb_partial != NULL) in set_ref_in_buffers()
44 tv.vval.v_partial = bp->b_prompt_callback.cb_partial; in set_ref_in_buffers()
47 if (!abort && bp->b_prompt_interrupt.cb_partial != NULL) in set_ref_in_buffers()
50 tv.vval.v_partial = bp->b_prompt_interrupt.cb_partial; in set_ref_in_buffers()
H A Dbuffer.c412 buf_T *bp; in buf_valid() local
417 if (bp == buf) in buf_valid()
1236 buf_T *bp; in do_buffer_ext() local
1271 bp = NULL; in do_buffer_ext()
1277 bp = buf; in do_buffer_ext()
1382 if (bp->b_p_bl && bp != buf) in do_buffer_ext()
1441 if (bp == NULL) in do_buffer_ext()
1442 bp = buf; in do_buffer_ext()
1479 bp = buf; in do_buffer_ext()
1488 buf = bp; in do_buffer_ext()
[all …]
H A Dtypval.c1787 char_u *bp; in eval_number() local
1793 for (bp = *arg + 2; vim_isxdigit(bp[0]); bp += 2) in eval_number()
1795 if (!vim_isxdigit(bp[1])) in eval_number()
1807 (hex2nr(*bp) << 4) + hex2nr(*(bp+1))); in eval_number()
1808 if (bp[2] == '.' && vim_isxdigit(bp[3])) in eval_number()
1809 ++bp; in eval_number()
1813 *arg = bp; in eval_number()
H A Dregexp_bt.c3174 save_subexpr(regbehind_T *bp) in save_subexpr() argument
3193 bp->save_end[i].se_u.ptr = rex.reg_endp[i]; in save_subexpr()
3203 restore_subexpr(regbehind_T *bp) in restore_subexpr() argument
3221 rex.reg_endp[i] = bp->save_end[i].se_u.ptr; in restore_subexpr()
3803 backpos_T *bp; in regmatch() local
3811 bp = (backpos_T *)backpos.ga_data; in regmatch()
3813 if (bp[i].bp_scan == scan) in regmatch()
3823 bp = (backpos_T *)backpos.ga_data; in regmatch()
3824 bp[i].bp_scan = scan; in regmatch()
3828 else if (reg_save_equal(&bp[i].bp_pos)) in regmatch()
[all …]
H A Dsyntax.c1332 bufstate_T *bp; in store_current_state() local
1427 bp = sp->sst_union.sst_stack; in store_current_state()
1430 bp[i].bs_idx = CUR_STATE(i).si_idx; in store_current_state()
1431 bp[i].bs_flags = CUR_STATE(i).si_flags; in store_current_state()
1433 bp[i].bs_seqnr = CUR_STATE(i).si_seqnr; in store_current_state()
1454 bufstate_T *bp; in load_current_state() local
1465 bp = from->sst_union.sst_stack; in load_current_state()
1468 CUR_STATE(i).si_idx = bp[i].bs_idx; in load_current_state()
1501 bufstate_T *bp; in syn_stack_equal() local
1512 bp = sp->sst_union.sst_stack; in syn_stack_equal()
[all …]
H A Dmap.c2045 buf_T *bp; in check_map_keycodes() local
2055 for (bp = firstbuf; ; bp = bp->b_next) in check_map_keycodes()
2066 if (bp != NULL) in check_map_keycodes()
2067 mp = bp->b_first_abbr; in check_map_keycodes()
2073 if (bp != NULL) in check_map_keycodes()
2074 mp = bp->b_maphash[hash]; in check_map_keycodes()
2105 if (bp == NULL) in check_map_keycodes()
H A Darglist.c880 buf_T *bp; in alist_name() local
883 bp = buflist_findnr(aep->ae_fnum); in alist_name()
884 if (bp == NULL || bp->b_fname == NULL) in alist_name()
886 return bp->b_fname; in alist_name()
H A Dif_perl.xs949 perl_buf_free(buf_T *bp) in perl_buf_free() argument
951 if (bp->b_perl_private && perl_interp != NULL) in perl_buf_free()
953 SV *sv = (SV *)bp->b_perl_private; in perl_buf_free()
958 bp->b_perl_private = NULL; in perl_buf_free()
H A Ddosinst.c292 char *bp = *destination; in findoldfile() local
301 if (bp == NULL || strnicmp(bp, installdir, indir_l) != 0) in findoldfile()
303 cp = bp + indir_l; in findoldfile()
H A Dif_mzsch.c1357 vim_mz_buffer *bp = NULL; in mzscheme_buffer_free() local
1359 MZ_GC_VAR_IN_REG(0, bp); in mzscheme_buffer_free()
1362 bp = BUFFER_REF(buf); in mzscheme_buffer_free()
1363 bp->buf = INVALID_BUFFER_VALUE; in mzscheme_buffer_free()
1365 scheme_gc_ptr_ok(bp); in mzscheme_buffer_free()
H A Dnetbeans.c2600 nbbuf_T *bp = nb_get_buf(bufno); in netbeans_file_activated() local
2608 if (q == NULL || bp == NULL) in netbeans_file_activated()
2633 nbbuf_T *bp = nb_get_buf(nb_getbufno(bufp)); in netbeans_file_opened() local
2642 if (bp != NULL) in netbeans_file_opened()
H A Dgui_gtk_x11.c5497 char_u *sp, *bp; in gui_gtk2_draw_string() local
5528 for (sp = s, bp = conv_buf; sp < s + len && bp < conv_buf + convlen; ) in gui_gtk2_draw_string()
5530 plen = utf_ptr2len(bp); in gui_gtk2_draw_string()
5531 if ((*mb_ptr2cells)(sp) == 2 && utf_ptr2cells(bp) == 1) in gui_gtk2_draw_string()
5536 plen += bp - conv_buf; in gui_gtk2_draw_string()
5544 bp = conv_buf + plen; in gui_gtk2_draw_string()
5548 bp += plen; in gui_gtk2_draw_string()
H A Dif_python.c1398 BufferObject *bp = BUF_PYTHON_REF(buf); in python_buffer_free() local
1399 bp->buf = INVALID_BUFFER_VALUE; in python_buffer_free()
H A Dspell.c2318 char_u *bp; in use_midword() local
2331 bp = vim_strnsave(wp->w_s->b_spell_ismw_mb, n + l); in use_midword()
2332 if (bp != NULL) in use_midword()
2335 wp->w_s->b_spell_ismw_mb = bp; in use_midword()
2336 vim_strncpy(bp + n, p, l); in use_midword()
H A Dif_python3.c1756 BufferObject *bp = BUF_PYTHON_REF(buf); in python3_buffer_free() local
1757 bp->buf = INVALID_BUFFER_VALUE; in python3_buffer_free()
H A Dspellfile.c1589 char_u *bp; in spell_read_tree() local
1603 bp = alloc(len); in spell_read_tree()
1604 if (bp == NULL) in spell_read_tree()
1606 *bytsp = bp; in spell_read_tree()
1617 idx = read_tree_node(fd, bp, ip, len, 0, prefixtree, prefixcnt); in spell_read_tree()
/vim-8.2.3635/runtime/syntax/
H A Dplaintex.vim82 …\)bracefill\|eqalign\%(no\)\|leqalignno\|[lr]moustache\|mathpalette\|root\|s[bp]\|skew\|sqrt\)\>\)'
98 …nt\|minus\|plus\|slash\|times\)pm\|prod\|setminus\|sqc[au]p\|sqsu[bp]seteq\|star\|su[bp]set\%(eq\)…
H A Dmf.vim244 syn match mfLength "\<\(bp\|cc\|cm\|dd\|in\|mm\|pc\|pt\)\>"
245 syn match mfLength "[-]\=\d\+\(bp\|cc\|cm\|dd\|in\|mm\|pc\|pt\)\#\="
246 syn match mfLength "[-]\=\.\d\+\(bp\|cc\|cm\|dd\|in\|mm\|pc\|pt\)\#\="
247 syn match mfLength "[-]\=\d\+\.\d\+\(bp\|cc\|cm\|dd\|in\|mm\|pc\|pt\)\#\="
H A Dmmix.vim85 syn keyword mmixOpcode bn bz bp bod
/vim-8.2.3635/src/proto/
H A Dif_perl.pro6 void perl_buf_free(buf_T *bp);
/vim-8.2.3635/src/testdir/
H A Dtest_lua.vim390 lua bp = vim.buffer():previous()
393 call assert_equal('Xfoo1', luaeval('bp.name'))
402 lua bp()
406 lua bn, bp = nil
/vim-8.2.3635/runtime/doc/
H A Dif_lua.txt83 :lua bp = lpeg.P{ "(" * ((1 - lpeg.S"()") + lpeg.V(1))^0 * ")" }
84 :luado if bp:match(line) then return "-->\t" .. line end

12