Lines Matching refs:readp
4777 char *readbuf = NULL, *readp = NULL, *token = NULL, *query = NULL;
4795 readp = readbuf;
4807 token = strchr(readp, ':');
4808 if (token && scheme_ok(readp,token)) {
4810 uri->scheme = mm_strdup(readp);
4815 readp = token+1; /* eat : */
4819 if (readp[0]=='/' && readp[1] == '/') {
4821 readp += 2;
4822 authority = readp;
4823 path = end_of_authority(readp);
4826 readp = path;
4832 path = readp;
4833 readp = end_of_path(path, PART_PATH, flags);
4836 if (*readp == '?') {
4837 *readp = '\0';
4838 ++readp;
4839 query = readp;
4840 readp = end_of_path(readp, PART_QUERY, flags);
4843 if (*readp == '#') {
4844 *readp = '\0';
4845 ++readp;
4846 fragment = readp;
4847 readp = end_of_path(readp, PART_FRAGMENT, flags);
4849 if (*readp != '\0') {