Searched defs:qbuf (Results 1 - 8 of 8) sorted by relevance

/external/c-ares/
H A Dares_send.c41 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, argument
80 query->qid = (unsigned short)DNS_HEADER_QID(qbuf);
85 * network-order bytes) to qbuf.
89 memcpy(query->tcpbuf + 2, qbuf, qlen);
93 query->qbuf = query->tcpbuf + 2;
H A Dares_query.c112 unsigned char *qbuf; local
117 status = ares_mkquery(name, dnsclass, type, channel->next_id, rd, &qbuf,
121 if (qbuf != NULL) free(qbuf);
132 ares_free_string(qbuf);
140 ares_send(channel, qbuf, qlen, qcallback, qquery);
141 ares_free_string(qbuf);
H A Dares_private.h180 /* Query ID from qbuf, for faster lookup, and current timeout */
199 /* Arguments passed to ares_send() (qbuf points into tcpbuf) */
200 const unsigned char *qbuf; member in struct:query
H A Dares_process.c96 static int same_questions(const unsigned char *qbuf, int qlen,
568 if ((q->qid == id) && same_questions(q->qbuf, q->qlen, abuf, alen))
785 if (swrite(server->udp_socket, query->qbuf, query->qlen) == -1)
1100 static int same_questions(const unsigned char *qbuf, int qlen, argument
1117 q.qdcount = DNS_HEADER_QDCOUNT(qbuf);
1122 /* For each question in qbuf, find it in abuf. */
1123 q.p = qbuf + HFIXEDSZ;
1127 if (ares_expand_name(q.p, qbuf, qlen, &q.name, &q.namelen)
1131 if (q.p + QFIXEDSZ > qbuf + qlen)
/external/webrtc/webrtc/base/
H A Dbase64.cc140 unsigned char qbuf[4], bool* padded)
144 qbuf[byte_len] = DecodeTable[static_cast<unsigned char>(data[*dpos])];
145 if ((il == qbuf[byte_len]) || (illegal_pads && (pd == qbuf[byte_len]))) {
149 } else if (sp == qbuf[byte_len]) {
153 } else if (pd == qbuf[byte_len]) {
178 qbuf[i] = 0;
224 unsigned char c, qbuf[4]; local
227 data, len, &dpos, qbuf, &padded);
228 c = (qbuf[
138 GetNextQuantum(DecodeFlags parse_flags, bool illegal_pads, const char* data, size_t len, size_t* dpos, unsigned char qbuf[4], bool* padded) argument
[all...]
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_query.c97 struct r600_query_buffer *qbuf = MALLOC_STRUCT(r600_query_buffer); local
98 *qbuf = query->buffer;
101 query->buffer.previous = qbuf;
216 struct r600_query_buffer *qbuf; local
222 for (qbuf = &query->buffer; qbuf; qbuf = qbuf->previous) {
223 count += qbuf->results_end / query->result_size;
232 for (qbuf
306 struct r600_query_buffer *qbuf = prev; local
348 struct r600_query_buffer *qbuf = prev; local
407 r600_get_query_buffer_result(struct r600_context *ctx, struct r600_query *query, struct r600_query_buffer *qbuf, boolean wait, union pipe_query_result *result) argument
504 struct r600_query_buffer *qbuf; local
[all...]
/external/toybox/toys/pending/
H A Dhost.c73 unsigned char qbuf[280], abuf[512], *p; local
116 qlen = res_mkquery(0, name, 1, type, 0, 0, 0, qbuf, sizeof qbuf);
130 send(s, qbuf, qlen, 0);
132 } else alen = res_send(qbuf, qlen, abuf, sizeof abuf);
/external/kernel-headers/original/uapi/linux/
H A Di2o-dev.h90 void __user *qbuf; /* Pointer to HTTP query string */ member in struct:i2o_html

Completed in 182 milliseconds