Lines Matching refs:dlen
108 convert(char *d, size_t dlen, int dccsid, in convert() argument
131 i = lslen < dlen ? lslen : dlen; in convert()
151 i = dlen; in convert()
153 if((int) iconv(cd, (char * *) &s, &lslen, &d, &dlen) < 0) in convert()
156 i -= dlen; in convert()
167 size_t dlen; in dynconvert() local
173 dlen = (size_t) (slen < 0 ? strlen(s) : slen) + 1; in dynconvert()
174 dlen *= MAX_CONV_EXPANSION; /* Allow some expansion. */ in dynconvert()
175 d = malloc(dlen); in dynconvert()
180 l = convert(d, dlen, dccsid, s, slen, sccsid); in dynconvert()
192 int l2 = convert(d + l, dlen - l, dccsid, &nullbyte, -1, ASCII_CCSID); in dynconvert()
202 if((size_t) l < dlen) { in dynconvert()