Home
last modified time | relevance | path

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

/PHP-8.2/ext/standard/
H A Duuencode.c58 #define PHP_UU_ENC(c) ((c) ? ((c) & 077) + ' ' : '`') macro
59 #define PHP_UU_ENC_C2(c) PHP_UU_ENC(((*(c) << 4) & 060) | ((*((c) + 1) >> 4) & 017))
60 #define PHP_UU_ENC_C3(c) PHP_UU_ENC(((*(c + 1) << 2) & 074) | ((*((c) + 2) >> 6) & 03))
88 *p++ = PHP_UU_ENC(len); in php_uuencode()
91 *p++ = PHP_UU_ENC(*s >> 2); in php_uuencode()
94 *p++ = PHP_UU_ENC(*(s + 2) & 077); in php_uuencode()
106 *p++ = PHP_UU_ENC(e - s); in php_uuencode()
110 *p++ = PHP_UU_ENC(*s >> 2); in php_uuencode()
112 *p++ = ((e - s) > 1) ? PHP_UU_ENC_C3(s) : PHP_UU_ENC('\0'); in php_uuencode()
113 *p++ = ((e - s) > 2) ? PHP_UU_ENC(*(s + 2) & 077) : PHP_UU_ENC('\0'); in php_uuencode()
[all …]

Completed in 4 milliseconds