Lines Matching defs:dst
204 static void append(char** dst, size_t* count, const char* src, size_t n) {
205 if (*dst) {
206 ::memcpy(*dst, src, n);
207 *dst += n;
212 size_t Editor::copy(TextPosition pos1, TextPosition pos2, char* dst) const {
225 append(&dst, &size, str.begin() + start.fTextByteIndex,
235 append(&dst, &size, first.begin() + start.fTextByteIndex, first.size() - start.fTextByteIndex);
237 append(&dst, &size, "\n", 1);
238 append(&dst, &size, line->fText.begin(), line->fText.size());
240 append(&dst, &size, "\n", 1);
241 append(&dst, &size, last.begin(), end.fTextByteIndex);