Home
last modified time | relevance | path

Searched refs:base64_table (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/standard/
H A Dbase64.c24 static const char base64_table[] = { variable
135 *out++ = base64_table[in[0] >> 2]; in php_base64_encode_impl()
136 *out++ = base64_table[((in[0] & 0x03) << 4) + (in[1] >> 4)]; in php_base64_encode_impl()
137 *out++ = base64_table[((in[1] & 0x0f) << 2) + (in[2] >> 6)]; in php_base64_encode_impl()
138 *out++ = base64_table[in[2] & 0x3f]; in php_base64_encode_impl()
146 *out++ = base64_table[in[0] >> 2]; in php_base64_encode_impl()
148 *out++ = base64_table[((in[0] & 0x03) << 4) + (in[1] >> 4)]; in php_base64_encode_impl()
149 *out++ = base64_table[(in[1] & 0x0f) << 2]; in php_base64_encode_impl()
154 *out++ = base64_table[(in[0] & 0x03) << 4]; in php_base64_encode_impl()
/php-src/ext/mbstring/
H A Dmbstring.c6074 static const unsigned char base64_table[] = { variable
6116 base64_table[(bits >> 18) & 0x3F], in transfer_encode_mime_bytes()
6117 base64_table[(bits >> 12) & 0x3F], in transfer_encode_mime_bytes()
6118 base64_table[(bits >> 6) & 0x3F], in transfer_encode_mime_bytes()
6119 base64_table[bits & 0x3F]); in transfer_encode_mime_bytes()
6124 …out = mb_convert_buf_add4(out, base64_table[(bits >> 2) & 0x3F], base64_table[(bits & 0x3) << 4], … in transfer_encode_mime_bytes()
6129 …out = mb_convert_buf_add4(out, base64_table[(bits >> 10) & 0x3F], base64_table[(bits >> 4) & 0x3F]… in transfer_encode_mime_bytes()

Completed in 22 milliseconds