Home
last modified time | relevance | path

Searched refs:buffer_cur (Results 1 – 1 of 1) sorted by relevance

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp200 char* buffer_cur = buffer; in write() local
214 if (buffer_cur + sizeof(uint8_t) + len > buffer_end) { in write()
218 *buffer_cur++ = len; in write()
219 buffer_cur = std::copy(std::next(name.begin(), pos), std::next(name.begin(), dot_pos), in write()
220 buffer_cur); in write()
224 *buffer_cur++ = 0; in write()
225 return buffer_cur; in write()
273 char* buffer_cur = qname.write(buffer, buffer_end); in write() local
274 if (buffer_cur == nullptr) return nullptr; in write()
275 if (buffer_cur + 2 * sizeof(uint16_t) > buffer_end) { in write()
[all …]