Home | History | Annotate | Download | only in dist

Lines Matching refs:odst

51  * Returns converted text in odst.  The original offset of each
52 * odst character (when it was in osrc) is returned in the chpos array.
54 public void cvt_text(char *odst, char *osrc, int *chpos, int *lenp, int ops)
57 char *edst = odst;
67 for (src = osrc, dst = odst; src < src_end; )
70 int dst_pos = (int) (dst - odst);
73 if ((ops & CVT_BS) && ch == '\b' && dst > odst)
78 } while (dst > odst && utf_mode &&
103 if ((ops & CVT_CRLF) && edst > odst && edst[-1] == '\r')
107 *lenp = (int) (edst - odst);
108 /* FIXME: why was this here? if (chpos != NULL) chpos[dst - odst] = src - osrc; */