Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/radius/
Davpair.c267 int vlen; in rc_extract_vendor_specific_attributes() local
293 for (; attrlen; attrlen -= vlen+2, ptr += vlen) { in rc_extract_vendor_specific_attributes()
295 vlen = *ptr++; in rc_extract_vendor_specific_attributes()
296 vlen -= 2; in rc_extract_vendor_specific_attributes()
297 if (vlen < 0 || vlen > attrlen - 2) { in rc_extract_vendor_specific_attributes()
320 memcpy (pair->strvalue, (char *) ptr, (size_t) vlen); in rc_extract_vendor_specific_attributes()
321 pair->strvalue[vlen] = '\0'; in rc_extract_vendor_specific_attributes()
322 pair->lvalue = vlen; in rc_extract_vendor_specific_attributes()
/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.c242 size_t vlen[3]; in eap_eke_prf_hmac_sha1() local
247 vlen[0] = SHA1_MAC_LEN; in eap_eke_prf_hmac_sha1()
249 vlen[1] = data_len; in eap_eke_prf_hmac_sha1()
251 vlen[2] = 1; in eap_eke_prf_hmac_sha1()
257 &vlen[1], hash); in eap_eke_prf_hmac_sha1()
259 ret = hmac_sha1_vector(key, key_len, 3, addr, vlen, in eap_eke_prf_hmac_sha1()
283 size_t vlen[3]; in eap_eke_prf_hmac_sha256() local
288 vlen[0] = SHA256_MAC_LEN; in eap_eke_prf_hmac_sha256()
290 vlen[1] = data_len; in eap_eke_prf_hmac_sha256()
292 vlen[2] = 1; in eap_eke_prf_hmac_sha256()
[all …]
Deap_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 hmac_sha256_vector(psk, 32, 2, addr, vlen, hash); in eap_gpsk_gkdf_sha256()
/external/boringssl/src/crypto/x509/
Dasn1_gen.c129 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass);
293 int vlen = 0; in asn1_cb() local
307 vlen = len - (vstart - elem); in asn1_cb()
346 if (!parse_tagging(vstart, vlen, &arg->imp_tag, &arg->imp_class)) in asn1_cb()
352 if (!parse_tagging(vstart, vlen, &tmp_tag, &tmp_class)) in asn1_cb()
405 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass) in parse_tagging() argument
414 if (eptr && *eptr && (eptr > vstart + vlen)) in parse_tagging()
424 vlen -= eptr - vstart; in parse_tagging()
426 vlen = 0; in parse_tagging()
427 if (vlen) in parse_tagging()
/external/jemalloc/src/
Djemalloc.c824 size_t vlen) in malloc_conf_error() argument
828 (int)vlen, v); in malloc_conf_error()
837 size_t klen, vlen; local
933 &vlen)) {
937 (sizeof(n)-1 == vlen && strncmp(n, v, vlen) == 0)
947 k, klen, v, vlen); \
960 (uintptr_t)v != vlen) { \
963 k, klen, v, vlen); \
977 k, klen, v, vlen); \
991 (uintptr_t)v != vlen) { \
[all …]
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h958 #define __sanitizer_syscall_pre_readv(fd, vec, vlen) \ argument
959 __sanitizer_syscall_pre_impl_readv((long)(fd), (long)(vec), (long)(vlen))
960 #define __sanitizer_syscall_post_readv(res, fd, vec, vlen) \ argument
962 (long)(vlen))
968 #define __sanitizer_syscall_pre_writev(fd, vec, vlen) \ argument
969 __sanitizer_syscall_pre_impl_writev((long)(fd), (long)(vec), (long)(vlen))
970 #define __sanitizer_syscall_post_writev(res, fd, vec, vlen) \ argument
972 (long)(vlen))
1003 #define __sanitizer_syscall_pre_preadv(fd, vec, vlen, pos_l, pos_h) \ argument
1004 __sanitizer_syscall_pre_impl_preadv((long)(fd), (long)(vec), (long)(vlen), \
[all …]
/external/ppp/pppd/
Dlcp.c891 #define ACKCIENDP(opt, neg, class, val, vlen) \ argument
894 if ((len -= CILEN_CHAR + vlen) < 0) \
898 if (cilen != CILEN_CHAR + vlen || \
904 for (i = 0; i < vlen; ++i) { \
1439 #define REJCIENDP(opt, neg, class, val, vlen) \ argument
1441 len >= CILEN_CHAR + vlen && \
1443 p[1] == CILEN_CHAR + vlen) { \
1445 len -= CILEN_CHAR + vlen; \
1450 for (i = 0; i < vlen; ++i) { \
Dmain.c2220 int vlen, i; in update_db_entry() local
2225 vlen = 0; in update_db_entry()
2227 vlen += strlen(p) + 1; in update_db_entry()
2228 vbuf = malloc(vlen + 1); in update_db_entry()
2233 q += slprintf(q, vbuf + vlen - q, "%s;", p); in update_db_entry()
2238 dbuf.dsize = vlen; in update_db_entry()
/external/icu/icu4c/source/common/
Dlocdispnames.cpp670 … int32_t vlen = uloc_getDisplayKeywordValue(locale, kw, displayLocale, in uloc_getDisplayName() local
673 if(vlen==0) { in uloc_getDisplayName()
684 len+=vlen; /* total we added for key + '=' + value */ in uloc_getDisplayName()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc171 PRE_SYSCALL(recvmmsg)(long fd, sanitizer_kernel_mmsghdr *msg, long vlen,
173 PRE_READ(msg, vlen * sizeof(*msg));
177 long vlen, long flags, void *timeout) {
1594 PRE_SYSCALL(readv)(long fd, const __sanitizer_iovec *vec, long vlen) {}
1597 long vlen) {
1599 if (vec) kernel_write_iovec(vec, vlen, res);
1609 PRE_SYSCALL(writev)(long fd, const __sanitizer_iovec *vec, long vlen) {}
1612 long vlen) {
1614 if (vec) kernel_read_iovec(vec, vlen, res);
1652 PRE_SYSCALL(preadv)(long fd, const __sanitizer_iovec *vec, long vlen,
[all …]
/external/libpcap/
Dgencode.c6392 register int vlen; local
6395 vlen = 32;
6397 vlen = __pcap_atodn(s, &v);
6399 vlen = __pcap_atoin(s, &v);
6420 v <<= 32 - vlen;
6421 mask <<= 32 - vlen;
/external/openssh/
Dsftp-client.c422 size_t vlen; in do_init() local
426 (r = sshbuf_get_string(msg, &value, &vlen)) != 0) in do_init()
/external/mksh/src/
Dedit.c3017 size_t vlen; in x_version() local
3023 xend = xep = v + (vlen = strlen(v)); in x_version()
3033 x_redraw((int)vlen); in x_version()
/external/mdnsresponder/mDNSCore/
DmDNSEmbeddedAPI.h523 mDNSu8 vlen;
DmDNS.c10491 const mDNSu8 *const trans = p + 14 + (pkt->v4.vlen & 0xF) * 4; in mDNSCoreReceiveRawPacket()
/external/clang/lib/AST/
DExprConstant.cpp5623 unsigned vlen = v.getVectorLength(); in VisitInitListExpr() local
5624 for (unsigned j = 0; j < vlen; j++) in VisitInitListExpr()
5626 CountElts += vlen; in VisitInitListExpr()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c4908 int, s, const struct mmsghdr *, mmsg, int, vlen, int, flags); in PRE()
4922 int, s, struct mmsghdr *, mmsg, int, vlen, in PRE()