Lines Matching refs:e

67 	unsigned char *e = (unsigned char *)str + len;  in php_replace_controlchars_ex()  local
73 while (s < e) { in php_replace_controlchars_ex()
101 char const *s, *e, *p, *pp, *ue; in php_url_parse_ex() local
107 if ((e = memchr(s, ':', length)) && (e - s)) { in php_url_parse_ex()
110 while (p < e) { in php_url_parse_ex()
113 if (e + 1 < ue) { in php_url_parse_ex()
122 if (*(e + 1) == '\0') { /* only scheme is available */ in php_url_parse_ex()
123 ret->scheme = estrndup(s, (e - s)); in php_url_parse_ex()
124 php_replace_controlchars_ex(ret->scheme, (e - s)); in php_url_parse_ex()
132 if (*(e+1) != '/') { in php_url_parse_ex()
136 p = e + 1; in php_url_parse_ex()
141 if ((*p == '\0' || *p == '/') && (p - e) < 7) { in php_url_parse_ex()
145 ret->scheme = estrndup(s, (e-s)); in php_url_parse_ex()
146 php_replace_controlchars_ex(ret->scheme, (e - s)); in php_url_parse_ex()
148 length -= ++e - s; in php_url_parse_ex()
149 s = e; in php_url_parse_ex()
152 ret->scheme = estrndup(s, (e-s)); in php_url_parse_ex()
153 php_replace_controlchars_ex(ret->scheme, (e - s)); in php_url_parse_ex()
155 if (*(e+2) == '/') { in php_url_parse_ex()
156 s = e + 3; in php_url_parse_ex()
158 if (*(e + 3) == '/') { in php_url_parse_ex()
162 if (*(e + 5) == ':') { in php_url_parse_ex()
163 s = e + 4; in php_url_parse_ex()
170 s = e + 1; in php_url_parse_ex()
173 length -= ++e - s; in php_url_parse_ex()
174 s = e; in php_url_parse_ex()
179 } else if (e) { /* no scheme; starts with colon: look for port */ in php_url_parse_ex()
181 p = e + 1; in php_url_parse_ex()
217 e = ue; in php_url_parse_ex()
227 e = fragment; in php_url_parse_ex()
229 e = query; in php_url_parse_ex()
232 e = query; in php_url_parse_ex()
234 e = fragment; in php_url_parse_ex()
237 e = p; in php_url_parse_ex()
241 if ((p = zend_memrchr(s, '@', (e-s)))) { in php_url_parse_ex()
262 if (*s == '[' && *(e-1) == ']') { in php_url_parse_ex()
270 for(p = e; p >= s && *p != ':'; p--); in php_url_parse_ex()
276 if (e-p > 5) { /* port cannot be longer then 5 characters */ in php_url_parse_ex()
282 } else if (e - p > 0) { in php_url_parse_ex()
284 memcpy(port_buf, p, (e - p)); in php_url_parse_ex()
285 port_buf[e - p] = '\0'; in php_url_parse_ex()
300 p = e; in php_url_parse_ex()
315 if (e == ue) { in php_url_parse_ex()
319 s = e; in php_url_parse_ex()