• Home
  • Raw
  • Download

Lines Matching full:scheme

57 //    Component scheme;
58 // if (!ExtractScheme(url, url_len, &scheme))
61 // if (IsStandardScheme(url, scheme)) // Not provided by this component
63 // else if (IsFileURL(url, scheme)) // Not provided by this component
71 SCHEME, enumerator
92 // contain an entry for the four-character scheme, and it doesn't know about
113 // SCHEME: 0 0
124 // Scheme without the colon: "http://foo"/ would have a scheme of "http".
125 // The length will be -1 if no scheme is specified ("foo.com"), or 0 if there
126 // is a colon but no scheme (":foo"). Note that the scheme is not guaranteed
129 Component scheme; member
165 // The URL spec from the character after the scheme: until the end of the
166 // URL, regardless of the scheme. This is mostly useful for 'opaque' non-
168 // the string with the scheme stripped off.
216 // StandardURL is for when the scheme is known to be one that has an
221 // PathURL is for when the scheme is known not to have an authority (host)
222 // section but that aren't file URLs either. The scheme is parsed, and
223 // everything after the scheme is considered as the path. This is used for
237 // MailtoURL is for mailto: urls. They are made up scheme,path,query
242 // Locates the scheme according to the URL parser's rules. This function is
243 // designed so the caller can find the scheme and call the correct Init*
244 // function according to their known scheme types.
246 // It also does not perform any validation on the scheme.
248 // This function will return true if the scheme is found and will put the
249 // scheme's range into *scheme. False means no scheme could be found. Note
250 // that a URL beginning with a colon has a scheme, but it is empty, so this
251 // function will return true but *scheme will = (0,0).
253 // The scheme is found by skipping spaces and control characters at the
255 // scheme. The character at scheme.end() will be the colon (we may enhance
257 // actual character value). The character at scheme.end()+1 will be the
262 bool ExtractScheme(const char* url, int url_len, Component* scheme);