/freebsd-10-stable/usr.bin/locate/locate/ |
H A D | util.c | 91 int vlen, slen; local 108 for(vlen = 0, pv = dbv; *pv != NULL; pv++, vlen++); 126 if ((dbv = realloc(dbv, sizeof(char **) * (vlen + 2))) 129 *(dbv + vlen) = p; 130 *(dbv + ++vlen) = NULL;
|
/freebsd-10-stable/usr.sbin/ctld/ |
H A D | isns.c | 115 uint32_t vlen; local 117 vlen = len + ((len & 3) ? (4 - (len & 3)) : 0); 118 isns_req_getspace(req, sizeof(*tlv) + vlen); 121 be32enc(tlv->it_length, vlen); 123 if (vlen != len) 124 memset(&tlv->it_value[len], 0, vlen - len); 125 req->ir_usedlen += sizeof(*tlv) + vlen;
|
/freebsd-10-stable/contrib/wpa/src/eap_common/ |
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 hmac_sha256_vector(psk, 32, 2, addr, vlen, hash);
|
/freebsd-10-stable/lib/libsdp/ |
H A D | search.c | 49 uint32_t vlen, sdp_attr_t *vp) 295 for (; rsp_tmp < rsp && vlen > 0; ) { 318 for (; len > 0 && vlen > 0; vp ++, vlen --) { 398 if (alen <= vp->vlen) { 400 vp->vlen = alen; 404 memcpy(vp->value, rsp_tmp, vp->vlen); 46 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-10-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-10-stable/sys/cddl/dev/fbt/ |
H A D | fbt_powerpc.c | 507 ushort_t vlen; local 552 vlen = CTF_INFO_VLEN(info); 557 * (+2) and the argument list (vlen). 559 if (CTF_INFO_KIND(info) == CTF_K_UNKNOWN && vlen == 0) 562 funcoff += sizeof (ushort_t) * (vlen + 2); 625 ulong_t vlen = CTF_INFO_VLEN(tp->ctt_info); local 642 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1)); 650 vbytes = sizeof (ctf_member_t) * vlen; 651 for (n = vlen; 714 ulong_t vlen = CTF_INFO_VLEN(tp->ctt_info); local [all...] |
H A D | fbt.c | 577 ushort_t vlen; local 622 vlen = CTF_INFO_VLEN(info); 627 * (+2) and the argument list (vlen). 629 if (CTF_INFO_KIND(info) == CTF_K_UNKNOWN && vlen == 0) 632 funcoff += sizeof (ushort_t) * (vlen + 2); 695 ulong_t vlen = CTF_INFO_VLEN(tp->ctt_info); local 712 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1)); 720 vbytes = sizeof (ctf_member_t) * vlen; 721 for (n = vlen; 784 ulong_t vlen = CTF_INFO_VLEN(tp->ctt_info); local [all...] |
/freebsd-10-stable/usr.sbin/bluetooth/bthidcontrol/ |
H A D | sdp.c | 105 values[i].vlen = sizeof(buffer[i]); 139 hid_descriptor_length = values[i].vlen; 183 uint8_t *end = a->value + a->vlen; 291 uint8_t *end = a->value + a->vlen; 382 a->vlen = len; 397 if (a->vlen != 2 || a->value[0] != SDP_DATA_BOOL)
|
/freebsd-10-stable/contrib/jemalloc/src/ |
H A D | jemalloc.c | 114 const char *v, size_t vlen); 395 size_t vlen) 399 (int)vlen, v); 408 size_t klen, vlen; local 499 &vlen) == false) { 503 if (strncmp("true", v, vlen) == 0 && \ 504 vlen == sizeof("true")-1) \ 506 else if (strncmp("false", v, vlen) == \ 507 0 && vlen == sizeof("false")-1) \ 512 k, klen, v, vlen); \ 394 malloc_conf_error(const char *msg, const char *k, size_t klen, const char *v, size_t vlen) argument [all...] |
/freebsd-10-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-10-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-10-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-10-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-10-stable/usr.sbin/bluetooth/sdpcontrol/ |
H A D | search.c | 627 values[n].vlen = BSIZE; 644 if (values[n].vlen == 5) { 657 values[n].vlen); 663 values[n].value + values[n].vlen); 669 values[n].value + values[n].vlen); 675 values[n].value + values[n].vlen);
|
/freebsd-10-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-10-stable/usr.bin/bluetooth/rfcomm_sppd/ |
H A D | rfcomm_sdp.c | 115 if (proto.vlen < PROTOCOL_DESCRIPTOR_LIST_MINIMAL_SIZE) 154 buffer + proto.vlen, channel, error));
|
/freebsd-10-stable/usr.sbin/ofwdump/ |
H A D | ofwdump.c | 151 int nlen, len, i, j, max, vlen; local 191 vlen = strvis(visbuf, pbuf, VIS_TAB | VIS_NL); 192 for (i = 0; i < vlen; i += CHARSPERLINE) {
|
/freebsd-10-stable/usr.bin/make/ |
H A D | var.c | 1873 size_t vlen; local 1877 vname = Buf_GetAll(buf, &vlen); 1909 if (vlen == 1 || 1910 (vlen == 2 && (vname[1] == 'F' || vname[1] == 'D'))) { 1920 if (vlen > 2 && 1923 if ((strncmp(vname, ".TARGET", vlen - 1) == 0) || 1924 (strncmp(vname, ".ARCHIVE", vlen - 1) == 0) || 1925 (strncmp(vname, ".PREFIX", vlen - 1) == 0) || 1926 (strncmp(vname, ".MEMBER", vlen - 1) == 0)) { 1943 if (vlen 1979 size_t vlen; local [all...] |
/freebsd-10-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-10-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-10-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-10-stable/sbin/routed/ |
H A D | radix.c | 213 int off = t->rn_off, vlen = *(u_char *)cp, matched_off; local 238 vlen = *(u_char *)t->rn_mask; 239 cp += off; cp2 = t->rn_key + off; cplim = v + vlen; 351 int head_off = top->rn_off, vlen = (int)*((u_char *)v); local 363 caddr_t cplim = v + vlen; 671 int b, head_off, vlen; local 678 vlen = *(u_char *)v; 682 Bcmp(v + head_off, tt->rn_key + head_off, vlen - head_off))
|
/freebsd-10-stable/sys/net/ |
H A D | radix.c | 295 int off = t->rn_offset, vlen = LEN(cp), matched_off; local 320 vlen = *(u_char *)t->rn_mask; 321 cp += off; cp2 = t->rn_key + off; cplim = v + vlen; 442 int head_off = top->rn_offset, vlen = LEN(v); local 452 caddr_t cplim = v + vlen; 806 int b, head_off, vlen; local 813 vlen = LEN(v); 817 bcmp(v + head_off, tt->rn_key + head_off, vlen - head_off))
|
/freebsd-10-stable/usr.sbin/bluetooth/btpand/ |
H A D | client.c | 173 attr.vlen = sizeof(buffer); 212 if (_sdp_get_seq(&attr.value, attr.value + attr.vlen, &seq0)
|