Lines Matching refs:fragment
125 char *query, *fragment; in uri_from_string() local
136 fragment = strrchr(name, '#'); in uri_from_string()
137 if ((fragment != NULL) && (*fragment != '\0')) { in uri_from_string()
138 u->fragment = strndup(fragment + 1, in uri_from_string()
139 end - fragment - 1); in uri_from_string()
140 end = fragment; in uri_from_string()
171 ((uri->fragment != NULL) && (uri->path == NULL)) || in uri_to_string()
196 (uri->fragment ? "#" : ""), in uri_to_string()
197 (uri->fragment ? uri->fragment : ""), in uri_to_string()
226 if (uri->fragment != NULL) in uri_free()
227 free(uri->fragment); in uri_free()
261 if (uri->fragment != NULL) in uri_dump()
262 fprintf(fp, "fragment: %s\n", uri->fragment); in uri_dump()