/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | VPIntrinsics.def | 170 // llvm.vp.add(x,y,mask,vlen) 173 // llvm.vp.and(x,y,mask,vlen) 176 // llvm.vp.ashr(x,y,mask,vlen) 179 // llvm.vp.lshr(x,y,mask,vlen) 182 // llvm.vp.mul(x,y,mask,vlen) 185 // llvm.vp.or(x,y,mask,vlen) 188 // llvm.vp.sdiv(x,y,mask,vlen) 191 // llvm.vp.shl(x,y,mask,vlen) 194 // llvm.vp.srem(x,y,mask,vlen) 197 // llvm.vp.sub(x,y,mask,vlen) [all …]
|
/freebsd/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_types.c | 63 uint_t kind, vlen; in ctf_get_ctt_info() local 70 vlen = CTF_V2_INFO_VLEN(ctt->ctt_info); in ctf_get_ctt_info() 76 vlen = CTF_V3_INFO_VLEN(ctt->ctt_info); in ctf_get_ctt_info() 83 *vlenp = vlen; in ctf_get_ctt_info() 189 uint_t kind, n, vlen; in ctf_member_iter() local 199 ctf_get_ctt_info(fp, tp, &kind, &vlen, NULL); in ctf_member_iter() 206 for (n = vlen; n != 0; n--, mp += increment) { in ctf_member_iter() 231 uint_t kind, n, vlen; in ctf_enum_iter() local 240 ctf_get_ctt_info(fp, tp, &kind, &vlen, NULL); in ctf_enum_iter() 248 for (n = vlen; n != 0; n--, ep++) { in ctf_enum_iter() [all …]
|
H A D | ctf_open.c | 259 uint_t info, vlen; in init_symtab() local 310 vlen = LCTF_INFO_VLEN(fp, info); in init_symtab() 318 vlen == 0) in init_symtab() 322 roundup2(fp->ctf_idwidth * (vlen + 2), 4); in init_symtab() 369 uint_t kind, n, type, vlen; in init_types() local 372 ctf_get_ctt_info(fp, tp, &kind, &vlen, NULL); in init_types() 387 vbytes = roundup2(fp->ctf_idwidth * vlen, 4); in init_types() 397 for (n = vlen; n != 0; n--, mp += increment1) { in init_types() 406 vbytes = sizeof (ctf_enum_t) * vlen; in init_types() 485 uint_t kind, type, vlen; in init_types() local [all …]
|
H A D | ctf_create.c | 312 uint_t vlen = LCTF_INFO_VLEN(fp, dtd->dtd_data.ctt_info); in ctf_update() local 337 size += roundup2(fp->ctf_idwidth * vlen, 4); in ctf_update() 345 vlen; in ctf_update() 348 vlen; in ctf_update() 353 vlen; in ctf_update() 356 vlen; in ctf_update() 360 size += sizeof (ctf_enum_t) * vlen; in ctf_update() 392 uint_t vlen = LCTF_INFO_VLEN(fp, dtd->dtd_data.ctt_info); in ctf_update() local 479 for (argc = 0; argc < vlen; in ctf_update() 488 for (argc = 0; argc < vlen; in ctf_update() [all …]
|
/freebsd/sys/cddl/dev/fbt/ |
H A D | fbt.c | 367 uint_t kind, info, vlen; in fbt_ctfoff_init() local 415 vlen = CTF_V2_INFO_VLEN(info); in fbt_ctfoff_init() 418 vlen = CTF_V3_INFO_VLEN(info); in fbt_ctfoff_init() 426 if (kind == CTF_K_UNKNOWN && vlen == 0) in fbt_ctfoff_init() 429 funcoff += idwidth * (vlen + 2); in fbt_ctfoff_init() 510 uint_t kind, vlen; in fbt_get_ctt_info() local 517 vlen = CTF_V2_INFO_VLEN(ctt->ctt_info); in fbt_get_ctt_info() 523 vlen = CTF_V3_INFO_VLEN(ctt->ctt_info); in fbt_get_ctt_info() 530 *vlenp = vlen; in fbt_get_ctt_info() 562 uint_t kind, type, vlen; in fbt_typoff_init() local [all …]
|
/freebsd/usr.bin/locate/locate/ |
H A D | util.c | 83 int vlen, slen; in colon() local 100 for(vlen = 0, pv = dbv; *pv != NULL; pv++, vlen++); in colon() 118 if ((dbv = realloc(dbv, sizeof(char *) * (vlen + 2))) in colon() 121 *(dbv + vlen) = p; in colon() 122 *(dbv + ++vlen) = NULL; in colon()
|
/freebsd/usr.sbin/ctld/ |
H A D | isns.c | 114 uint32_t vlen; in isns_req_add() local 116 vlen = len + ((len & 3) ? (4 - (len & 3)) : 0); in isns_req_add() 117 isns_req_getspace(req, sizeof(*tlv) + vlen); in isns_req_add() 120 be32enc(tlv->it_length, vlen); in isns_req_add() 122 if (vlen != len) in isns_req_add() 123 memset(&tlv->it_value[len], 0, vlen - len); in isns_req_add() 124 req->ir_usedlen += sizeof(*tlv) + vlen; in isns_req_add()
|
/freebsd/include/ssp/ |
H A D | socket.h | 100 (int s, struct mmsghdr *__restrict hdrvec, size_t vlen, int flags, 106 if (vecsz != (size_t)-1 && vecsz / sizeof(*hdrvec) < vlen) 109 for (i = 0; i < vlen; i++) { 113 return (__ssp_real(recvmmsg)(s, hdrvec, vlen, flags, timeout));
|
/freebsd/lib/libsdp/ |
H A D | search.c | 51 uint32_t vlen, sdp_attr_t *vp) in sdp_search() argument 297 for (; rsp_tmp < rsp && vlen > 0; ) { in sdp_search() 320 for (; len > 0 && vlen > 0; vp ++, vlen --) { in sdp_search() 400 if (alen <= vp->vlen) { in sdp_search() 402 vp->vlen = alen; in sdp_search() 406 memcpy(vp->value, rsp_tmp, vp->vlen); in sdp_search()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_subr.c | 69 size_t off, len, vlen, wlen; in dtrace_xstr2desc() local 85 vlen = 0; in dtrace_xstr2desc() 98 vlen = (size_t)(q + len - v); in dtrace_xstr2desc() 106 if (vlen > 2 && v[1] == '$') { in dtrace_xstr2desc() 107 vlen--; in dtrace_xstr2desc() 117 wlen = vlen - (w - v); in dtrace_xstr2desc() 123 vlen = strlen(v); in dtrace_xstr2desc() 128 } else if (vlen > 1) { in dtrace_xstr2desc() 129 char *vstr = alloca(vlen); in dtrace_xstr2desc() 132 (void) strncpy(vstr, v + 1, vlen - 1); in dtrace_xstr2desc() [all …]
|
/freebsd/usr.sbin/bluetooth/bthidcontrol/ |
H A D | sdp.c | 110 values[i].vlen = sizeof(buffer[i]); in hid_init_return_values() 162 hid_descriptor_length = values[i].vlen; in hid_sdp_query() 195 if (values[i].vlen != 3) in hid_sdp_query() 252 uint8_t *end = a->value + a->vlen; in hid_sdp_parse_protocol_descriptor_list() 360 uint8_t *end = a->value + a->vlen; in hid_sdp_parse_hid_descriptor() 451 a->vlen = len; in hid_sdp_parse_hid_descriptor() 466 if (a->vlen != 2 || a->value[0] != SDP_DATA_BOOL) in hid_sdp_parse_boolean()
|
/freebsd/contrib/wpa/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 …]
|
H A D | eap_gpsk_common.c | 46 size_t vlen[2]; in eap_gpsk_gkdf_cmac() local 51 vlen[0] = sizeof(ibuf); in eap_gpsk_gkdf_cmac() 53 vlen[1] = data_len; in eap_gpsk_gkdf_cmac() 60 if (omac1_aes_128_vector(psk, 2, addr, vlen, hash)) in eap_gpsk_gkdf_cmac() 81 size_t vlen[2]; in eap_gpsk_gkdf_sha256() local 86 vlen[0] = sizeof(ibuf); in eap_gpsk_gkdf_sha256() 88 vlen[1] = data_len; in eap_gpsk_gkdf_sha256() 95 if (hmac_sha256_vector(psk, 32, 2, addr, vlen, hash)) in eap_gpsk_gkdf_sha256()
|
/freebsd/sys/ddb/ |
H A D | db_pprint.c | 91 u_int vlen; in db_pprint_struct() local 99 vlen = CTF_V3_INFO_VLEN(type->ctt_info); in db_pprint_struct() 115 endp = mp + vlen; in db_pprint_struct() 138 endp = mp + vlen; in db_pprint_struct() 213 u_int vlen; in db_pprint_enum() local 218 vlen = CTF_V3_INFO_VLEN(type->ctt_info); in db_pprint_enum() 225 endp = ep + vlen; in db_pprint_enum()
|
H A D | db_ctf.c | 99 u_int vlen, kind, ssize; in db_ctf_type_size() local 102 vlen = CTF_V3_INFO_VLEN(t->ctt_info); in db_ctf_type_size() 120 kind_size = vlen * in db_ctf_type_size() 126 kind_size = vlen * sizeof(struct ctf_enum); in db_ctf_type_size() 129 kind_size = vlen * sizeof(uint32_t); in db_ctf_type_size()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctf.c | 757 get_ctt_info(ctf_header_t *h, void *v, uint_t *kind, uint_t *vlen, int *isroot) in get_ctt_info() argument 763 *vlen = CTF_V2_INFO_VLEN(ctt->ctt_info); in get_ctt_info() 769 *vlen = CTF_V3_INFO_VLEN(ctt->ctt_info); in get_ctt_info() 813 uint_t vlen, kind; in count_types() local 816 get_ctt_info(h, v, &kind, &vlen, &isroot); in count_types() 831 dptr += idwidth * vlen; in count_types() 844 vlen; in count_types() 847 vlen; in count_types() 851 vlen; in count_types() 854 vlen; in count_types() [all …]
|
/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_data.c | 593 size_t vlen; in bhnd_nvram_data_generic_rp_getvar() local 600 vptr = bhnd_nvram_data_getvar_ptr_info(nv, cookiep, &vlen, &vtype, in bhnd_nvram_data_generic_rp_getvar() 606 error = bhnd_nvram_val_init(&val, fmt, vptr, vlen, vtype, in bhnd_nvram_data_generic_rp_getvar() 659 size_t vlen; in bhnd_nvram_data_generic_rp_copy_val() local 665 vptr = bhnd_nvram_data_getvar_ptr_info(nv, cookiep, &vlen, &vtype, in bhnd_nvram_data_generic_rp_copy_val() 671 return (bhnd_nvram_val_new(value, fmt, vptr, vlen, vtype, in bhnd_nvram_data_generic_rp_copy_val()
|
H A D | bhnd_nvram_data_btxt.c | 146 size_t vlen; in bhnd_nvram_btxt_getvar_direct() local 158 vlen = 0; in bhnd_nvram_btxt_getvar_direct() 284 vlen = p - &buf[bufpos]; in bhnd_nvram_btxt_getvar_direct() 290 vlen = buflen - bufpos; in bhnd_nvram_btxt_getvar_direct() 327 BHND_NV_ASSERT(vlen <= buflen, ("value buf overrun")); in bhnd_nvram_btxt_getvar_direct() 330 while (vlen > 0 && bhnd_nv_isspace(buf[bufpos+vlen-1])) in bhnd_nvram_btxt_getvar_direct() 331 vlen--; in bhnd_nvram_btxt_getvar_direct() 334 return (bhnd_nvram_value_coerce(buf+bufpos, vlen, in bhnd_nvram_btxt_getvar_direct()
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | asn1_gen.c | 71 static int parse_tagging(const char *vstart, int vlen, int *ptag, 245 int vlen = 0; in asn1_cb() local 257 vlen = len - (vstart - elem); in asn1_cb() 290 if (!parse_tagging(vstart, vlen, &arg->imp_tag, &arg->imp_class)) in asn1_cb() 296 if (!parse_tagging(vstart, vlen, &tmp_tag, &tmp_class)) in asn1_cb() 347 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass) in parse_tagging() argument 355 if (eptr && *eptr && (eptr > vstart + vlen)) in parse_tagging() 364 vlen -= eptr - vstart; in parse_tagging() 366 vlen = 0; in parse_tagging() 367 if (vlen) { in parse_tagging()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A 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)]>;
|
/freebsd/contrib/jemalloc/src/ |
H A D | jemalloc.c | 758 init_opt_stats_print_opts(const char *v, size_t vlen) { in init_opt_stats_print_opts() argument 762 for (size_t i = 0; i < vlen; i++) { in init_opt_stats_print_opts() 911 size_t vlen) { in malloc_conf_error() argument 913 (int)vlen, v); in malloc_conf_error() 1037 size_t klen, vlen; in malloc_conf_init_helper() local 1055 &vlen)) { in malloc_conf_init_helper() 1057 #define CONF_ERROR(msg, k, klen, v, vlen) \ in malloc_conf_init_helper() argument 1060 msg, k, klen, v, vlen); \ in malloc_conf_init_helper() 1069 (int)vlen, v); \ in malloc_conf_init_helper() 1076 (sizeof(n)-1 == vlen && strncmp(n, v, vlen) == 0) in malloc_conf_init_helper() [all …]
|
/freebsd/lib/libsys/ |
H A D | sendmmsg.c | 35 sendmmsg(int s, struct mmsghdr *__restrict msgvec, size_t vlen, int flags) in sendmmsg() argument 41 for (i = 0; i < vlen; i++, sent++) { in sendmmsg()
|
H A D | recvmmsg.c | 39 __ssp_real(recvmmsg)(int s, struct mmsghdr *__restrict msgvec, size_t vlen, in __ssp_real() 80 for (i = rcvd; i < vlen; i++, rcvd++) { in __ssp_real()
|
/freebsd/contrib/arm-optimized-routines/string/aarch64/ |
H A D | memcpy-sve.S | 27 #define vlen x6 macro 60 cntb vlen 61 cmp count, vlen, lsl 1 65 whilelo p1.b, vlen, count
|
/freebsd/sys/sys/ |
H A D | ctf.h | 174 #define CTF_V2_TYPE_INFO(kind, isroot, vlen) \ argument 176 ((vlen) & CTF_V2_MAX_VLEN)) 185 #define CTF_V3_TYPE_INFO(kind, isroot, vlen) \ argument 187 ((vlen) & CTF_V3_MAX_VLEN))
|