Home | History | Annotate | Download | only in src

Lines Matching full:slash

135     // Single dot followed by a slash.
136 *consumed_len = 1; // Consume the slash
149 // Double dot followed by a slash.
160 // Rewinds the output to the previous slash. It is assumed that the output
161 // ends with a slash and this doesn't count (we call this when we are
163 // slash).
165 // This will stop at the first slash (assumed to be at position
169 // It searches for a literal slash rather than including a backslash as well
172 // The output is guaranteed to end in a slash when this function completes.
180 return; // We're at the first slash, nothing to do.
182 // Now back up (skipping the trailing slash) until we find another slash.
187 // Now shrink the output to just include that last slash we found.
192 // starts with a slash, it should be copied to the output. If no path has
194 // relative URLs), the path should begin with a slash.
198 // a trailing slash and that if the input begins with a slash, it should be
201 // We do not collapse multiple slashes in a row to a single slash. It seems
229 // See if this dot was preceeded by a slash in the output. We
231 // start with a slash and not a dot, so we don't have to
241 // Slash followed by a dot, check to see if this is means relative
259 // This dot is not preceeded by a slash, it is just part of some
331 // Write out an initial slash if the input has none. If we just parse a URL
332 // and then canonicalize it, it will of course have a slash already. This
341 // No input, canonical path is a slash.