Lines Matching refs:ob
190 uchar_t *ob;
225 ob = (uchar_t *)*outbuf;
227 obtail = ob + *outbytesleft;
258 if (ob >= obtail) {
276 *ob++ = *ib++;
331 *ob++ = to_sb_tbl[id][i].sb;
341 *ob++ = KICONV_ASCII_REPLACEMENT_CHAR;
349 *outbuf = (char *)ob;
350 *outbytesleft = obtail - ob;
365 uchar_t *ob;
387 ob = (uchar_t *)*outbuf;
389 obtail = ob + *outbytesleft;
397 if (ob >= obtail) {
403 *ob++ = *ib++;
429 if ((obtail - ob) < sz) {
436 *ob++ = to_u8_tbl[(ulong_t)kcd][k].u8[i];
443 *outbuf = (char *)ob;
444 *outbytesleft = obtail - ob;
454 kiconvstr_to_sb(size_t id, uchar_t *ib, size_t *inlen, uchar_t *ob,
478 obtail = ob + *outlen;
496 if (ob >= obtail) {
514 if (ob >= obtail) {
521 *ob++ = *ib++;
582 *ob++ = to_sb_tbl[id][i].sb;
585 *ob++ = KICONV_ASCII_REPLACEMENT_CHAR;
592 *outlen = obtail - ob;
638 kiconvstr_fr_sb(size_t id, uchar_t *ib, size_t *inlen, uchar_t *ob,
651 obtail = ob + *outlen;
659 if (ob >= obtail) {
664 *ob++ = *ib++;
673 if ((obtail - ob) < 3) {
680 *ob++ = 0xef;
681 *ob++ = 0xbf;
682 *ob++ = 0xbd;
694 if ((obtail - ob) < sz) {
701 *ob++ = to_u8_tbl[id][k].u8[i];
707 *outlen = obtail - ob;