Lines Matching defs:odst
50 * Returns converted text in odst. The original offset of each
51 * odst character (when it was in osrc) is returned in the chpos array.
53 public void cvt_text(mutable char *odst, constant char *osrc, mutable int *chpos, mutable size_t *lenp, int ops)
56 char *edst = odst;
66 for (src = osrc, dst = odst; src < src_end; )
69 size_t dst_pos = ptr_diff(dst, odst);
72 if ((ops & CVT_BS) && ch == '\b' && dst > odst)
77 } while (dst > odst && utf_mode &&
106 if ((ops & CVT_CRLF) && edst > odst && edst[-1] == '\r')
110 *lenp = ptr_diff(edst, odst);
111 /* FIXME: why was this here? if (chpos != NULL) chpos[dst - odst] = src - osrc; */