Home
last modified time | relevance | path

Searched refs:qlen (Results 1 – 25 of 32) sorted by relevance

12

/third_party/node/deps/cares/src/lib/
Dares_send.c29 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, in ares_send() argument
37 if (qlen < HFIXEDSZ || qlen >= (1 << 16)) in ares_send()
50 query->tcpbuf = ares_malloc(qlen + 2); in ares_send()
81 query->tcpbuf[0] = (unsigned char)((qlen >> 8) & 0xff); in ares_send()
82 query->tcpbuf[1] = (unsigned char)(qlen & 0xff); in ares_send()
83 memcpy(query->tcpbuf + 2, qbuf, qlen); in ares_send()
84 query->tcplen = qlen + 2; in ares_send()
88 query->qlen = qlen; in ares_send()
108 query->using_tcp = (channel->flags & ARES_FLAG_USEVC) || qlen > packetsz; in ares_send()
Dares_query.c110 int qlen, rd, status; in ares_query() local
115 &qlen, (channel->flags & ARES_FLAG_EDNS) ? channel->ednspsz : 0); in ares_query()
137 ares_send(channel, qbuf, qlen, qcallback, qquery); in ares_query()
Dares_process.c81 static int same_questions(const unsigned char *qbuf, int qlen,
596 if ((q->qid == id) && same_questions(q->qbuf, q->qlen, abuf, alen)) in process_answer()
614 int qlen = (query->tcplen - 2) - EDNSFIXEDSZ; in process_answer() local
617 query->qlen -= EDNSFIXEDSZ; in process_answer()
618 query->tcpbuf[0] = (unsigned char)((qlen >> 8) & 0xff); in process_answer()
619 query->tcpbuf[1] = (unsigned char)(qlen & 0xff); in process_answer()
861 if (socket_write(channel, server->udp_socket, query->qbuf, query->qlen) == -1) in ares__send_query()
1244 static int same_questions(const unsigned char *qbuf, int qlen, in same_questions() argument
1257 if (qlen < HFIXEDSZ || alen < HFIXEDSZ) in same_questions()
1271 if (ares_expand_name(q.p, qbuf, qlen, &q.name, &q.namelen) in same_questions()
[all …]
Dares_private.h226 int qlen; member
/third_party/alsa-lib/src/seq/
Dseq_midi_event.c38 ssize_t qlen; /* queue length */ member
83 int qlen; member
211 dev->qlen = 0; in reset_encode()
421 dev->qlen = status_event[dev->type].qlen; in snd_midi_event_encode_byte()
423 if (dev->qlen > 0) { in snd_midi_event_encode_byte()
427 dev->qlen--; in snd_midi_event_encode_byte()
431 dev->qlen = status_event[dev->type].qlen - 1; in snd_midi_event_encode_byte()
435 if (dev->qlen == 0) { in snd_midi_event_encode_byte()
560 long qlen; in snd_midi_event_decode() local
586 qlen = ev->data.ext.len; in snd_midi_event_decode()
[all …]
/third_party/curl/lib/
Ddotdot.c171 size_t qlen; in Curl_dedotdotify() local
176 qlen = strlen(&input[oindex]); in Curl_dedotdotify()
177 memcpy(outptr, &input[oindex], qlen + 1); /* include the end zero byte */ in Curl_dedotdotify()
/third_party/ltp/testcases/network/tcp_cc/
Dtcp_cc_lib.sh63 local qlen="${2:-1000}"
66 tst_res TINFO "set qdisc on $(tst_iface rhost) to $qdisc len $qlen"
71 tst_rhost_run -s -c "ip link set txqueuelen $qlen dev $rmt_dev"
/third_party/toybox/toys/pending/
Dhost.c71 i, j, ret, sec, count, rcode, qlen, alen, pllen = 0, in host_main() local
119 qlen = res_mkquery(0, name, 1, type, 0, 0, 0, qbuf, sizeof(qbuf)); in host_main()
120 if (qlen < 0) error_exit("Invalid query parameters: %s", name); in host_main()
132 send(s, qbuf, qlen, 0); in host_main()
134 } else alen = res_send(qbuf, qlen, abuf, abuf_len); in host_main()
/third_party/libnl/src/lib/
Dlink.c97 uint32_t qlen = nl_cli_parse_u32(arg); in nl_cli_link_parse_txqlen() local
98 rtnl_link_set_txqlen(link, qlen); in nl_cli_link_parse_txqlen()
/third_party/python/Lib/email/
D_encoded_words.py226 qlen = _cte_encode_length['q'](bstring)
229 encoding = 'q' if qlen - blen < 5 else 'b'
/third_party/libnl/include/linux-private/linux/
Dgen_stats.h62 __u32 qlen; member
Dpkt_sched.h41 __u32 qlen; member
/third_party/musl/src/network/
Dgetnameinfo.c159 int qlen = __res_mkquery(0, ptr, 1, RR_PTR, in getnameinfo() local
161 int rlen = __res_send(query, qlen, reply, sizeof reply); in getnameinfo()
/third_party/musl/porting/liteos_a/user/src/network/
Dgetnameinfo.c159 int qlen = __res_mkquery(0, ptr, 1, RR_PTR, in getnameinfo() local
161 int rlen = __res_send(query, qlen, reply, sizeof reply); in getnameinfo()
/third_party/lwip/src/core/ipv4/
Detharp.c1040 unsigned int qlen = 0; local
1047 qlen++;
1050 qlen++;
1058 if (qlen >= ARP_QUEUE_LEN) {
/third_party/lwip/src/core/
Dpbuf.c242 u16_t qlen; in pbuf_alloc() local
253 qlen = LWIP_MIN(rem_len, (u16_t)(PBUF_POOL_BUFSIZE_ALIGNED - LWIP_MEM_ALIGN_SIZE(offset))); in pbuf_alloc()
255 rem_len, qlen, type, 0); in pbuf_alloc()
268 rem_len = (u16_t)(rem_len - qlen); in pbuf_alloc()
/third_party/ltp/doc/
Dnamespaces-helper-tools.txt53 6: veth1: <BROADCAST> mtu 1500 qdisc noop state DOWN qlen 1000
/third_party/libnl/lib/route/
Dtc.c134 tc->tc_stats[RTNL_TC_QLEN] = q->qlen; in rtnl_tc_msg_parse()
158 tc->tc_stats[RTNL_TC_QLEN] = st->qlen; in rtnl_tc_msg_parse()
618 __ADD(RTNL_TC_QLEN, qlen),
/third_party/curl/lib/vauth/
Ddigest.c273 char *qop, size_t qlen) in auth_decode_digest_md5_message() argument
296 if(!auth_digest_get_key_value(chlg, "qop=\"", qop, qlen, '\"')) in auth_decode_digest_md5_message()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_query.c480 int qlen; in define_query_vgpu10() local
502 qlen = align(resultLen + sizeof(SVGA3dQueryState), 8); in define_query_vgpu10()
505 sq->offset = allocate_query(svga, sq->svga_type, qlen); in define_query_vgpu10()
/third_party/curl/lib/vtls/
Dbearssl.c181 ta_size += pkey->key.ec.qlen; in load_cafile()
205 memcpy(ta->pkey.key.ec.q, pkey->key.ec.q, pkey->key.ec.qlen); in load_cafile()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_uio.h1188 uint16_t qlen; member
1198 uint32_t qlen; member
Dsctp_sysctl.c528 xinpcb.qlen = 0;
532 xinpcb.qlen = so->sol_qlen;
539 xinpcb.qlen = so->so_qlen;
/third_party/node/deps/cares/include/
Dares.h416 int qlen,
/third_party/libnl/python/netlink/route/
Dtc.py223 def qlen(self): member in Tc

12