Home
last modified time | relevance | path

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

/system/netd/tests/
Ddns_responder.cpp170 char* buffer_cur = buffer; in write() local
184 if (buffer_cur + sizeof(uint8_t) + len > buffer_end) { in write()
188 *buffer_cur++ = len; in write()
189 buffer_cur = std::copy(std::next(name.begin(), pos), in write()
191 buffer_cur); in write()
195 *buffer_cur++ = 0; in write()
196 return buffer_cur; in write()
254 char* buffer_cur = qname.write(buffer, buffer_end); in write() local
255 if (buffer_cur == nullptr) return nullptr; in write()
256 if (buffer_cur + 2*sizeof(uint16_t) > buffer_end) { in write()
[all …]