Lines Matching refs:e

56 	unsigned char *e = (unsigned char *)str + len;  in php_replace_controlchars_ex()  local
62 while (s < e) { in php_replace_controlchars_ex()
84 static const char *binary_strcspn(const char *s, const char *e, const char *chars) { in binary_strcspn() argument
86 const char *p = memchr(s, *chars, e - s); in binary_strcspn()
88 e = p; in binary_strcspn()
92 return e; in binary_strcspn()
108 char const *s, *e, *p, *pp, *ue; in php_url_parse_ex2() local
115 if ((e = memchr(s, ':', length)) && e != s) { in php_url_parse_ex2()
118 while (p < e) { in php_url_parse_ex2()
121 if (e + 1 < ue && e < binary_strcspn(s, ue, "?#")) { in php_url_parse_ex2()
125 e = 0; in php_url_parse_ex2()
134 if (e + 1 == ue) { /* only scheme is available */ in php_url_parse_ex2()
135 ret->scheme = zend_string_init(s, (e - s), 0); in php_url_parse_ex2()
144 if (*(e+1) != '/') { in php_url_parse_ex2()
148 p = e + 1; in php_url_parse_ex2()
153 if ((p == ue || *p == '/') && (p - e) < 7) { in php_url_parse_ex2()
157 ret->scheme = zend_string_init(s, (e-s), 0); in php_url_parse_ex2()
160 s = e + 1; in php_url_parse_ex2()
163 ret->scheme = zend_string_init(s, (e-s), 0); in php_url_parse_ex2()
166 if (e + 2 < ue && *(e + 2) == '/') { in php_url_parse_ex2()
167 s = e + 3; in php_url_parse_ex2()
169 if (e + 3 < ue && *(e + 3) == '/') { in php_url_parse_ex2()
173 if (e + 5 < ue && *(e + 5) == ':') { in php_url_parse_ex2()
174 s = e + 4; in php_url_parse_ex2()
180 s = e + 1; in php_url_parse_ex2()
184 } else if (e) { /* no scheme; starts with colon: look for port */ in php_url_parse_ex2()
186 p = e + 1; in php_url_parse_ex2()
224 e = binary_strcspn(s, ue, "/?#"); in php_url_parse_ex2()
227 if ((p = zend_memrchr(s, '@', (e-s)))) { in php_url_parse_ex2()
244 if (s < ue && *s == '[' && *(e-1) == ']') { in php_url_parse_ex2()
250 p = zend_memrchr(s, ':', (e-s)); in php_url_parse_ex2()
256 if (e-p > 5) { /* port cannot be longer then 5 characters */ in php_url_parse_ex2()
259 } else if (e - p > 0) { in php_url_parse_ex2()
262 memcpy(port_buf, p, (e - p)); in php_url_parse_ex2()
263 port_buf[e - p] = '\0'; in php_url_parse_ex2()
276 p = e; in php_url_parse_ex2()
288 if (e == ue) { in php_url_parse_ex2()
292 s = e; in php_url_parse_ex2()
296 e = ue; in php_url_parse_ex2()
297 p = memchr(s, '#', (e - s)); in php_url_parse_ex2()
300 if (p < e) { in php_url_parse_ex2()
301 ret->fragment = zend_string_init(p, (e - p), 0); in php_url_parse_ex2()
306 e = p-1; in php_url_parse_ex2()
309 p = memchr(s, '?', (e - s)); in php_url_parse_ex2()
312 if (p < e) { in php_url_parse_ex2()
313 ret->query = zend_string_init(p, (e - p), 0); in php_url_parse_ex2()
318 e = p-1; in php_url_parse_ex2()
321 if (s < e || s == ue) { in php_url_parse_ex2()
322 ret->path = zend_string_init(s, (e - s), 0); in php_url_parse_ex2()