Lines Matching refs:obuf
95 char *obuf, *optr; in convert_ucs2xx_to_utf8() local
112 obuf = malloc(obsize); in convert_ucs2xx_to_utf8()
113 if (!obuf) in convert_ucs2xx_to_utf8()
115 optr = obuf; in convert_ucs2xx_to_utf8()
121 "iconv(%s) failed"), errno, obuf); in convert_ucs2xx_to_utf8()
125 "iconv(%s) failed"), -1, obuf); in convert_ucs2xx_to_utf8()
132 return (obuf); in convert_ucs2xx_to_utf8()
170 uint16_t *obuf, *optr; in convert_utf8_to_ucs2xx() local
186 obuf = malloc(obsize); in convert_utf8_to_ucs2xx()
187 if (!obuf) in convert_utf8_to_ucs2xx()
189 optr = obuf; in convert_utf8_to_ucs2xx()
206 return (obuf); in convert_utf8_to_ucs2xx()