Lines Matching refs:url
47 // Represents a substring for URL parsing.
91 // A structure that holds the identified parts of an input URL. This structure
92 // does NOT store the URL itself. The caller will have to store the URL text
99 // if (!url_parse::ExtractScheme(url, url_len, &scheme))
102 // if (IsStandardScheme(url, scheme)) // Not provided by this component
103 // url_parseParseStandardURL(url, url_len, &parsed);
104 // else if (IsFileURL(url, scheme)) // Not provided by this component
105 // url_parse::ParseFileURL(url, url_len, &parsed);
107 // url_parse::ParsePathURL(url, url_len, &parsed);
125 // Returns the length of the URL (the end of the last component).
205 // These functions parse the given URL, filling in all of the structure's
209 // The string length of the URL MUST be specified, we do not check for NULLs
220 GURL_API void ParseStandardURL(const char* url, int url_len, Parsed* parsed);
221 GURL_API void ParseStandardURL(const char16* url, int url_len, Parsed* parsed);
227 GURL_API void ParsePathURL(const char* url, int url_len, Parsed* parsed);
228 GURL_API void ParsePathURL(const char16* url, int url_len, Parsed* parsed);
232 GURL_API void ParseFileURL(const char* url, int url_len, Parsed* parsed);
233 GURL_API void ParseFileURL(const char16* url, int url_len, Parsed* parsed);
236 GURL_API void ParseMailtoURL(const char* url, int url_len, Parsed* parsed);
237 GURL_API void ParseMailtoURL(const char16* url, int url_len, Parsed* parsed);
241 // Locates the scheme according to the URL parser's rules. This function is
249 // that a URL beginning with a colon has a scheme, but it is empty, so this
257 // beginning of the rest of the URL, be it the authority or the path (or the
261 GURL_API bool ExtractScheme(const char* url, int url_len, Component* scheme);
262 GURL_API bool ExtractScheme(const char16* url, int url_len, Component* scheme);
265 // of a URL.
285 // |Parsed| for the given input url.
290 GURL_API int ParsePort(const char* url, const Component& port);
291 GURL_API int ParsePort(const char16* url, const Component& port);
293 // Extracts the range of the file name in the given url. The path must
294 // already have been computed by the parse function, and the matching URL
303 GURL_API void ExtractFileName(const char* url,
306 GURL_API void ExtractFileName(const char16* url,
325 GURL_API bool ExtractQueryKeyValue(const char* url,
329 GURL_API bool ExtractQueryKeyValue(const char16* url,