Home
last modified time | relevance | path

Searched refs:inbuf (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/lib/iconv_modules/zh/common/
H A Dzh_CN.euc%zh_CN.iso2022-CN.c98 if (inbuf == NULL || *inbuf == NULL) { /* Reset request */ in _icv_iconv()
119 if (**inbuf & MSB) { in _icv_iconv()
133 **outbuf = **inbuf; in _icv_iconv()
138 if (**inbuf & MSB) { in _icv_iconv()
152 if (**inbuf & MSB) { in _icv_iconv()
167 if (**inbuf & MSB) { in _icv_iconv()
267 if (inbuf == NULL || *inbuf == NULL) { /* Reset request */ in _cv_enconv()
275 if (**inbuf & MSB) { in _cv_enconv()
293 if (**inbuf & MSB) { in _cv_enconv()
305 if (**inbuf & MSB) { in _cv_enconv()
[all …]
H A Dzh_CN.iso2022-CN%zh_CN.euc.c160 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
178 **outbuf = **inbuf; in _icv_iconv()
239 if (**inbuf == SO) { in _icv_iconv()
256 if (**inbuf == SI) { in _icv_iconv()
282 if (**inbuf == SO) { in _icv_iconv()
291 **outbuf = **inbuf; in _icv_iconv()
297 if (**inbuf == SO) { in _icv_iconv()
314 if (**inbuf == SI) { in _icv_iconv()
467 c = **inbuf; in _icv_iconv()
594 (*inbuf)++; in _icv_iconv()
[all …]
H A DUTF-8%zh_CN.euc.c100 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
118 st->_cbuf[0] = **inbuf; in _icv_iconv()
121 **outbuf = **inbuf; in _icv_iconv()
130 st->_cbuf[0] = **inbuf; in _icv_iconv()
134 st->_cbuf[0] = **inbuf; in _icv_iconv()
142 st->_cbuf[0] = **inbuf; in _icv_iconv()
154 c1 = **inbuf; in _icv_iconv()
199 st->_cbuf[1] = **inbuf; in _icv_iconv()
238 st->_cbuf[1] = **inbuf; in _icv_iconv()
245 st->_cbuf[2] = **inbuf; in _icv_iconv()
[all …]
H A DUTF-8%HZ-GB-2312.c93 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
115 if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
129 **outbuf = **inbuf; in _icv_iconv()
135 if (**inbuf == '~') { in _icv_iconv()
151 st->_cbuf[0] = **inbuf; in _icv_iconv()
155 st->_cbuf[0] = **inbuf; in _icv_iconv()
163 st->_cbuf[0] = **inbuf; in _icv_iconv()
197 st->_cbuf[1] = **inbuf; in _icv_iconv()
234 st->_cbuf[1] = **inbuf; in _icv_iconv()
242 st->_cbuf[2] = **inbuf; in _icv_iconv()
[all …]
H A DUTF-8%zh_TW-big5p.c126 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
143 **outbuf = **inbuf; in _icv_iconv()
154 st->keepc[0] = **inbuf; in _icv_iconv()
158 st->keepc[0] = **inbuf; in _icv_iconv()
166 st->keepc[0] = **inbuf; in _icv_iconv()
174 st->keepc[1] = **inbuf; in _icv_iconv()
198 st->keepc[1] = **inbuf; in _icv_iconv()
204 st->keepc[2] = **inbuf; in _icv_iconv()
255 st->keepc[1] = **inbuf; in _icv_iconv()
262 st->keepc[2] = **inbuf; in _icv_iconv()
[all …]
H A DUTF-8%zh_CN.gbk.c105 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
213 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
231 **outbuf = **inbuf; in _icv_iconv()
241 st->keepc[0] = **inbuf; in _icv_iconv()
245 st->keepc[0] = **inbuf; in _icv_iconv()
252 st->keepc[0] = **inbuf; in _icv_iconv()
260 st->keepc[1] = **inbuf; in _icv_iconv()
287 st->keepc[1] = **inbuf; in _icv_iconv()
294 st->keepc[2] = **inbuf; in _icv_iconv()
351 st->keepc[2] = **inbuf; in _icv_iconv()
[all …]
H A Dzh_CN.iso2022-7%UTF-8.c138 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
149 if (**inbuf == ESC) { in _icv_iconv()
153 **outbuf = **inbuf; in _icv_iconv()
159 if (**inbuf == '$') { in _icv_iconv()
214 if (**inbuf == SO) { in _icv_iconv()
231 if (**inbuf == SI) { in _icv_iconv()
257 if (**inbuf == SO) { in _icv_iconv()
266 **outbuf = **inbuf; in _icv_iconv()
272 if (**inbuf == SO) { in _icv_iconv()
442 c = **inbuf; in _icv_iconv()
[all …]
H A Dzh_CN.iso2022-CN%UTF-8.c163 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
177 if (**inbuf == ESC) { in _icv_iconv()
181 **outbuf = **inbuf; in _icv_iconv()
242 if (**inbuf == SO) { in _icv_iconv()
259 if (**inbuf == SI) { in _icv_iconv()
292 if (**inbuf == SO) { in _icv_iconv()
304 **outbuf = **inbuf; in _icv_iconv()
310 if (**inbuf == SO) { in _icv_iconv()
327 if (**inbuf == SI) { in _icv_iconv()
489 c = **inbuf; in _icv_iconv()
[all …]
H A Dzh_CN.iso2022-CN%zh_CN.gbk.c159 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
173 if (**inbuf == ESC) { in _icv_iconv()
177 **outbuf = **inbuf; in _icv_iconv()
238 if (**inbuf == SO) { in _icv_iconv()
255 if (**inbuf == SI) { in _icv_iconv()
288 if (**inbuf == SO) { in _icv_iconv()
300 **outbuf = **inbuf; in _icv_iconv()
306 if (**inbuf == SO) { in _icv_iconv()
323 if (**inbuf == SI) { in _icv_iconv()
485 c = **inbuf; in _icv_iconv()
[all …]
H A DUTF-8%zh_CN.iso2022-7.c101 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
116 if ((**inbuf & MSB) == 0) { /* ASCII */ in _icv_iconv()
126 **outbuf = **inbuf; in _icv_iconv()
140 st->_cbuf[0] = **inbuf; in _icv_iconv()
144 st->_cbuf[0] = **inbuf; in _icv_iconv()
154 st->_cbuf[0] = **inbuf; in _icv_iconv()
208 st->_cbuf[1] = **inbuf; in _icv_iconv()
241 st->_cbuf[1] = **inbuf; in _icv_iconv()
245 if ((**inbuf & 0xc0) == MSB) /* 0x80..0xbf */ in _icv_iconv()
248 st->_cbuf[2] = **inbuf; in _icv_iconv()
[all …]
H A DUTF-8%zh_HK.hkscs.c134 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
159 **outbuf = **inbuf; in _icv_iconv()
170 st->keepc[0] = **inbuf; in _icv_iconv()
174 st->keepc[0] = **inbuf; in _icv_iconv()
189 st->keepc[1] = **inbuf; in _icv_iconv()
233 st->keepc[1] = **inbuf; in _icv_iconv()
239 st->keepc[2] = **inbuf; in _icv_iconv()
293 st->keepc[1] = **inbuf; in _icv_iconv()
300 st->keepc[2] = **inbuf; in _icv_iconv()
309 st->keepc[3] = **inbuf; in _icv_iconv()
[all …]
H A Dzh_CN.gbk%HZ-GB-2312.c98 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
108 if ( **inbuf & MSB ) { in _icv_iconv()
113 st->_lastc = **inbuf; in _icv_iconv()
121 **outbuf = **inbuf; in _icv_iconv()
123 if (**inbuf == '~') { in _icv_iconv()
131 st->_lastc = **inbuf; in _icv_iconv()
133 } else if ( **inbuf & MSB ) { in _icv_iconv()
136 *(*outbuf+1) = **inbuf - 0x80; in _icv_iconv()
159 if ( **inbuf & MSB ) { in _icv_iconv()
160 st->_lastc = **inbuf; in _icv_iconv()
[all …]
H A DUTF-8%zh_TW-big5.c135 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
160 **outbuf = **inbuf; in _icv_iconv()
171 st->keepc[0] = **inbuf; in _icv_iconv()
175 st->keepc[0] = **inbuf; in _icv_iconv()
182 st->keepc[0] = **inbuf; in _icv_iconv()
190 st->keepc[1] = **inbuf; in _icv_iconv()
233 st->keepc[1] = **inbuf; in _icv_iconv()
240 st->keepc[2] = **inbuf; in _icv_iconv()
303 st->keepc[2] = **inbuf; in _icv_iconv()
313 st->keepc[3] = **inbuf; in _icv_iconv()
[all …]
H A Dzh_CN.gbk%zh_HK.hkscs.c40 int gbk_2nd_byte(char inbuf);
108 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
120 st->keepc[0] = (**inbuf); in _icv_iconv()
123 **outbuf = **inbuf; in _icv_iconv()
130 st->keepc[1] = (**inbuf); in _icv_iconv()
141 st->keepc[1] = (**inbuf); in _icv_iconv()
149 st->keepc[2] = (**inbuf); in _icv_iconv()
183 (*inbuf)++; in _icv_iconv()
208 int gbk_2nd_byte(inbuf) in gbk_2nd_byte() argument
209 char inbuf; in gbk_2nd_byte()
[all …]
H A DUTF-8%zh_TW-euc.c139 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
161 st->keepc[0] = **inbuf; in _icv_iconv()
164 **outbuf = **inbuf; in _icv_iconv()
175 st->keepc[0] = **inbuf; in _icv_iconv()
179 st->keepc[0] = **inbuf; in _icv_iconv()
194 st->keepc[1] = **inbuf; in _icv_iconv()
237 st->keepc[1] = **inbuf; in _icv_iconv()
244 st->keepc[2] = **inbuf; in _icv_iconv()
299 st->keepc[1] = **inbuf; in _icv_iconv()
306 st->keepc[2] = **inbuf; in _icv_iconv()
[all …]
H A Dzh_CN.gbk%zh_TW-big5.c48 int gbk_2nd_byte(char inbuf);
107 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
118 if (**inbuf & MSB) { /* gb2312 charactor */ in _icv_iconv()
119 st->keepc[0] = (**inbuf); in _icv_iconv()
122 **outbuf = **inbuf; in _icv_iconv()
128 if (gbk_2nd_byte(**inbuf) == 0) { in _icv_iconv()
129 st->keepc[1] = (**inbuf); in _icv_iconv()
179 (*inbuf)++; in _icv_iconv()
204 int gbk_2nd_byte(inbuf) in gbk_2nd_byte() argument
205 char inbuf; in gbk_2nd_byte()
[all …]
H A Dzh_CN.gbk%zh_TW-big5p.c40 int gbk_2nd_byte(char inbuf);
91 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
102 if (**inbuf & MSB) { /* gb2312 charactor */ in _icv_iconv()
103 st->keepc[0] = (**inbuf); in _icv_iconv()
106 **outbuf = **inbuf; in _icv_iconv()
112 if (gbk_2nd_byte(**inbuf) == 0) { in _icv_iconv()
113 st->keepc[1] = (**inbuf); in _icv_iconv()
161 (*inbuf)++; in _icv_iconv()
186 int gbk_2nd_byte(inbuf) in gbk_2nd_byte() argument
187 char inbuf; in gbk_2nd_byte()
[all …]
H A DUTF-8%zh_TW-iso2022-7.c145 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
180 **outbuf = **inbuf; in _icv_iconv()
191 st->keepc[0] = **inbuf; in _icv_iconv()
195 st->keepc[0] = **inbuf; in _icv_iconv()
203 st->keepc[0] = **inbuf; in _icv_iconv()
211 st->keepc[1] = **inbuf; in _icv_iconv()
235 st->keepc[1] = **inbuf; in _icv_iconv()
241 st->keepc[2] = **inbuf; in _icv_iconv()
323 st->keepc[1] = **inbuf; in _icv_iconv()
330 st->keepc[2] = **inbuf; in _icv_iconv()
[all …]
H A Dzh_CN.euc%HZ-GB-2312.c90 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
100 if ( **inbuf & MSB ) { in _icv_iconv()
105 st->_lastc = **inbuf; in _icv_iconv()
113 **outbuf = **inbuf; in _icv_iconv()
115 if (**inbuf == '~') { in _icv_iconv()
122 if ( **inbuf & MSB ) { in _icv_iconv()
125 *(*outbuf+1) = **inbuf - 0x80; in _icv_iconv()
139 if ( **inbuf & MSB ) { in _icv_iconv()
140 st->_lastc = **inbuf; in _icv_iconv()
146 *(*outbuf+2) = **inbuf; in _icv_iconv()
[all …]
H A Dzh_TW-big5%zh_CN.euc.c43 int big5_2nd_byte(char inbuf);
86 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
97 if (**inbuf & MSB) { /* big5 charactor */ in _icv_iconv()
98 st->keepc[0] = (**inbuf); in _icv_iconv()
101 **outbuf = **inbuf; in _icv_iconv()
107 if (big5_2nd_byte(**inbuf) == 0) { in _icv_iconv()
108 st->keepc[1] = (**inbuf); in _icv_iconv()
131 (*inbuf) ++; in _icv_iconv()
156 int big5_2nd_byte(inbuf) in big5_2nd_byte() argument
157 char inbuf; in big5_2nd_byte()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/vi/common/
H A DUTF-8%viscii.c123 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
143 **outbuf = **inbuf; in _icv_iconv()
172 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
174 st->keepc[1] = **inbuf; in _icv_iconv()
199 st->keepc[1] = **inbuf; in _icv_iconv()
204 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
207 st->keepc[2] = **inbuf; in _icv_iconv()
244 st->keepc[1] = **inbuf; in _icv_iconv()
251 st->keepc[2] = **inbuf; in _icv_iconv()
285 (*inbuf)++; in _icv_iconv()
[all …]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioGain.cc178 AudioBuffer* inbuf, in Process() argument
184 if (inbuf == NULL) in Process()
191 inbuf->RaiseError(err); in Process()
192 inbuf->Reference(); in Process()
193 inbuf->Dereference(); in Process()
218 inbuf->Reference(); in Process()
221 process_dcfilter(inbuf); in Process()
229 inbuf->Dereference(); in Process()
237 AudioBuffer* inbuf) in process_dcfilter() argument
290 AudioBuffer* inbuf) in process_instant() argument
[all …]
/illumos-gate/usr/src/lib/iconv_modules/common/
H A Dcnv_utf8ibm.c89 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
103 **outbuf = **inbuf; in _icv_iconv()
116 c1 =st->keepc[0] = **inbuf; in _icv_iconv()
123 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
125 st->keepc[1] = **inbuf; in _icv_iconv()
138 c2 =st->keepc[1] = **inbuf; in _icv_iconv()
143 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
145 st->keepc[1] = **inbuf; in _icv_iconv()
151 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
153 st->keepc[2] = **inbuf; in _icv_iconv()
[all …]
H A Dutf8%ibm.c95 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _icv_iconv()
112 st->keepc[0] = **inbuf; in _icv_iconv()
114 c2 = **inbuf; in _icv_iconv()
126 c1 =st->keepc[0] = **inbuf; in _icv_iconv()
133 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
135 st->keepc[1] = **inbuf; in _icv_iconv()
148 c2 =st->keepc[1] = **inbuf; in _icv_iconv()
153 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
155 st->keepc[1] = **inbuf; in _icv_iconv()
161 if ((**inbuf & 0xc0) == MSB) { in _icv_iconv()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Diso2022-7_to_euc.c100 if (!inbuf || !(*inbuf)) in _icv_iconv()
107 ib = (unsigned char*)*inbuf; in _icv_iconv()
196 *inbuf = (char*)ib; in _icv_iconv()
229 if (inbuf == NULL || *inbuf == NULL) { /* Reset request. */ in _cv_enconv()
244 if (**inbuf == SO) { in _cv_enconv()
251 **inbuf != SI ) { in _cv_enconv()
252 **outbuf = (**inbuf == ' ') ? ' ' : (MSB | **inbuf); in _cv_enconv()
258 **outbuf = **inbuf; in _cv_enconv()
265 temp = *inbuf; in _cv_enconv()
270 *inbuf += 4; in _cv_enconv()
[all …]

12345678910>>...14