Lines Matching refs:w
104 int c1, w; in mbfl_filt_conv_euccn_wchar() local
114 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_euccn_wchar()
115 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_euccn_wchar()
116 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euccn_wchar()
124 w = (c1 - 0x81)*192 + (c - 0x40); in mbfl_filt_conv_euccn_wchar()
125 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_euccn_wchar()
126 w = cp936_ucs_table[w]; in mbfl_filt_conv_euccn_wchar()
128 w = 0; in mbfl_filt_conv_euccn_wchar()
130 if (w <= 0) { in mbfl_filt_conv_euccn_wchar()
131 w = (c1 << 8) | c; in mbfl_filt_conv_euccn_wchar()
132 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_euccn_wchar()
133 w |= MBFL_WCSPLANE_GB2312; in mbfl_filt_conv_euccn_wchar()
135 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euccn_wchar()
139 w = (c1 << 8) | c; in mbfl_filt_conv_euccn_wchar()
140 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_euccn_wchar()
141 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_euccn_wchar()
142 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euccn_wchar()