Home | History | Annotate | Download | only in src

Lines Matching refs:url

46 // Represents a substring for URL parsing.
90 // A structure that holds the identified parts of an input URL. This structure
91 // does NOT store the URL itself. The caller will have to store the URL text
98 // if (!url_parse::ExtractScheme(url, url_len, &scheme))
101 // if (IsStandardScheme(url, scheme)) // Not provided by this component
102 // url_parseParseStandardURL(url, url_len, &parsed);
103 // else if (IsFileURL(url, scheme)) // Not provided by this component
104 // url_parse::ParseFileURL(url, url_len, &parsed);
106 // url_parse::ParsePathURL(url, url_len, &parsed);
124 // Returns the length of the URL (the end of the last component).
203 // These functions parse the given URL, filling in all of the structure's
207 // The string length of the URL MUST be specified, we do not check for NULLs
218 void ParseStandardURL(const char* url, int url_len, Parsed* parsed);
219 void ParseStandardURL(const char16* url, int url_len, Parsed* parsed);
225 void ParsePathURL(const char* url, int url_len, Parsed* parsed);
226 void ParsePathURL(const char16* url, int url_len, Parsed* parsed);
230 void ParseFileURL(const char* url, int url_len, Parsed* parsed);
231 void ParseFileURL(const char16* url, int url_len, Parsed* parsed);
234 void ParseMailtoURL(const char* url, int url_len, Parsed* parsed);
235 void ParseMailtoURL(const char16* url, int url_len, Parsed* parsed);
239 // Locates the scheme according to the URL parser's rules. This function is
247 // that a URL beginning with a colon has a scheme, but it is empty, so this
255 // beginning of the rest of the URL, be it the authority or the path (or the
259 bool ExtractScheme(const char* url, int url_len, Component* scheme);
260 bool ExtractScheme(const char16* url, int url_len, Component* scheme);
263 // of a URL.
283 // |Parsed| for the given input url.
288 int ParsePort(const char* url, const Component& port);
289 int ParsePort(const char16* url, const Component& port);
291 // Extracts the range of the file name in the given url. The path must
292 // already have been computed by the parse function, and the matching URL
301 void ExtractFileName(const char* url,
304 void ExtractFileName(const char16* url,
323 bool ExtractQueryKeyValue(const char* url,
327 bool ExtractQueryKeyValue(const char16* url,