/netbsd/lib/libc/gen/ |
H A D | extattr.c | 143 if (vlen == -1) in extattr_copy_fd() 146 if (vlen > maxvlen) { in extattr_copy_fd() 149 maxvlen = vlen; in extattr_copy_fd() 157 aval, (size_t)vlen) != vlen) in extattr_copy_fd() 213 if (vlen == -1) in extattr_copy_file() 216 if (vlen > maxvlen) { in extattr_copy_file() 219 maxvlen = vlen; in extattr_copy_file() 227 aval, (size_t)vlen) != vlen) in extattr_copy_file() 283 if (vlen == -1) in extattr_copy_link() 289 maxvlen = vlen; in extattr_copy_link() [all …]
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | pkcs12.c | 54 int i, vlen; in PKCS12_key_gen() local 68 v = malloc(vlen + 1); in PKCS12_key_gen() 82 for (i = 0; i < vlen; i++) in PKCS12_key_gen() 84 size_I += vlen; in PKCS12_key_gen() 96 size_I += vlen; in PKCS12_key_gen() 108 for (i = 0; i < vlen; i++) in PKCS12_key_gen() 122 for (i = 0; i < vlen; i++) in PKCS12_key_gen() 131 for (i = 0; i < vlen * 2; i += vlen) { in PKCS12_key_gen() 140 if (j > vlen) { in PKCS12_key_gen() 141 assert(j == vlen + 1); in PKCS12_key_gen() [all …]
|
/netbsd/external/bsd/openldap/dist/include/ |
H A D | ldif.h | 55 #define LDIF_SIZE_NEEDED(nlen,vlen) LDIF_SIZE_NEEDED_WRAP(nlen, vlen, 0) argument 57 #define LDIF_SIZE_NEEDED_WRAP(nlen,vlen,wrap) \ argument 58 ((nlen) + 4 + LDIF_BASE64_LEN(vlen) \ 59 + ((wrap) == 0 ? ((LDIF_BASE64_LEN(vlen) + (nlen) + 3) / ( LDIF_LINE_WIDTH-1 ) * 2 ) : \ 67 ber_len_t *vlen )); 83 ber_len_t *vlen )); 140 ber_len_t vlen )); 148 ber_len_t vlen, 156 ber_len_t vlen )); 163 ber_len_t vlen, [all …]
|
/netbsd/tests/net/can/ |
H A D | t_can.c | 103 socklen_t vlen; in ATF_TC_BODY() local 118 vlen = sizeof(v); in ATF_TC_BODY() 120 &v, &vlen) < 0) { in ATF_TC_BODY() 127 vlen = sizeof(v); in ATF_TC_BODY() 129 &v, &vlen) < 0) { in ATF_TC_BODY() 177 socklen_t vlen; in ATF_TC_BODY() local 188 vlen = sizeof(v); in ATF_TC_BODY() 190 &v, &vlen) < 0) { in ATF_TC_BODY() 197 vlen = sizeof(v); in ATF_TC_BODY() 607 socklen_t vlen; in ATF_TC_BODY() local [all …]
|
/netbsd/external/gpl3/binutils/dist/libctf/ |
H A D | ctf-create.c | 268 for (i = 0; i < vlen; i++) in ctf_dtd_delete() 278 for (i = 0; i < vlen; i++) in ctf_dtd_delete() 475 if (vlen > 0) in ctf_add_generic() 723 ctf_array_t *vlen; in ctf_set_array() local 747 uint32_t vlen; in ctf_add_function() local 760 vlen = ctc->ctc_argc; in ctf_add_function() 768 if (vlen > CTF_MAX_VLEN) in ctf_add_function() 775 initial_vlen = (sizeof (uint32_t) * (vlen + (vlen & 1))); in ctf_add_function() 1073 if (vlen == CTF_MAX_VLEN) in ctf_add_enumerator() 1137 if (vlen == CTF_MAX_VLEN) in ctf_add_member_offset() [all …]
|
H A D | ctf-open.c | 152 return (sizeof (ctf_enum_t) * vlen); in get_vbytes_common() 176 return (sizeof (unsigned short) * (vlen + (vlen & 1))); in get_vbytes_v1() 180 return (sizeof (ctf_member_v1_t) * vlen); in get_vbytes_v1() 196 return (sizeof (uint32_t) * (vlen + (vlen & 1))); in get_vbytes_v2() 200 return (sizeof (ctf_member_t) * vlen); in get_vbytes_v2() 202 return (sizeof (ctf_lmember_t) * vlen); in get_vbytes_v2() 1042 uint32_t vlen; in flip_types() local 1112 for (i = vlen; i > 0; item++, i--) in flip_types() 1157 for (i = vlen; i > 0; i--, lm++) in flip_types() 1169 for (i = vlen; i > 0; i--, m++) in flip_types() [all …]
|
/netbsd/external/bsd/openldap/dist/libraries/libldap/ |
H A D | ldif.c | 447 ber_len_t vlen ) in ldif_sput() argument 458 ber_len_t vlen, in ldif_sput_wrap() argument 481 if( vlen ) { in ldif_sput_wrap() 513 if( vlen == 0 ) { in ldif_sput_wrap() 544 for ( i=0; i < vlen; i++ ) { in ldif_sput_wrap() 568 && isgraph( (unsigned char) val[vlen-1] ) in ldif_sput_wrap() 667 ber_len_t vlen ) in ldif_put() argument 677 ber_len_t vlen, in ldif_put_wrap() argument 702 ber_len_t vlen ) in ldif_is_not_printable() argument 704 if( vlen == 0 || val == NULL ) { in ldif_is_not_printable() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | VPIntrinsics.def | 106 // llvm.vp.add(x,y,mask,vlen) 109 // llvm.vp.and(x,y,mask,vlen) 112 // llvm.vp.ashr(x,y,mask,vlen) 115 // llvm.vp.lshr(x,y,mask,vlen) 118 // llvm.vp.mul(x,y,mask,vlen) 121 // llvm.vp.or(x,y,mask,vlen) 124 // llvm.vp.sdiv(x,y,mask,vlen) 127 // llvm.vp.shl(x,y,mask,vlen) 130 // llvm.vp.srem(x,y,mask,vlen) 133 // llvm.vp.sub(x,y,mask,vlen) [all …]
|
/netbsd/external/gpl3/gdb/dist/libctf/ |
H A D | ctf-open.c | 155 return (sizeof (ctf_enum_t) * vlen); in get_vbytes_common() 179 return (sizeof (unsigned short) * (vlen + (vlen & 1))); in get_vbytes_v1() 183 return (sizeof (ctf_member_v1_t) * vlen); in get_vbytes_v1() 199 return (sizeof (uint32_t) * (vlen + (vlen & 1))); in get_vbytes_v2() 203 return (sizeof (ctf_member_t) * vlen); in get_vbytes_v2() 205 return (sizeof (ctf_lmember_t) * vlen); in get_vbytes_v2() 238 uint32_t info, vlen; in init_symtab() local 291 vlen = LCTF_INFO_VLEN (fp, info); in init_symtab() 1104 for (i = vlen; i > 0; item++, i--) in flip_types() 1149 for (i = vlen; i > 0; i--, lm++) in flip_types() [all …]
|
/netbsd/external/gpl3/binutils.old/dist/libctf/ |
H A D | ctf-open.c | 145 size_t vlen) in get_vbytes_common() argument 155 return (sizeof (ctf_enum_t) * vlen); in get_vbytes_common() 178 return (sizeof (unsigned short) * (vlen + (vlen & 1))); in get_vbytes_v1() 182 return (sizeof (ctf_member_v1_t) * vlen); in get_vbytes_v1() 198 return (sizeof (uint32_t) * (vlen + (vlen & 1))); in get_vbytes_v2() 202 return (sizeof (ctf_member_t) * vlen); in get_vbytes_v2() 204 return (sizeof (ctf_lmember_t) * vlen); in get_vbytes_v2() 237 uint32_t info, vlen; in init_symtab() local 290 vlen = LCTF_INFO_VLEN (fp, info); in init_symtab() 1130 for (i = vlen; i > 0; i--, lm++) in flip_types() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/libctf/ |
H A D | ctf-open.c | 155 return (sizeof (ctf_enum_t) * vlen); in get_vbytes_common() 179 return (sizeof (unsigned short) * (vlen + (vlen & 1))); in get_vbytes_v1() 183 return (sizeof (ctf_member_v1_t) * vlen); in get_vbytes_v1() 199 return (sizeof (uint32_t) * (vlen + (vlen & 1))); in get_vbytes_v2() 203 return (sizeof (ctf_member_t) * vlen); in get_vbytes_v2() 205 return (sizeof (ctf_lmember_t) * vlen); in get_vbytes_v2() 238 uint32_t info, vlen; in init_symtab() local 291 vlen = LCTF_INFO_VLEN (fp, info); in init_symtab() 1104 for (i = vlen; i > 0; item++, i--) in flip_types() 1149 for (i = vlen; i > 0; i--, lm++) in flip_types() [all …]
|
/netbsd/external/mit/libuv/dist/src/unix/ |
H A D | linux-syscalls.c | 145 int uv__sendmmsg(int fd, struct uv__mmsghdr* mmsg, unsigned int vlen) { in uv__sendmmsg() argument 152 args[2] = (unsigned long) vlen; in uv__sendmmsg() 163 return syscall(__NR_sendmmsg, fd, mmsg, vlen, /* flags */ 0); in uv__sendmmsg() 170 int uv__recvmmsg(int fd, struct uv__mmsghdr* mmsg, unsigned int vlen) { in uv__recvmmsg() argument 177 args[2] = (unsigned long) vlen; in uv__recvmmsg() 189 return syscall(__NR_recvmmsg, fd, mmsg, vlen, /* flags */ 0, /* timeout */ 0); in uv__recvmmsg()
|
/netbsd/external/cddl/osnet/dist/common/ctf/ |
H A D | ctf_open.c | 124 ushort_t info, vlen; in init_symtab() local 174 vlen = LCTF_INFO_VLEN(fp, info); in init_symtab() 182 vlen == 0) in init_symtab() 249 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1)); in init_types() 258 vbytes = sizeof (ctf_member_t) * vlen; in init_types() 259 for (n = vlen; n != 0; n--, mp++) in init_types() 266 for (n = vlen; n != 0; n--, lmp++) in init_types() 272 vbytes = sizeof (ctf_enum_t) * vlen; in init_types() 397 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1)); in init_types() 409 vbytes = sizeof (ctf_member_t) * vlen; in init_types() [all …]
|
H A D | ctf_create.c | 298 size += sizeof (ushort_t) * (vlen + (vlen & 1)); in ctf_update() 397 if (vlen & 1) in ctf_update() 799 uint_t vlen; in ctf_add_function() local 808 vlen = ctc->ctc_argc; in ctf_add_function() 812 if (vlen > CTF_MAX_VLEN) in ctf_add_function() 827 if (vlen != 0 && (vdat = ctf_alloc(sizeof (ctf_id_t) * vlen)) == NULL) in ctf_add_function() 1001 uint_t kind, vlen, root; in ctf_add_enumerator() local 1020 if (vlen == CTF_MAX_VLEN) in ctf_add_enumerator() 1058 uint_t kind, vlen, root; in ctf_add_member() local 1074 if (vlen == CTF_MAX_VLEN) in ctf_add_member() [all …]
|
/netbsd/external/cddl/osnet/dev/fbt/ |
H A D | fbt.c | 457 ushort_t vlen; in fbt_ctfoff_init() local 529 vlen = CTF_INFO_VLEN(info); in fbt_ctfoff_init() 619 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1)); in fbt_typoff_init() 627 vbytes = sizeof (ctf_member_t) * vlen; in fbt_typoff_init() 628 for (n = vlen; n != 0; n--, mp++) in fbt_typoff_init() 635 for (n = vlen; n != 0; n--, lmp++) in fbt_typoff_init() 641 vbytes = sizeof (ctf_enum_t) * vlen; in fbt_typoff_init() 708 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1)); in fbt_typoff_init() 717 for (n = vlen; n != 0; n--, mp++) in fbt_typoff_init() 724 for (n = vlen; n != 0; n--, lmp++) in fbt_typoff_init() [all …]
|
/netbsd/external/bsd/pcc/dist/pcc/f77/fcom/ |
H A D | data.c | 55 ftnint elen, vlen; local 79 p = nextdata(&elen, &vlen); 86 setdata(p, valp, elen, vlen); 233 LOCAL void setdata(varp, valp, elen, vlen) in setdata() argument 235 ftnint elen, vlen; 287 fprintf(initfile, datafmt, varname, offset, vlen, type); 305 fprintf(initfile, datafmt, varname, offset, vlen, type); 318 fprintf(initfile, datafmt, varname, offset++, vlen, TYCHAR); 324 fprintf(initfile, datafmt, varname, offset++, vlen, TYCHAR);
|
/netbsd/sys/ufs/chfs/ |
H A D | chfs_wbuf.c | 194 int vlen = invecs[invec].iov_len; in chfs_write_wbuf() local 198 wbuf_retlen = chfs_fill_wbuf(chmp, v, vlen); in chfs_write_wbuf() 206 vlen -= wbuf_retlen; in chfs_write_wbuf() 213 if (vlen >= chmp->chm_wbuf_pagesize) { in chfs_write_wbuf() 214 ret = chfs_write_leb(chmp, lnr, v, outvec_to, PAGE_DIV(vlen), &wbuf_retlen); in chfs_write_wbuf() 215 vlen -= wbuf_retlen; in chfs_write_wbuf() 223 wbuf_retlen = chfs_fill_wbuf(chmp, v, vlen); in chfs_write_wbuf()
|
/netbsd/external/ibm-public/postfix/dist/src/util/ |
H A D | dict_cdb.c | 103 unsigned vlen; in dict_cdbq_lookup() local 146 vlen = cdb_datalen(&dict_cdbq->cdb); in dict_cdbq_lookup() 147 if (len < vlen) { in dict_cdbq_lookup() 149 buf = mymalloc(vlen + 1); in dict_cdbq_lookup() 151 buf = myrealloc(buf, vlen + 1); in dict_cdbq_lookup() 152 len = vlen; in dict_cdbq_lookup() 154 if (cdb_read(&dict_cdbq->cdb, buf, vlen, in dict_cdbq_lookup() 157 buf[vlen] = '\0'; in dict_cdbq_lookup()
|
/netbsd/external/bsd/am-utils/dist/amd/ |
H A D | opts.c | 1201 int vlen = strlen(val); in expand_op() local 1207 vlen = vptr - val; in expand_op() 1214 vlen = strlen(vptr); in expand_op() 1222 vlen = strlen(vptr); in expand_op() 1225 vlen = 0; in expand_op() 1231 vlen = vptr - val; in expand_op() 1245 ep += vlen; in expand_op() 1271 int vlen = strlen(env); in expand_op() local 1273 if (BUFSPACE(ep, vlen+1)) { in expand_op() 1275 ep += vlen; in expand_op() [all …]
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | ctfc.cc | 618 uint32_t kind, vlen, root; in ctf_add_enumerator() local 629 vlen = CTF_V2_INFO_VLEN (dtd->dtd_data.ctti_info); in ctf_add_enumerator() 668 uint32_t kind, vlen, root; in ctf_add_member_offset() local 675 vlen = CTF_V2_INFO_VLEN (dtd->dtd_data.ctti_info); in ctf_add_member_offset() 678 gcc_assert (vlen < CTF_MAX_VLEN); in ctf_add_member_offset() 687 if (kind == CTF_K_STRUCT && vlen != 0) in ctf_add_member_offset() 751 uint32_t vlen; in ctf_add_function_arg() local 757 gcc_assert (vlen); in ctf_add_function_arg() 784 uint32_t vlen; in ctf_add_function() local 788 vlen = ctc->ctc_argc; in ctf_add_function() [all …]
|
/netbsd/lib/libbluetooth/ |
H A D | sdp_compat.c | 168 uint32_t const *ap, uint32_t vlen, sdp_attr_t *vp) in sdp_search() argument 223 while (vlen > 0 && sdp_get_seq(&rsp, &seq)) { in sdp_search() 224 while (vlen > 0 && sdp_get_attr(&seq, &attr, &value)) { in sdp_search() 227 if (value.end - value.next > (ssize_t)vp->vlen) { in sdp_search() 231 vp->vlen = value.end - value.next; in sdp_search() 233 memcpy(vp->value, value.next, vp->vlen); in sdp_search() 239 vlen--; in sdp_search() 243 while (vlen-- > 0) in sdp_search()
|
/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | ob.d | 1209 const vlen = obstate.vars.length; in allocStates() local 1217 ob.gen = p[0 .. vlen]; p += vlen; in allocStates() 1218 ob.input = p[0 .. vlen]; p += vlen; in allocStates() 1219 ob.output = p[0 .. vlen]; p += vlen; in allocStates() 1597 foreach (i; 0 .. vlen) in genKill() 1871 const vlen = obstate.vars.length; in doDataFlowAnalysis() local 1873 pvs.deps.length = vlen; in doDataFlowAnalysis() 1919 foreach (i; 0 .. vlen) in doDataFlowAnalysis() 2471 const vlen = obstate.vars.length; in checkObErrors() local 2475 pvs.deps.length = vlen; in checkObErrors() [all …]
|
/netbsd/external/cddl/osnet/dist/lib/libdtrace/common/ |
H A D | dt_subr.c | 74 size_t off, len, vlen, wlen; in dtrace_xstr2desc() local 90 vlen = 0; in dtrace_xstr2desc() 103 vlen = (size_t)(q + len - v); in dtrace_xstr2desc() 111 if (vlen > 2 && v[1] == '$') { in dtrace_xstr2desc() 112 vlen--; in dtrace_xstr2desc() 122 wlen = vlen - (w - v); in dtrace_xstr2desc() 128 vlen = strlen(v); in dtrace_xstr2desc() 133 } else if (vlen > 1) { in dtrace_xstr2desc() 134 char *vstr = alloca(vlen); in dtrace_xstr2desc() 137 (void) strncpy(vstr, v + 1, vlen - 1); in dtrace_xstr2desc() [all …]
|
/netbsd/sys/compat/netbsd32/ |
H A D | netbsd32_socket.c | 275 unsigned int vlen, flags, dg; in netbsd32_recvmmsg() local 303 vlen = SCARG(uap, vlen); in netbsd32_recvmmsg() 304 if (vlen > 1024) in netbsd32_recvmmsg() 305 vlen = 1024; in netbsd32_recvmmsg() 310 for (dg = 0; dg < vlen;) { in netbsd32_recvmmsg() 572 unsigned int vlen, flags, dg; in netbsd32_sendmmsg() local 579 vlen = SCARG(uap, vlen); in netbsd32_sendmmsg() 580 if (vlen > 1024) in netbsd32_sendmmsg() 581 vlen = 1024; in netbsd32_sendmmsg() 585 for (dg = 0; dg < vlen;) { in netbsd32_sendmmsg()
|
/netbsd/external/bsd/wpa/dist/src/eap_common/ |
H A D | eap_eke_common.c | 214 size_t vlen[3]; in eap_eke_prf_hmac_sha1() local 219 vlen[0] = SHA1_MAC_LEN; in eap_eke_prf_hmac_sha1() 221 vlen[1] = data_len; in eap_eke_prf_hmac_sha1() 223 vlen[2] = 1; in eap_eke_prf_hmac_sha1() 229 &vlen[1], hash); in eap_eke_prf_hmac_sha1() 231 ret = hmac_sha1_vector(key, key_len, 3, addr, vlen, in eap_eke_prf_hmac_sha1() 255 size_t vlen[3]; in eap_eke_prf_hmac_sha256() local 260 vlen[0] = SHA256_MAC_LEN; in eap_eke_prf_hmac_sha256() 262 vlen[1] = data_len; in eap_eke_prf_hmac_sha256() 264 vlen[2] = 1; in eap_eke_prf_hmac_sha256() [all …]
|