Lines Matching refs:w
106 int c1, w; in mbfl_filt_conv_euccn_wchar() local
116 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_euccn_wchar()
117 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_euccn_wchar()
118 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euccn_wchar()
126 w = (c1 - 0x81)*192 + (c - 0x40); in mbfl_filt_conv_euccn_wchar()
127 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_euccn_wchar()
128 w = cp936_ucs_table[w]; in mbfl_filt_conv_euccn_wchar()
130 w = 0; in mbfl_filt_conv_euccn_wchar()
132 if (w <= 0) { in mbfl_filt_conv_euccn_wchar()
133 w = (c1 << 8) | c; in mbfl_filt_conv_euccn_wchar()
134 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_euccn_wchar()
135 w |= MBFL_WCSPLANE_GB2312; in mbfl_filt_conv_euccn_wchar()
137 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euccn_wchar()
141 w = (c1 << 8) | c; in mbfl_filt_conv_euccn_wchar()
142 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_euccn_wchar()
143 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_euccn_wchar()
144 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euccn_wchar()