Home
last modified time | relevance | path

Searched refs:vb (Results 1 – 25 of 48) sorted by relevance

12

/freebsd/sys/dev/vt/
H A Dvt_buf.c46 #define VTBUF_LOCK(vb) mtx_lock_spin(&(vb)->vb_lock) argument
47 #define VTBUF_UNLOCK(vb) mtx_unlock_spin(&(vb)->vb_lock) argument
48 #define VTBUF_LOCK_OWNED(vb) mtx_owned(&(vb)->vb_lock) argument
57 static int vtbuf_htw(const struct vt_buf *vb, int row);
58 static int vtbuf_wth(const struct vt_buf *vb, int row);
71 vthistory_seek(struct vt_buf *vb, int offset, int whence) in vthistory_seek() argument
76 if ((vb->vb_flags & VBF_SCROLL) == 0) { in vthistory_seek()
77 if (vb->vb_roffset != vb->vb_curroffset) { in vthistory_seek()
78 vb->vb_roffset = vb->vb_curroffset; in vthistory_seek()
85 bottom = vb->vb_curroffset; in vthistory_seek()
[all …]
H A Dvt.h240 void vtbuf_scroll_mode(struct vt_buf *vb, int yes);
241 void vtbuf_dirty(struct vt_buf *vb, const term_rect_t *area);
245 int vtbuf_iscursor(const struct vt_buf *vb, int row, int col);
248 int vtbuf_set_mark(struct vt_buf *vb, int type, int col, int row);
249 int vtbuf_get_marked_len(struct vt_buf *vb);
250 void vtbuf_extract_marked(struct vt_buf *vb, term_char_t *buf, int sz, int mark);
251 void vtbuf_unmark(struct vt_buf *vb);
252 void vtbuf_unmark_on_cross(struct vt_buf *vb, int target_begin, int target_end);
263 #define VTBUF_SLCK_ENABLE(vb) vtbuf_scroll_mode((vb), 1) argument
264 #define VTBUF_SLCK_DISABLE(vb) vtbuf_scroll_mode((vb), 0) argument
[all …]
/freebsd/crypto/openssl/crypto/srp/
H A Dsrp_vfy.c279 SRP_VBASE *vb = OPENSSL_malloc(sizeof(*vb)); in SRP_VBASE_new() local
281 if (vb == NULL) in SRP_VBASE_new()
283 if ((vb->users_pwd = sk_SRP_user_pwd_new_null()) == NULL in SRP_VBASE_new()
284 || (vb->gN_cache = sk_SRP_gN_cache_new_null()) == NULL) { in SRP_VBASE_new()
285 sk_SRP_user_pwd_free(vb->users_pwd); in SRP_VBASE_new()
286 OPENSSL_free(vb); in SRP_VBASE_new()
289 vb->default_g = NULL; in SRP_VBASE_new()
290 vb->default_N = NULL; in SRP_VBASE_new()
291 vb->seed_key = NULL; in SRP_VBASE_new()
292 if ((seed_key != NULL) && (vb->seed_key = OPENSSL_strdup(seed_key)) == NULL) { in SRP_VBASE_new()
[all …]
/freebsd/sys/dev/video/
H A Dvideo.c74 struct video_buf *vb; in video_pool_alloc() local
122 vb = &pool->bufs[i]; in video_pool_alloc()
123 vb->pool = pool; in video_pool_alloc()
124 vb->index = i; in video_pool_alloc()
125 vb->state = VB_IDLE; in video_pool_alloc()
126 vb->length = buf_size; in video_pool_alloc()
127 vb->buf = (uint8_t *)kva + (size_t)i * buf_size; in video_pool_alloc()
256 struct video_buf *vb; in video_buf_acquire() local
259 vb = STAILQ_FIRST(&vd->queued); in video_buf_acquire()
260 if (vb != NULL) { in video_buf_acquire()
[all …]
H A Dvideo.h111 int video_buf_write(struct video_buf *vb,
113 void video_buf_done(struct video_buf *vb,
115 void video_buf_error(struct video_buf *vb);
/freebsd/lib/libc/string/
H A Dstrlen.c78 long va, vb; in strlen() local
92 vb = ((~*lp) & mask80); in strlen()
94 if (va & vb) in strlen()
103 vb = ((~*lp) & mask80); in strlen()
104 if (va & vb) { in strlen()
/freebsd/sys/libkern/
H A Dstrlen.c78 long va, vb; in size_t() local
92 vb = ((~*lp) & mask80); in size_t()
94 if (va & vb) in size_t()
103 vb = ((~*lp) & mask80); in size_t()
104 if (va & vb) { in size_t()
/freebsd/contrib/bearssl/src/
H A Dinner.h2402 #define vsldoi(vt, va, vb, sh) vsldoi_(vt, va, vb, sh) argument
2409 #define vcipher(vt, va, vb) vcipher_(vt, va, vb) argument
2410 #define vcipherlast(vt, va, vb) vcipherlast_(vt, va, vb) argument
2411 #define vncipher(vt, va, vb) vncipher_(vt, va, vb) argument
2412 #define vncipherlast(vt, va, vb) vncipherlast_(vt, va, vb) argument
2413 #define vperm(vt, va, vb, vc) vperm_(vt, va, vb, vc) argument
2414 #define vpmsumd(vt, va, vb) vpmsumd_(vt, va, vb) argument
2415 #define xxpermdi(vt, va, vb, d) xxpermdi_(vt, va, vb, d) argument
2439 #define vsldoi_(vt, va, vb, sh) "\tvsldoi\t" #vt "," #va "," #vb "," #sh "\n" argument
2446 #define vcipher_(vt, va, vb) "\tvcipher\t" #vt "," #va "," #vb "\n" argument
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DSRP_VBASE_new.pod22 void SRP_VBASE_free(SRP_VBASE *vb);
24 int SRP_VBASE_init(SRP_VBASE *vb, char *verifier_file);
26 int SRP_VBASE_add0_user(SRP_VBASE *vb, SRP_user_pwd *user_pwd);
27 SRP_user_pwd *SRP_VBASE_get1_by_user(SRP_VBASE *vb, char *username);
28 SRP_user_pwd *SRP_VBASE_get_by_user(SRP_VBASE *vb, char *username);
44 The SRP_VBASE_free() function frees up the B<vb> structure.
45 If B<vb> is NULL, nothing is done.
48 populates the B<vb> structure.
56 to the B<vb> structure. See L<SRP_user_pwd_new(3)> to create and populate this
/freebsd/contrib/ntp/libntp/
H A Dwork_fork.c49 void * vb, in netread() argument
53 char * b = vb; in netread()
65 return (size_t)(b - (char *)vb); in netread()
72 const void * vb, in netwrite() argument
76 const char * b = vb; in netwrite()
88 return (size_t)(b - (const char *)vb); in netwrite()
/freebsd/crypto/openssl/apps/lib/
H A Dtlssrp_depr.c192 srp_callback_parm->vb = SRP_VBASE_new(srpuserseed); in set_up_srp_verifier_file()
196 if (srp_callback_parm->vb == NULL) { in set_up_srp_verifier_file()
200 if ((ret = SRP_VBASE_init(srp_callback_parm->vb, in set_up_srp_verifier_file()
218 srp_callback_parm->user = SRP_VBASE_get1_by_user(srp_callback_parm->vb, in lookup_srp_user()
/freebsd/sys/compat/linux/
H A Dlinux_ioctl.c2803 linux_to_bsd_v4l_buffer(struct l_video_buffer *lvb, struct video_buffer *vb) in linux_to_bsd_v4l_buffer() argument
2805 vb->base = PTRIN(lvb->base); /* possible pointer size conversion */ in linux_to_bsd_v4l_buffer()
2806 vb->height = lvb->height; in linux_to_bsd_v4l_buffer()
2807 vb->width = lvb->width; in linux_to_bsd_v4l_buffer()
2808 vb->depth = lvb->depth; in linux_to_bsd_v4l_buffer()
2809 vb->bytesperline = lvb->bytesperline; in linux_to_bsd_v4l_buffer()
2814 bsd_to_linux_v4l_buffer(struct video_buffer *vb, struct l_video_buffer *lvb) in bsd_to_linux_v4l_buffer() argument
2816 lvb->base = PTROUT(vb->base); /* possible pointer size conversion */ in bsd_to_linux_v4l_buffer()
2817 lvb->height = vb->height; in bsd_to_linux_v4l_buffer()
2818 lvb->width = vb->width; in bsd_to_linux_v4l_buffer()
[all …]
/freebsd/sys/dev/firewire/
H A Dfwcam.c593 struct video_buf *vb; in fwcam_frame_done() local
595 vb = video_buf_acquire(sc->sc_vd); in fwcam_frame_done()
596 if (vb == NULL) in fwcam_frame_done()
599 if (video_buf_write(vb, 0, sc->frame_buf, sc->frame_offset) != 0) { in fwcam_frame_done()
600 video_buf_error(vb); in fwcam_frame_done()
603 video_buf_done(vb, sc->frame_offset, sc->sc_sequence++); in fwcam_frame_done()
645 struct video_buf *vb; in fwcam_iso_input() local
647 vb = video_buf_acquire(sc->sc_vd); in fwcam_iso_input()
648 if (vb != NULL) in fwcam_iso_input()
649 video_buf_error(vb); in fwcam_iso_input()
[all …]
/freebsd/crypto/openssl/include/openssl/
H A Dsrp.h.in113 void SRP_VBASE_free(SRP_VBASE *vb);
115 int SRP_VBASE_init(SRP_VBASE *vb, char *verifier_file);
118 int SRP_VBASE_add0_user(SRP_VBASE *vb, SRP_user_pwd *user_pwd);
122 SRP_user_pwd *SRP_VBASE_get1_by_user(SRP_VBASE *vb, char *username);
212 SRP_user_pwd *SRP_VBASE_get_by_user(SRP_VBASE *vb, char *username);
H A Dsrp.h184 void SRP_VBASE_free(SRP_VBASE *vb);
186 int SRP_VBASE_init(SRP_VBASE *vb, char *verifier_file);
189 int SRP_VBASE_add0_user(SRP_VBASE *vb, SRP_user_pwd *user_pwd);
193 SRP_user_pwd *SRP_VBASE_get1_by_user(SRP_VBASE *vb, char *username);
283 SRP_user_pwd *SRP_VBASE_get_by_user(SRP_VBASE *vb, char *username);
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dml_common_codecs.c16 static int pref_cmp(const void *va, const void *vb) in pref_cmp() argument
19 const ML_COMMON_PKCS8_FMT_PREF *b = vb; in pref_cmp()
/freebsd/tests/sys/netpfil/pf/
H A Daltq.sh312 vb=$(jexec ${j}b ifconfig vlan create)
314 jexec ${j}b ifconfig ${vb} vlan 42 vlandev ${epair}b up
315 jexec ${j}b ifconfig ${vb} inet 192.0.2.2/24
/freebsd/usr.sbin/virtual_oss/virtual_oss/
H A Dmul.c160 voss_x3_multiply_double(const int64_t *va, const double *vb, double *pc, const size_t max) in voss_x3_multiply_double() argument
172 input[x].b = vb[x]; in voss_x3_multiply_double()
/freebsd/sys/dev/vt/hw/vga/
H A Dvt_vga.c613 const struct vt_buf *vb; in vga_bitblt_one_text_pixels_block() local
623 vb = &vw->vw_buf; in vga_bitblt_one_text_pixels_block()
662 c = VTBUF_GET_FIELD(vb, row, col); in vga_bitblt_one_text_pixels_block()
665 vt_determine_colors(c, VTBUF_ISCURSOR(vb, row, col), &fg, &bg); in vga_bitblt_one_text_pixels_block()
868 const struct vt_buf *vb; in vga_bitblt_text_txtmode() local
876 vb = &vw->vw_buf; in vga_bitblt_text_txtmode()
886 c = VTBUF_GET_FIELD(vb, row, col); in vga_bitblt_text_txtmode()
887 vt_determine_colors(c, VTBUF_ISCURSOR(vb, row, col), in vga_bitblt_text_txtmode()
/freebsd/tests/sys/netpfil/common/
H A Ddummynet.sh229 vb=$(jexec ${j}b ifconfig vlan create vlan 42 vlandev ${epair}b)
230 jexec ${j}b ifconfig ${vb} 192.0.2.2/24 up #mtu 8000
248 jexec ${j}b ifconfig ${vb} destroy
/freebsd/sys/dev/usb/video/
H A Duvideo.c2449 struct video_buf *vb; in uvideo_isoc_decode() local
2451 vb = video_buf_acquire(sc->sc_vd); in uvideo_isoc_decode()
2452 if (vb != NULL) in uvideo_isoc_decode()
2453 video_buf_error(vb); in uvideo_isoc_decode()
2609 struct video_buf *vb; in uvideo_vs_decode_stream_header() local
2611 vb = video_buf_acquire(sc->sc_vd); in uvideo_vs_decode_stream_header()
2612 if (vb != NULL) in uvideo_vs_decode_stream_header()
2613 video_buf_error(vb); in uvideo_vs_decode_stream_header()
2658 struct video_buf *vb; in uvideo_frame_done() local
2660 vb = video_buf_acquire(sc->sc_vd); in uvideo_frame_done()
[all …]
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_swp.h102 #define DPAA2_SWP_CENA_RR(vb) (0x700 + ((uint32_t)(vb) >> 1)) argument
/freebsd/share/termcap/
H A Dtermcap295 :us=\E[4m:vb=^G:bc=\E[D:
676 :vb=\EU\EX\EU\EX\EU\EX\EU\EX:k6=^A6^M:k7=^A7^M:k8=^A8^M:k9=^A9^M:\
692 :vb=\EK0001??0000K0001202080\001:\
702 :vb=\EK0001??0000K0001202080\001:\
727 …:vb=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200…
735 …:vb=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200…
736 cit101:li#24:vb@:tc=citc:
754 :vb=\E^G:so=\EU!:se=\EV!:us=\EU":ue=\EV":cd=\EJ:\
759 :up=\EA:vb=\E^G:am:ul:pt:eo:
792 :vb=\Eb\200\200\Ed:\
[all …]
/freebsd/crypto/openssl/apps/include/
H A Ds_apps.h107 SRP_VBASE *vb; member
/freebsd/sys/contrib/openzfs/tests/unit/
H A Dtest_zap.c268 uint64_t vb = 2, vbr = 0; in test_zap_add() local
269 unit_ok(zap_add_by_dnode(dn, "b", sizeof (uint64_t), 1, &vb, tx)); in test_zap_add()
345 uint64_t va = 1, vb = 2; in test_zap_remove() local
347 unit_ok(zap_add_by_dnode(dn, "b", sizeof (uint64_t), 1, &vb, tx)); in test_zap_remove()

12