Lines Matching full:slash
109 // Single dot followed by a slash.
110 *consumed_len = 1; // Consume the slash
123 // Double dot followed by a slash.
134 // Rewinds the output to the previous slash. It is assumed that the output
135 // ends with a slash and this doesn't count (we call this when we are
137 // slash).
139 // This will stop at the first slash (assumed to be at position
143 // It searches for a literal slash rather than including a backslash as well
146 // The output is guaranteed to end in a slash when this function completes.
154 return; // We're at the first slash, nothing to do.
156 // Now back up (skipping the trailing slash) until we find another slash.
161 // Now shrink the output to just include that last slash we found.
166 // starts with a slash, it should be copied to the output. If no path has
168 // relative URLs), the path should begin with a slash.
172 // a trailing slash and that if the input begins with a slash, it should be
175 // We do not collapse multiple slashes in a row to a single slash. It seems
203 // See if this dot was preceeded by a slash in the output. We
205 // start with a slash and not a dot, so we don't have to
215 // Slash followed by a dot, check to see if this is means relative
233 // This dot is not preceeded by a slash, it is just part of some
304 // Write out an initial slash if the input has none. If we just parse a URL
305 // and then canonicalize it, it will of course have a slash already. This
313 // No input, canonical path is a slash.