Lines Matching refs:s
71 char *p, *s, *e, *ee; in php_uuencode() local
75 s = src; in php_uuencode()
78 while ((s + 3) < e) { in php_uuencode()
79 ee = s + len; in php_uuencode()
82 len = ee - s; in php_uuencode()
84 ee = s + (int) (floor(len / 3) * 3); in php_uuencode()
89 while (s < ee) { in php_uuencode()
90 *p++ = PHP_UU_ENC(*s >> 2); in php_uuencode()
91 *p++ = PHP_UU_ENC_C2(s); in php_uuencode()
92 *p++ = PHP_UU_ENC_C3(s); in php_uuencode()
93 *p++ = PHP_UU_ENC(*(s + 2) & 077); in php_uuencode()
95 s += 3; in php_uuencode()
103 if (s < e) { in php_uuencode()
105 *p++ = PHP_UU_ENC(e - s); in php_uuencode()
109 *p++ = PHP_UU_ENC(*s >> 2); in php_uuencode()
110 *p++ = PHP_UU_ENC_C2(s); in php_uuencode()
111 *p++ = ((e - s) > 1) ? PHP_UU_ENC_C3(s) : PHP_UU_ENC('\0'); in php_uuencode()
112 *p++ = ((e - s) > 2) ? PHP_UU_ENC(*(s + 2) & 077) : PHP_UU_ENC('\0'); in php_uuencode()
130 char *s, *e, *p, *ee; in php_uudecode() local
133 s = src; in php_uudecode()
136 while (s < e) { in php_uudecode()
137 if ((len = PHP_UU_DEC(*s++)) <= 0) { in php_uudecode()
147 ee = s + (len == 45 ? 60 : (int) floor(len * 1.33)); in php_uudecode()
153 while (s < ee) { in php_uudecode()
154 if(s+4 > e) { in php_uudecode()
157 *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; in php_uudecode()
158 *p++ = PHP_UU_DEC(*(s + 1)) << 4 | PHP_UU_DEC(*(s + 2)) >> 2; in php_uudecode()
159 *p++ = PHP_UU_DEC(*(s + 2)) << 6 | PHP_UU_DEC(*(s + 3)); in php_uudecode()
160 s += 4; in php_uudecode()
168 s++; in php_uudecode()
172 *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; in php_uudecode()
174 *p++ = PHP_UU_DEC(*(s + 1)) << 4 | PHP_UU_DEC(*(s + 2)) >> 2; in php_uudecode()
176 *p++ = PHP_UU_DEC(*(s + 2)) << 6 | PHP_UU_DEC(*(s + 3)); in php_uudecode()