Lines Matching refs:s

71 	char *p, *s, *e, *ee;  in php_uuencode()  local
79 s = src; in php_uuencode()
82 while ((s + 3) < e) { in php_uuencode()
83 ee = s + len; in php_uuencode()
86 len = ee - s; in php_uuencode()
88 ee = s + (int) (floor((double)len / 3) * 3); in php_uuencode()
93 while (s < ee) { in php_uuencode()
94 *p++ = PHP_UU_ENC(*s >> 2); in php_uuencode()
95 *p++ = PHP_UU_ENC_C2(s); in php_uuencode()
96 *p++ = PHP_UU_ENC_C3(s); in php_uuencode()
97 *p++ = PHP_UU_ENC(*(s + 2) & 077); in php_uuencode()
99 s += 3; in php_uuencode()
107 if (s < e) { in php_uuencode()
109 *p++ = PHP_UU_ENC(e - s); in php_uuencode()
113 *p++ = PHP_UU_ENC(*s >> 2); in php_uuencode()
114 *p++ = PHP_UU_ENC_C2(s); in php_uuencode()
115 *p++ = ((e - s) > 1) ? PHP_UU_ENC_C3(s) : PHP_UU_ENC('\0'); in php_uuencode()
116 *p++ = ((e - s) > 2) ? PHP_UU_ENC(*(s + 2) & 077) : PHP_UU_ENC('\0'); in php_uuencode()
135 char *s, *e, *p, *ee; in php_uudecode() local
140 s = src; in php_uudecode()
143 while (s < e) { in php_uudecode()
144 if ((len = PHP_UU_DEC(*s++)) <= 0) { in php_uudecode()
154 ee = s + (len == 45 ? 60 : (int) floor(len * 1.33)); in php_uudecode()
160 while (s < ee) { in php_uudecode()
161 if(s+4 > e) { in php_uudecode()
164 *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; in php_uudecode()
165 *p++ = PHP_UU_DEC(*(s + 1)) << 4 | PHP_UU_DEC(*(s + 2)) >> 2; in php_uudecode()
166 *p++ = PHP_UU_DEC(*(s + 2)) << 6 | PHP_UU_DEC(*(s + 3)); in php_uudecode()
167 s += 4; in php_uudecode()
175 s++; in php_uudecode()
180 *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; in php_uudecode()
182 *p++ = PHP_UU_DEC(*(s + 1)) << 4 | PHP_UU_DEC(*(s + 2)) >> 2; in php_uudecode()
184 *p++ = PHP_UU_DEC(*(s + 2)) << 6 | PHP_UU_DEC(*(s + 3)); in php_uudecode()