Home
last modified time | relevance | path

Searched refs:ob (Results 1 – 25 of 97) sorted by relevance

1234

/titanic_51/usr/src/lib/iconv_modules/utf-8/common/
H A Dutf7_to_ucs.h84 if ((obtail - ob) < (sz)) { \
96 if ((obtail - ob) < obsz) { \
103 *ob++ = (uchar_t)0xff; \
104 *ob++ = (uchar_t)0xfe; \
107 *ob++ = (uchar_t)(u4 & 0xff); \
108 *ob++ = (uchar_t)((u4 >> 8) & 0xff); \
111 *ob++ = (uchar_t)0xfe; \
112 *ob++ = (uchar_t)0xff; \
115 *ob++ = (uchar_t)((u4 >> 8) & 0xff); \
116 *ob
[all...]
H A Dutf8_to_utf_ebcdic.c49 if ((obtail - ob) < (sz)) { \
64 uchar_t *ob; in _icv_iconv() local
77 ob = (uchar_t *)*outbuf; in _icv_iconv()
79 obtail = ob + *outbufleft; in _icv_iconv()
143 *ob++ = I8_UTFEBICDIC(u4); in _icv_iconv()
146 *ob++ = I8_UTFEBICDIC(u4); in _icv_iconv()
149 *ob++ = I8_UTFEBICDIC(0xc0 | ((u4 & 0x03e0) >> 5)); in _icv_iconv()
150 *ob++ = I8_UTFEBICDIC(0xa0 | (u4 & 0x001f)); in _icv_iconv()
153 *ob++ = I8_UTFEBICDIC(0xe0 | ((u4 & 0x3c00) >> 10)); in _icv_iconv()
154 *ob in _icv_iconv()
[all...]
H A Dutf_ebcdic_to_utf8.c49 if ((obtail - ob) < (sz)) { \
64 uchar_t *ob; in _icv_iconv() local
77 ob = (uchar_t *)*outbuf; in _icv_iconv()
79 obtail = ob + *outbufleft; in _icv_iconv()
124 *ob++ = (uchar_t)u4; in _icv_iconv()
127 *ob++ = (uchar_t)(0xc0 | ((u4 & 0x07c0) >> 6)); in _icv_iconv()
128 *ob++ = (uchar_t)(0x80 | (u4 & 0x003f)); in _icv_iconv()
131 *ob++ = (uchar_t)(0xe0 | ((u4 & 0x0f000) >> 12)); in _icv_iconv()
132 *ob++ = (uchar_t)(0x80 | ((u4 & 0x00fc0) >> 6)); in _icv_iconv()
133 *ob in _icv_iconv()
[all...]
H A Dsb_to_ucs.c87 unsigned char *ob; in _icv_iconv() local
110 ob = (unsigned char *)*outbuf; in _icv_iconv()
112 obtail = ob + *outbufleft; in _icv_iconv()
169 if ((obtail - ob) < obsz) { in _icv_iconv()
177 *ob++ = (uchar_t)0xff; in _icv_iconv()
178 *ob++ = (uchar_t)0xfe; in _icv_iconv()
181 *(ushort_t *)ob = (ushort_t)0; in _icv_iconv()
182 ob += 2; in _icv_iconv()
186 *ob++ = (uchar_t)(u4 & 0xff); in _icv_iconv()
187 *ob in _icv_iconv()
[all...]
H A Ducs_to_utf8.c88 uchar_t *ob; in _icv_iconv() local
108 ob = (uchar_t *)*outbuf; in _icv_iconv()
110 obtail = ob + *outbufleft; in _icv_iconv()
221 *ob++ = (uchar_t)u4; in _icv_iconv()
224 *ob++ = (uchar_t)(0xc0 | ((u4 & 0x07c0) >> 6)); in _icv_iconv()
225 *ob++ = (uchar_t)(0x80 | (u4 & 0x003f)); in _icv_iconv()
228 *ob++ = (uchar_t)(0xe0 | ((u4 & 0x0f000) >> 12)); in _icv_iconv()
229 *ob++ = (uchar_t)(0x80 | ((u4 & 0x00fc0) >> 6)); in _icv_iconv()
230 *ob++ = (uchar_t)(0x80 | (u4 & 0x0003f)); in _icv_iconv()
233 *ob in _icv_iconv()
[all...]
H A Dutf8_to_ucs.c80 uchar_t *ob; in _icv_iconv() local
97 ob = (uchar_t *)*outbuf; in _icv_iconv()
99 obtail = ob + *outbufleft; in _icv_iconv()
200 if ((obtail - ob) < obsz) { in _icv_iconv()
209 *ob++ = (uchar_t)0xff; in _icv_iconv()
210 *ob++ = (uchar_t)0xfe; in _icv_iconv()
213 *(ushort_t *)ob = (ushort_t)0; in _icv_iconv()
214 ob += 2; in _icv_iconv()
218 *ob++ = (uchar_t)(u4 & 0xff); in _icv_iconv()
219 *ob in _icv_iconv()
[all...]
H A Ducs4_to_utf32.c90 uchar_t *ob; in _icv_iconv() local
114 ob = (uchar_t *)*outbuf; in _icv_iconv()
116 obtail = ob + *outbufleft; in _icv_iconv()
170 if ((obtail - ob) < obsz) { in _icv_iconv()
178 *ob++ = (uchar_t)0xff; in _icv_iconv()
179 *ob++ = (uchar_t)0xfe; in _icv_iconv()
180 *(ushort_t *)ob = (ushort_t)0; in _icv_iconv()
181 ob += 2; in _icv_iconv()
184 *ob++ = (uchar_t)(u4 & 0xff); in _icv_iconv()
185 *ob in _icv_iconv()
[all...]
H A Dutf32_to_ucs4.c90 uchar_t *ob; in _icv_iconv() local
114 ob = (uchar_t *)*outbuf; in _icv_iconv()
116 obtail = ob + *outbufleft; in _icv_iconv()
165 if ((obtail - ob) < obsz) { in _icv_iconv()
173 *ob++ = (uchar_t)0xff; in _icv_iconv()
174 *ob++ = (uchar_t)0xfe; in _icv_iconv()
175 *(ushort_t *)ob = (ushort_t)0; in _icv_iconv()
176 ob += 2; in _icv_iconv()
179 *ob++ = (uchar_t)(u4 & 0xff); in _icv_iconv()
180 *ob in _icv_iconv()
[all...]
H A Dace_utf8.c80 cd->ob = (uchar_t *)malloc(_SYS_NMLN); in _icv_open()
81 if (cd->ob == (uchar_t *)NULL) { in _icv_open()
104 free((void *)cd->ob); in _icv_close()
116 uchar_t *ob; in _icv_iconv() local
140 ob = (uchar_t *)*outbuf; in _icv_iconv()
141 obtail = ob + *outbufleft; in _icv_iconv()
148 if (ob >= obtail) { in _icv_iconv()
151 (void) memmove((void *)cd->ob, in _icv_iconv()
152 (const void *)(cd->ob + i), cd->oblremaining); in _icv_iconv()
156 *ob in _icv_iconv()
[all...]
H A Ducs_to_ucs4.c90 uchar_t *ob; in _icv_iconv() local
113 ob = (uchar_t *)*outbuf; in _icv_iconv()
115 obtail = ob + *outbufleft; in _icv_iconv()
208 if ((obtail - ob) < ((cd->output.bom_written) ? 4 : 8)) { in _icv_iconv()
216 *ob++ = (uchar_t)0xff; in _icv_iconv()
217 *ob++ = (uchar_t)0xfe; in _icv_iconv()
218 *(ushort_t *)ob = (ushort_t)0; in _icv_iconv()
219 ob += 2; in _icv_iconv()
222 *ob++ = (uchar_t)(u4 & 0xff); in _icv_iconv()
223 *ob in _icv_iconv()
[all...]
/titanic_51/usr/src/uts/common/kiconv/kiconv_sc/
H A Dkiconv_sc.c47 static int8_t gb2312_to_utf8(uchar_t byte1, uchar_t byte2, uchar_t *ob,
49 static int8_t gbk_to_utf8(uint32_t gbk_val, uchar_t *ob, uchar_t *obtail,
52 uchar_t *ob, uchar_t *obtail, size_t *ret);
54 uchar_t *ob, uchar_t *obtail, size_t *ret);
56 uchar_t *ob, uchar_t *obtail, size_t *ret);
121 uchar_t *ob; in kiconv_fr_gb18030() local
142 ob = (uchar_t *)*outbuf; in kiconv_fr_gb18030()
144 obtail = ob + *outbytesleft; in kiconv_fr_gb18030()
148 if (ob >= obtail) { in kiconv_fr_gb18030()
152 *ob in kiconv_fr_gb18030()
218 uchar_t *ob; kiconvstr_fr_gb18030() local
351 uchar_t *ob; kiconv_fr_gbk() local
437 uchar_t *ob; kiconvstr_fr_gbk() local
539 uchar_t *ob; kiconv_fr_euccn() local
622 uchar_t *ob; kiconvstr_fr_euccn() local
697 gb2312_to_utf8(uchar_t b1,uchar_t b2,uchar_t * ob,uchar_t * obtail,size_t * ret_val) gb2312_to_utf8() argument
740 gbk_to_utf8(uint32_t gbk_val,uchar_t * ob,uchar_t * obtail,size_t * ret_val,boolean_t isgbk4) gbk_to_utf8() argument
803 utf8_to_gb18030(uint32_t utf8,uchar_t ** inbuf,uchar_t * ibtail,uchar_t * ob,uchar_t * obtail,size_t * ret) utf8_to_gb18030() argument
856 utf8_to_gbk(uint32_t utf8,uchar_t ** inbuf,uchar_t * ibtail,uchar_t * ob,uchar_t * obtail,size_t * ret) utf8_to_gbk() argument
897 utf8_to_gb2312(uint32_t utf8,uchar_t ** inbuf,uchar_t * intail,uchar_t * ob,uchar_t * obtail,size_t * ret) utf8_to_gb2312() argument
[all...]
/titanic_51/usr/src/lib/iconv_modules/ko/common/
H A Djohap92_to_UTF2.c68 unsigned char* ob; in _icv_iconv() local
82 ob = (unsigned char*)*outbuf; in _icv_iconv()
84 obtail = ob + *outbufleft; in _icv_iconv()
110 if ((obtail - ob) < (cf ? 9 : 6)) in _icv_iconv()
116 *ob++ = (char)((ci >> 16) & 0xFF); in _icv_iconv()
117 *ob++ = (char)((ci >> 8) & 0xFF); in _icv_iconv()
118 *ob++ = (char)(ci & 0xFF); in _icv_iconv()
119 *ob++ = (char)((v >> 16) & 0xFF); in _icv_iconv()
120 *ob++ = (char)((v >> 8) & 0xFF); in _icv_iconv()
121 *ob in _icv_iconv()
[all...]
H A Deuc_to_UTF2.c68 unsigned char* ob; in _icv_iconv() local
82 ob = (unsigned char*)*outbuf; in _icv_iconv()
84 obtail = ob + *outbufleft; in _icv_iconv()
118 if ((obtail - ob) < (cf ? 9 : 6)) in _icv_iconv()
124 *ob++ = (char)((ci >> 16) & 0xFF); in _icv_iconv()
125 *ob++ = (char)((ci >> 8) & 0xFF); in _icv_iconv()
126 *ob++ = (char)(ci & 0xFF); in _icv_iconv()
127 *ob++ = (char)((v >> 16) & 0xFF); in _icv_iconv()
128 *ob++ = (char)((v >> 8) & 0xFF); in _icv_iconv()
129 *ob in _icv_iconv()
[all...]
H A Diso2022-7_to_UTF2.c69 unsigned char* ob; in _icv_iconv() local
87 ob = (unsigned char*)*outbuf; in _icv_iconv()
89 obtail = ob + *outbufleft; in _icv_iconv()
118 if (ob >= obtail) in _icv_iconv()
124 *ob++ = *ib++; in _icv_iconv()
150 if ((obtail - ob) < (cf ? 9 : 6)) in _icv_iconv()
156 *ob++ = (char)((ci >> 16) & 0xFF); in _icv_iconv()
157 *ob++ = (char)((ci >> 8) & 0xFF); in _icv_iconv()
158 *ob++ = (char)(ci & 0xFF); in _icv_iconv()
159 *ob in _icv_iconv()
[all...]
H A Djohap_to_UTF2.c68 unsigned char* ob; in _icv_iconv() local
82 ob = (unsigned char*)*outbuf; in _icv_iconv()
84 obtail = ob + *outbufleft; in _icv_iconv()
110 if ((obtail - ob) < (cf ? 9 : 6)) in _icv_iconv()
116 *ob++ = (char)((ci >> 16) & 0xFF); in _icv_iconv()
117 *ob++ = (char)((ci >> 8) & 0xFF); in _icv_iconv()
118 *ob++ = (char)(ci & 0xFF); in _icv_iconv()
119 *ob++ = (char)((v >> 16) & 0xFF); in _icv_iconv()
120 *ob++ = (char)((v >> 8) & 0xFF); in _icv_iconv()
121 *ob in _icv_iconv()
[all...]
H A Dutf_to_iso_main.c80 unsigned char* ob; in _icv_iconv() local
113 ob = (unsigned char*)*outbuf; in _icv_iconv()
115 obtail = ob + *outbufleft; in _icv_iconv()
121 if (ob >= obtail) in _icv_iconv()
130 *ob++ = SI; in _icv_iconv()
133 *ob++ = *ib++; in _icv_iconv()
165 *ob++ = ESC; in _icv_iconv()
166 *ob++ = '$'; in _icv_iconv()
167 *ob++ = ')'; in _icv_iconv()
168 *ob in _icv_iconv()
[all...]
H A DUTF2_to_iso2022-7.c72 unsigned char* ob; in _icv_iconv() local
105 ob = (unsigned char*)*outbuf; in _icv_iconv()
107 obtail = ob + *outbufleft; in _icv_iconv()
115 if ((obtail - ob) < (cd->state == WANSUNG ? 2 : 1)) in _icv_iconv()
123 *ob++ = SI; in _icv_iconv()
126 *ob++ = *ib++; in _icv_iconv()
183 if ((obtail - ob) < num) in _icv_iconv()
218 if (ob >= obtail) in _icv_iconv()
224 *ob++ = SI; in _icv_iconv()
227 *ob in _icv_iconv()
[all...]
H A Dunihan_to_UCS_main.c80 unsigned char* ob; in _icv_iconv() local
94 ob = (unsigned char*)*outbuf; in _icv_iconv()
96 obtail = ob + *outbufleft; in _icv_iconv()
157 if ((obtail - ob) < 3) in _icv_iconv()
165 *ob++ = (uchar_t)0xff; in _icv_iconv()
166 *ob++ = (uchar_t)0xfe; in _icv_iconv()
173 *ob++ = ucs2_code.byte.byte4; in _icv_iconv()
174 *ob++ = ucs2_code.byte.byte3; in _icv_iconv()
178 *ob++ = ucs2_code.byte.byte3; in _icv_iconv()
179 *ob in _icv_iconv()
[all...]
H A Dutf_to_uhang_main.c56 unsigned char* ob; in _icv_iconv() local
70 ob = (unsigned char*)*outbuf; in _icv_iconv()
72 obtail = ob + *outbufleft; in _icv_iconv()
77 if (ob >= obtail) in _icv_iconv()
83 *ob++ = *ib++; in _icv_iconv()
110 *ob++ = euc_code.byte.byte3; in _icv_iconv()
111 *ob++ = euc_code.byte.byte4; in _icv_iconv()
116 if ((obtail - ob) < 2) in _icv_iconv()
122 *ob++ = NON_IDENTICAL; in _icv_iconv()
123 *ob in _icv_iconv()
[all...]
H A Dnbyte_utf.h90 if ((obtail - ob) < ((cf ? 9 : 6) + (ADD)))\
100 *ob++ = (char)((ci >> 16) & 0xFF);\
101 *ob++ = (char)((ci >> 8) & 0xFF);\
102 *ob++ = (char)(ci & 0xFF);\
103 *ob++ = (char)((v >> 16) & 0xFF);\
104 *ob++ = (char)((v >> 8) & 0xFF);\
105 *ob++ = (char)(v & 0xFF);\
108 *ob++ = (char)((cf >> 16) & 0xFF);\
109 *ob++ = (char)((cf >> 8) & 0xFF);\
110 *ob
[all...]
H A Dutf_to_euc_main.c57 unsigned char* ob; in _icv_iconv() local
71 ob = (unsigned char*)*outbuf; in _icv_iconv()
73 obtail = ob + *outbufleft; in _icv_iconv()
79 if (ob >= obtail) in _icv_iconv()
85 *ob++ = *ib++; in _icv_iconv()
112 if ((obtail - ob) < 2) in _icv_iconv()
121 *ob++ = euc_code.byte.byte3; in _icv_iconv()
122 *ob++ = euc_code.byte.byte4; in _icv_iconv()
127 *ob++ = NON_IDENTICAL; in _icv_iconv()
157 if ((obtail - ob) < in _icv_iconv()
[all...]
H A Dutf_to_njh_main.c57 unsigned char* ob; in _icv_iconv() local
71 ob = (unsigned char*)*outbuf; in _icv_iconv()
73 obtail = ob + *outbufleft; in _icv_iconv()
79 if (ob >= obtail) in _icv_iconv()
85 *ob++ = *ib++; in _icv_iconv()
114 *ob++ = njh_code.byte.byte3; in _icv_iconv()
115 *ob++ = njh_code.byte.byte4; in _icv_iconv()
120 if ((obtail - ob) < 2) in _icv_iconv()
126 *ob++ = NON_IDENTICAL; in _icv_iconv()
127 *ob in _icv_iconv()
[all...]
H A Dutf_to_ojh_main.c57 unsigned char* ob; in _icv_iconv() local
71 ob = (unsigned char*)*outbuf; in _icv_iconv()
73 obtail = ob + *outbufleft; in _icv_iconv()
79 if (ob >= obtail) in _icv_iconv()
85 *ob++ = *ib++; in _icv_iconv()
114 *ob++ = ojh_code.byte.byte3; in _icv_iconv()
115 *ob++ = ojh_code.byte.byte4; in _icv_iconv()
120 if ((obtail - ob) < 2) in _icv_iconv()
126 *ob++ = NON_IDENTICAL; in _icv_iconv()
127 *ob in _icv_iconv()
[all...]
/titanic_51/usr/src/uts/common/kiconv/kiconv_ko/
H A Dkiconv_ko.c49 uchar_t *ob, uchar_t *obtail, size_t *ret_val);
51 uchar_t *ob, uchar_t *obtail, size_t *ret_val);
52 static int8_t ko_to_utf8(uint32_t ko_val, uchar_t *ob, uchar_t *obtail,
89 uchar_t *ob; in kiconv_fr_euckr() local
109 ob = (uchar_t *)*outbuf; in kiconv_fr_euckr()
111 obtail = ob + *outbufleft; in kiconv_fr_euckr()
115 if (ob >= obtail) { in kiconv_fr_euckr()
119 *ob++ = *ib++; in kiconv_fr_euckr()
148 sz = ko_to_utf8(euckr_val, ob, obtail, &ret_val, in kiconv_fr_euckr()
156 ob in kiconv_fr_euckr()
175 uchar_t *ob; kiconvstr_fr_euckr() local
257 uchar_t *ob; kiconv_fr_uhc() local
343 uchar_t *ob; kiconvstr_fr_uhc() local
466 utf8_to_ko(uint32_t utf8,uchar_t * ob,uchar_t * obtail,size_t * ret_val,kiconv_table_t * table,size_t nitems) utf8_to_ko() argument
515 utf8_to_uhc(uint32_t utf8,uchar_t ** inbuf,uchar_t * ibtail,uchar_t * ob,uchar_t * obtail,size_t * ret_val) utf8_to_uhc() argument
527 utf8_to_euckr(uint32_t utf8,uchar_t ** inbuf,uchar_t * ibtail,uchar_t * ob,uchar_t * obtail,size_t * ret_val) utf8_to_euckr() argument
537 ko_to_utf8(uint32_t ko_val,uchar_t * ob,uchar_t * obtail,size_t * ret_val,kiconv_table_array_t * table,size_t nitems) ko_to_utf8() argument
[all...]
/titanic_51/usr/src/uts/common/kiconv/kiconv_tc/
H A Dkiconv_tc.c69 typedef int8_t (*kiconv_big5toutf8_t)(uint32_t value, uchar_t *ob,
73 uchar_t *ob, uchar_t *obtail, size_t *ret_val);
75 uchar_t *ob, uchar_t *obtail, size_t *ret_val);
77 uchar_t *ibtail, uchar_t *ob, uchar_t *obtail, size_t *ret_val);
79 uchar_t *ob, uchar_t *obtail, size_t *ret_val);
80 static int8_t big5_to_utf8(uint32_t big5_val, uchar_t *ob, uchar_t *obtail,
82 static int8_t big5hkscs_to_utf8(uint32_t hkscs_val, uchar_t *ob,
84 static int8_t cp950hkscs_to_utf8(uint32_t hkscs_val, uchar_t *ob,
87 uchar_t *ob, uchar_t *obtail, size_t *ret_val);
139 uchar_t *ob; in kiconv_fr_big5_common() local
222 kiconvstr_fr_big5_common(uchar_t * ib,size_t * inlen,uchar_t * ob,size_t * outlen,int flag,int * errno,kiconv_big5toutf8_t ptr_big5touf8) kiconvstr_fr_big5_common() argument
371 uchar_t *ob; kiconv_fr_euctw() local
470 uchar_t *ob; kiconvstr_fr_euctw() local
652 big5_to_utf8_common(uint32_t big5_val,uchar_t * ob,uchar_t * obtail,size_t * ret_val,kiconv_table_array_t * table,size_t nitems) big5_to_utf8_common() argument
681 big5_to_utf8(uint32_t big5_val,uchar_t * ob,uchar_t * obtail,size_t * ret_val) big5_to_utf8() argument
691 cp950hkscs_to_utf8(uint32_t hkscs_val,uchar_t * ob,uchar_t * obtail,size_t * ret_val) cp950hkscs_to_utf8() argument
722 euctw_to_utf8(size_t plane_no,uint32_t euctw_val,uchar_t * ob,uchar_t * obtail,size_t * ret_val) euctw_to_utf8() argument
815 big5hkscs_to_utf8(uint32_t hkscs_val,uchar_t * ob,uchar_t * obtail,size_t * ret_val) big5hkscs_to_utf8() argument
859 utf8_to_euctw(uint32_t utf8,uchar_t ** inbuf,uchar_t * ibtail,uchar_t * ob,uchar_t * obtail,size_t * ret_val) utf8_to_euctw() argument
929 utf8_to_big5hkscs(uint32_t utf8,uchar_t ** inbuf,uchar_t * ibtail,uchar_t * ob,uchar_t * obtail,size_t * ret_val) utf8_to_big5hkscs() argument
983 utf8_to_big5_common(uint32_t utf8,uchar_t * ob,uchar_t * obtail,size_t * ret_val,kiconv_table_t * table,size_t nitems) utf8_to_big5_common() argument
1015 utf8_to_big5(uint32_t utf8,uchar_t ** inbuf,uchar_t * ibtail,uchar_t * ob,uchar_t * obtail,size_t * ret_val) utf8_to_big5() argument
1027 utf8_to_cp950hkscs(uint32_t utf8,uchar_t ** inbuf,uchar_t * ibtail,uchar_t * ob,uchar_t * obtail,size_t * ret_val) utf8_to_cp950hkscs() argument
[all...]

1234