/third_party/ltp/testcases/kernel/syscalls/sendmmsg/ |
D | sendmmsg_var.h | 13 unsigned int vlen, unsigned int flags) in libc_sendmmsg() argument 16 return sendmmsg(sockfd, msgvec, vlen, flags); in libc_sendmmsg() 24 unsigned int vlen, unsigned int flags) in sys_sendmmsg() argument 26 return tst_syscall(__NR_sendmmsg, sockfd, msgvec, vlen, flags); in sys_sendmmsg() 30 unsigned int vlen, unsigned int flags, void *timeout) in libc_recvmmsg() argument 33 return recvmmsg(sockfd, msgvec, vlen, flags, timeout); in libc_recvmmsg() 41 unsigned int vlen, unsigned int flags, void *timeout) in sys_recvmmsg() argument 43 return tst_syscall(__NR_recvmmsg, sockfd, msgvec, vlen, flags, timeout); in sys_recvmmsg() 47 unsigned int vlen, unsigned int flags, void *timeout) in sys_recvmmsg64() argument 49 return tst_syscall(__NR_recvmmsg_time64, sockfd, msgvec, vlen, flags, in sys_recvmmsg64()
|
/third_party/musl/src/network/ |
D | recvmmsg.c | 13 int recvmmsg(int fd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags, struct timespec… in recvmmsg() argument 18 for (i = vlen; i; i--, mh++) in recvmmsg() 24 int r = __syscall_cp(SYS_recvmmsg_time64, fd, msgvec, vlen, flags, in recvmmsg() 28 if (vlen > IOV_MAX) vlen = IOV_MAX; in recvmmsg() 29 socklen_t csize[vlen]; in recvmmsg() 30 for (int i=0; i<vlen; i++) csize[i] = msgvec[i].msg_hdr.msg_controllen; in recvmmsg() 31 r = __syscall_cp(SYS_recvmmsg, fd, msgvec, vlen, flags, in recvmmsg() 37 return syscall_cp(SYS_recvmmsg, fd, msgvec, vlen, flags, timeout); in recvmmsg()
|
D | sendmmsg.c | 7 int sendmmsg(int fd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags) in sendmmsg() argument 14 if (vlen > IOV_MAX) vlen = IOV_MAX; /* This matches the kernel. */ in sendmmsg() 15 if (!vlen) return 0; in sendmmsg() 16 for (i=0; i<vlen; i++) { in sendmmsg() 28 return syscall_cp(SYS_sendmmsg, fd, msgvec, vlen, flags); in sendmmsg()
|
/third_party/libuv/src/unix/ |
D | linux-syscalls.c | 145 int uv__sendmmsg(int fd, struct uv__mmsghdr* mmsg, unsigned int vlen) { in uv__sendmmsg() argument 152 args[2] = (unsigned long) vlen; in uv__sendmmsg() 163 return syscall(__NR_sendmmsg, fd, mmsg, vlen, /* flags */ 0); in uv__sendmmsg() 170 int uv__recvmmsg(int fd, struct uv__mmsghdr* mmsg, unsigned int vlen) { in uv__recvmmsg() argument 177 args[2] = (unsigned long) vlen; in uv__recvmmsg() 189 return syscall(__NR_recvmmsg, fd, mmsg, vlen, /* flags */ 0, /* timeout */ 0); in uv__recvmmsg()
|
D | freebsd.c | 267 int uv__sendmmsg(int fd, struct uv__mmsghdr* mmsg, unsigned int vlen) { in uv__sendmmsg() argument 271 vlen, in uv__sendmmsg() 279 int uv__recvmmsg(int fd, struct uv__mmsghdr* mmsg, unsigned int vlen) { in uv__recvmmsg() argument 283 vlen, in uv__recvmmsg()
|
D | os390-syscalls.c | 445 ssize_t vlen; in os390_readlink() local 495 vlen = strlen(realpathstr); in os390_readlink() 496 rlen = plen + vlen; in os390_readlink() 502 memcpy(buf, realpathstr, vlen); in os390_readlink() 503 memcpy(buf + vlen, delimiter, plen); in os390_readlink()
|
/third_party/iowow/src/kv/dbg/ |
D | iwkvdbg.c | 10 uint32_t klen, vlen; in iwkvd_kvblk() local 28 _kvblk_value_peek(kb, i, mm, &vbuf, &vlen); in iwkvd_kvblk() 31 klen, kbuf, MIN(vlen, maxvlen), vbuf); in iwkvd_kvblk() 43 uint32_t klen, vlen; in iwkvd_sblk() local 91 _kvblk_value_peek(sb->kvblk, sb->pi[i], mm, &vbuf, &vlen); in iwkvd_sblk() 92 …fprintf(f, " [%03d,%03d] %.*s:%.*s", i, sb->pi[i], klen, kbuf, MIN(vlen, IWKVD_MAX_VALSZ), vbuf… in iwkvd_sblk()
|
/third_party/iowow/src/kv/benchmark/ |
D | leveldb_benchmark.c | 148 size_t vlen, klen; in db_read_seq() local 149 leveldb_iter_value(it, &vlen); in db_read_seq() 172 size_t vlen; in db_cursor_to_key() local 173 const char *v = leveldb_iter_value(it, &vlen); in db_cursor_to_key() 174 val->data = malloc(vlen); in db_cursor_to_key() 175 memcpy(val->data, v, vlen); in db_cursor_to_key()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | truncate.c | 24 const int vlen = 5; variable 69 int result = truncate(path, vlen); in truncate_0200() 87 if (strlen(buf) != vlen) { in truncate_0200()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
D | eap_eke_common.c | 214 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 …]
|
D | eap_gpsk_common.c | 46 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
D | eap_eke_common.c | 214 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 …]
|
D | eap_gpsk_common.c | 46 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()
|
/third_party/openssl/crypto/asn1/ |
D | asn1_gen.c | 71 static int parse_tagging(const char *vstart, int vlen, int *ptag, 245 int vlen = 0; in asn1_cb() local 257 vlen = len - (vstart - elem); in asn1_cb() 291 if (!parse_tagging(vstart, vlen, &arg->imp_tag, &arg->imp_class)) in asn1_cb() 297 if (!parse_tagging(vstart, vlen, &tmp_tag, &tmp_class)) in asn1_cb() 348 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass) in parse_tagging() argument 357 if (eptr && *eptr && (eptr > vstart + vlen)) in parse_tagging() 366 vlen -= eptr - vstart; in parse_tagging() 368 vlen = 0; in parse_tagging() 369 if (vlen) { in parse_tagging()
|
/third_party/musl/compat/time32/ |
D | recvmmsg_time32.c | 6 int __recvmmsg_time32(int fd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags, struct… in __recvmmsg_time32() argument 8 return recvmmsg(fd, msgvec, vlen, flags, ts32 ? (&(struct timespec){ in __recvmmsg_time32()
|
/third_party/libnl/lib/route/cls/ematch/ |
D | meta.c | 125 size_t vlen = 0; in meta_parse() local 138 vlen = nla_len(tb[TCA_EM_META_LVALUE]); in meta_parse() 143 hdr->left.shift, vdata, vlen); in meta_parse() 149 vlen = 0; in meta_parse() 152 vlen = nla_len(tb[TCA_EM_META_RVALUE]); in meta_parse() 157 hdr->right.shift, vdata, vlen); in meta_parse()
|
/third_party/ltp/testcases/kernel/crypto/ |
D | crypto_user01.c | 35 static void do_check_for_leaks(const char *name, const char *value, size_t vlen) in do_check_for_leaks() argument 39 for (i = strnlen(value, vlen); i < vlen; i++) { in do_check_for_leaks()
|
/third_party/ffmpeg/libavcodec/ |
D | vorbisdec.c | 1390 unsigned vlen, in vorbis_residue_decode_internal() argument 1398 unsigned max_output = (ch - 1) * vlen; in vorbis_residue_decode_internal() 1414 if (max_output > ch_left * vlen) { in vorbis_residue_decode_internal() 1415 if (max_output <= ch_left * vlen + vr->partition_size*ch_used/ch) { in vorbis_residue_decode_internal() 1452 voffs = voffset+j*vlen; in vorbis_residue_decode_internal() 1462 voffs = voffset + j * vlen; in vorbis_residue_decode_internal() 1485 vec[voffs + k + vlen] += codebook.codevectors[coffs + 1]; in vorbis_residue_decode_internal() 1495 vec[voffs + vlen ] += codebook.codevectors[coffs + 1]; in vorbis_residue_decode_internal() 1496 vec[voffs + vlen + 1] += codebook.codevectors[coffs + 3]; in vorbis_residue_decode_internal() 1506 vec[voffs + vlen] += codebook.codevectors[coffs + l + 1]; in vorbis_residue_decode_internal() [all …]
|
/third_party/ltp/include/ |
D | time64_variants.h | 57 int (*recvmmsg)(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, 59 int (*sendmmsg)(int sockfd, struct mmsghdr *msgvec, unsigned int vlen,
|
/third_party/iowow/src/kv/tests/ |
D | iwkv_test10.c | 81 int vlen = strlen(vbuf); in iwkv_test10_1_impl() local 84 IW_CMP(cret, vbuf, vlen, val.data, val.size); in iwkv_test10_1_impl()
|
/third_party/musl/porting/linux/user/ldso/ |
D | ns_config.c | 92 size_t klen, vlen; in config_line() local 94 vlen = len - klen -1; in config_line() 96 if (vlen > 0) memcpy(value, split+1, vlen); in config_line() 98 value[vlen] = 0; in config_line()
|
/third_party/node/lib/ |
D | querystring.js | 250 const vlen = v.length; 251 if (vlen === 0) continue; 254 for (let j = 0; j < vlen; ++j) {
|
/third_party/optimized-routines/math/test/ |
D | mathbench.c | 540 int vlen = 1; in bench1() local 543 vlen = v_double_len(); in bench1() 545 vlen = v_float_len(); in bench1() 583 ns100 = (100 * dt + itercount * N / vlen / 2) / (itercount * N / vlen); in bench1()
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
D | postprocessor.c | 592 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()
|
/third_party/gstreamer/gstplugins_base/tests/examples/encoding/ |
D | encoding.c | 427 guint f, v, a, flen, vlen, alen; in main() local 457 vlen = gst_caps_get_size (compatv); in main() 461 for (v = 0; v < vlen; v++) { in main()
|