/freebsd-11-stable/lib/libc/gen/ |
H A D | sendmmsg.c | 38 sendmmsg(int s, struct mmsghdr *__restrict msgvec, size_t vlen, int flags) argument 44 for (i = 0; i < vlen; i++, sent++) {
|
H A D | recvmmsg.c | 41 recvmmsg(int s, struct mmsghdr *__restrict msgvec, size_t vlen, int flags, argument 82 for (i = rcvd; i < vlen; i++, rcvd++) {
|
/freebsd-11-stable/usr.bin/locate/locate/ |
H A D | util.c | 88 int vlen, slen; local 105 for(vlen = 0, pv = dbv; *pv != NULL; pv++, vlen++); 123 if ((dbv = realloc(dbv, sizeof(char *) * (vlen + 2))) 126 *(dbv + vlen) = p; 127 *(dbv + ++vlen) = NULL;
|
/freebsd-11-stable/usr.sbin/ctld/ |
H A D | isns.c | 117 uint32_t vlen; local 119 vlen = len + ((len & 3) ? (4 - (len & 3)) : 0); 120 isns_req_getspace(req, sizeof(*tlv) + vlen); 123 be32enc(tlv->it_length, vlen); 125 if (vlen != len) 126 memset(&tlv->it_value[len], 0, vlen - len); 127 req->ir_usedlen += sizeof(*tlv) + vlen;
|
/freebsd-11-stable/lib/libsdp/ |
H A D | search.c | 50 uint32_t vlen, sdp_attr_t *vp) 296 for (; rsp_tmp < rsp && vlen > 0; ) { 319 for (; len > 0 && vlen > 0; vp ++, vlen --) { 399 if (alen <= vp->vlen) { 401 vp->vlen = alen; 405 memcpy(vp->value, rsp_tmp, vp->vlen); 47 sdp_search(void *xss, uint32_t plen, uint16_t const *pp, uint32_t alen, uint32_t const *ap, uint32_t vlen, sdp_attr_t *vp) argument
|
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_open.c | 121 ushort_t info, vlen; local 171 vlen = LCTF_INFO_VLEN(fp, info); 176 * (+2) and the argument list (vlen). 179 vlen == 0) 182 funcoff += sizeof (ushort_t) * (vlen + 2); 229 ulong_t vlen = LCTF_INFO_VLEN(fp, tp->ctt_info); local 246 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1)); 255 vbytes = sizeof (ctf_member_t) * vlen; 256 for (n = vlen; 349 ulong_t vlen = LCTF_INFO_VLEN(fp, tp->ctt_info); local [all...] |
H A D | ctf_create.c | 275 uint_t vlen = CTF_INFO_VLEN(dtd->dtd_data.ctt_info); local 291 size += sizeof (ushort_t) * (vlen + (vlen & 1)); 296 size += sizeof (ctf_member_t) * vlen; 298 size += sizeof (ctf_lmember_t) * vlen; 301 size += sizeof (ctf_enum_t) * vlen; 333 uint_t vlen = CTF_INFO_VLEN(dtd->dtd_data.ctt_info); local 387 for (argc = 0; argc < vlen; argc++) 390 if (vlen & 1) 789 uint_t vlen; local 991 uint_t kind, vlen, root; local 1048 uint_t kind, vlen, root; local 1258 uint_t kind, flag, vlen; local [all...] |
/freebsd-11-stable/sys/cddl/dev/fbt/ |
H A D | fbt.c | 320 ushort_t vlen; local 363 vlen = CTF_INFO_VLEN(info); 368 * (+2) and the argument list (vlen). 370 if (CTF_INFO_KIND(info) == CTF_K_UNKNOWN && vlen == 0) 373 funcoff += sizeof (ushort_t) * (vlen + 2); 436 ulong_t vlen = CTF_INFO_VLEN(tp->ctt_info); local 453 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1)); 461 vbytes = sizeof (ctf_member_t) * vlen; 462 for (n = vlen; 525 ulong_t vlen = CTF_INFO_VLEN(tp->ctt_info); local [all...] |
/freebsd-11-stable/contrib/wpa/src/eap_common/ |
H A D | eap_eke_common.c | 214 size_t vlen[3]; local 219 vlen[0] = SHA1_MAC_LEN; 221 vlen[1] = data_len; 223 vlen[2] = 1; 229 &vlen[1], hash); 231 ret = hmac_sha1_vector(key, key_len, 3, addr, vlen, 255 size_t vlen[3]; local 260 vlen[0] = SHA256_MAC_LEN; 262 vlen[1] = data_len; 264 vlen[ [all...] |
H A D | eap_gpsk_common.c | 46 size_t vlen[2]; local 51 vlen[0] = sizeof(ibuf); 53 vlen[1] = data_len; 60 if (omac1_aes_128_vector(psk, 2, addr, vlen, hash)) 81 size_t vlen[2]; local 86 vlen[0] = sizeof(ibuf); 88 vlen[1] = data_len; 95 if (hmac_sha256_vector(psk, 32, 2, addr, vlen, hash))
|
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/ |
H A D | sdp.c | 108 values[i].vlen = sizeof(buffer[i]); 142 hid_descriptor_length = values[i].vlen; 186 uint8_t *end = a->value + a->vlen; 294 uint8_t *end = a->value + a->vlen; 385 a->vlen = len; 400 if (a->vlen != 2 || a->value[0] != SDP_DATA_BOOL)
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | ctf.h | 198 * ctt_info: | kind | isroot | vlen | 203 * vlen = CTF_INFO_VLEN(c.ctt_info); <-- length of variable data list 208 * c.ctt_info = CTF_TYPE_INFO(kind, vlen); 219 #define CTF_TYPE_INFO(kind, isroot, vlen) \ 220 (((kind) << 11) | (((isroot) ? 1 : 0) << 10) | ((vlen) & CTF_MAX_VLEN)) 246 #define CTF_TYPE_INFO_V1(kind, isroot, vlen) \ 247 (((kind) << 12) | (((isroot) ? 1 : 0) << 11) | ((vlen) & 0x07ff))
|
/freebsd-11-stable/contrib/amd/amd/ |
H A D | opts.c | 1199 int vlen = strlen(val); local 1205 vlen = vptr - val; 1212 vlen = strlen(vptr); 1220 vlen = strlen(vptr); 1223 vlen = 0; 1229 vlen = vptr - val; 1236 if (BUFSPACE(ep, vlen+1)) { 1242 memcpy(ep, vptr, vlen+1); 1243 ep += vlen; 1269 int vlen local 1302 int vlen = strlen(cp); local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/asn1/ |
H A D | asn1_gen.c | 121 static int parse_tagging(const char *vstart, int vlen, int *ptag, 297 int vlen = 0; local 309 vlen = len - (vstart - elem); 343 if (!parse_tagging(vstart, vlen, &arg->imp_tag, &arg->imp_class)) 349 if (!parse_tagging(vstart, vlen, &tmp_tag, &tmp_class)) 400 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass) argument 409 if (eptr && *eptr && (eptr > vstart + vlen)) 418 vlen -= eptr - vstart; 420 vlen = 0; 421 if (vlen) { [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_subr.c | 68 size_t off, len, vlen, wlen; local 84 vlen = 0; 90 * Set vlen to the length of the variable name and then 97 vlen = (size_t)(q + len - v); 105 if (vlen > 2 && v[1] == '$') { 106 vlen--; 116 wlen = vlen - (w - v); 122 vlen = strlen(v); 127 } else if (vlen > 1) { 128 char *vstr = alloca(vlen); 153 bcopy(v, (char *)pdp + off + len, vlen); local 154 bcopy(w, (char *)pdp + off + len + vlen, wlen); local [all...] |
/freebsd-11-stable/usr.sbin/bluetooth/sdpcontrol/ |
H A D | search.c | 630 values[n].vlen = BSIZE; 647 if (values[n].vlen == 5) { 660 values[n].vlen); 666 values[n].value + values[n].vlen); 672 values[n].value + values[n].vlen); 678 values[n].value + values[n].vlen);
|
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctf.c | 789 size_t vlen = CTF_INFO_VLEN(ctt->ctt_info); local 806 dptr += sizeof (ushort_t) * (vlen + (vlen & 1)); 814 dptr += sizeof (ctf_member_t) * vlen; 816 dptr += sizeof (ctf_lmember_t) * vlen; 819 dptr += sizeof (ctf_enum_t) * vlen; 1022 int kind, vlen; local 1065 vlen = CTF_INFO_VLEN(ctt->ctt_info); 1136 for (i = 0, mpp = &tdp->t_members; i < vlen; 1154 for (i = 0, mpp = &tdp->t_members; i < vlen; [all...] |
/freebsd-11-stable/usr.bin/bluetooth/rfcomm_sppd/ |
H A D | rfcomm_sdp.c | 117 if (proto.vlen < PROTOCOL_DESCRIPTOR_LIST_MINIMAL_SIZE) 156 buffer + proto.vlen, channel, error));
|
/freebsd-11-stable/usr.sbin/ofwdump/ |
H A D | ofwdump.c | 162 int len, i, j, max, vlen; local 198 vlen = strvis(visbuf, pbuf, VIS_TAB | VIS_NL); 199 for (i = 0; i < vlen; i += CHARSPERLINE) {
|
/freebsd-11-stable/contrib/ntp/lib/isc/ |
H A D | hash.c | 147 size_t vlen; local 168 vlen = sizeof(hash_random_t) * (limit + 1); 169 rv = isc_mem_get(mctx, vlen); 194 hctx->vectorlen = vlen; 212 isc_mem_put(mctx, rv, vlen);
|
/freebsd-11-stable/sbin/setkey/ |
H A D | test-pfkey.c | 521 key_setsadbextbuf(dst, off, ebuf, elen, vbuf, vlen) 523 int off, elen, vlen; 525 memset(dst + off, 0, elen + vlen); 527 memcpy(dst + off + elen, vbuf, vlen);
|
/freebsd-11-stable/contrib/jemalloc/src/ |
H A D | jemalloc.c | 880 size_t vlen) 884 (int)vlen, v); 913 size_t klen, vlen; local 1007 &vlen)) { 1011 (sizeof(n)-1 == vlen && strncmp(n, v, vlen) == 0) 1021 k, klen, v, vlen); \ 1034 (uintptr_t)v != vlen) { \ 1037 k, klen, v, vlen); \ 1051 k, klen, v, vlen); \ 879 malloc_conf_error(const char *msg, const char *k, size_t klen, const char *v, size_t vlen) argument [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/dump/ |
H A D | dump.c | 358 (void) printf(" [%lu] vlen %u extends past section " 416 size_t size, increment, vlen = 0; local 455 vlen = sizeof (uint_t); 469 vlen = sizeof (uint_t); 487 vlen = sizeof (ctf_array_t); 505 vlen = sizeof (ushort_t) * (n + (n & 1)); 552 vlen = n * (size >= CTF_LSTRUCT_THRESH ? 571 vlen = sizeof (ctf_enum_t) * n; 627 tp = (ctf_type_t *)((uintptr_t)tp + increment + vlen);
|
/freebsd-11-stable/sbin/routed/ |
H A D | radix.c | 214 int off = t->rn_off, vlen = *(u_char *)cp, matched_off; local 239 vlen = *(u_char *)t->rn_mask; 240 cp += off; cp2 = t->rn_key + off; cplim = v + vlen; 352 int head_off = top->rn_off, vlen = (int)*((u_char *)v); local 364 caddr_t cplim = v + vlen; 672 int b, head_off, vlen; local 679 vlen = *(u_char *)v; 683 Bcmp(v + head_off, tt->rn_key + head_off, vlen - head_off))
|
/freebsd-11-stable/sys/net/ |
H A D | radix.c | 284 int off = t->rn_offset, vlen = LEN(cp), matched_off; local 309 vlen = *(u_char *)t->rn_mask; 310 cp += off; cp2 = t->rn_key + off; cplim = v + vlen; 431 int head_off = top->rn_offset, vlen = LEN(v); local 441 caddr_t cplim = v + vlen; 778 int b, head_off, vlen; local 785 vlen = LEN(v); 789 bcmp(v + head_off, tt->rn_key + head_off, vlen - head_off))
|