Searched refs:vp (Results 1 - 25 of 444) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/gdb/gdb/
H A Dxcoffsolib.c41 struct vmap *vp = vmap; local
45 if (vp == NULL)
47 for (vp = vp->nxt; vp; vp = vp->nxt)
48 if (vp->tstart <= addr && addr < vp->tend)
52 vp
67 struct vmap *vp = vmap; local
121 struct vmap *vp = vmap; local
[all...]
/freebsd-11-stable/contrib/nvi/vi/
H A Dv_left.c34 v_left(SCR *sp, VICMD *vp) argument
42 if (vp->m_start.cno == 0) {
48 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1;
49 if (vp->m_start.cno > cnt)
50 vp->m_stop.cno = vp->m_start.cno - cnt;
52 vp->m_stop.cno = 0;
59 if (ISMOTION(vp))
60 --vp
72 v_cfirst(SCR *sp, VICMD *vp) argument
139 v_first(SCR *sp, VICMD *vp) argument
201 v_ncol(SCR *sp, VICMD *vp) argument
261 v_zero(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_right.c34 v_right(SCR *sp, VICMD *vp) argument
39 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) {
60 vp->m_stop.cno = vp->m_start.cno +
61 (F_ISSET(vp, VC_C1SET) ? vp->count : 1);
62 if (vp->m_start.cno == len - 1 && !ISMOTION(vp)) {
66 if (vp->m_stop.cno >= len) {
67 vp
84 v_dollar(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_xchar.c34 v_xchar(SCR *sp, VICMD *vp) argument
39 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) {
58 if (F_ISSET(vp, VC_C1SET))
59 vp->m_stop.cno += vp->count - 1;
60 if (vp->m_stop.cno >= len - 1) {
61 vp->m_stop.cno = len - 1;
62 vp->m_final.cno = vp->m_start.cno ? vp
81 v_Xchar(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_put.c36 v_Put(SCR *sp, VICMD *vp) argument
40 if (F_ISSET(vp, VC_ISDOT))
41 inc_buf(sp, vp);
48 for (cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; cnt--;) {
50 F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL,
51 &vp->m_start, &vp->m_final, 0))
53 vp
67 v_put(SCR *sp, VICMD *vp) argument
107 inc_buf(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_scroll.c70 v_lgoto(SCR *sp, VICMD *vp) argument
74 if (F_ISSET(vp, VC_C1SET)) {
75 if (!db_exist(sp, vp->count)) {
80 if (vp->count == 1) {
86 v_eof(sp, &vp->m_start);
89 vp->m_stop.lno = vp->count;
93 vp->m_stop.lno = nlines ? nlines : 1;
95 goto_adjust(vp);
107 v_home(SCR *sp, VICMD *vp) argument
124 v_middle(SCR *sp, VICMD *vp) argument
145 v_bottom(SCR *sp, VICMD *vp) argument
155 goto_adjust(VICMD *vp) argument
208 v_up(SCR *sp, VICMD *vp) argument
230 v_cr(SCR *sp, VICMD *vp) argument
251 v_down(SCR *sp, VICMD *vp) argument
272 v_hpageup(SCR *sp, VICMD *vp) argument
296 v_hpagedown(SCR *sp, VICMD *vp) argument
324 v_pagedown(SCR *sp, VICMD *vp) argument
370 v_pageup(SCR *sp, VICMD *vp) argument
416 v_lineup(SCR *sp, VICMD *vp) argument
436 v_linedown(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_delete.c35 v_delete(SCR *sp, VICMD *vp) argument
41 lmode = F_ISSET(vp, VM_LMODE) ? CUT_LINEMODE : 0;
44 if (cut(sp, F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL,
45 &vp->m_start, &vp->m_stop,
46 lmode | (F_ISSET(vp, VM_CUTREQ) ? CUT_NUMREQ : CUT_NUMOPT)))
50 if (del(sp, &vp->m_start, &vp->m_stop, lmode))
57 if (!db_exist(sp, vp
[all...]
H A Dv_yank.c45 v_yank(SCR *sp, VICMD *vp) argument
50 F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL, &vp->m_start,
51 &vp->m_stop, F_ISSET(vp, VM_LMODE) ? CUT_LINEMODE : 0))
53 sp->rptlines[L_YANKED] += (vp->m_stop.lno - vp->m_start.lno) + 1;
60 if (db_get(sp, vp->m_final.lno, DBG_FATAL, NULL, &len))
71 if (!F_ISSET(vp, VM_LMOD
[all...]
H A Dv_mark.c38 v_mark(SCR *sp, VICMD *vp) argument
40 return (mark_set(sp, vp->character, &vp->m_start, 1));
59 v_bmark(SCR *sp, VICMD *vp) argument
61 return (mark(sp, vp, 1, BQMARK));
73 v_fmark(SCR *sp, VICMD *vp) argument
75 return (mark(sp, vp, 1, FQMARK));
85 v_emark(SCR *sp, VICMD *vp) argument
89 smp = HMAP + vp->ev.e_lno;
94 vp
105 mark(SCR *sp, VICMD *vp, int getmark, enum which cmd) argument
[all...]
H A Dv_ch.c38 v_chrepeat(SCR *sp, VICMD *vp) argument
40 vp->character = VIP(sp)->lastckey;
47 return (v_chF(sp, vp));
49 return (v_chf(sp, vp));
51 return (v_chT(sp, vp));
53 return (v_cht(sp, vp));
67 v_chrrepeat(SCR *sp, VICMD *vp) argument
72 vp->character = VIP(sp)->lastckey;
80 rval = v_chf(sp, vp);
83 rval = v_chF(sp, vp);
106 v_cht(SCR *sp, VICMD *vp) argument
137 v_chf(SCR *sp, VICMD *vp) argument
194 v_chT(SCR *sp, VICMD *vp) argument
219 v_chF(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_section.c65 v_sectionf(SCR *sp, VICMD *vp) argument
84 if (ISMOTION(vp))
85 if (vp->m_start.cno == 0)
86 F_SET(vp, VM_LMODE);
88 vp->m_stop = vp->m_start;
89 vp->m_stop.cno = 0;
90 if (nonblank(sp, vp->m_stop.lno, &vp->m_stop.cno))
92 if (vp
172 v_sectionb(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_itxt.c69 v_iA(SCR *sp, VICMD *vp) argument
73 if (!db_get(sp, vp->m_start.lno, 0, NULL, &len))
78 return (v_ia(sp, vp));
89 v_ia(SCR *sp, VICMD *vp) argument
96 flags = set_txt_std(sp, vp, 0);
98 sp->lno = vp->m_start.lno;
115 return (v_txt(sp, vp, NULL, p, len,
116 0, OOBLNO, F_ISSET(vp, VC_C1SET) ? vp->count : 1, flags));
126 v_iI(SCR *sp, VICMD *vp) argument
145 v_ii(SCR *sp, VICMD *vp) argument
178 v_iO(SCR *sp, VICMD *vp) argument
190 v_io(SCR *sp, VICMD *vp) argument
196 io(SCR *sp, VICMD *vp, enum which cmd) argument
246 v_change(SCR *sp, VICMD *vp) argument
386 v_Replace(SCR *sp, VICMD *vp) argument
420 v_subst(SCR *sp, VICMD *vp) argument
460 set_txt_std(SCR *sp, VICMD *vp, u_int32_t flags) argument
[all...]
H A Dv_paragraph.c67 v_paragraphf(SCR *sp, VICMD *vp) argument
90 if (ISMOTION(vp))
91 if (vp->m_start.cno == 0)
92 F_SET(vp, VM_LMODE);
94 vp->m_stop = vp->m_start;
95 vp->m_stop.cno = 0;
96 if (nonblank(sp, vp->m_stop.lno, &vp->m_stop.cno))
98 if (vp
205 v_paragraphb(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_search.c41 v_searchb(SCR *sp, VICMD *vp) argument
43 return (v_exaddr(sp, vp, BACKWARD));
53 v_searchf(SCR *sp, VICMD *vp) argument
55 return (v_exaddr(sp, vp, FORWARD));
63 v_exaddr(SCR *sp, VICMD *vp, dir_t dir) argument
82 if (F_ISSET(vp, VC_ISDOT))
83 return (v_search(sp, vp,
87 if (v_tcmd(sp, vp, dir == BACKWARD ? CH_BSEARCH : CH_FSEARCH,
104 vp->m_stop.lno = sp->lno;
105 vp
284 v_searchN(SCR *sp, VICMD *vp) argument
309 v_searchn(SCR *sp, VICMD *vp) argument
344 v_searchw(SCR *sp, VICMD *vp) argument
393 v_search(SCR *sp, VICMD *vp, CHAR_T *ptrn, size_t plen, u_int flags, dir_t dir) argument
456 v_correct(SCR *sp, VICMD *vp, int isdelta) argument
[all...]
H A Dv_word.c80 v_wordW(SCR *sp, VICMD *vp) argument
82 return (fword(sp, vp, BIGWORD));
92 v_wordw(SCR *sp, VICMD *vp) argument
94 return (fword(sp, vp, LITTLEWORD));
102 fword(SCR *sp, VICMD *vp, enum which type) argument
108 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1;
109 cs.cs_lno = vp->m_start.lno;
110 cs.cs_cno = vp->m_start.cno;
122 if (ISMOTION(vp)
240 v_wordE(SCR *sp, VICMD *vp) argument
252 v_worde(SCR *sp, VICMD *vp) argument
262 eword(SCR *sp, VICMD *vp, enum which type) argument
386 v_wordB(SCR *sp, VICMD *vp) argument
398 v_wordb(SCR *sp, VICMD *vp) argument
408 bword(SCR *sp, VICMD *vp, enum which type) argument
[all...]
H A Dv_z.c34 v_z(SCR *sp, VICMD *vp) argument
43 if (F_ISSET(vp, VC_C1SET)) {
44 lno = vp->count;
48 lno = vp->m_start.lno;
51 vp->m_final.lno = lno;
52 vp->m_final.cno = vp->m_start.cno;
64 if (F_ISSET(vp, VC_C2SET) && vp->count2 != 0) {
65 if (vp
[all...]
/freebsd-11-stable/sys/nfs/
H A Dnfs_kdtrace.h46 #define KDTRACE_NFS_ACCESSCACHE_FLUSH_DONE(vp) do { \
49 nfsclient_accesscache_flush_done_id, (vp)); \
52 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) do { \
55 nfsclient_accesscache_get_hit_id, (vp), (uid), \
59 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) do { \
62 nfsclient_accesscache_get_miss_id, (vp), (uid), \
66 #define KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, uid, rmode, error) do { \
69 nfsclient_accesscache_load_done_id, (vp), (uid), \
81 #define KDTRACE_NFS_ATTRCACHE_FLUSH_DONE(vp) do { \
84 nfsclient_attrcache_flush_done_id, (vp)); \
[all...]
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_kdtrace.h54 #define KDTRACE_NFS_ACCESSCACHE_FLUSH_DONE(vp) do { \
57 nfscl_accesscache_flush_done_id, (vp)); \
60 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) do { \
63 nfscl_accesscache_get_hit_id, (vp), (uid), \
67 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) do { \
70 nfscl_accesscache_get_miss_id, (vp), (uid), \
74 #define KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, uid, rmode, error) do { \
77 nfscl_accesscache_load_done_id, (vp), (uid), \
81 #define KDTRACE_NFS_ATTRCACHE_FLUSH_DONE(vp) do { \
84 nfscl_attrcache_flush_done_id, (vp)); \
[all...]
/freebsd-11-stable/sys/fs/fuse/
H A Dfuse_node.h93 #define VTOFUD(vp) \
94 ((struct fuse_vnode_data *)((vp)->v_data))
95 #define VTOI(vp) (VTOFUD(vp)->nid)
96 #define VTOVA(vp) (&(VTOFUD(vp)->cached_attrs))
97 #define VTOILLU(vp) ((uint64_t)(VTOFUD(vp) ? VTOI(vp) : 0))
104 fuse_vnode_setparent(struct vnode *vp, struc argument
[all...]
H A Dfuse_io.h61 int fuse_io_dispatch(struct vnode *vp, struct uio *uio, int ioflag,
63 int fuse_io_strategy(struct vnode *vp, struct buf *bp);
64 int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td);
65 int fuse_io_invalbuf(struct vnode *vp, struct thread *td);
/freebsd-11-stable/usr.bin/mail/
H A Dvars.c53 struct var *vp; local
57 vp = lookup(name);
58 if (vp == NULL) {
59 if ((vp = calloc(1, sizeof(*vp))) == NULL)
61 vp->v_name = vcopy(name);
62 vp->v_link = variables[h];
63 variables[h] = vp;
66 vfree(vp->v_value);
67 vp
110 struct var *vp; local
125 struct var *vp; local
[all...]
/freebsd-11-stable/sys/ufs/ufs/
H A Dgjournal.h36 void ufs_gjournal_close(struct vnode *vp);
/freebsd-11-stable/sys/ddb/
H A Ddb_variables.c61 struct db_variable *vp; local
66 for (vp = db_vars; vp < db_evars; vp++) {
67 if (!strcmp(db_tok_string, vp->name)) {
68 *varp = vp;
72 for (vp = db_regs; vp < db_eregs; vp++) {
73 if (!strcmp(db_tok_string, vp
86 struct db_variable *vp; local
97 struct db_variable *vp; local
106 db_read_variable(struct db_variable *vp, db_expr_t *valuep) argument
118 db_write_variable(struct db_variable *vp, db_expr_t value) argument
132 struct db_variable *vp; local
[all...]
/freebsd-11-stable/contrib/libarchive/test_utils/
H A Dtest_utils.c89 const char *vp = test; local
91 while (*vp >= '0' && *vp <= '9') {
93 start += *vp - '0';
94 ++vp;
96 if (*vp == '\0') {
98 } else if (*vp == '-') {
99 ++vp;
100 if (*vp == '\0') {
104 while (*vp >
[all...]
/freebsd-11-stable/bin/sh/
H A Dvar.c159 struct var *vp; local
163 for (ip = varinit ; (vp = ip->var) != NULL ; ip++) {
164 if (find_var(ip->text, &vpp, &vp->name_len) != NULL)
166 vp->next = *vpp;
167 *vpp = vp;
168 vp->text = __DECONST(char *, ip->text);
169 vp->flags = ip->flags | VSTRFIXED | VTEXTFIXED;
170 vp->func = ip->func;
321 struct var *vp, **vpp; local
328 vp
550 struct var *vp; local
595 struct var *vp; local
651 struct var *vp; local
752 struct var *vp; local
793 struct var *vp; local
885 struct var *vp; local
942 struct var *vp, **vpp; local
[all...]

Completed in 209 milliseconds

1234567891011>>