Searched refs:vlen (Results 1 - 25 of 72) sorted by relevance

123

/freebsd-current/lib/libsys/
H A Dsendmmsg.c35 sendmmsg(int s, struct mmsghdr *__restrict msgvec, size_t vlen, int flags) argument
41 for (i = 0; i < vlen; i++, sent++) {
H A Drecvmmsg.c38 recvmmsg(int s, struct mmsghdr *__restrict msgvec, size_t vlen, int flags, argument
79 for (i = rcvd; i < vlen; i++, rcvd++) {
/freebsd-current/usr.bin/locate/locate/
H A Dutil.c83 int vlen, slen; local
100 for(vlen = 0, pv = dbv; *pv != NULL; pv++, vlen++);
118 if ((dbv = realloc(dbv, sizeof(char *) * (vlen + 2)))
121 *(dbv + vlen) = p;
122 *(dbv + ++vlen) = NULL;
/freebsd-current/usr.sbin/ctld/
H A Disns.c114 uint32_t vlen; local
116 vlen = len + ((len & 3) ? (4 - (len & 3)) : 0);
117 isns_req_getspace(req, sizeof(*tlv) + vlen);
120 be32enc(tlv->it_length, vlen);
122 if (vlen != len)
123 memset(&tlv->it_value[len], 0, vlen - len);
124 req->ir_usedlen += sizeof(*tlv) + vlen;
/freebsd-current/cddl/contrib/opensolaris/common/ctf/
H A Dctf_types.c63 uint_t kind, vlen; local
70 vlen = CTF_V2_INFO_VLEN(ctt->ctt_info);
76 vlen = CTF_V3_INFO_VLEN(ctt->ctt_info);
83 *vlenp = vlen;
189 uint_t kind, n, vlen; local
199 ctf_get_ctt_info(fp, tp, &kind, &vlen, NULL);
206 for (n = vlen; n != 0; n--, mp += increment) {
231 uint_t kind, n, vlen; local
240 ctf_get_ctt_info(fp, tp, &kind, &vlen, NULL);
248 for (n = vlen;
538 uint_t kind, vlen; local
798 uint_t kind, n, vlen; local
895 uint_t kind, n, vlen; local
934 uint_t kind, n, vlen; local
979 uint_t kind, n, vlen; local
[all...]
H A Dctf_open.c259 uint_t info, vlen; local
310 vlen = LCTF_INFO_VLEN(fp, info);
315 * (+2) and the argument list (vlen).
318 vlen == 0)
322 roundup2(fp->ctf_idwidth * (vlen + 2), 4);
369 uint_t kind, n, type, vlen; local
372 ctf_get_ctt_info(fp, tp, &kind, &vlen, NULL);
387 vbytes = roundup2(fp->ctf_idwidth * vlen, 4);
397 for (n = vlen; n != 0; n--, mp += increment1) {
406 vbytes = sizeof (ctf_enum_t) * vlen;
485 uint_t kind, type, vlen; local
[all...]
H A Dctf_create.c312 uint_t vlen = LCTF_INFO_VLEN(fp, dtd->dtd_data.ctt_info); local
337 size += roundup2(fp->ctf_idwidth * vlen, 4);
345 vlen;
348 vlen;
353 vlen;
356 vlen;
360 size += sizeof (ctf_enum_t) * vlen;
392 uint_t vlen = LCTF_INFO_VLEN(fp, dtd->dtd_data.ctt_info); local
479 for (argc = 0; argc < vlen;
488 for (argc = 0; argc < vlen;
894 uint_t vlen; local
1096 uint_t kind, vlen, root; local
1153 uint_t kind, vlen, root; local
1407 uint_t type, kind, flag, vlen; local
[all...]
/freebsd-current/sys/cddl/dev/fbt/
H A Dfbt.c367 uint_t kind, info, vlen; local
415 vlen = CTF_V2_INFO_VLEN(info);
418 vlen = CTF_V3_INFO_VLEN(info);
424 * (+2) and the argument list (vlen).
426 if (kind == CTF_K_UNKNOWN && vlen == 0)
429 funcoff += idwidth * (vlen + 2);
510 uint_t kind, vlen; local
517 vlen = CTF_V2_INFO_VLEN(ctt->ctt_info);
523 vlen = CTF_V3_INFO_VLEN(ctt->ctt_info);
530 *vlenp = vlen;
562 uint_t kind, type, vlen; local
651 uint_t kind, vlen; local
[all...]
/freebsd-current/lib/libsdp/
H A Dsearch.c51 uint32_t vlen, sdp_attr_t *vp)
297 for (; rsp_tmp < rsp && vlen > 0; ) {
320 for (; len > 0 && vlen > 0; vp ++, vlen --) {
400 if (alen <= vp->vlen) {
402 vp->vlen = alen;
406 memcpy(vp->value, rsp_tmp, vp->vlen);
48 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-current/sys/ddb/
H A Ddb_pprint.c90 u_int vlen; local
98 vlen = CTF_V3_INFO_VLEN(type->ctt_info);
114 endp = mp + vlen;
137 endp = mp + vlen;
212 u_int vlen; local
217 vlen = CTF_V3_INFO_VLEN(type->ctt_info);
224 endp = ep + vlen;
H A Ddb_ctf.c99 u_int vlen, kind, ssize; local
102 vlen = CTF_V3_INFO_VLEN(t->ctt_info);
120 kind_size = vlen *
126 kind_size = vlen * sizeof(struct ctf_enum);
129 kind_size = vlen * sizeof(uint32_t);
/freebsd-current/usr.sbin/bluetooth/bthidcontrol/
H A Dsdp.c110 values[i].vlen = sizeof(buffer[i]);
162 hid_descriptor_length = values[i].vlen;
195 if (values[i].vlen != 3)
252 uint8_t *end = a->value + a->vlen;
360 uint8_t *end = a->value + a->vlen;
451 a->vlen = len;
466 if (a->vlen != 2 || a->value[0] != SDP_DATA_BOOL)
/freebsd-current/contrib/wpa/src/eap_common/
H A Deap_eke_common.c214 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 Deap_gpsk_common.c46 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-current/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data.c593 size_t vlen; local
600 vptr = bhnd_nvram_data_getvar_ptr_info(nv, cookiep, &vlen, &vtype,
606 error = bhnd_nvram_val_init(&val, fmt, vptr, vlen, vtype,
659 size_t vlen; local
665 vptr = bhnd_nvram_data_getvar_ptr_info(nv, cookiep, &vlen, &vtype,
671 return (bhnd_nvram_val_new(value, fmt, vptr, vlen, vtype,
H A Dbhnd_nvram_data_btxt.c146 size_t vlen; local
158 vlen = 0;
284 vlen = p - &buf[bufpos];
290 vlen = buflen - bufpos;
327 BHND_NV_ASSERT(vlen <= buflen, ("value buf overrun"));
330 while (vlen > 0 && bhnd_nv_isspace(buf[bufpos+vlen-1]))
331 vlen--;
334 return (bhnd_nvram_value_coerce(buf+bufpos, vlen,
/freebsd-current/sys/sys/
H A Dctf.h174 #define CTF_V2_TYPE_INFO(kind, isroot, vlen) \
176 ((vlen) & CTF_V2_MAX_VLEN))
185 #define CTF_V3_TYPE_INFO(kind, isroot, vlen) \
187 ((vlen) & CTF_V3_MAX_VLEN))
/freebsd-current/contrib/arm-optimized-routines/string/aarch64/
H A Dmemcpy-sve.S27 #define vlen x6 define
60 cntb vlen
61 cmp count, vlen, lsl 1
65 whilelo p1.b, vlen, count
/freebsd-current/crypto/openssl/crypto/asn1/
H A Dasn1_gen.c71 static int parse_tagging(const char *vstart, int vlen, int *ptag,
245 int vlen = 0; local
257 vlen = len - (vstart - elem);
290 if (!parse_tagging(vstart, vlen, &arg->imp_tag, &arg->imp_class))
296 if (!parse_tagging(vstart, vlen, &tmp_tag, &tmp_class))
347 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass) argument
355 if (eptr && *eptr && (eptr > vstart + vlen))
364 vlen -= eptr - vstart;
366 vlen = 0;
367 if (vlen) {
[all...]
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_subr.c69 size_t off, len, vlen, wlen; local
85 vlen = 0;
91 * Set vlen to the length of the variable name and then
98 vlen = (size_t)(q + len - v);
106 if (vlen > 2 && v[1] == '$') {
107 vlen--;
117 wlen = vlen - (w - v);
123 vlen = strlen(v);
128 } else if (vlen > 1) {
129 char *vstr = alloca(vlen);
154 bcopy(v, (char *)pdp + off + len, vlen); local
155 bcopy(w, (char *)pdp + off + len + vlen, wlen); local
[all...]
/freebsd-current/contrib/bearssl/test/
H A Dtest_math.c246 size_t plen, alen, blen, vlen; local
262 mpz_export(ev, &vlen, 1, 1, 0, 0, v);
286 impl->decode(mv, ev, vlen);
308 impl->decode_reduce(ma, ev, vlen, mp);
312 impl->decode(mv, ev, vlen);
335 impl->modpow(ma, ev, vlen, mp, mp0i, mt1, mt2);
/freebsd-current/usr.sbin/bluetooth/sdpcontrol/
H A Dsearch.c630 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-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c757 get_ctt_info(ctf_header_t *h, void *v, uint_t *kind, uint_t *vlen, int *isroot) argument
763 *vlen = CTF_V2_INFO_VLEN(ctt->ctt_info);
769 *vlen = CTF_V3_INFO_VLEN(ctt->ctt_info);
813 uint_t vlen, kind; local
816 get_ctt_info(h, v, &kind, &vlen, &isroot);
831 dptr += idwidth * vlen;
844 vlen;
847 vlen;
851 vlen;
854 vlen;
1071 int isroot, kind, vlen; local
[all...]
/freebsd-current/usr.bin/bluetooth/rfcomm_sppd/
H A Drfcomm_sdp.c116 if (proto.vlen < PROTOCOL_DESCRIPTOR_LIST_MINIMAL_SIZE)
155 buffer + proto.vlen, channel, error));
/freebsd-current/usr.sbin/ofwdump/
H A Dofwdump.c161 int len, i, j, max, vlen; local
197 vlen = strvis(visbuf, pbuf, VIS_TAB | VIS_NL);
198 for (i = 0; i < vlen; i += CHARSPERLINE) {

Completed in 320 milliseconds

123