Home
last modified time | relevance | path

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

12

/external/strace/tests/
Dpreadv2-pwritev2.c45 const unsigned long vlen, const unsigned long pos) in pr() argument
47 return syscall(__NR_preadv2, fd, vec, vlen, pos, 0L, 0L); in pr()
52 const unsigned long vlen, const unsigned long pos) in pw() argument
54 return syscall(__NR_pwritev2, fd, vec, vlen, pos, 0L, 0L); in pw()
185 const kernel_ulong_t vlen = (kernel_ulong_t) 0xfac1fed2dad3bef4ULL; in main() local
198 rc = syscall(__NR_preadv2, -1, NULL, vlen, pos_l, 1); in main()
204 rc = syscall(__NR_preadv2, -1, NULL, vlen, pos_l, pos_h, 1); in main()
210 (unsigned long) vlen, pos, sprintrc(rc)); in main()
217 rc = syscall(__NR_pwritev2, -1, NULL, vlen, pos_l, 1); in main()
219 rc = syscall(__NR_pwritev2, -1, NULL, vlen, pos_l, pos_h, 1); in main()
[all …]
Dlibmmsg.c46 const unsigned int vlen, const unsigned int flags, in recv_mmsg() argument
50 fd, (long) vec, vlen, flags, (long) timeout); in recv_mmsg()
60 const unsigned int vlen, const unsigned int flags) in send_mmsg() argument
63 fd, (long) vec, vlen, flags, 0); in send_mmsg()
/external/strace/tests-mx32/
Dpreadv2-pwritev2.c45 const unsigned long vlen, const unsigned long pos) in pr() argument
47 return syscall(__NR_preadv2, fd, vec, vlen, pos, 0L, 0L); in pr()
52 const unsigned long vlen, const unsigned long pos) in pw() argument
54 return syscall(__NR_pwritev2, fd, vec, vlen, pos, 0L, 0L); in pw()
185 const kernel_ulong_t vlen = (kernel_ulong_t) 0xfac1fed2dad3bef4ULL; in main() local
198 rc = syscall(__NR_preadv2, -1, NULL, vlen, pos_l, 1); in main()
204 rc = syscall(__NR_preadv2, -1, NULL, vlen, pos_l, pos_h, 1); in main()
210 (unsigned long) vlen, pos, sprintrc(rc)); in main()
217 rc = syscall(__NR_pwritev2, -1, NULL, vlen, pos_l, 1); in main()
219 rc = syscall(__NR_pwritev2, -1, NULL, vlen, pos_l, pos_h, 1); in main()
[all …]
Dlibmmsg.c46 const unsigned int vlen, const unsigned int flags, in recv_mmsg() argument
50 fd, (long) vec, vlen, flags, (long) timeout); in recv_mmsg()
60 const unsigned int vlen, const unsigned int flags) in send_mmsg() argument
63 fd, (long) vec, vlen, flags, 0); in send_mmsg()
/external/strace/tests-m32/
Dpreadv2-pwritev2.c45 const unsigned long vlen, const unsigned long pos) in pr() argument
47 return syscall(__NR_preadv2, fd, vec, vlen, pos, 0L, 0L); in pr()
52 const unsigned long vlen, const unsigned long pos) in pw() argument
54 return syscall(__NR_pwritev2, fd, vec, vlen, pos, 0L, 0L); in pw()
185 const kernel_ulong_t vlen = (kernel_ulong_t) 0xfac1fed2dad3bef4ULL; in main() local
198 rc = syscall(__NR_preadv2, -1, NULL, vlen, pos_l, 1); in main()
204 rc = syscall(__NR_preadv2, -1, NULL, vlen, pos_l, pos_h, 1); in main()
210 (unsigned long) vlen, pos, sprintrc(rc)); in main()
217 rc = syscall(__NR_pwritev2, -1, NULL, vlen, pos_l, 1); in main()
219 rc = syscall(__NR_pwritev2, -1, NULL, vlen, pos_l, pos_h, 1); in main()
[all …]
Dlibmmsg.c46 const unsigned int vlen, const unsigned int flags, in recv_mmsg() argument
50 fd, (long) vec, vlen, flags, (long) timeout); in recv_mmsg()
60 const unsigned int vlen, const unsigned int flags) in send_mmsg() argument
63 fd, (long) vec, vlen, flags, 0); in send_mmsg()
/external/syslinux/com32/modules/
Dprdhcp.c80 int i, vlen, oplen, j; in print_pxe_vendor_blk() local
87 vlen = len - ((void *)&(p->vendor) - (void *)p); in print_pxe_vendor_blk()
88 printf(" Vendor Data: Len=%d", vlen); in print_pxe_vendor_blk()
98 vlen = 0; in print_pxe_vendor_blk()
99 for (i = 4; i < vlen; i++) { in print_pxe_vendor_blk()
107 for (j = (++i + oplen); i < vlen && i < j; i++) { in print_pxe_vendor_blk()
Dpxechn.c227 int i, vlen, oplen; in dhcp_find_opt() local
235 vlen = len - ((void *)&(p->vendor) - (void *)p); in dhcp_find_opt()
239 vlen = 0; in dhcp_find_opt()
240 for (i = 4; i < vlen; i++) { in dhcp_find_opt()
258 int i, vlen; in print_pxe_vendor_raw() local
264 vlen = len - ((void *)&(p->vendor) - (void *)p); in print_pxe_vendor_raw()
265 if (vlen > PXE_VENDOR_RAW_PRN_MAX) in print_pxe_vendor_raw()
266 vlen = PXE_VENDOR_RAW_PRN_MAX; in print_pxe_vendor_raw()
267 dprintf(" rawLen = %d", vlen); in print_pxe_vendor_raw()
268 for (i = 0; i < vlen; i++) { in print_pxe_vendor_raw()
[all …]
/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.c237 size_t vlen[3]; in eap_eke_prf_hmac_sha1() local
242 vlen[0] = SHA1_MAC_LEN; in eap_eke_prf_hmac_sha1()
244 vlen[1] = data_len; in eap_eke_prf_hmac_sha1()
246 vlen[2] = 1; in eap_eke_prf_hmac_sha1()
252 &vlen[1], hash); in eap_eke_prf_hmac_sha1()
254 ret = hmac_sha1_vector(key, key_len, 3, addr, vlen, in eap_eke_prf_hmac_sha1()
278 size_t vlen[3]; in eap_eke_prf_hmac_sha256() local
283 vlen[0] = SHA256_MAC_LEN; in eap_eke_prf_hmac_sha256()
285 vlen[1] = data_len; in eap_eke_prf_hmac_sha256()
287 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 if (hmac_sha256_vector(psk, 32, 2, addr, vlen, hash)) in eap_gpsk_gkdf_sha256()
/external/syslinux/core/lwip/src/core/snmp/
Dmsg_out.c437 snmp_asn1_enc_s32t_cnt(*sint_ptr, &vb->vlen); in snmp_varbind_list_sum()
443 snmp_asn1_enc_u32t_cnt(*uint_ptr, &vb->vlen); in snmp_varbind_list_sum()
449 vb->vlen = vb->value_len; in snmp_varbind_list_sum()
453 snmp_asn1_enc_oid_cnt(vb->value_len / sizeof(s32_t), sint_ptr, &vb->vlen); in snmp_varbind_list_sum()
457 vb->vlen = 0; in snmp_varbind_list_sum()
461 snmp_asn1_enc_length_cnt(vb->vlen, &vb->vlenlen); in snmp_varbind_list_sum()
465 vb->seqlen = 1 + vb->vlenlen + vb->vlen; in snmp_varbind_list_sum()
644 snmp_asn1_enc_length(p, ofs, vb->vlen); in snmp_varbind_list_enc()
651 snmp_asn1_enc_s32t(p, ofs, vb->vlen, *sint_ptr); in snmp_varbind_list_enc()
657 snmp_asn1_enc_u32t(p, ofs, vb->vlen, *uint_ptr); in snmp_varbind_list_enc()
[all …]
/external/curl/lib/vauth/
Dcleartext.c125 size_t vlen = strlen(valuep); in Curl_auth_create_login_message() local
127 if(!vlen) { in Curl_auth_create_login_message()
140 return Curl_base64_encode(data, valuep, vlen, outptr, outlen); in Curl_auth_create_login_message()
/external/boringssl/src/crypto/x509/
Dasn1_gen.c131 static int parse_tagging(const char *vstart, int vlen, int *ptag,
307 int vlen = 0; in asn1_cb() local
319 vlen = len - (vstart - elem); in asn1_cb()
353 if (!parse_tagging(vstart, vlen, &arg->imp_tag, &arg->imp_class)) in asn1_cb()
359 if (!parse_tagging(vstart, vlen, &tmp_tag, &tmp_class)) in asn1_cb()
410 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass) in parse_tagging() argument
419 if (eptr && *eptr && (eptr > vstart + vlen)) in parse_tagging()
428 vlen -= eptr - vstart; in parse_tagging()
430 vlen = 0; in parse_tagging()
431 if (vlen) { in parse_tagging()
/external/libnl/lib/route/cls/ematch/
Dmeta.c123 size_t vlen = 0; in meta_parse() local
136 vlen = nla_len(tb[TCA_EM_META_LVALUE]); in meta_parse()
141 hdr->left.shift, vdata, vlen); in meta_parse()
147 vlen = 0; in meta_parse()
150 vlen = nla_len(tb[TCA_EM_META_RVALUE]); in meta_parse()
155 hdr->right.shift, vdata, vlen); in meta_parse()
/external/python/cpython2/Objects/
Dtupleobject.c573 Py_ssize_t vlen, wlen; in tuplerichcompare() local
583 vlen = Py_SIZE(vt); in tuplerichcompare()
597 for (i = 0; i < vlen && i < wlen; i++) { in tuplerichcompare()
606 if (i >= vlen || i >= wlen) { in tuplerichcompare()
611 case Py_LT: cmp = vlen < wlen; break; in tuplerichcompare()
612 case Py_LE: cmp = vlen <= wlen; break; in tuplerichcompare()
613 case Py_EQ: cmp = vlen == wlen; break; in tuplerichcompare()
614 case Py_NE: cmp = vlen != wlen; break; in tuplerichcompare()
615 case Py_GT: cmp = vlen > wlen; break; in tuplerichcompare()
616 case Py_GE: cmp = vlen >= wlen; break; in tuplerichcompare()
/external/jemalloc/src/
Djemalloc.c913 size_t vlen) in malloc_conf_error() argument
917 (int)vlen, v); in malloc_conf_error()
946 size_t klen, vlen; local
1044 &vlen)) {
1048 (sizeof(n)-1 == vlen && strncmp(n, v, vlen) == 0)
1058 k, klen, v, vlen); \
1075 (uintptr_t)v != vlen) { \
1078 k, klen, v, vlen); \
1096 k, klen, v, vlen); \
1117 (uintptr_t)v != vlen) { \
[all …]
/external/python/cpython3/Objects/
Dtupleobject.c580 Py_ssize_t vlen, wlen; in tuplerichcompare() local
588 vlen = Py_SIZE(vt); in tuplerichcompare()
602 for (i = 0; i < vlen && i < wlen; i++) { in tuplerichcompare()
611 if (i >= vlen || i >= wlen) { in tuplerichcompare()
616 case Py_LT: cmp = vlen < wlen; break; in tuplerichcompare()
617 case Py_LE: cmp = vlen <= wlen; break; in tuplerichcompare()
618 case Py_EQ: cmp = vlen == wlen; break; in tuplerichcompare()
619 case Py_NE: cmp = vlen != wlen; break; in tuplerichcompare()
620 case Py_GT: cmp = vlen > wlen; break; in tuplerichcompare()
621 case Py_GE: cmp = vlen >= wlen; break; in tuplerichcompare()
/external/webrtc/webrtc/base/
Dhttpbase.cc147 size_t vlen = eol - value; in ProcessLine() local
152 std::string value_str(value, vlen); in ProcessLine()
160 if ((vlen == 7) && (_strnicmp(value, "chunked", 7) == 0)) { in ProcessLine()
162 } else if ((vlen == 8) && (_strnicmp(value, "identity", 8) == 0)) { in ProcessLine()
169 return ProcessHeader(line, nlen, value, vlen, error); in ProcessLine()
823 size_t vlen, HttpError* error) { in ProcessHeader() argument
824 std::string sname(name, nlen), svalue(value, vlen); in ProcessHeader()
Dhttpbase.h49 const char* value, size_t vlen,
154 size_t vlen,
/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/libxaac/decoder/
Dixheaacd_basic_ops.c78 WORD32 *dest, WORD32 vlen, WORD8 shift1, in ixheaacd_windowing_long1() argument
81 WORD32 *rsrc2 = src2 + vlen - 1; in ixheaacd_windowing_long1()
84 for (i = 0; i < vlen / 2; i++) { in ixheaacd_windowing_long1()
88 *(dest + (vlen - (2 * i)) - 1) = ixheaacd_add32_sat( in ixheaacd_windowing_long1()
101 for (i = 0; i < vlen / 2; i++) { in ixheaacd_windowing_long1()
106 *(dest + (vlen - (2 * i)) - 1) = ixheaacd_add32_sat( in ixheaacd_windowing_long1()
/external/libmicrohttpd/src/microhttpd/
Dpostprocessor.c592 size_t vlen; in try_get_value() local
610 vlen = endv - spos - klen - 1; in try_get_value()
611 *destination = malloc (vlen); in try_get_value()
614 (*destination)[vlen - 1] = '\0'; in try_get_value()
615 memcpy (*destination, &spos[klen + 2], vlen - 1); in try_get_value()
/external/strace/
Dmmsghdr.c131 const unsigned int vlen, const unsigned int msg_len_vlen, in decode_mmsgvec() argument
148 print_array(tcp, addr, vlen, &mmsg, sizeof_struct_mmsghdr(), in decode_mmsgvec()
/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) { \

12