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

1234567891011>>

/netbsd-current/external/bsd/nvi/dist/vi/
H A Dv_left.c40 v_left(SCR *sp, VICMD *vp) argument
48 if (vp->m_start.cno == 0) {
54 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1;
55 if (vp->m_start.cno > cnt)
56 vp->m_stop.cno = vp->m_start.cno - cnt;
58 vp->m_stop.cno = 0;
65 if (ISMOTION(vp))
66 --vp
78 v_cfirst(SCR *sp, VICMD *vp) argument
145 v_first(SCR *sp, VICMD *vp) argument
207 v_ncol(SCR *sp, VICMD *vp) argument
267 v_zero(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_right.c40 v_right(SCR *sp, VICMD *vp) argument
45 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) {
66 vp->m_stop.cno = vp->m_start.cno +
67 (F_ISSET(vp, VC_C1SET) ? vp->count : 1);
68 if (vp->m_start.cno == len - 1 && !ISMOTION(vp)) {
72 if (vp->m_stop.cno >= len) {
73 vp
90 v_dollar(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_mark.c44 v_mark(SCR *sp, VICMD *vp) argument
46 return (mark_set(sp, vp->character, &vp->m_start, 1));
65 v_bmark(SCR *sp, VICMD *vp) argument
67 return (mark(sp, vp, 1, BQMARK));
79 v_fmark(SCR *sp, VICMD *vp) argument
81 return (mark(sp, vp, 1, FQMARK));
91 v_emark(SCR *sp, VICMD *vp) argument
95 smp = HMAP + vp->ev.e_lno;
100 vp
111 mark(SCR *sp, VICMD *vp, int getmark, enum which cmd) argument
[all...]
H A Dv_xchar.c40 v_xchar(SCR *sp, VICMD *vp) argument
45 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) {
64 if (F_ISSET(vp, VC_C1SET))
65 vp->m_stop.cno += vp->count - 1;
66 if (vp->m_stop.cno >= len - 1) {
67 vp->m_stop.cno = len - 1;
68 vp->m_final.cno = vp->m_start.cno ? vp
87 v_Xchar(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_put.c42 v_Put(SCR *sp, VICMD *vp) argument
46 if (F_ISSET(vp, VC_ISDOT))
47 inc_buf(sp, vp);
54 for (cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; cnt--;) {
56 F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL,
57 &vp->m_start, &vp->m_final, 0))
59 vp
73 v_put(SCR *sp, VICMD *vp) argument
113 inc_buf(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_scroll.c76 v_lgoto(SCR *sp, VICMD *vp) argument
80 if (F_ISSET(vp, VC_C1SET)) {
81 if (!db_exist(sp, vp->count)) {
86 if (vp->count == 1) {
92 v_eof(sp, &vp->m_start);
95 vp->m_stop.lno = vp->count;
99 vp->m_stop.lno = nlines ? nlines : 1;
101 goto_adjust(vp);
113 v_home(SCR *sp, VICMD *vp) argument
130 v_middle(SCR *sp, VICMD *vp) argument
151 v_bottom(SCR *sp, VICMD *vp) argument
161 goto_adjust(VICMD *vp) argument
214 v_up(SCR *sp, VICMD *vp) argument
236 v_cr(SCR *sp, VICMD *vp) argument
257 v_down(SCR *sp, VICMD *vp) argument
278 v_hpageup(SCR *sp, VICMD *vp) argument
302 v_hpagedown(SCR *sp, VICMD *vp) argument
330 v_pagedown(SCR *sp, VICMD *vp) argument
376 v_pageup(SCR *sp, VICMD *vp) argument
422 v_lineup(SCR *sp, VICMD *vp) argument
442 v_linedown(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_delete.c41 v_delete(SCR *sp, VICMD *vp) argument
47 lmode = F_ISSET(vp, VM_LMODE) ? CUT_LINEMODE : 0;
50 if (cut(sp, F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL,
51 &vp->m_start, &vp->m_stop,
52 lmode | (F_ISSET(vp, VM_CUTREQ) ? CUT_NUMREQ : CUT_NUMOPT)))
56 if (del(sp, &vp->m_start, &vp->m_stop, lmode))
63 if (!db_exist(sp, vp
[all...]
H A Dv_yank.c51 v_yank(SCR *sp, VICMD *vp) argument
56 F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL, &vp->m_start,
57 &vp->m_stop, F_ISSET(vp, VM_LMODE) ? CUT_LINEMODE : 0))
59 sp->rptlines[L_YANKED] += (vp->m_stop.lno - vp->m_start.lno) + 1;
66 if (db_get(sp, vp->m_final.lno, DBG_FATAL, NULL, &len))
77 if (!F_ISSET(vp, VM_LMOD
[all...]
H A Dv_section.c71 v_sectionf(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
179 v_sectionb(SCR *sp, VICMD *vp) argument
[all...]
H A Dv_itxt.c75 v_iA(SCR *sp, VICMD *vp) argument
79 if (!db_get(sp, vp->m_start.lno, 0, NULL, &len))
84 return (v_ia(sp, vp));
95 v_ia(SCR *sp, VICMD *vp) argument
102 flags = set_txt_std(sp, vp, 0);
104 sp->lno = vp->m_start.lno;
121 return (v_txt(sp, vp, NULL, p, len,
122 0, OOBLNO, F_ISSET(vp, VC_C1SET) ? vp->count : 1, flags));
132 v_iI(SCR *sp, VICMD *vp) argument
151 v_ii(SCR *sp, VICMD *vp) argument
184 v_iO(SCR *sp, VICMD *vp) argument
196 v_io(SCR *sp, VICMD *vp) argument
202 io(SCR *sp, VICMD *vp, enum which cmd) argument
253 v_change(SCR *sp, VICMD *vp) argument
393 v_Replace(SCR *sp, VICMD *vp) argument
427 v_subst(SCR *sp, VICMD *vp) argument
467 set_txt_std(SCR *sp, VICMD *vp, u_int32_t flags) argument
[all...]
H A Dv_match.c41 v_match(SCR *sp, VICMD *vp) argument
71 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) {
76 for (off = vp->m_start.cno;; ++off) {
92 if (match.lno == vp->m_start.lno && match.cno ==vp->m_start.cno)
103 cs.cs_lno = vp->m_start.lno;
125 vp->m_stop.lno = cs.cs_lno;
126 vp->m_stop.cno = cs.cs_cno;
138 if (vp->m_start.lno < vp
[all...]
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dvstring.c14 /* vstring_ctl(vp, type, value, ..., VSTRING_CTL_END)
15 /* VSTRING *vp;
18 /* VSTRING *vstring_free(vp)
19 /* VSTRING *vp;
21 /* char *vstring_str(vp)
22 /* VSTRING *vp;
24 /* ssize_t VSTRING_LEN(vp)
25 /* VSTRING *vp;
27 /* char *vstring_end(vp)
28 /* VSTRING *vp;
372 VSTRING *vp; local
396 vstring_free(VSTRING *vp) argument
406 vstring_ctl(VSTRING *vp,...) argument
426 vstring_truncate(VSTRING *vp, ssize_t len) argument
442 vstring_set_payload_size(VSTRING *vp, ssize_t len) argument
454 vstring_strcpy(VSTRING *vp, const char *src) argument
468 vstring_strncpy(VSTRING *vp, const char *src, ssize_t len) argument
482 vstring_strcat(VSTRING *vp, const char *src) argument
494 vstring_strncat(VSTRING *vp, const char *src, ssize_t len) argument
506 vstring_memcpy(VSTRING *vp, const char *src, ssize_t len) argument
518 vstring_memcat(VSTRING *vp, const char *src, ssize_t len) argument
529 vstring_memchr(VSTRING *vp, int ch) argument
541 vstring_insert(VSTRING *vp, ssize_t start, const char *buf, ssize_t len) argument
568 vstring_prepend(VSTRING *vp, const char *buf, ssize_t len) argument
592 vstring_export(VSTRING *vp) argument
606 VSTRING *vp; local
624 vstring_sprintf(VSTRING *vp, const char *format,...) argument
636 vstring_vsprintf(VSTRING *vp, const char *format, va_list ap) argument
646 vstring_sprintf_append(VSTRING *vp, const char *format,...) argument
658 vstring_vsprintf_append(VSTRING *vp, const char *format, va_list ap) argument
667 vstring_sprintf_prepend(VSTRING *vp, const char *format,...) argument
699 VSTRING *vp = vstring_alloc(1); local
[all...]
H A Dvstring.h72 #define VSTRING_SPACE(vp, len) ((vp)->vbuf.space(&(vp)->vbuf, (len)))
73 #define vstring_str(vp) ((char *) (vp)->vbuf.data)
74 #define VSTRING_LEN(vp) ((ssize_t) ((vp)->vbuf.ptr - (vp)->vbuf.data))
75 #define vstring_end(vp) ((char *) (vp)
[all...]
H A Dvstring_vstream.c11 /* int vstring_get_flags(vp, fp, flags)
12 /* VSTRING *vp;
16 /* int vstring_get_flags_nonl(vp, fp, flags)
17 /* VSTRING *vp;
21 /* int vstring_get_flags_null(vp, fp, flags)
22 /* VSTRING *vp;
26 /* int vstring_get_flags_bound(vp, fp, flags, bound)
27 /* VSTRING *vp;
32 /* int vstring_get_flags_nonl_bound(vp, fp, flags, bound)
33 /* VSTRING *vp;
133 vstring_get_flags(VSTRING *vp, VSTREAM *fp, int flags) argument
152 vstring_get_flags_nonl(VSTRING *vp, VSTREAM *fp, int flags) argument
168 vstring_get_flags_null(VSTRING *vp, VSTREAM *fp, int flags) argument
184 vstring_get_flags_bound(VSTRING *vp, VSTREAM *fp, int flags, ssize_t bound) argument
207 vstring_get_flags_nonl_bound(VSTRING *vp, VSTREAM *fp, int flags, ssize_t bound) argument
227 vstring_get_flags_null_bound(VSTRING *vp, VSTREAM *fp, int flags, ssize_t bound) argument
256 VSTRING *vp = vstring_alloc(1); local
[all...]
/netbsd-current/sys/fs/nfs/common/
H A Dnfs_kdtrace.h48 #define KDTRACE_NFS_ACCESSCACHE_FLUSH_DONE(vp) do { \
51 nfsclient_accesscache_flush_done_id, (vp)); \
54 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) do { \
57 nfsclient_accesscache_get_hit_id, (vp), (uid), \
61 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) do { \
64 nfsclient_accesscache_get_miss_id, (vp), (uid), \
68 #define KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, uid, rmode, error) do { \
71 nfsclient_accesscache_load_done_id, (vp), (uid), \
83 #define KDTRACE_NFS_ATTRCACHE_FLUSH_DONE(vp) do { \
86 nfsclient_attrcache_flush_done_id, (vp)); \
[all...]
/netbsd-current/sys/fs/nfs/client/
H A Dnfs_kdtrace.h56 #define KDTRACE_NFS_ACCESSCACHE_FLUSH_DONE(vp) do { \
59 nfscl_accesscache_flush_done_id, (vp)); \
62 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) do { \
65 nfscl_accesscache_get_hit_id, (vp), (uid), \
69 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) do { \
72 nfscl_accesscache_get_miss_id, (vp), (uid), \
76 #define KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, uid, rmode, error) do { \
79 nfscl_accesscache_load_done_id, (vp), (uid), \
83 #define KDTRACE_NFS_ATTRCACHE_FLUSH_DONE(vp) do { \
86 nfscl_attrcache_flush_done_id, (vp)); \
[all...]
/netbsd-current/usr.sbin/npf/npfctl/
H A Dnpf_var.c66 npfvar_t *vp = ecalloc(1, sizeof(*vp)); local
68 return vp;
90 npfvar_add(npfvar_t *vp, const char *name) argument
92 vp->v_key = estrdup(name);
93 vp->v_next = var_list;
94 var_list = vp;
100 npfvar_t *vp = npfvar_create(); local
101 return npfvar_add_element(vp, type, data, len);
111 npfvar_add_element(npfvar_t *vp, unsigne argument
132 npfvar_add_elements(npfvar_t *vp, npfvar_t *vp2) argument
168 npfvar_destroy(npfvar_t *vp) argument
177 npfvar_expand_string(const npfvar_t *vp) argument
187 npfvar_get_count(const npfvar_t *vp) argument
193 npfvar_get_element(const npfvar_t *vp, size_t idx, size_t level) argument
232 npfvar_get_type(const npfvar_t *vp, size_t idx) argument
239 npfvar_get_data(const npfvar_t *vp, unsigned type, size_t idx) argument
[all...]
/netbsd-current/external/bsd/libbind/dist/bsd/
H A Dreadv.c21 __readv(fd, vp, vpcount)
23 const struct iovec *vp;
29 int bytes = read(fd, vp->iov_base, vp->iov_len);
34 if (bytes != vp->iov_len)
36 vp++;
/netbsd-current/external/lgpl3/gmp/dist/mpn/generic/
H A Dmul_basecase.c38 /* Multiply {up,usize} by {vp,vsize} and write the result to
55 mp_srcptr vp, mp_size_t vn)
60 ASSERT (! MPN_OVERLAP_P (rp, un+vn, vp, vn));
69 rp[un + 1] = mpn_mul_2 (rp, up, un, vp);
70 rp += 2, vp += 2, vn -= 2;
74 rp[un] = mpn_mul_1 (rp, up, un, vp[0]);
78 rp[un] = mpn_mul_1 (rp, up, un, vp[0]);
79 rp += 1, vp += 1, vn -= 1;
83 on optional function availability, limbs) from vp[]. */
91 rp[un + 6 - 1] = mpn_addmul_6 (rp, up, un, vp);
53 mpn_mul_basecase(mp_ptr rp, mp_srcptr up, mp_size_t un, mp_srcptr vp, mp_size_t vn) argument
[all...]
/netbsd-current/sys/kern/
H A Dvfs_vnode.c254 vrefcnt(struct vnode *vp) argument
257 return atomic_load_relaxed(&vp->v_usecount) & VUSECOUNT_MASK;
266 #define VSTATE_GET(vp) \
267 vstate_assert_get((vp), __func__, __LINE__)
268 #define VSTATE_CHANGE(vp, from, to) \
269 vstate_assert_change((vp), (from), (to), __func__, __LINE__)
270 #define VSTATE_WAIT_STABLE(vp) \
271 vstate_assert_wait_stable((vp), __func__, __LINE__)
274 _vstate_assert(vnode_t *vp, enum vnode_state state, const char *func, int line, argument
277 vnode_impl_t *vip = VNODE_TO_VIMPL(vp);
306 vstate_assert_get(vnode_t *vp, const char *func, int line) argument
319 vstate_assert_wait_stable(vnode_t *vp, const char *func, int line) argument
337 vstate_assert_change(vnode_t *vp, enum vnode_state from, enum vnode_state to, const char *func, int line) argument
384 _vstate_assert(vnode_t *vp, enum vnode_state state, const char *func, int line, bool has_lock) argument
391 vstate_wait_stable(vnode_t *vp) argument
400 vstate_change(vnode_t *vp, enum vnode_state from, enum vnode_state to) argument
449 vnode_t *vp; local
469 vnfree_marker(vnode_t *vp) argument
485 vnis_marker(vnode_t *vp) argument
495 lru_which(vnode_t *vp) argument
512 lru_requeue(vnode_t *vp, vnodelst_t *listhd) argument
647 vnode_t *vp; local
756 vtryrele(vnode_t *vp) argument
777 vput(vnode_t *vp) argument
808 vnode_t *vp; local
840 vrelel(vnode_t *vp, int flags, int lktype) argument
1076 vrele(vnode_t *vp) argument
1090 vrele_async(vnode_t *vp) argument
1107 vref(vnode_t *vp) argument
1120 vholdl(vnode_t *vp) argument
1133 vhold(vnode_t *vp) argument
1146 holdrelel(vnode_t *vp) argument
1164 holdrele(vnode_t *vp) argument
1176 vrecycle(vnode_t *vp) argument
1259 vrevoke(vnode_t *vp) argument
1297 vgone(vnode_t *vp) argument
1431 vnode_t *vp; local
1465 vnode_t *vp; local
1486 vnode_t *vp; local
1518 vcache_tryvget(vnode_t *vp) argument
1543 vcache_vget(vnode_t *vp) argument
1580 struct vnode *vp; local
1687 struct vnode *vp, *ovp; local
1754 vcache_rekey_enter(struct mount *mp, struct vnode *vp, const void *old_key, size_t old_key_len, const void *new_key, size_t new_key_len) argument
1799 vcache_rekey_exit(struct mount *mp, struct vnode *vp, const void *old_key, size_t old_key_len, const void *new_key, size_t new_key_len) argument
1855 vcache_reclaim(vnode_t *vp) argument
2002 vcache_make_anon(vnode_t *vp) argument
2064 vnode_t *vp; local
2088 vdead_check(struct vnode *vp, int flags) argument
2126 vnpanic(vnode_t *vp, const char *fmt, ...) argument
[all...]
/netbsd-current/sys/miscfs/genfs/
H A Dlayer.h107 #define LAYERFS_DO_BYPASS(vp, ap) \
108 (*MOUNTTOLAYERMOUNT((vp)->v_mount)->layerm_bypass)((ap))
110 struct vnode *layer_checkvp(struct vnode *vp, const char *fil, int lno);
113 #define VTOLAYER(vp) ((struct layer_node *)(vp)->v_data)
116 #define LAYERVPTOLOWERVP(vp) layer_checkvp((vp), __FILE__, __LINE__)
119 #define LAYERVPTOLOWERVP(vp) (VTOLAYER(vp)->layer_lowervp)
H A Dgenfs_node.h52 #define GOP_SIZE(vp, size, eobp, flags) \
53 (*VTOG(vp)->g_op->gop_size)((vp), (size), (eobp), (flags))
54 #define GOP_ALLOC(vp, off, len, flags, cred) \
55 (*VTOG(vp)->g_op->gop_alloc)((vp), (off), (len), (flags), (cred))
56 #define GOP_WRITE(vp, pgs, npages, flags) \
57 (*VTOG(vp)->g_op->gop_write)((vp), (pgs), (npages), (flags))
58 #define GOP_PUTRANGE(vp, of
[all...]
/netbsd-current/external/cddl/osnet/sys/sys/
H A Dvnode.h142 #define IS_XATTRDIR(vp) (0)
150 #define vn_vfswlock(vp) (0)
151 #define vn_vfsunlock(vp) do { } while (0)
152 #define vn_ismntpt(vp) ((vp)->v_type == VDIR && (vp)->v_mountedhere != NULL)
153 #define vn_mountedvfs(vp) ((vp)->v_mountedhere)
154 #define vn_has_cached_data(vp) (((vp)
267 zfs_vn_rdwr(enum uio_rw rw, vnode_t *vp, caddr_t base, ssize_t len, offset_t offset, enum uio_seg seg, int ioflag, uint64_t ulimit, cred_t *cr, ssize_t *residp) argument
290 zfs_vop_fsync(vnode_t *vp, int flag, cred_t *cr) argument
304 zfs_vop_close(vnode_t *vp, int flag, int count, offset_t offset, cred_t *cr) argument
317 zfs_vop_getattr(vnode_t *vp, vattr_t *ap, int flag, cred_t *cr) argument
329 zfs_vop_seek(vnode_t *vp, off_t off, off_t *offp) argument
343 zfs_vop_putpage(vnode_t *vp, off_t off, size_t len, int flag) argument
[all...]
/netbsd-current/external/bsd/libarchive/dist/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...]
/netbsd-current/crypto/external/bsd/netpgp/dist/src/pgp2ssh/
H A Db64.h32 int b64encode(const char *in, const size_t insize, void *vp, size_t outsize, int linesize);
33 int b64decode(const char *in, const size_t insize, void *vp, size_t outsize);

Completed in 184 milliseconds

1234567891011>>