Searched refs:encoded_filename (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/net/tools/dump_cache/
H A Durl_to_filename_encoder.cc90 string* encoded_filename) {
105 *encoded_filename = filename_prefix.substr(0, start_of_segment + 1);
111 encoded_filename->append(segment);
113 encoded_filename->append(1, dir_separator);
123 AppendSegment(&segment, encoded_filename);
124 encoded_filename->append(1, dir_separator);
145 AppendSegment(&segment, encoded_filename);
146 encoded_filename->append(1, dir_separator);
157 AppendSegment(&segment, encoded_filename);
162 encoded_filename
87 EncodeSegment(const string& filename_prefix, const string& escaped_ending, char dir_separator, string* encoded_filename) argument
169 Decode(const string& encoded_filename, char dir_separator, string* decoded_url) argument
[all...]
H A Durl_to_filename_encoder.h152 // |encoded_filename| is the resultant filename.
157 std::string* encoded_filename);
161 static bool Decode(const std::string& encoded_filename,
H A Durl_to_filename_encoder_unittest.cc94 string encoded_filename = UrlToFilenameEncoder::Encode( local
96 EXPECT_EQ(gold_filename, encoded_filename);
98 CheckSegmentLength(encoded_filename);
99 CheckValidChars(encoded_filename, kOtherDirSeparator);
101 UrlToFilenameEncoder::Decode(encoded_filename, kDirSeparator,

Completed in 117 milliseconds