Home
last modified time | relevance | path

Searched refs:vlen (Results 1 – 25 of 26) sorted by relevance

12

/dragonfly/contrib/binutils-2.34/libctf/
HDctf-open.c145 size_t vlen) in get_vbytes_common() argument
155 return (sizeof (ctf_enum_t) * vlen); in get_vbytes_common()
171 get_vbytes_v1 (unsigned short kind, ssize_t size, size_t vlen) in get_vbytes_v1() argument
178 return (sizeof (unsigned short) * (vlen + (vlen & 1))); in get_vbytes_v1()
182 return (sizeof (ctf_member_v1_t) * vlen); in get_vbytes_v1()
184 return (sizeof (ctf_lmember_v1_t) * vlen); in get_vbytes_v1()
187 return (get_vbytes_common (kind, size, vlen)); in get_vbytes_v1()
191 get_vbytes_v2 (unsigned short kind, ssize_t size, size_t vlen) in get_vbytes_v2() argument
198 return (sizeof (uint32_t) * (vlen + (vlen & 1))); in get_vbytes_v2()
202 return (sizeof (ctf_member_t) * vlen); in get_vbytes_v2()
[all …]
HDctf-create.c302 uint32_t vlen = LCTF_INFO_VLEN (fp, dtd->dtd_data.ctt_info); in ctf_serialize() local
322 type_size += sizeof (uint32_t) * (vlen + (vlen & 1)); in ctf_serialize()
327 type_size += sizeof (ctf_member_t) * vlen; in ctf_serialize()
329 type_size += sizeof (ctf_lmember_t) * vlen; in ctf_serialize()
332 type_size += sizeof (ctf_enum_t) * vlen; in ctf_serialize()
391 uint32_t vlen = LCTF_INFO_VLEN (fp, dtd->dtd_data.ctt_info); in ctf_serialize() local
449 for (argc = 0; argc < vlen; argc++) in ctf_serialize()
452 if (vlen & 1) in ctf_serialize()
1043 uint32_t vlen; in ctf_add_function() local
1052 vlen = ctc->ctc_argc; in ctf_add_function()
[all …]
HDctf-impl.h340 #define LCTF_VBYTES(fp, kind, size, vlen) \ argument
341 ((fp)->ctf_fileops->ctfo_get_vbytes(kind, size, vlen))
/dragonfly/usr.bin/locate/locate/
HDutil.c86 int vlen, slen; in colon() local
103 for(vlen = 0, pv = dbv; *pv != NULL; pv++, vlen++); in colon()
121 if ((dbv = realloc(dbv, sizeof(char **) * (vlen + 2))) in colon()
124 *(dbv + vlen) = p; in colon()
125 *(dbv + ++vlen) = NULL; in colon()
/dragonfly/lib/libsdp/
HDsearch.c52 uint32_t vlen, sdp_attr_t *vp) in sdp_search() argument
298 for (; rsp_tmp < rsp && vlen > 0; ) { in sdp_search()
321 for (; len > 0 && vlen > 0; vp ++, vlen --) { in sdp_search()
401 if (alen <= vp->vlen) { in sdp_search()
403 vp->vlen = alen; in sdp_search()
407 memcpy(vp->value, rsp_tmp, vp->vlen); in sdp_search()
HDsdp.h332 uint32_t vlen; /* length of the value[] in bytes */ member
465 uint32_t vlen, sdp_attr_t *vp);
/dragonfly/contrib/wpa_supplicant/src/eap_common/
HDeap_eke_common.c214 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 …]
HDeap_gpsk_common.c46 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()
/dragonfly/crypto/libressl/crypto/asn1/
HDasn1_gen.c120 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass);
276 int vlen = 0; in asn1_cb() local
285 vlen = len - (vstart - elem); in asn1_cb()
319 if (!parse_tagging(vstart, vlen, &arg->imp_tag, in asn1_cb()
325 if (!parse_tagging(vstart, vlen, &tmp_tag, &tmp_class)) in asn1_cb()
376 parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass) in parse_tagging() argument
385 if (eptr && *eptr && (eptr > vstart + vlen)) in parse_tagging()
394 vlen -= eptr - vstart; in parse_tagging()
396 vlen = 0; in parse_tagging()
397 if (vlen) { in parse_tagging()
/dragonfly/usr.bin/sdpquery/
HDsearch.c591 values[n].vlen = BSIZE; in do_sdp_search()
618 if (values[n].vlen == 5) { in do_sdp_search()
631 values[n].vlen); in do_sdp_search()
637 values[n].value + values[n].vlen); in do_sdp_search()
643 values[n].value + values[n].vlen); in do_sdp_search()
649 values[n].value + values[n].vlen); in do_sdp_search()
/dragonfly/crypto/openssh/
HDkex.c428 const u_char *value, size_t vlen) in kex_ext_info_client_parse() argument
435 if (memchr(value, '\0', vlen) != NULL) { in kex_ext_info_client_parse()
444 if ((r = kex_ext_info_check_ver(ssh->kex, name, value, vlen, in kex_ext_info_client_parse()
450 if ((r = kex_ext_info_check_ver(ssh->kex, name, value, vlen, in kex_ext_info_client_parse()
462 const u_char *value, size_t vlen) in kex_ext_info_server_parse() argument
467 if ((r = kex_ext_info_check_ver(ssh->kex, name, value, vlen, in kex_ext_info_server_parse()
484 size_t vlen; in kex_input_ext_info() local
503 if ((r = sshpkt_get_string(ssh, &val, &vlen)) != 0) { in kex_input_ext_info()
510 val, vlen)) != 0) in kex_input_ext_info()
514 val, vlen)) != 0) in kex_input_ext_info()
/dragonfly/usr.bin/rfcomm_sppd/
HDrfcomm_sdp.c148 if (proto.vlen < PROTOCOL_DESCRIPTOR_LIST_MINIMAL_SIZE) in rfcomm_channel_lookup()
187 buffer + proto.vlen, channel, error)); in rfcomm_channel_lookup()
/dragonfly/contrib/cvs-1.12/src/
HDrcs.c61 size_t vlen; member
1068 rcsbuf->vlen = 0; in rcsbuf_open()
1114 rcsbuf->vlen = 0; in rcsbuf_getkey()
1241 size_t vlen; in rcsbuf_getkey() local
1301 vlen = pat - *valp; in rcsbuf_getkey()
1302 if (vlen == 0) in rcsbuf_getkey()
1304 rcsbuf->vlen = vlen; in rcsbuf_getkey()
1361 ((*valp)--)[rcsbuf->vlen++] = '@'; in rcsbuf_getkey()
1399 size_t vlen; in rcsbuf_getkey() local
1411 vlen = psemi - start; in rcsbuf_getkey()
[all …]
/dragonfly/contrib/binutils-2.34/include/
HDctf.h359 #define CTF_TYPE_INFO(kind, isroot, vlen) \ argument
360 (((kind) << 26) | (((isroot) ? 1 : 0) << 25) | ((vlen) & CTF_MAX_VLEN))
/dragonfly/sys/bus/u4b/storage/
HDustorage_fs.c936 uint32_t vlen; in ustorage_fs_verify() local
953 vlen = get_be16(&sc->sc_cbw->CBWCDB[7]); in ustorage_fs_verify()
954 if (vlen == 0) { in ustorage_fs_verify()
960 amount_left = vlen; in ustorage_fs_verify()
966 vlen += lba; in ustorage_fs_verify()
968 if ((vlen < lba) || in ustorage_fs_verify()
969 (vlen > currlun->num_sectors) || in ustorage_fs_verify()
/dragonfly/sys/netgraph/netgraph/
HDng_parse.c1178 int k, pad, vlen; in ng_parse_composite() local
1191 vlen = *buflen - blen; in ng_parse_composite()
1194 start, buf + blen, &vlen, ctype); in ng_parse_composite()
1198 s, off, start, buf + blen, &vlen); in ng_parse_composite()
1202 blen += vlen; in ng_parse_composite()
/dragonfly/sys/netgraph7/netgraph/
HDng_parse.c1336 int k, pad, vlen; in ng_parse_composite() local
1349 vlen = *buflen - blen; in ng_parse_composite()
1352 start, buf + blen, &vlen, ctype); in ng_parse_composite()
1356 s, off, start, buf + blen, &vlen); in ng_parse_composite()
1360 blen += vlen; in ng_parse_composite()
/dragonfly/contrib/ncurses/progs/
HDdump_entry.c672 int vlen = (int) strlen(value); in wrap_concat3() local
674 wrap_concat(name, nlen + elen + vlen, w1ST); in wrap_concat3()
675 wrap_concat(eqls, elen + vlen, w2ND); in wrap_concat3()
676 wrap_concat(value, vlen, wEND); in wrap_concat3()
/dragonfly/contrib/gcc-4.7/gcc/c-family/
HDc-cppbuiltin.c1012 size_t vlen = 18; in builtin_define_with_int_value() local
1015 buf = (char *) alloca (mlen + vlen + extra); in builtin_define_with_int_value()
/dragonfly/contrib/dhcpcd/src/
HDdhcp6.c269 size_t len, vlen, i; in dhcp6_makevendor() local
277 vlen = 0; in dhcp6_makevendor()
281 vlen += sizeof(uint16_t) + vivco->len; in dhcp6_makevendor()
282 len += vlen; in dhcp6_makevendor()
286 vlen = strlen(ifp->ctx->vendor); in dhcp6_makevendor()
287 len += sizeof(uint16_t) + vlen; in dhcp6_makevendor()
321 hvlen = htons((uint16_t)vlen); in dhcp6_makevendor()
324 memcpy(p, ifp->ctx->vendor, vlen); in dhcp6_makevendor()
HDif-options.c2490 size_t vlen; in read_config() local
2529 vlen = strlcpy((char *)ifo->vendorclassid + 1, ctx->vendor, in read_config()
2531 ifo->vendorclassid[0] = (uint8_t)(vlen > 255 ? 0 : vlen); in read_config()
/dragonfly/contrib/gcc-8.0/gcc/c-family/
HDc-cppbuiltin.c1555 size_t vlen = 18; in builtin_define_with_int_value() local
1558 buf = (char *) alloca (mlen + vlen + extra); in builtin_define_with_int_value()
/dragonfly/contrib/gcc-4.7/gcc/
HDfinal.c2217 int vlen, idx; in final_scan_insn() local
2246 vlen = XVECLEN (body, GET_CODE (body) == ADDR_DIFF_VEC); in final_scan_insn()
2247 for (idx = 0; idx < vlen; idx++) in final_scan_insn()
/dragonfly/contrib/libpcap/
HDgencode.c7022 register int vlen; in gen_ncode() local
7034 vlen = 32; in gen_ncode()
7036 vlen = __pcap_atodn(s, &v); in gen_ncode()
7037 if (vlen == 0) in gen_ncode()
7040 vlen = __pcap_atoin(s, &v); in gen_ncode()
7041 if (vlen < 0) in gen_ncode()
7064 v <<= 32 - vlen; in gen_ncode()
7065 mask <<= 32 - vlen ; in gen_ncode()
/dragonfly/contrib/gcc-8.0/gcc/
HDfinal.c2642 int vlen, idx; in final_scan_insn_1() local
2671 vlen = XVECLEN (body, GET_CODE (body) == ADDR_DIFF_VEC); in final_scan_insn_1()
2672 for (idx = 0; idx < vlen; idx++) in final_scan_insn_1()

12