Lines Matching refs:utfbuf
62 char *utfbuf = 0, *outbuf, *newbuf;
104 utfbuf = (char *)malloc(utflen);
105 if (!utfbuf)
111 ob = utfbuf;
126 newbuf = (char *)realloc(utfbuf, utflen);
129 ob = (ob - utfbuf) + newbuf;
131 utfbuf = newbuf;
145 *tolen = ob - utfbuf;
147 free(utfbuf);
151 newbuf = (char *)safe_realloc_add_2op_(utfbuf, (ob - utfbuf), /*+*/1);
154 ob = (ob - utfbuf) + newbuf;
162 utflen = ob - utfbuf;
163 newbuf = (char *)realloc(utfbuf, utflen);
166 utfbuf = newbuf;
170 ib = utfbuf;
205 ib = utfbuf;
232 free(utfbuf);
245 if(0 != utfbuf)
246 free(utfbuf);