Lines Matching refs:p

69 	unsigned char *p, *s, *e, *ee;  in php_uuencode()  local
76 p = (unsigned char *) ZSTR_VAL(dest); in php_uuencode()
89 *p++ = PHP_UU_ENC(len); in php_uuencode()
92 *p++ = PHP_UU_ENC(*s >> 2); in php_uuencode()
93 *p++ = PHP_UU_ENC_C2(s); in php_uuencode()
94 *p++ = PHP_UU_ENC_C3(s); in php_uuencode()
95 *p++ = PHP_UU_ENC(*(s + 2) & 077); in php_uuencode()
101 *p++ = '\n'; in php_uuencode()
107 *p++ = PHP_UU_ENC(e - s); in php_uuencode()
111 *p++ = PHP_UU_ENC(*s >> 2); in php_uuencode()
112 *p++ = PHP_UU_ENC_C2(s); in php_uuencode()
113 *p++ = ((e - s) > 1) ? PHP_UU_ENC_C3(s) : PHP_UU_ENC('\0'); in php_uuencode()
114 *p++ = ((e - s) > 2) ? PHP_UU_ENC(*(s + 2) & 077) : PHP_UU_ENC('\0'); in php_uuencode()
118 *p++ = '\n'; in php_uuencode()
121 *p++ = PHP_UU_ENC('\0'); in php_uuencode()
122 *p++ = '\n'; in php_uuencode()
123 *p = '\0'; in php_uuencode()
125 dest = zend_string_truncate(dest, (char *) p - ZSTR_VAL(dest), 0); in php_uuencode()
133 char *s, *e, *p, *ee; in php_uudecode() local
137 p = ZSTR_VAL(dest); in php_uudecode()
162 *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; in php_uudecode()
163 *p++ = PHP_UU_DEC(*(s + 1)) << 4 | PHP_UU_DEC(*(s + 2)) >> 2; in php_uudecode()
164 *p++ = PHP_UU_DEC(*(s + 2)) << 6 | PHP_UU_DEC(*(s + 3)); in php_uudecode()
176 assert(p >= ZSTR_VAL(dest)); in php_uudecode()
177 if ((len = total_len) > (size_t)(p - ZSTR_VAL(dest))) { in php_uudecode()
178 *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; in php_uudecode()
180 *p++ = PHP_UU_DEC(*(s + 1)) << 4 | PHP_UU_DEC(*(s + 2)) >> 2; in php_uudecode()
182 *p++ = PHP_UU_DEC(*(s + 2)) << 6 | PHP_UU_DEC(*(s + 3)); in php_uudecode()