| /openbsd/src/gnu/llvm/llvm/include/llvm/IR/ |
| D | VPIntrinsics.def | 158 // llvm.vp.add(x,y,mask,vlen) 161 // llvm.vp.and(x,y,mask,vlen) 164 // llvm.vp.ashr(x,y,mask,vlen) 167 // llvm.vp.lshr(x,y,mask,vlen) 170 // llvm.vp.mul(x,y,mask,vlen) 173 // llvm.vp.or(x,y,mask,vlen) 176 // llvm.vp.sdiv(x,y,mask,vlen) 179 // llvm.vp.shl(x,y,mask,vlen) 182 // llvm.vp.srem(x,y,mask,vlen) 185 // llvm.vp.sub(x,y,mask,vlen) [all …]
|
| /openbsd/src/usr.sbin/tcpdump/ |
| D | print-lldp.c | 300 int n, type, vlen; in lldp_print() local 309 vlen = tlv & 0x1ff; in lldp_print() 310 n += vlen; in lldp_print() 313 TCHECK2(*ptr, vlen); in lldp_print() 322 lldp_print_id(type, ptr, vlen); in lldp_print() 327 lldp_print_id(type, ptr, vlen); in lldp_print() 332 if (vlen != 2) { in lldp_print() 333 printf(" unexpected len %d", vlen); in lldp_print() 341 lldp_print_str(ptr, vlen); in lldp_print() 346 lldp_print_str(ptr, vlen); in lldp_print() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/lib/Tie/ |
| D | SubstrHash.pm | 47 my ($pack, $klen, $vlen, $tsize) = @_; 48 my $rlen = 1 + $klen + $vlen; 50 my $self = bless ["\0", $klen, $vlen, $tsize, $rlen, 0, -1]; 64 my (undef, $klen, $vlen, $tsize, $rlen) = @$self; 75 return substr($record, 1+$klen, $vlen); 83 my (undef, $klen, $vlen, $tsize, $rlen) = @$self; 85 croak(qq/Value "$val" is not $vlen characters long/) 86 if length($val) != $vlen; 116 my (undef, $klen, $vlen, $tsize, $rlen) = @$self; 128 return substr($record, 1+$klen, $vlen); [all …]
|
| /openbsd/src/usr.sbin/bgpd/ |
| D | flowspec.c | 33 int vlen = 0; in flowspec_next_component() local 39 *type = buf[vlen]; in flowspec_next_component() 40 vlen++; in flowspec_next_component() 49 if (len < vlen + 1) in flowspec_next_component() 51 plen = buf[vlen]; in flowspec_next_component() 52 vlen += PREFIX_SIZE(plen); in flowspec_next_component() 53 if (plen > 32 || len < vlen) in flowspec_next_component() 57 if (len < vlen + 2) in flowspec_next_component() 59 plen = buf[vlen]; in flowspec_next_component() 60 off = buf[vlen + 1]; in flowspec_next_component() [all …]
|
| /openbsd/src/sys/ddb/ |
| D | db_ctf.c | 144 uint16_t *fsp, kind, vlen; in db_ctf_func_numargs() local 160 vlen = CTF_INFO_VLEN(*fsp); in db_ctf_func_numargs() 163 if (kind == CTF_K_UNKNOWN && vlen == 0) in db_ctf_func_numargs() 170 for (i = 0; i < vlen; i++) in db_ctf_func_numargs() 174 return vlen; in db_ctf_func_numargs() 186 uint16_t kind, vlen, i; in db_ctf_type_len() local 191 vlen = CTF_INFO_VLEN(ctt->ctt_info); in db_ctf_type_len() 215 tlen += (vlen + (vlen & 1)) * sizeof(uint16_t); in db_ctf_type_len() 220 for (i = 0; i < vlen; i++) { in db_ctf_type_len() 224 for (i = 0; i < vlen; i++) { in db_ctf_type_len() [all …]
|
| /openbsd/src/gnu/usr.sbin/mkhybrid/src/ |
| D | volume.c | 35 AlcSiz(int vlen) in AlcSiz() argument 40 lpa = 1 + vlen / 65536; in AlcSiz() 54 XClpSiz(int vlen) in XClpSiz() argument 62 drAlBlkSiz = AlcSiz(vlen); in XClpSiz() 65 vbmsz = (vlen / lpa + 4095) / 4096; in XClpSiz() 66 drNmAlBlks = (vlen - 5 - vbmsz) / lpa; in XClpSiz() 73 olpa = 1 + vlen / 65536; in XClpSiz() 162 int vlen, vblen; /* vol length (bytes, blocks) */ in FDECL2() local 199 if ((vlen = get_adj_size(Csize)) < 0) { in FDECL2() 204 vlen += V_ROUND_UP(start_extent * SECTOR_SIZE, Csize); in FDECL2() [all …]
|
| /openbsd/src/usr.bin/locate/locate/ |
| D | util.c | 79 int vlen, slen; in colon() local 96 for (vlen = 0, pv = dbv; *pv != NULL; pv++, vlen++) in colon() 117 if ((newdbv = reallocarray(dbv, vlen + 2, in colon() 121 *(dbv + vlen) = p; in colon() 122 *(dbv + ++vlen) = NULL; in colon()
|
| /openbsd/src/sbin/isakmpd/ |
| D | vendor.c | 113 ssize_t vlen; in check_vendor_openbsd() local 121 vlen = GET_ISAKMP_GEN_LENGTH(pbuf) - ISAKMP_GEN_SZ; in check_vendor_openbsd() 124 if (vlen != openbsd_vendor_cap[i].hashsize) { in check_vendor_openbsd() 127 (unsigned long)vlen, in check_vendor_openbsd() 132 vlen) == 0) { in check_vendor_openbsd()
|
| D | dpd.c | 100 size_t vlen; in dpd_check_vendor_payload() local 109 vlen = GET_ISAKMP_GEN_LENGTH(pbuf) - ISAKMP_GEN_SZ; in dpd_check_vendor_payload() 110 if (vlen != sizeof dpd_vendor_id) { in dpd_check_vendor_payload() 113 (unsigned long)vlen, (unsigned long)sizeof dpd_vendor_id)); in dpd_check_vendor_payload() 117 if (memcmp(dpd_vendor_id, pbuf + ISAKMP_GEN_SZ, vlen) == 0) { in dpd_check_vendor_payload()
|
| D | nat_traversal.c | 185 size_t vlen; in nat_t_check_vendor_payload() local 191 vlen = GET_ISAKMP_GEN_LENGTH(pbuf) - ISAKMP_GEN_SZ; in nat_t_check_vendor_payload() 194 if (vlen != isakmp_nat_t_cap[i].hashsize) { in nat_t_check_vendor_payload() 198 vlen) == 0) { in nat_t_check_vendor_payload()
|
| /openbsd/src/usr.bin/ctfdump/ |
| D | ctfdump.c | 388 uint16_t *fsp, kind, vlen; in ctf_dump() local 400 vlen = CTF_INFO_VLEN(*fsp); in ctf_dump() 405 if (kind == CTF_K_UNKNOWN && vlen == 0) in ctf_dump() 412 while (vlen-- > 0 && fsp < fend) in ctf_dump() 413 printf("%u%s", *fsp++, (vlen > 0) ? ", " : ""); in ctf_dump() 460 uint16_t *argp, i, kind, vlen, root; in ctf_dump_type() local 466 vlen = CTF_INFO_VLEN(ctt->ctt_info); in ctf_dump_type() 513 for (i = 1; i < vlen; i++) { in ctf_dump_type() 521 toff += (vlen + (vlen & 1)) * sizeof(uint16_t); in ctf_dump_type() 528 for (i = 0; i < vlen; i++) { in ctf_dump_type() [all …]
|
| /openbsd/src/usr.sbin/amd/amd/ |
| D | opts.c | 529 int vlen = strlen(val); in expand_op() local 535 vlen = vptr - val; in expand_op() 542 vlen = strlen(vptr); in expand_op() 550 vlen = strlen(vptr); in expand_op() 553 vlen = 0; in expand_op() 559 vlen = vptr - val; in expand_op() 568 if (BUFSPACE(ep, vlen)) { in expand_op() 593 int vlen = strlen(env); in expand_op() local 595 if (BUFSPACE(ep, vlen)) { in expand_op()
|
| /openbsd/src/lib/libcrypto/asn1/ |
| D | asn1_gen.c | 122 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass); 280 int vlen = 0; in asn1_cb() local 289 vlen = len - (vstart - elem); in asn1_cb() 323 if (!parse_tagging(vstart, vlen, &arg->imp_tag, in asn1_cb() 329 if (!parse_tagging(vstart, vlen, &tmp_tag, &tmp_class)) in asn1_cb() 380 parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass) in parse_tagging() argument 389 if (eptr && *eptr && (eptr > vstart + vlen)) in parse_tagging() 398 vlen -= eptr - vstart; in parse_tagging() 400 vlen = 0; in parse_tagging() 401 if (vlen) { in parse_tagging()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/VE/ |
| D | VVPInstrInfo.td | 129 (ops node:$lhs, node:$rhs, node:$mask, node:$vlen), 130 [(RootOp node:$lhs, node:$rhs, node:$mask, node:$vlen), 131 (RootOp node:$rhs, node:$lhs, node:$mask, node:$vlen)]>; 135 (ops node:$X, node:$Y, node:$Z, node:$mask, node:$vlen), 136 [(RootOp node:$X, node:$Y, node:$Z, node:$mask, node:$vlen), 137 (RootOp node:$X, node:$Z, node:$Y, node:$mask, node:$vlen)]>;
|
| /openbsd/src/lib/libc/sys/ |
| D | w_sendmmsg.c | 22 sendmmsg(int s, struct mmsghdr *mmsg, unsigned int vlen, int flags) in sendmmsg() argument 27 ret = HIDDEN(sendmmsg)(s, mmsg, vlen, flags); in sendmmsg()
|
| D | w_recvmmsg.c | 22 recvmmsg(int fd, struct mmsghdr *mmsg, unsigned int vlen, int flags, in recvmmsg() argument 28 ret = HIDDEN(recvmmsg)(fd, mmsg, vlen, flags, ts); in recvmmsg()
|
| /openbsd/src/usr.bin/ctfconv/ |
| D | generate.c | 142 int kind, root, vlen; in imcs_add_func() local 144 vlen = it->it_nelems; in imcs_add_func() 148 func = (kind << 11) | (root << 10) | (vlen & CTF_MAX_VLEN); in imcs_add_func() 182 int kind, root, vlen; in imcs_add_type() local 186 vlen = it->it_nelems; in imcs_add_type() 192 ctt.ctt_info = (kind << 11) | (root << 10) | (vlen & CTF_MAX_VLEN); in imcs_add_type() 279 if (vlen & 1) { in imcs_add_type()
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Unicode-Collate/ |
| D | Collate.xs | 468 STRLEN dlen, vlen; variable 521 v = (U8*)SvPV(*svp, vlen); 525 if (vlen < VCE_Length) /* ignore short VCE (unexpected) */ 623 STRLEN alen, vlen; variable 639 v = (U8*)SvPV(vce, vlen); 641 dst = newSV(vlen); 644 Copy(v, d, vlen, U8); 645 SvCUR_set(dst, vlen); 646 d[vlen] = '\0'; 656 if (vlen >= VCE_Length && *a != 'n') {
|
| /openbsd/src/usr.sbin/pcidump/ |
| D | pcidump.c | 380 size_t vlen; in print_vpd() local 389 vlen = vpd->vpd_len; in print_vpd() 396 if (len < vlen) in print_vpd() 398 print_bytes(buf, vlen); in print_vpd() 400 buf += vlen; in print_vpd() 401 len -= vlen; in print_vpd() 431 size_t hlen, vlen; in dump_vpd() local 455 vlen = ((size_t)res->vpdres_len_msb << 8) | in dump_vpd() 472 vlen = PCI_VPDRES_SMALL_LENGTH(vpd); in dump_vpd() 477 if (len < vlen) in dump_vpd() [all …]
|
| /openbsd/src/sys/net/ |
| D | radix.c | 241 int vlen, matched_off; in rn_match() local 257 vlen = SALEN(t->rn_mask); in rn_match() 259 vlen = SALEN(v); in rn_match() 262 cplim = v + vlen; in rn_match() 370 int vlen, cmp_res; in rn_insert() local 372 vlen = SALEN(v); in rn_insert() 375 cplim = v + vlen; in rn_insert() 913 int vlen; in rn_delete() local 915 vlen = SALEN(v); in rn_delete() 924 if (memcmp(v + off, tt->rn_key + off, vlen - off)) in rn_delete()
|
| /openbsd/src/gnu/llvm/compiler-rt/include/sanitizer/ |
| D | linux_syscall_hooks.h | 957 #define __sanitizer_syscall_pre_readv(fd, vec, vlen) \ argument 958 __sanitizer_syscall_pre_impl_readv((long)(fd), (long)(vec), (long)(vlen)) 959 #define __sanitizer_syscall_post_readv(res, fd, vec, vlen) \ argument 961 (long)(vlen)) 967 #define __sanitizer_syscall_pre_writev(fd, vec, vlen) \ argument 968 __sanitizer_syscall_pre_impl_writev((long)(fd), (long)(vec), (long)(vlen)) 969 #define __sanitizer_syscall_post_writev(res, fd, vec, vlen) \ argument 971 (long)(vlen)) 1001 #define __sanitizer_syscall_pre_preadv(fd, vec, vlen, pos_l, pos_h) \ argument 1002 __sanitizer_syscall_pre_impl_preadv((long)(fd), (long)(vec), (long)(vlen), \ [all …]
|
| /openbsd/src/gnu/usr.sbin/mkhybrid/src/libhfs_iso/ |
| D | hfs.c | 103 vol->vlen = 0; in hfs_mount() 203 if (vol->vlen == 0) in hfs_mount() 204 vol->vlen = vol->mdb.drAlBlSt + in hfs_mount() 323 long vbmsz = (vol->vlen / vol->lpa + 4095) / 4096; in hfs_umount() 482 vol.vlen = 0; in hfs_format() 518 vol.vlen = hce->hfs_vol_size/HFS_BLOCKSZ; in hfs_format() 536 vol.vlen = low + 1; in hfs_format() 540 if (vol.vlen < 800 * 1024 / HFS_BLOCKSZ) in hfs_format() 557 vol.lpa = 1 + vol.vlen / 65536; in hfs_format() 560 vbmsz = (vol.vlen / vol.lpa + 4095) / 4096; in hfs_format() [all …]
|
| /openbsd/src/usr.bin/ssh/ |
| D | kex.c | 423 const u_char *value, size_t vlen) in kex_ext_info_client_parse() argument 430 if (memchr(value, '\0', vlen) != NULL) { in kex_ext_info_client_parse() 439 if ((r = kex_ext_info_check_ver(ssh->kex, name, value, vlen, in kex_ext_info_client_parse() 445 if ((r = kex_ext_info_check_ver(ssh->kex, name, value, vlen, in kex_ext_info_client_parse() 457 const u_char *value, size_t vlen) in kex_ext_info_server_parse() argument 462 if ((r = kex_ext_info_check_ver(ssh->kex, name, value, vlen, in kex_ext_info_server_parse() 479 size_t vlen; in kex_input_ext_info() local 498 if ((r = sshpkt_get_string(ssh, &val, &vlen)) != 0) { in kex_input_ext_info() 505 val, vlen)) != 0) in kex_input_ext_info() 509 val, vlen)) != 0) in kex_input_ext_info()
|
| /openbsd/src/sys/kern/ |
| D | uipc_syscalls.c | 617 unsigned int vlen, dgrams; in sys_sendmmsg() local 624 vlen = SCARG(uap, vlen); in sys_sendmmsg() 625 if (vlen > 1024) in sys_sendmmsg() 626 vlen = 1024; in sys_sendmmsg() 629 for (dgrams = 0; dgrams < vlen; dgrams++) { in sys_sendmmsg() 904 unsigned int vlen, dgrams; in sys_recvmmsg() local 927 vlen = SCARG(uap, vlen); in sys_recvmmsg() 928 if (vlen > 1024) in sys_recvmmsg() 929 vlen = 1024; in sys_recvmmsg() 932 for (dgrams = 0; dgrams < vlen;) { in sys_recvmmsg()
|
| /openbsd/src/gnu/llvm/llvm/docs/ |
| D | RISCVUsage.rst | 88 ``Zve32x`` (`Partially <#riscv-vlen-32-note>`__) Supported 89 ``Zve32f`` (`Partially <#riscv-vlen-32-note>`__) Supported 93 ``Zvl32b`` (`Partially <#riscv-vlen-32-note>`__) Supported 123 .. _riscv-vlen-32-note:
|