Searched refs:buffer_len (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.cpp | 900 size_t buffer_len = sizeof(buffer); in makeResponse() local 905 ret = makeResponseFromDnsHeader(header, buffer, &buffer_len); in makeResponse() 908 ret = makeResponseFromBinaryPacket(header, buffer, &buffer_len); in makeResponse() 912 ret = makeResponseFromAddressOrHostname(header, buffer, &buffer_len); in makeResponse() 926 if (protocol == IPPROTO_UDP && buffer_len > kMaximumUdpSize && in makeResponse() 928 LOG(INFO) << "Return truncated response because original response length " << buffer_len in makeResponse() 933 if (buffer_len > *response_len) { in makeResponse() 937 memcpy(response, buffer, buffer_len); in makeResponse() 938 *response_len = buffer_len; in makeResponse()
|
D | dns_responder.h | 240 bool handleDNSRequest(const char* buffer, ssize_t buffer_len, int protocol, char* response,
|
/packages/services/Car/car-bugreportd/ |
D | main.cpp | 176 int copyTo(int fd_in, int fd_out, void* buffer, size_t buffer_len) { in copyTo() argument 177 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd_in, buffer, buffer_len)); in copyTo()
|