Lines Matching refs:s

68 	const unsigned char *s, *e, *ee;  in php_uuencode()  local
76 s = (unsigned char *) src; in php_uuencode()
77 e = s + src_len; in php_uuencode()
79 while ((s + 3) < e) { in php_uuencode()
80 ee = s + len; in php_uuencode()
83 len = ee - s; in php_uuencode()
85 ee = s + (int) (floor((double)len / 3) * 3); in php_uuencode()
90 while (s < ee) { 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()
96 s += 3; in php_uuencode()
104 if (s < e) { 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()
133 const char *s, *e, *ee; in php_uudecode() local
142 s = src; in php_uudecode()
145 while (s < e) { in php_uudecode()
146 if ((len = PHP_UU_DEC(*s++)) == 0) { in php_uudecode()
156 ee = s + (len == 45 ? 60 : (int) floor(len * 1.33)); in php_uudecode()
162 while (s < ee) { in php_uudecode()
163 if(s+4 > e) { 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()
169 s += 4; in php_uudecode()
177 s++; 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()