Lines Matching refs:current
58 const unsigned char *current = str; in php_base64_encode() local
66 *p++ = base64_table[current[0] >> 2]; in php_base64_encode()
67 *p++ = base64_table[((current[0] & 0x03) << 4) + (current[1] >> 4)]; in php_base64_encode()
68 *p++ = base64_table[((current[1] & 0x0f) << 2) + (current[2] >> 6)]; in php_base64_encode()
69 *p++ = base64_table[current[2] & 0x3f]; in php_base64_encode()
71 current += 3; in php_base64_encode()
77 *p++ = base64_table[current[0] >> 2]; in php_base64_encode()
79 *p++ = base64_table[((current[0] & 0x03) << 4) + (current[1] >> 4)]; in php_base64_encode()
80 *p++ = base64_table[(current[1] & 0x0f) << 2]; in php_base64_encode()
83 *p++ = base64_table[(current[0] & 0x03) << 4]; in php_base64_encode()
138 const unsigned char *current = str; in php_base64_decode_ex() local
146 ch = *current++; in php_base64_decode_ex()