Lines Matching refs:p
67 unsigned char *p; in php_uuencode() local
75 p = (unsigned char *) ZSTR_VAL(dest); in php_uuencode()
88 *p++ = PHP_UU_ENC(len); in php_uuencode()
91 *p++ = PHP_UU_ENC(*s >> 2); in php_uuencode()
92 *p++ = PHP_UU_ENC_C2(s); in php_uuencode()
93 *p++ = PHP_UU_ENC_C3(s); in php_uuencode()
94 *p++ = PHP_UU_ENC(*(s + 2) & 077); in php_uuencode()
100 *p++ = '\n'; in php_uuencode()
106 *p++ = PHP_UU_ENC(e - s); in php_uuencode()
110 *p++ = PHP_UU_ENC(*s >> 2); in php_uuencode()
111 *p++ = PHP_UU_ENC_C2(s); 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()
117 *p++ = '\n'; in php_uuencode()
120 *p++ = PHP_UU_ENC('\0'); in php_uuencode()
121 *p++ = '\n'; in php_uuencode()
122 *p = '\0'; in php_uuencode()
124 dest = zend_string_truncate(dest, (char *) p - ZSTR_VAL(dest), 0); in php_uuencode()
132 char *p; in php_uudecode() local
141 p = ZSTR_VAL(dest); in php_uudecode()
166 *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; in php_uudecode()
167 *p++ = PHP_UU_DEC(*(s + 1)) << 4 | PHP_UU_DEC(*(s + 2)) >> 2; in php_uudecode()
168 *p++ = PHP_UU_DEC(*(s + 2)) << 6 | PHP_UU_DEC(*(s + 3)); in php_uudecode()
180 assert(p >= ZSTR_VAL(dest)); in php_uudecode()
181 if ((len = total_len) > (size_t)(p - ZSTR_VAL(dest))) { in php_uudecode()
182 *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; in php_uudecode()
184 *p++ = PHP_UU_DEC(*(s + 1)) << 4 | PHP_UU_DEC(*(s + 2)) >> 2; in php_uudecode()
186 *p++ = PHP_UU_DEC(*(s + 2)) << 6 | PHP_UU_DEC(*(s + 3)); in php_uudecode()