Lines Matching refs:data
207 /* If any TCP sockets select true for writing, write out queued data
223 const unsigned char *data;
227 /* Make sure server has data to send and is selected in write_fds or
252 data = ares__buf_peek(server->tcp_send, &data_len);
253 count = ares__socket_write(channel, server->tcp_conn->fd, data, data_len);
261 /* Strip data written from the buffer */
264 /* Notify state callback all data is written */
271 /* If any TCP socket selects true for reading, read some data,
281 /* Fetch buffer to store data we are reading */
303 /* Record amount of data read */
309 const unsigned char *data = NULL;
322 /* Not enough data for a full response yet */
329 data = ares__buf_tag_fetch(server->tcp_parser, &data_len);
330 if (data == NULL) {
336 data += 2;
340 status = process_answer(channel, data, data_len, conn, ARES_TRUE, now);