Searched refs:buffer_len (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.cpp | 930 size_t buffer_len = sizeof(buffer); in makeResponse() local 935 ret = makeResponseFromDnsHeader(header, buffer, &buffer_len); in makeResponse() 938 ret = makeResponseFromBinaryPacket(header, buffer, &buffer_len); in makeResponse() 942 ret = makeResponseFromAddressOrHostname(header, buffer, &buffer_len); in makeResponse() 956 if (protocol == IPPROTO_UDP && buffer_len > kMaximumUdpSize && in makeResponse() 958 LOG(INFO) << "Return truncated response because original response length " << buffer_len in makeResponse() 963 if (buffer_len > *response_len) { in makeResponse() 967 memcpy(response, buffer, buffer_len); in makeResponse() 968 *response_len = buffer_len; in makeResponse()
|
D | dns_responder.h | 255 bool handleDNSRequest(const char* buffer, ssize_t buffer_len, int protocol, char* response,
|
/packages/services/Car/cpp/bugreport/ |
D | main.cpp | 177 int copyTo(int fd_in, int fd_out, void* buffer, size_t buffer_len) { in copyTo() argument 178 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd_in, buffer, buffer_len)); in copyTo()
|