Lines Matching refs:this_ch
279 unsigned char this_ch; in binascii_a2b_uu_impl() local
301 this_ch = (ascii_len > 0) ? *ascii_data : 0; in binascii_a2b_uu_impl()
302 if ( this_ch == '\n' || this_ch == '\r' || ascii_len <= 0) { in binascii_a2b_uu_impl()
307 this_ch = 0; in binascii_a2b_uu_impl()
314 if ( this_ch < ' ' || this_ch > (' ' + 64)) { in binascii_a2b_uu_impl()
323 this_ch = (this_ch - ' ') & 077; in binascii_a2b_uu_impl()
329 leftchar = (leftchar << 6) | (this_ch); in binascii_a2b_uu_impl()
343 this_ch = *ascii_data++; in binascii_a2b_uu_impl()
345 if ( this_ch != ' ' && this_ch != ' '+64 && in binascii_a2b_uu_impl()
346 this_ch != '\n' && this_ch != '\r' ) { in binascii_a2b_uu_impl()
377 unsigned char this_ch; in binascii_b2a_uu_impl() local
418 this_ch = (leftchar >> (leftbits-6)) & 0x3f; in binascii_b2a_uu_impl()
420 if (backtick && !this_ch) in binascii_b2a_uu_impl()
423 *ascii_data++ = this_ch + ' '; in binascii_b2a_uu_impl()
462 unsigned char this_ch = ascii_data[i]; in binascii_a2b_base64_impl() local
467 if (this_ch == BASE64_PAD) { in binascii_a2b_base64_impl()
478 this_ch = table_a2b_base64[this_ch]; in binascii_a2b_base64_impl()
479 if (this_ch >= 64) { in binascii_a2b_base64_impl()
487 leftchar = this_ch; in binascii_a2b_base64_impl()
491 *bin_data++ = (leftchar << 2) | (this_ch >> 4); in binascii_a2b_base64_impl()
492 leftchar = this_ch & 0x0f; in binascii_a2b_base64_impl()
496 *bin_data++ = (leftchar << 4) | (this_ch >> 2); in binascii_a2b_base64_impl()
497 leftchar = this_ch & 0x03; in binascii_a2b_base64_impl()
501 *bin_data++ = (leftchar << 6) | (this_ch); in binascii_a2b_base64_impl()
552 unsigned char this_ch; in binascii_b2a_base64_impl() local
590 this_ch = (leftchar >> (leftbits-6)) & 0x3f; in binascii_b2a_base64_impl()
592 *ascii_data++ = table_b2a_base64[this_ch]; in binascii_b2a_base64_impl()
630 unsigned char this_ch; in binascii_a2b_hqx_impl() local
656 this_ch = table_a2b_hqx[*ascii_data]; in binascii_a2b_hqx_impl()
657 if ( this_ch == SKIP ) in binascii_a2b_hqx_impl()
659 if ( this_ch == FAIL ) { in binascii_a2b_hqx_impl()
668 if ( this_ch == DONE ) { in binascii_a2b_hqx_impl()
675 leftchar = (leftchar << 6) | (this_ch); in binascii_a2b_hqx_impl()
790 unsigned char this_ch; in binascii_b2a_hqx_impl() local
814 this_ch = (leftchar >> (leftbits-6)) & 0x3f; in binascii_b2a_hqx_impl()
816 *ascii_data++ = table_b2a_hqx[this_ch]; in binascii_b2a_hqx_impl()