Home
last modified time | relevance | path

Searched refs:ostate (Results 1 – 25 of 41) sorted by relevance

12

/haiku/src/libs/iconv/
H A Dbig5hkscs2004.h122 unsigned char last = conv->ostate; in big5hkscs2004_wctomb()
131 conv->ostate = 0; in big5hkscs2004_wctomb()
151 conv->ostate = 0; in big5hkscs2004_wctomb()
167 conv->ostate = 0; in big5hkscs2004_wctomb()
180 conv->ostate = buf[1]; /* = 0x66 or = 0xa7 */ in big5hkscs2004_wctomb()
186 conv->ostate = 0; in big5hkscs2004_wctomb()
197 conv->ostate = 0; in big5hkscs2004_wctomb()
208 conv->ostate = 0; in big5hkscs2004_wctomb()
220 unsigned char last = conv->ostate; in big5hkscs2004_reset()
H A Dbig5hkscs2001.h117 unsigned char last = conv->ostate; in big5hkscs2001_wctomb()
126 conv->ostate = 0; in big5hkscs2001_wctomb()
146 conv->ostate = 0; in big5hkscs2001_wctomb()
162 conv->ostate = 0; in big5hkscs2001_wctomb()
175 conv->ostate = buf[1]; /* = 0x66 or = 0xa7 */ in big5hkscs2001_wctomb()
181 conv->ostate = 0; in big5hkscs2001_wctomb()
192 conv->ostate = 0; in big5hkscs2001_wctomb()
204 unsigned char last = conv->ostate; in big5hkscs2001_reset()
H A Dbig5hkscs1999.h110 unsigned char last = conv->ostate; in big5hkscs1999_wctomb()
119 conv->ostate = 0; in big5hkscs1999_wctomb()
139 conv->ostate = 0; in big5hkscs1999_wctomb()
155 conv->ostate = 0; in big5hkscs1999_wctomb()
168 conv->ostate = buf[1]; /* = 0x66 or = 0xa7 */ in big5hkscs1999_wctomb()
174 conv->ostate = 0; in big5hkscs1999_wctomb()
186 unsigned char last = conv->ostate; in big5hkscs1999_reset()
H A Deuc_jisx0213.h150 unsigned short lasttwo = conv->ostate; in euc_jisx0213_wctomb()
186 conv->ostate = 0; in euc_jisx0213_wctomb()
206 conv->ostate = 0; in euc_jisx0213_wctomb()
215 conv->ostate = 0; in euc_jisx0213_wctomb()
226 conv->ostate = jch | 0x8080; in euc_jisx0213_wctomb()
235 conv->ostate = 0; in euc_jisx0213_wctomb()
244 conv->ostate = 0; in euc_jisx0213_wctomb()
257 state_t lasttwo = conv->ostate; in euc_jisx0213_reset()
H A Dshift_jisx0213.h164 unsigned short lasttwo = conv->ostate; in shift_jisx0213_wctomb()
200 conv->ostate = 0; in shift_jisx0213_wctomb()
220 conv->ostate = 0; in shift_jisx0213_wctomb()
227 conv->ostate = 0; in shift_jisx0213_wctomb()
234 conv->ostate = 0; in shift_jisx0213_wctomb()
242 conv->ostate = 0; in shift_jisx0213_wctomb()
280 conv->ostate = (s1 << 8) | s2; in shift_jisx0213_wctomb()
287 conv->ostate = 0; in shift_jisx0213_wctomb()
299 state_t lasttwo = conv->ostate; in shift_jisx0213_reset()
H A Diso2022_jp2.h304 state_t state = conv->ostate; in iso2022_jp2_wctomb()
332 conv->ostate = state; in iso2022_jp2_wctomb()
338 conv->ostate = state; in iso2022_jp2_wctomb()
346 conv->ostate = state; in iso2022_jp2_wctomb()
354 conv->ostate = state; in iso2022_jp2_wctomb()
362 conv->ostate = state; in iso2022_jp2_wctomb()
370 conv->ostate = state; in iso2022_jp2_wctomb()
378 conv->ostate = state; in iso2022_jp2_wctomb()
385 conv->ostate = state; in iso2022_jp2_wctomb()
394 conv->ostate = state; in iso2022_jp2_wctomb()
[all …]
H A Dhz.h98 state_t state = conv->ostate; in hz_wctomb()
117 conv->ostate = state; in hz_wctomb()
138 conv->ostate = state; in hz_wctomb()
149 state_t state = conv->ostate; in hz_reset()
H A Diso2022_cnext.h297 state_t state = conv->ostate; in iso2022_cn_ext_wctomb()
323 conv->ostate = state; in iso2022_cn_ext_wctomb()
352 conv->ostate = state; in iso2022_cn_ext_wctomb()
382 conv->ostate = state; in iso2022_cn_ext_wctomb()
404 conv->ostate = state; in iso2022_cn_ext_wctomb()
426 conv->ostate = state; in iso2022_cn_ext_wctomb()
448 conv->ostate = state; in iso2022_cn_ext_wctomb()
470 conv->ostate = state; in iso2022_cn_ext_wctomb()
492 conv->ostate = state; in iso2022_cn_ext_wctomb()
514 conv->ostate = state; in iso2022_cn_ext_wctomb()
[all …]
H A Diso2022_jp3.h266 state_t state = conv->ostate; in iso2022_jp3_wctomb()
317 conv->ostate = state; in iso2022_jp3_wctomb()
356 conv->ostate = state; in iso2022_jp3_wctomb()
378 conv->ostate = state; in iso2022_jp3_wctomb()
396 conv->ostate = state; in iso2022_jp3_wctomb()
412 conv->ostate = state; in iso2022_jp3_wctomb()
454 conv->ostate = state; in iso2022_jp3_wctomb()
463 conv->ostate = state; in iso2022_jp3_wctomb()
485 conv->ostate = state; in iso2022_jp3_wctomb()
496 state_t state = conv->ostate; in iso2022_jp3_reset()
H A Diso2022_jp1.h147 state_t state = conv->ostate; in iso2022_jp1_wctomb()
167 conv->ostate = state; in iso2022_jp1_wctomb()
188 conv->ostate = state; in iso2022_jp1_wctomb()
210 conv->ostate = state; in iso2022_jp1_wctomb()
233 conv->ostate = state; in iso2022_jp1_wctomb()
244 state_t state = conv->ostate; in iso2022_jp1_reset()
H A Diso2022_jp.h123 state_t state = conv->ostate; in iso2022_jp_wctomb()
143 conv->ostate = state; in iso2022_jp_wctomb()
164 conv->ostate = state; in iso2022_jp_wctomb()
186 conv->ostate = state; in iso2022_jp_wctomb()
197 state_t state = conv->ostate; in iso2022_jp_reset()
H A Dutf16.h77 if (!conv->ostate) { in utf16_wctomb()
89 conv->ostate = 1; in utf16_wctomb()
102 conv->ostate = 1; in utf16_wctomb()
H A Diso2022_cn.h179 state_t state = conv->ostate; in iso2022_cn_wctomb()
205 conv->ostate = state; in iso2022_cn_wctomb()
234 conv->ostate = state; in iso2022_cn_wctomb()
264 conv->ostate = state; in iso2022_cn_wctomb()
286 conv->ostate = state; in iso2022_cn_wctomb()
297 state_t state = conv->ostate; in iso2022_cn_reset()
H A Diso2022_kr.h137 state_t state = conv->ostate; in iso2022_kr_wctomb()
159 conv->ostate = state; in iso2022_kr_wctomb()
188 conv->ostate = state; in iso2022_kr_wctomb()
199 state_t state = conv->ostate; in iso2022_kr_reset()
H A Dutf32.h68 if (!conv->ostate) { in utf32_wctomb()
84 conv->ostate = 1; in utf32_wctomb()
H A Dutf7.h208 state_t state = conv->ostate; in utf7_wctomb()
264 conv->ostate = state; in utf7_wctomb()
314 conv->ostate = state; in utf7_wctomb()
323 state_t state = conv->ostate; in utf7_reset()
H A Dloop_unicode.h35 state_t backup_state = cd->ostate; in unicode_transliterate()
52 cd->ostate = backup_state; in unicode_transliterate()
79 state_t backup_state = cd->ostate; in unicode_transliterate()
96 cd->ostate = backup_state; in unicode_transliterate()
126 state_t backup_state = cd->ostate; in unicode_transliterate()
147 cd->ostate = backup_state; in unicode_transliterate()
434 memset(&cd->ostate,'\0',sizeof(state_t)); in unicode_loop_reset()
519 memset(&cd->ostate,'\0',sizeof(state_t)); in unicode_loop_reset()
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_monitor.c94 enum ieee80211_state ostate; in monitor_newstate() local
98 ostate = vap->iv_state; in monitor_newstate()
100 __func__, ieee80211_state_name[ostate], in monitor_newstate()
104 switch (ostate) { in monitor_newstate()
H A Dieee80211_adhoc.c135 enum ieee80211_state ostate; in adhoc_newstate() local
139 ostate = vap->iv_state; in adhoc_newstate()
141 __func__, ieee80211_state_name[ostate], in adhoc_newstate()
144 if (ostate != IEEE80211_S_SCAN) in adhoc_newstate()
149 switch (ostate) { in adhoc_newstate()
156 if (ostate != IEEE80211_S_INIT) { in adhoc_newstate()
162 switch (ostate) { in adhoc_newstate()
216 switch (ostate) { in adhoc_newstate()
261 ic->ic_newassoc(ni, ostate != IEEE80211_S_RUN); in adhoc_newstate()
270 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in adhoc_newstate()
H A Dieee80211_wds.c345 enum ieee80211_state ostate; in wds_newstate() local
350 ostate = vap->iv_state; in wds_newstate()
352 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in wds_newstate()
355 if (ostate != IEEE80211_S_SCAN) in wds_newstate()
360 switch (ostate) { in wds_newstate()
367 if (ostate != IEEE80211_S_INIT) { in wds_newstate()
373 switch (ostate) { in wds_newstate()
382 if (ostate == IEEE80211_S_INIT) { in wds_newstate()
H A Dieee80211_haiku.cpp317 uint32_t ostate; in ieee80211_com_vincref() local
319 ostate = atomic_fetchadd_32(&vap->iv_com_state, IEEE80211_COM_REF_ADD); in ieee80211_com_vincref()
321 if (ostate & IEEE80211_COM_DETACHED) { in ieee80211_com_vincref()
326 if (_IEEE80211_MASKSHIFT(ostate, IEEE80211_COM_REF) == in ieee80211_com_vincref()
339 uint32_t ostate; in ieee80211_com_vdecref() local
341 ostate = atomic_fetchadd_32(&vap->iv_com_state, -IEEE80211_COM_REF_ADD); in ieee80211_com_vdecref()
343 KASSERT(_IEEE80211_MASKSHIFT(ostate, IEEE80211_COM_REF) != 0, in ieee80211_com_vdecref()
346 (void) ostate; in ieee80211_com_vdecref()
H A Dieee80211_sta.c234 enum ieee80211_state ostate; in sta_newstate() local
238 ostate = vap->iv_state; in sta_newstate()
240 __func__, ieee80211_state_name[ostate], in sta_newstate()
244 if (ostate != IEEE80211_S_SCAN) in sta_newstate()
251 switch (ostate) { in sta_newstate()
272 if (ostate != IEEE80211_S_INIT) { in sta_newstate()
280 switch (ostate) { in sta_newstate()
341 switch (ostate) { in sta_newstate()
383 switch (ostate) { in sta_newstate()
406 switch (ostate) { in sta_newstate()
[all …]
H A Dieee80211_tdma.c228 enum ieee80211_state ostate; in tdma_newstate() local
233 ostate = vap->iv_state; in tdma_newstate()
235 __func__, ieee80211_state_name[ostate], in tdma_newstate()
241 (ostate == IEEE80211_S_INIT || ostate == IEEE80211_S_RUN) && in tdma_newstate()
249 if (ostate == IEEE80211_S_RUN) { in tdma_newstate()
269 nstate == IEEE80211_S_RUN && ostate != IEEE80211_S_RUN && in tdma_newstate()
/haiku/src/system/libroot/posix/stdlib/
H A Drandom.c318 char *ostate = (char *)(&state[-1]); in initstate() local
355 return (ostate); in initstate()
383 char *ostate = (char *)(&state[-1]); in setstate() local
400 return (ostate); in setstate()
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_proto.c1058 enum ieee80211_state ostate; in ieee80211_newstate() local
1064 ostate = ic->ic_state; in ieee80211_newstate()
1071 ieee80211_state_name[ostate], ieee80211_state_name[nstate]); in ieee80211_newstate()
1082 switch (ostate) { in ieee80211_newstate()
1170 switch (ostate) { in ieee80211_newstate()
1215 if (ostate == IEEE80211_S_RUN) in ieee80211_newstate()
1220 switch (ostate) { in ieee80211_newstate()
1224 ifp->if_xname, ieee80211_state_name[ostate], in ieee80211_newstate()
1255 ic->ic_state = ostate; /* stay RUN */ in ieee80211_newstate()
1267 switch (ostate) { in ieee80211_newstate()
[all …]

12