Home
last modified time | relevance | path

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

/external/chromium/net/tools/dump_cache/
Durl_to_filename_encoder.cc90 string* encoded_filename) { in EncodeSegment() argument
105 *encoded_filename = filename_prefix.substr(0, start_of_segment + 1); in EncodeSegment()
111 encoded_filename->append(segment); in EncodeSegment()
113 encoded_filename->append(1, dir_separator); in EncodeSegment()
123 AppendSegment(&segment, encoded_filename); in EncodeSegment()
124 encoded_filename->append(1, dir_separator); in EncodeSegment()
145 AppendSegment(&segment, encoded_filename); in EncodeSegment()
146 encoded_filename->append(1, dir_separator); in EncodeSegment()
157 AppendSegment(&segment, encoded_filename); in EncodeSegment()
162 encoded_filename->append(1, dir_separator); in EncodeSegment()
[all …]
Durl_to_filename_encoder_unittest.cc92 string encoded_filename = UrlToFilenameEncoder::Encode( in ValidateUrl() local
94 EXPECT_EQ(gold_filename, encoded_filename); in ValidateUrl()
96 CheckSegmentLength(encoded_filename); in ValidateUrl()
97 CheckValidChars(encoded_filename, kOtherDirSeparator); in ValidateUrl()
99 UrlToFilenameEncoder::Decode(encoded_filename, kDirSeparator, in ValidateUrl()
Durl_to_filename_encoder.h158 std::string* encoded_filename);
162 static bool Decode(const std::string& encoded_filename,