Home
last modified time | relevance | path

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

1234567

/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/srp/
H A Dsrp_vfy.c273 SRP_VBASE *vb = OPENSSL_malloc(sizeof(*vb)); in SRP_VBASE_new() local
275 if (vb == NULL) in SRP_VBASE_new()
277 if ((vb->users_pwd = sk_SRP_user_pwd_new_null()) == NULL in SRP_VBASE_new()
278 || (vb->gN_cache = sk_SRP_gN_cache_new_null()) == NULL) { in SRP_VBASE_new()
279 OPENSSL_free(vb); in SRP_VBASE_new()
282 vb->default_g = NULL; in SRP_VBASE_new()
283 vb->default_N = NULL; in SRP_VBASE_new()
284 vb->seed_key = NULL; in SRP_VBASE_new()
285 if ((seed_key != NULL) && (vb->seed_key = OPENSSL_strdup(seed_key)) == NULL) { in SRP_VBASE_new()
286 sk_SRP_user_pwd_free(vb->users_pwd); in SRP_VBASE_new()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/srp/
H A Dsrp_vfy.c280 SRP_VBASE *vb = OPENSSL_malloc(sizeof(*vb)); in SRP_VBASE_new() local
282 if (vb == NULL) in SRP_VBASE_new()
284 if ((vb->users_pwd = sk_SRP_user_pwd_new_null()) == NULL in SRP_VBASE_new()
285 || (vb->gN_cache = sk_SRP_gN_cache_new_null()) == NULL) { in SRP_VBASE_new()
286 sk_SRP_user_pwd_free(vb->users_pwd); in SRP_VBASE_new()
287 OPENSSL_free(vb); in SRP_VBASE_new()
290 vb->default_g = NULL; in SRP_VBASE_new()
291 vb->default_N = NULL; in SRP_VBASE_new()
292 vb->seed_key = NULL; in SRP_VBASE_new()
293 if ((seed_key != NULL) && (vb->seed_key = OPENSSL_strdup(seed_key)) == NULL) { in SRP_VBASE_new()
[all …]
/netbsd-src/sys/arch/evbarm/rpi/
H A Drpi_vcmbox.c155 struct vcmbox_temp_request vb; in vcmbox_read_temp() local
159 VCMBOX_INIT_REQUEST(vb); in vcmbox_read_temp()
160 VCMBOX_INIT_TAG(vb.vbt_temp, tag); in vcmbox_read_temp()
161 vb.vbt_temp.id = htole32(id); in vcmbox_read_temp()
162 error = bcmmbox_request(BCMMBOX_CHANARM2VC, &vb, sizeof(vb), &res); in vcmbox_read_temp()
165 if (!vcprop_buffer_success_p(&vb.vb_hdr) || in vcmbox_read_temp()
166 !vcprop_tag_success_p(&vb.vbt_temp.tag)) { in vcmbox_read_temp()
169 *val = le32toh(vb.vbt_temp.value); in vcmbox_read_temp()
178 struct vcmbox_clockrate_request vb; in vcmbox_read_clockrate() local
182 VCMBOX_INIT_REQUEST(vb); in vcmbox_read_clockrate()
[all …]
H A Dvcprop_subr.c640 } vb; in rpi_vchiq_init() local
644 VCPROP_INIT_REQUEST(vb); in rpi_vchiq_init()
645 VCPROP_INIT_TAG(vb.vbt_vchiq, tag); in rpi_vchiq_init()
646 vb.vbt_vchiq.base = *channelbasep; in rpi_vchiq_init()
648 error = bcmmbox_request(BCMMBOX_CHANARM2VC, &vb, sizeof(vb), &res); in rpi_vchiq_init()
652 if (!vcprop_buffer_success_p(&vb.vb_hdr) || in rpi_vchiq_init()
653 !vcprop_tag_success_p(&vb.vbt_vchiq.tag)) { in rpi_vchiq_init()
656 *channelbasep = vb.vbt_vchiq.base; in rpi_vchiq_init()
670 } vb; in rpi_notify_xhci_reset() local
674 VCPROP_INIT_REQUEST(vb); in rpi_notify_xhci_reset()
[all …]
/netbsd-src/sys/external/bsd/drm/dist/shared-core/
H A Dr600_blit.c1719 u32 *vb; in r600_blit_copy() local
1721 vb = (u32 *) ((char *)dev->agp_buffer_map->handle + in r600_blit_copy()
1762 vb = (u32 *) ((char *)dev->agp_buffer_map->handle + in r600_blit_copy()
1766 vb[0] = i2f(dst_x); in r600_blit_copy()
1767 vb[1] = 0; in r600_blit_copy()
1768 vb[2] = i2f(src_x); in r600_blit_copy()
1769 vb[3] = 0; in r600_blit_copy()
1771 vb[4] = i2f(dst_x); in r600_blit_copy()
1772 vb[5] = i2f(h); in r600_blit_copy()
1773 vb[6] = i2f(src_x); in r600_blit_copy()
[all …]
/netbsd-src/sys/arch/arm/broadcom/
H A Dbcm283x_platform.c393 } vb __cacheline_aligned = {
395 .vpb_len = htole32(sizeof(vb)),
401 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_fwrev)),
408 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_boardmodel)),
415 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_boardrev)),
422 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_macaddr)),
429 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_memory)),
436 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_serial)),
443 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_dmachan)),
450 .vpt_len = htole32(VCPROPTAG_LEN(vb.vbt_cmdline)),
[all …]
H A Dbcm2835_com_acpi.c150 struct vcmbox_clockrate_request vb; in bcmcom_acpi_get_clockrate() local
154 VCPROP_INIT_REQUEST(vb); in bcmcom_acpi_get_clockrate()
155 VCPROP_INIT_TAG(vb.vbt_clockrate, VCPROPTAG_GET_CLOCKRATE); in bcmcom_acpi_get_clockrate()
156 vb.vbt_clockrate.id = htole32(VCPROP_CLK_CORE); in bcmcom_acpi_get_clockrate()
157 error = bcmmbox_request(BCMMBOX_CHANARM2VC, &vb, sizeof(vb), &res); in bcmcom_acpi_get_clockrate()
162 if (!vcprop_buffer_success_p(&vb.vb_hdr) || in bcmcom_acpi_get_clockrate()
163 !vcprop_tag_success_p(&vb.vbt_clockrate.tag)) { in bcmcom_acpi_get_clockrate()
167 return le32toh(vb.vbt_clockrate.rate) * 2; in bcmcom_acpi_get_clockrate()
/netbsd-src/sys/external/bsd/drm2/dist/drm/via/
H A Dvia_dma.c69 *((uint32_t *)(vb)) = ((nReg) >> 2) | HALCYON_HEADER1; \
70 *((uint32_t *)(vb) + 1) = (nData); \
71 vb = ((uint32_t *)vb) + 2; \
78 *vb++ = (w1); \
79 *vb++ = (w2); \
275 uint32_t *vb; in via_dispatch_cmdbuffer() local
303 vb = via_check_dma(dev_priv, (cmd->size < 0x100) ? 0x102 : cmd->size); in via_dispatch_cmdbuffer()
304 if (vb == NULL) in via_dispatch_cmdbuffer()
307 memcpy(vb, dev_priv->pci_buf, cmd->size); in via_dispatch_cmdbuffer()
390 uint32_t * vb, int qw_count) in via_align_buffer() argument
[all …]
/netbsd-src/external/bsd/nvi/dist/cl/
H A Dcl_bsd.c40 static char *vb; /* Visible bell string. */ variable
99 if (vb != NULL) { in flash()
100 (void)tputs(vb, 1, cl_putchar); in flash()
193 if (vb != NULL)
194 free(vb);
195 vb = ((p = tigetstr("flash")) == (char *)-1) ?
/netbsd-src/sys/dev/
H A Dvideo.c1546 struct video_buffer *vb; in video_queue_buf() local
1570 vb = vs->vs_buf[userbuf->index]; in video_queue_buf()
1571 driverbuf = vb->vb_buf; in video_queue_buf()
1578 video_stream_enqueue(vs, vb); in video_queue_buf()
1596 struct video_buffer *vb; in video_dequeue_buf() local
1618 vb = video_stream_dequeue(vs); in video_dequeue_buf()
1619 if (vb == NULL) { in video_dequeue_buf()
1625 while ((vb = video_stream_dequeue(vs)) == NULL) { in video_dequeue_buf()
1639 memcpy(buf, vb->vb_buf, sizeof(*buf)); in video_dequeue_buf()
1796 struct video_buffer *vb; in videoread() local
[all …]
/netbsd-src/sys/dev/pci/
H A Dvga_pci.c340 struct vga_bar *vb; in vga_pci_mmap() local
344 vb = &psc->sc_bars[bar]; in vga_pci_mmap()
345 if (vb->vb_size == 0) in vga_pci_mmap()
347 if (offset >= vb->vb_base && in vga_pci_mmap()
348 offset < (vb->vb_base + vb->vb_size)) { in vga_pci_mmap()
350 return (bus_space_mmap(vc->hdl.vh_memt, vb->vb_base, in vga_pci_mmap()
351 (offset - vb->vb_base), prot, vb->vb_flags)); in vga_pci_mmap()
/netbsd-src/crypto/external/bsd/openssl/dist/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
/netbsd-src/sys/dev/raidframe/
H A Drf_psstatus.c292 RF_CallbackValueDesc_t *vb; in RealPrintPSStatusTable() local
301 for (vb = p->blockWaitList; vb; vb = vb->next) in RealPrintPSStatusTable()
303 for (vb = p->bufWaitList; vb; vb = vb->next) in RealPrintPSStatusTable()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Dwrite-catalog.c226 cmp_by_msgid (const void *va, const void *vb) in cmp_by_msgid() argument
229 const message_ty *b = *(const message_ty **) vb; in cmp_by_msgid()
255 cmp_filepos (const void *va, const void *vb) in cmp_filepos() argument
258 const lex_pos_ty *b = (const lex_pos_ty *) vb; in cmp_filepos()
292 cmp_by_filepos (const void *va, const void *vb) in cmp_by_filepos() argument
295 const message_ty *b = *(const message_ty **) vb; in cmp_by_filepos()
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dsrp.h75 void SRP_VBASE_free(SRP_VBASE *vb);
76 int SRP_VBASE_init(SRP_VBASE *vb, char *verifier_file);
79 DEPRECATEDIN_1_1_0(SRP_user_pwd *SRP_VBASE_get_by_user(SRP_VBASE *vb, char *username))
81 SRP_user_pwd *SRP_VBASE_get1_by_user(SRP_VBASE *vb, char *username);
/netbsd-src/sys/arch/sun3/dev/
H A Dif_ie_sebuf.c226 wmemset(void *vb, int val, size_t l) in wmemset() argument
228 uint8_t *b = vb; in wmemset()
233 return vb; in wmemset()
250 return vb; in wmemset()
H A Dif_ie_vme.c230 wmemset(void *vb, int val, size_t l) in wmemset() argument
232 uint8_t *b = vb; in wmemset()
237 return vb; in wmemset()
254 return vb; in wmemset()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgenopinit.cc50 pattern_cmp (const void *va, const void *vb) in pattern_cmp() argument
53 const optab_pattern *b = (const optab_pattern *)vb; in pattern_cmp()
58 optab_kind_cmp (const void *va, const void *vb) in optab_kind_cmp() argument
61 const optab_def *b = (const optab_def *)vb; in optab_kind_cmp()
69 optab_rcode_cmp (const void *va, const void *vb) in optab_rcode_cmp() argument
72 const optab_def *b = (const optab_def *)vb; in optab_rcode_cmp()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgenopinit.c50 pattern_cmp (const void *va, const void *vb) in pattern_cmp() argument
53 const optab_pattern *b = (const optab_pattern *)vb; in pattern_cmp()
58 optab_kind_cmp (const void *va, const void *vb) in optab_kind_cmp() argument
61 const optab_def *b = (const optab_def *)vb; in optab_kind_cmp()
69 optab_rcode_cmp (const void *va, const void *vb) in optab_rcode_cmp() argument
72 const optab_def *b = (const optab_def *)vb; in optab_rcode_cmp()
/netbsd-src/crypto/external/bsd/openssl/dist/apps/lib/
H A Dtlssrp_depr.c197 srp_callback_parm->vb = SRP_VBASE_new(srpuserseed); in set_up_srp_verifier_file()
201 if (srp_callback_parm->vb == NULL) { in set_up_srp_verifier_file()
206 SRP_VBASE_init(srp_callback_parm->vb, in set_up_srp_verifier_file()
223 srp_callback_parm->user = SRP_VBASE_get1_by_user(srp_callback_parm->vb, in lookup_srp_user()
/netbsd-src/sys/arch/macppc/dev/
H A Dbattery.c156 int len, vmax, pcharge, vb; in battery_update() local
194 vb = (buf[2] << 8) | buf[3]; in battery_update()
195 sc->sc_voltage = (vb * 265 + 72665) / 10; in battery_update()
199 vb += ((sc->sc_current - 200) * 15) / 100; in battery_update()
203 sc->sc_charge = (100 * vb) / vmax; in battery_update()
/netbsd-src/external/bsd/ntp/dist/libntp/
H A Dwork_fork.c51 void * vb, in netread() argument
55 char * b = vb; in netread()
67 return (size_t)(b - (char *)vb); in netread()
74 const void * vb, in netwrite() argument
78 const char * b = vb; in netwrite()
90 return (size_t)(b - (const char *)vb); in netwrite()
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Dsrp.h.in107 void SRP_VBASE_free(SRP_VBASE *vb);
109 int SRP_VBASE_init(SRP_VBASE *vb, char *verifier_file);
112 int SRP_VBASE_add0_user(SRP_VBASE *vb, SRP_user_pwd *user_pwd);
116 SRP_user_pwd *SRP_VBASE_get1_by_user(SRP_VBASE *vb, char *username);
206 SRP_user_pwd *SRP_VBASE_get_by_user(SRP_VBASE *vb, char *username);
/netbsd-src/sys/external/bsd/drm2/drm/
H A Ddrm_vma_manager.c42 drm_vma_node_compare(void *cookie __unused, const void *va, const void *vb) in drm_vma_node_compare() argument
45 const struct drm_vma_offset_node *const nb = vb; in drm_vma_node_compare()
75 drm_vma_file_compare(void *cookie __unused, const void *va, const void *vb) in drm_vma_file_compare() argument
78 const struct drm_vma_offset_file *const fb = vb; in drm_vma_file_compare()
/netbsd-src/sys/arch/sparc64/dev/
H A Dtadpmu.c292 uint8_t events, gs, vb; in tadpmu_events() local
300 vb = tadpmu_recv(); in tadpmu_events()
307 events, gs, vb); in tadpmu_events()
340 if (vb < TADPMU_BATT_DIS_CAP_CRIT) in tadpmu_events()
342 else if (vb < TADPMU_BATT_DIS_CAP_WARN) in tadpmu_events()

1234567