Home
last modified time | relevance | path

Searched refs:__statep (Results 1 – 25 of 37) sorted by relevance

12

/glibc-2.36/iconvdata/
Diso-2022-jp-3.c50 int *statep = &data->__statep->__count;
83 if ((data->__statep->__count & ~7) != ASCII_set) \
87 uint32_t ch = data->__statep->__count >> 6; \
96 data->__statep->__count &= 7; \
97 data->__statep->__count |= ASCII_set; \
105 data->__statep->__count &= 7; \
106 data->__statep->__count |= ASCII_set; \
115 (data->__statep->__count >> 6 \
116 ? (data->__statep->__count >> 22 ? 3 : 0) + 2 \
118 + ((data->__statep->__count & CURRENT_SEL_MASK) != ASCII_set \
[all …]
Dtscii.c51 int *statep = &data->__statep->__count;
87 if (data->__statep->__count != 0) \
100 *((uint32_t *) outbuf) = data->__statep->__count >> 8; \
103 data->__statep->__count = \
104 tscii_next_state[(data->__statep->__count >> 4) & 0x0f]; \
106 while (data->__statep->__count != 0); \
110 uint32_t last = data->__statep->__count >> 3; \
118 data->__statep->__count = 0; \
130 data->__statep->__count = 0; \
Dbig5hkscs.c17750 int *statep = &data->__statep->__count;
17772 if ((data->__statep->__count >> 3) != 0) \
17779 *((uint32_t *) outbuf) = data->__statep->__count >> 3; \
17781 data->__statep->__count &= 7; \
17792 uint32_t lasttwo = data->__statep->__count >> 3; \
17795 data->__statep->__count &= 7; \
Deuc-jisx0213.c56 int *statep = &data->__statep->__count;
78 if (data->__statep->__count != 0) \
85 *((uint32_t *) outbuf) = data->__statep->__count >> 3; \
87 data->__statep->__count = 0; \
98 uint32_t lasttwo = data->__statep->__count >> 3; \
101 data->__statep->__count = 0; \
Diso-2022-kr.c47 int *setp = &data->__statep->__count; \
76 if (data->__statep->__count != ASCII_set) \
82 data->__statep->__count &= 7; \
83 data->__statep->__count |= ASCII_set; \
96 data->__statep->__count = ASCII_set; \
Dshift_jisx0213.c56 int *statep = &data->__statep->__count;
78 if (data->__statep->__count != 0) \
85 *((uint32_t *) outbuf) = data->__statep->__count >> 3; \
87 data->__statep->__count = 0; \
98 uint32_t lasttwo = data->__statep->__count >> 3; \
101 data->__statep->__count = 0; \
Dtcvn5712-1.c42 int *statep = &data->__statep->__count;
63 if (data->__statep->__count != 0) \
70 *((uint32_t *) outbuf) = data->__statep->__count >> 3; \
72 data->__statep->__count = 0; \
80 data->__statep->__count = 0; \
Dcp1258.c43 int *statep = &data->__statep->__count;
64 if (data->__statep->__count != 0) \
71 *((uint32_t *) outbuf) = data->__statep->__count >> 3; \
73 data->__statep->__count = 0; \
81 data->__statep->__count = 0; \
Dibm937.c49 int *curcsp = &data->__statep->__count;
61 if ((data->__statep->__count & ~7) != sb) \
64 data->__statep->__count &= 7; \
76 data->__statep->__count &= 7; \
Dcp1255.c42 int *statep = &data->__statep->__count;
63 if (data->__statep->__count != 0) \
70 *((uint32_t *) outbuf) = data->__statep->__count >> 3; \
72 data->__statep->__count = 0; \
80 data->__statep->__count = 0; \
Dibm935.c49 int *curcsp = &data->__statep->__count;
61 if ((data->__statep->__count & ~7) != sb) \
64 data->__statep->__count &= 7; \
76 data->__statep->__count &= 7; \
Dibm939.c49 int *curcsp = &data->__statep->__count;
61 if ((data->__statep->__count & ~7) != sb) \
64 data->__statep->__count &= 7; \
76 data->__statep->__count &= 7; \
Dibm930.c49 int *curcsp = &data->__statep->__count;
61 if ((data->__statep->__count & ~7) != sb) \
64 data->__statep->__count &= 7; \
76 data->__statep->__count &= 7; \
Dibm933.c48 int *curcsp = &data->__statep->__count;
60 if ((data->__statep->__count & ~7) != sb) \
63 data->__statep->__count &= 7; \
75 data->__statep->__count &= 7; \
Diso-2022-cn.c57 int *setp = &data->__statep->__count;
81 if (data->__statep->__count != ASCII_set) \
86 data->__statep->__count = ASCII_set; \
98 data->__statep->__count = ASCII_set; \
Dibm1364.c60 int *curcsp = &data->__statep->__count;
72 if ((data->__statep->__count & ~7) != sb) \
75 data->__statep->__count &= 7; \
87 data->__statep->__count &= 7; \
Diso-2022-jp.c64 int *setp = &data->__statep->__count;
219 if ((data->__statep->__count & ~7) != ASCII_set) \
222 || (data->__statep->__count & CURRENT_SEL_MASK) == ASCII_set) \
227 data->__statep->__count &= 7; \
228 data->__statep->__count |= ASCII_set; \
244 data->__statep->__count &= 7; \
245 data->__statep->__count |= ASCII_set; \
Dutf-7.c156 mbstate_t *statep = data->__statep; \
621 memset (data->__statep, '\0', sizeof (mbstate_t)); \
627 int state = data->__statep->__count; \
644 data->__statep->__count = 0; \
648 data->__statep->__count = 0; \
/glibc-2.36/wcsmbs/
Dmbsnrtowcs.c55 data.__statep = ps ?: &state; in __mbsnrtowcs()
79 temp_state = *data.__statep; in __mbsnrtowcs()
80 data.__statep = &temp_state; in __mbsnrtowcs()
120 assert (__mbsinit (data.__statep)); in __mbsnrtowcs()
Dwcsnrtombs.c53 data.__statep = ps ?: &state; in __wcsnrtombs()
78 temp_state = *data.__statep; in __wcsnrtombs()
79 data.__statep = &temp_state; in __wcsnrtombs()
125 assert (__mbsinit (data.__statep)); in __wcsnrtombs()
Dwcsrtombs.c49 data.__statep = ps ?: &state; in __wcsrtombs()
71 temp_state = *data.__statep; in __wcsrtombs()
72 data.__statep = &temp_state; in __wcsrtombs()
122 assert (__mbsinit (data.__statep)); in __wcsrtombs()
Dmbsrtowcs_l.c53 data.__statep = ps; in __mbsrtowcs_l()
74 temp_state = *data.__statep; in __mbsrtowcs_l()
75 data.__statep = &temp_state; in __mbsrtowcs_l()
141 assert (__mbsinit (data.__statep)); in __mbsrtowcs_l()
Dmbrtowc.c50 data.__statep = ps ?: &state; in __mbrtowc()
104 assert (__mbsinit (data.__statep)); in __mbrtowc()
/glibc-2.36/libio/
Diofwide.c88 cc->__cd_in.step_data.__statep = &fp->_wide_data->_IO_state; in _IO_fwide()
95 cc->__cd_out.step_data.__statep = &fp->_wide_data->_IO_state; in _IO_fwide()
124 codecvt->__cd_out.step_data.__statep = statep; in __libio_codecvt_out()
176 codecvt->__cd_in.step_data.__statep = statep; in __libio_codecvt_in()
243 codecvt->__cd_in.step_data.__statep = statep; in __libio_codecvt_length()
/glibc-2.36/iconv/
Dskeleton.c497 memset (data->__statep, '\0', sizeof (*data->__statep)); in FUNCTION_NAME()
558 && consume_incomplete && (data->__statep->__count & 7) != 0) in FUNCTION_NAME()
791 mbstate_t *state = data->__statep; in FUNCTION_NAME()
798 assert (cnt_after <= sizeof (data->__statep->__value.__wchb)); in FUNCTION_NAME()
802 data->__statep->__value.__wchb[cnt] = (*inptrp)[cnt]; in FUNCTION_NAME()
804 data->__statep->__count &= ~7; in FUNCTION_NAME()
805 data->__statep->__count |= cnt; in FUNCTION_NAME()

12