/dports/security/libntlm/libntlm-1.6/ |
H A D | smbencrypt.c | 38 to_uchar (char ch) in to_uchar() function 148 key[0] = to_uchar (key_56[0]); in ntlm_convert_key() 149 key[1] = ((to_uchar (key_56[0]) << 7) & 0xFF) | (to_uchar (key_56[1]) >> 1); in ntlm_convert_key() 150 key[2] = ((to_uchar (key_56[1]) << 6) & 0xFF) | (to_uchar (key_56[2]) >> 2); in ntlm_convert_key() 151 key[3] = ((to_uchar (key_56[2]) << 5) & 0xFF) | (to_uchar (key_56[3]) >> 3); in ntlm_convert_key() 152 key[4] = ((to_uchar (key_56[3]) << 4) & 0xFF) | (to_uchar (key_56[4]) >> 4); in ntlm_convert_key() 153 key[5] = ((to_uchar (key_56[4]) << 3) & 0xFF) | (to_uchar (key_56[5]) >> 5); in ntlm_convert_key() 154 key[6] = ((to_uchar (key_56[5]) << 2) & 0xFF) | (to_uchar (key_56[6]) >> 6); in ntlm_convert_key() 155 key[7] = (to_uchar (key_56[6]) << 1) & 0xFF; in ntlm_convert_key()
|
/dports/security/libgsasl/gsasl-1.10.0/lib/digest-md5/ |
H A D | nonascii.c | 35 to_uchar (char ch) in to_uchar() function 49 if (to_uchar (str[i]) < 0x80) in latin1toutf8() 51 else if (to_uchar (str[i]) < 0xC0) in latin1toutf8() 76 if (to_uchar (passwd[i]) > 0x7F) in utf8tolatin1ifpossible() 78 if (to_uchar (passwd[i]) < 0xC0 || to_uchar (passwd[i]) > 0xC3) in utf8tolatin1ifpossible() 81 if (to_uchar (passwd[i]) < 0x80 || to_uchar (passwd[i]) > 0xBF) in utf8tolatin1ifpossible() 92 if (to_uchar (passwd[i]) > 0x7F) in utf8tolatin1ifpossible() 96 ((to_uchar (passwd[i]) & 0x3) << 6) in utf8tolatin1ifpossible() 97 | (to_uchar (passwd[i + 1]) & 0x3F); in utf8tolatin1ifpossible()
|
/dports/security/gsasl/gsasl-1.10.0/lib/digest-md5/ |
H A D | nonascii.c | 35 to_uchar (char ch) in to_uchar() function 49 if (to_uchar (str[i]) < 0x80) in latin1toutf8() 51 else if (to_uchar (str[i]) < 0xC0) in latin1toutf8() 76 if (to_uchar (passwd[i]) > 0x7F) in utf8tolatin1ifpossible() 78 if (to_uchar (passwd[i]) < 0xC0 || to_uchar (passwd[i]) > 0xC3) in utf8tolatin1ifpossible() 81 if (to_uchar (passwd[i]) < 0x80 || to_uchar (passwd[i]) > 0xBF) in utf8tolatin1ifpossible() 92 if (to_uchar (passwd[i]) > 0x7F) in utf8tolatin1ifpossible() 96 ((to_uchar (passwd[i]) & 0x3) << 6) in utf8tolatin1ifpossible() 97 | (to_uchar (passwd[i + 1]) & 0x3F); in utf8tolatin1ifpossible()
|
/dports/devel/gnulib/gnulib-20140202-stable/lib/ |
H A D | base32.c | 55 to_uchar (char ch) in to_uchar() function 76 *out++ = b32str[((to_uchar (in[0]) << 2) in base32_encode() 83 ? b32str[(to_uchar (in[1]) >> 1) & 0x1f] in base32_encode() 89 ? b32str[((to_uchar (in[1]) << 4) in base32_encode() 97 ? b32str[((to_uchar (in[2]) << 1) in base32_encode() 105 ? b32str[(to_uchar (in[3]) >> 2) & 0x1f] in base32_encode() 111 ? b32str[((to_uchar (in[3]) << 3) in base32_encode() 288 return uchar_in_range (to_uchar (ch)) && 0 <= b32[to_uchar (ch)]; in isbase32() 372 *out++ = ((b32[to_uchar (in[0])] << 3) in decode_8() 373 | (b32[to_uchar (in[1])] >> 2)); in decode_8() [all …]
|
H A D | arctwo.c | 71 to_uchar (char ch) 86 word0 = (word0 << 8) | to_uchar (inbuf[1]); 87 word0 = (word0 << 8) | to_uchar (inbuf[0]); 88 word1 = (word1 << 8) | to_uchar (inbuf[3]); 89 word1 = (word1 << 8) | to_uchar (inbuf[2]); 90 word2 = (word2 << 8) | to_uchar (inbuf[5]); 91 word2 = (word2 << 8) | to_uchar (inbuf[4]); 92 word3 = (word3 << 8) | to_uchar (inbuf[7]); 93 word3 = (word3 << 8) | to_uchar (inbuf[6]); 141 word0 = (word0 << 8) | to_uchar (inbuf[1]); [all …]
|
H A D | base64.c | 57 to_uchar (char ch) in to_uchar() function 73 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode_fast() 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 106 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode() 109 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 116 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 415 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() [all …]
|
/dports/sysutils/coreutils/coreutils-8.32/lib/ |
H A D | base32.c | 55 to_uchar (char ch) in to_uchar() function 76 *out++ = b32str[((to_uchar (in[0]) << 2) in base32_encode() 83 ? b32str[(to_uchar (in[1]) >> 1) & 0x1f] in base32_encode() 89 ? b32str[((to_uchar (in[1]) << 4) in base32_encode() 97 ? b32str[((to_uchar (in[2]) << 1) in base32_encode() 105 ? b32str[(to_uchar (in[3]) >> 2) & 0x1f] in base32_encode() 111 ? b32str[((to_uchar (in[3]) << 3) in base32_encode() 288 return uchar_in_range (to_uchar (ch)) && 0 <= b32[to_uchar (ch)]; in isbase32() 372 *out++ = ((b32[to_uchar (in[0])] << 3) in decode_8() 373 | (b32[to_uchar (in[1])] >> 2)); in decode_8() [all …]
|
H A D | base64.c | 57 to_uchar (char ch) in to_uchar() function 73 *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; in base64_encode_fast() 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 106 *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; in base64_encode() 109 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 116 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 415 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() [all …]
|
/dports/misc/gnuls/coreutils-8.30/lib/ |
H A D | base32.c | 55 to_uchar (char ch) in to_uchar() function 76 *out++ = b32str[((to_uchar (in[0]) << 2) in base32_encode() 83 ? b32str[(to_uchar (in[1]) >> 1) & 0x1f] in base32_encode() 89 ? b32str[((to_uchar (in[1]) << 4) in base32_encode() 97 ? b32str[((to_uchar (in[2]) << 1) in base32_encode() 105 ? b32str[(to_uchar (in[3]) >> 2) & 0x1f] in base32_encode() 111 ? b32str[((to_uchar (in[3]) << 3) in base32_encode() 288 return uchar_in_range (to_uchar (ch)) && 0 <= b32[to_uchar (ch)]; in isbase32() 372 *out++ = ((b32[to_uchar (in[0])] << 3) in decode_8() 373 | (b32[to_uchar (in[1])] >> 2)); in decode_8() [all …]
|
H A D | base64.c | 57 to_uchar (char ch) in to_uchar() function 73 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode_fast() 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 106 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode() 109 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 116 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 415 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() [all …]
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/lib/ |
H A D | base32.c | 57 to_uchar (char ch) in to_uchar() function 78 *out++ = b32str[((to_uchar (in[0]) << 2) in base32_encode() 85 ? b32str[(to_uchar (in[1]) >> 1) & 0x1f] in base32_encode() 91 ? b32str[((to_uchar (in[1]) << 4) in base32_encode() 99 ? b32str[((to_uchar (in[2]) << 1) in base32_encode() 107 ? b32str[(to_uchar (in[3]) >> 2) & 0x1f] in base32_encode() 113 ? b32str[((to_uchar (in[3]) << 3) in base32_encode() 287 return uchar_in_range (to_uchar (ch)) && 0 <= b32[to_uchar (ch)]; in isbase32() 371 *out++ = ((b32[to_uchar (in[0])] << 3) in decode_8() 372 | (b32[to_uchar (in[1])] >> 2)); in decode_8() [all …]
|
H A D | arctwo.c | 71 to_uchar (char ch) in to_uchar() function 86 word0 = (word0 << 8) | to_uchar (inbuf[1]); in arctwo_encrypt() 87 word0 = (word0 << 8) | to_uchar (inbuf[0]); in arctwo_encrypt() 88 word1 = (word1 << 8) | to_uchar (inbuf[3]); in arctwo_encrypt() 89 word1 = (word1 << 8) | to_uchar (inbuf[2]); in arctwo_encrypt() 90 word2 = (word2 << 8) | to_uchar (inbuf[5]); in arctwo_encrypt() 91 word2 = (word2 << 8) | to_uchar (inbuf[4]); in arctwo_encrypt() 92 word3 = (word3 << 8) | to_uchar (inbuf[7]); in arctwo_encrypt() 93 word3 = (word3 << 8) | to_uchar (inbuf[6]); in arctwo_encrypt() 141 word0 = (word0 << 8) | to_uchar (inbuf[1]); in arctwo_decrypt() [all …]
|
H A D | base64.c | 59 to_uchar (char ch) in to_uchar() function 75 *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 77 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 78 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 111 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 118 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 324 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 408 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() 409 | (b64[to_uchar (in[1])] >> 4)); in decode_4() [all …]
|
/dports/security/oath-toolkit/oath-toolkit-2.6.2/liboath/gl/ |
H A D | base32.c | 55 to_uchar (char ch) in to_uchar() function 76 *out++ = b32str[((to_uchar (in[0]) << 2) in base32_encode() 83 ? b32str[(to_uchar (in[1]) >> 1) & 0x1f] in base32_encode() 89 ? b32str[((to_uchar (in[1]) << 4) in base32_encode() 97 ? b32str[((to_uchar (in[2]) << 1) in base32_encode() 105 ? b32str[(to_uchar (in[3]) >> 2) & 0x1f] in base32_encode() 111 ? b32str[((to_uchar (in[3]) << 3) in base32_encode() 288 return uchar_in_range (to_uchar (ch)) && 0 <= b32[to_uchar (ch)]; in isbase32() 372 *out++ = ((b32[to_uchar (in[0])] << 3) in decode_8() 373 | (b32[to_uchar (in[1])] >> 2)); in decode_8() [all …]
|
/dports/ftp/wget/wget-1.21.2/lib/ |
H A D | base32.c | 57 to_uchar (char ch) in to_uchar() function 78 *out++ = b32str[((to_uchar (in[0]) << 2) in base32_encode() 85 ? b32str[(to_uchar (in[1]) >> 1) & 0x1f] in base32_encode() 91 ? b32str[((to_uchar (in[1]) << 4) in base32_encode() 99 ? b32str[((to_uchar (in[2]) << 1) in base32_encode() 107 ? b32str[(to_uchar (in[3]) >> 2) & 0x1f] in base32_encode() 113 ? b32str[((to_uchar (in[3]) << 3) in base32_encode() 287 return uchar_in_range (to_uchar (ch)) && 0 <= b32[to_uchar (ch)]; in isbase32() 371 *out++ = ((b32[to_uchar (in[0])] << 3) in decode_8() 372 | (b32[to_uchar (in[1])] >> 2)); in decode_8() [all …]
|
/dports/mail/mpop/mpop-1.4.15/src/ |
H A D | base64.c | 57 to_uchar (char ch) in to_uchar() function 73 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode_fast() 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 106 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode() 109 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 116 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 415 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() [all …]
|
/dports/mail/msmtp/msmtp-1.8.19/src/ |
H A D | base64.c | 57 to_uchar (char ch) in to_uchar() function 73 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode_fast() 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 106 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode() 109 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 116 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 415 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() [all …]
|
/dports/security/libgsasl/gsasl-1.10.0/lib/gl/ |
H A D | base64.c | 57 to_uchar (char ch) in MySetter:() 73 *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; 106 *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; 109 *out++ = b64c[((to_uchar (in[0]) << 4) 116 ? b64c[((to_uchar (in[1]) << 2) 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; 415 *out++ = ((b64[to_uchar (in[0])] << 2) [all …]
|
/dports/archivers/sharutils/sharutils-4.15.2/lib/ |
H A D | base64.c | 57 to_uchar (char ch) in to_uchar() function 73 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode_fast() 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 106 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode() 109 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 116 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 415 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() [all …]
|
/dports/databases/recutils/recutils-1.8/lib/ |
H A D | base64.c | 57 to_uchar (char ch) in to_uchar() function 73 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode_fast() 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 106 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode() 109 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 116 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 415 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() [all …]
|
/dports/net-mgmt/nagios-plugins/nagios-plugins-2.3.3/gl/ |
H A D | base64.c | 57 to_uchar (char ch) in to_uchar() function 73 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode_fast() 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 106 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode() 109 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 116 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 415 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() [all …]
|
/dports/sysutils/cmogstored/cmogstored-1.8.1/lib/ |
H A D | base64.c | 57 to_uchar (char ch) in to_uchar() function 73 *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; in base64_encode_fast() 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 106 *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; in base64_encode() 109 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 116 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 415 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() [all …]
|
/dports/security/gss/gss-1.0.3/src/gl/ |
H A D | base64.c | 57 to_uchar (char ch) in to_uchar() function 73 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode_fast() 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 106 *out++ = b64c[to_uchar (in[0]) >> 2]; in base64_encode() 109 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 116 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 415 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() [all …]
|
/dports/security/gsasl/gsasl-1.10.0/lib/gl/ |
H A D | base64.c | 57 to_uchar (char ch) in to_uchar() function 73 *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; in base64_encode_fast() 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 106 *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; in base64_encode() 109 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 116 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 415 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() [all …]
|
/dports/math/octave/octave-6.4.0/libgnu/ |
H A D | base64.c | 57 to_uchar (char ch) in to_uchar() function 73 *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; in base64_encode_fast() 74 *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; in base64_encode_fast() 75 *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; in base64_encode_fast() 76 *out++ = b64c[to_uchar (in[2]) & 0x3f]; in base64_encode_fast() 106 *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; in base64_encode() 109 *out++ = b64c[((to_uchar (in[0]) << 4) in base64_encode() 116 ? b64c[((to_uchar (in[1]) << 2) in base64_encode() 331 return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; in isbase64() 415 *out++ = ((b64[to_uchar (in[0])] << 2) in decode_4() [all …]
|