Lines Matching defs:chpos
36 * Allocate a chpos array for use by cvt_text.
41 int *chpos = (int *) ecalloc(len, sizeof(int));
44 chpos[i] = -1;
45 return (chpos);
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)
97 if (chpos != NULL)
100 chpos[dst_pos++] = (int) src_pos; /*{{type-issue}}*/
111 /* FIXME: why was this here? if (chpos != NULL) chpos[dst - odst] = src - osrc; */