Lines Matching refs:s

69 	unsigned char *p, *s, *e, *ee;  in php_uuencode()  local
77 s = (unsigned char *) src; in php_uuencode()
78 e = s + src_len; in php_uuencode()
80 while ((s + 3) < e) { in php_uuencode()
81 ee = s + len; in php_uuencode()
84 len = ee - s; in php_uuencode()
86 ee = s + (int) (floor((double)len / 3) * 3); in php_uuencode()
91 while (s < ee) { 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()
97 s += 3; in php_uuencode()
105 if (s < e) { 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()
133 char *s, *e, *p, *ee; in php_uudecode() local
138 s = src; in php_uudecode()
141 while (s < e) { in php_uudecode()
142 if ((len = PHP_UU_DEC(*s++)) == 0) { in php_uudecode()
152 ee = s + (len == 45 ? 60 : (int) floor(len * 1.33)); in php_uudecode()
158 while (s < ee) { in php_uudecode()
159 if(s+4 > e) { 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()
165 s += 4; in php_uudecode()
173 s++; 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()