Lines Matching refs:readp
4192 char *readbuf = NULL, *readp = NULL, *token = NULL, *query = NULL;
4210 readp = readbuf;
4222 token = strchr(readp, ':');
4223 if (token && scheme_ok(readp,token)) {
4225 uri->scheme = mm_strdup(readp);
4230 readp = token+1; /* eat : */
4234 if (readp[0]=='/' && readp[1] == '/') {
4236 readp += 2;
4237 authority = readp;
4238 path = end_of_authority(readp);
4241 readp = path;
4247 path = readp;
4248 readp = end_of_path(path, PART_PATH, flags);
4251 if (*readp == '?') {
4252 *readp = '\0';
4253 ++readp;
4254 query = readp;
4255 readp = end_of_path(readp, PART_QUERY, flags);
4258 if (*readp == '#') {
4259 *readp = '\0';
4260 ++readp;
4261 fragment = readp;
4262 readp = end_of_path(readp, PART_FRAGMENT, flags);
4264 if (*readp != '\0') {