STR 23 base/strings/string_number_conversions.cc template <typename STR, typename INT, typename UINT, bool NEG> STR 67 base/strings/string_number_conversions.cc static STR IntToString(INT value) { STR 74 base/strings/string_number_conversions.cc STR outbuf(kOutputBufSize, 0); STR 81 base/strings/string_number_conversions.cc typename STR::iterator it(outbuf.end()); STR 85 base/strings/string_number_conversions.cc *it = static_cast<typename STR::value_type>((res % 10) + '0'); STR 91 base/strings/string_number_conversions.cc *it = static_cast<typename STR::value_type>('-'); STR 93 base/strings/string_number_conversions.cc return STR(it, outbuf.end()); STR 325 base/strings/string_number_conversions.cc template<typename STR> STR 326 base/strings/string_number_conversions.cc bool HexStringToBytesT(const STR& input, std::vector<uint8>* output) { STR 53 base/strings/string_piece.cc template<typename STR> STR 54 base/strings/string_piece.cc void CopyToStringT(const BasicStringPiece<STR>& self, STR* target) { STR 69 base/strings/string_piece.cc template<typename STR> STR 70 base/strings/string_piece.cc void AppendToStringT(const BasicStringPiece<STR>& self, STR* target) { STR 83 base/strings/string_piece.cc template<typename STR> STR 84 base/strings/string_piece.cc size_t copyT(const BasicStringPiece<STR>& self, STR 85 base/strings/string_piece.cc typename STR::value_type* buf, STR 89 base/strings/string_piece.cc memcpy(buf, self.data() + pos, ret * sizeof(typename STR::value_type)); STR 101 base/strings/string_piece.cc template<typename STR> STR 102 base/strings/string_piece.cc size_t findT(const BasicStringPiece<STR>& self, STR 103 base/strings/string_piece.cc const BasicStringPiece<STR>& s, STR 106 base/strings/string_piece.cc return BasicStringPiece<STR>::npos; STR 108 base/strings/string_piece.cc typename BasicStringPiece<STR>::const_iterator result = STR 112 base/strings/string_piece.cc return xpos + s.size() <= self.size() ? xpos : BasicStringPiece<STR>::npos; STR 123 base/strings/string_piece.cc template<typename STR> STR 124 base/strings/string_piece.cc size_t findT(const BasicStringPiece<STR>& self, STR 125 base/strings/string_piece.cc typename STR::value_type c, STR 128 base/strings/string_piece.cc return BasicStringPiece<STR>::npos; STR 130 base/strings/string_piece.cc typename BasicStringPiece<STR>::const_iterator result = STR 133 base/strings/string_piece.cc static_cast<size_t>(result - self.begin()) : BasicStringPiece<STR>::npos; STR 144 base/strings/string_piece.cc template<typename STR> STR 145 base/strings/string_piece.cc size_t rfindT(const BasicStringPiece<STR>& self, STR 146 base/strings/string_piece.cc const BasicStringPiece<STR>& s, STR 149 base/strings/string_piece.cc return BasicStringPiece<STR>::npos; STR 154 base/strings/string_piece.cc typename BasicStringPiece<STR>::const_iterator last = STR 156 base/strings/string_piece.cc typename BasicStringPiece<STR>::const_iterator result = STR 159 base/strings/string_piece.cc static_cast<size_t>(result - self.begin()) : BasicStringPiece<STR>::npos; STR 170 base/strings/string_piece.cc template<typename STR> STR 171 base/strings/string_piece.cc size_t rfindT(const BasicStringPiece<STR>& self, STR 172 base/strings/string_piece.cc typename STR::value_type c, STR 175 base/strings/string_piece.cc return BasicStringPiece<STR>::npos; STR 184 base/strings/string_piece.cc return BasicStringPiece<STR>::npos; STR 272 base/strings/string_piece.cc template<typename STR> STR 273 base/strings/string_piece.cc size_t find_first_not_ofT(const BasicStringPiece<STR>& self, STR 274 base/strings/string_piece.cc typename STR::value_type c, STR 277 base/strings/string_piece.cc return BasicStringPiece<STR>::npos; STR 284 base/strings/string_piece.cc return BasicStringPiece<STR>::npos; STR 387 base/strings/string_piece.cc template<typename STR> STR 388 base/strings/string_piece.cc size_t find_last_not_ofT(const BasicStringPiece<STR>& self, STR 389 base/strings/string_piece.cc typename STR::value_type c, STR 392 base/strings/string_piece.cc return BasicStringPiece<STR>::npos; STR 400 base/strings/string_piece.cc return BasicStringPiece<STR>::npos; STR 415 base/strings/string_piece.cc template<typename STR> STR 416 base/strings/string_piece.cc BasicStringPiece<STR> substrT(const BasicStringPiece<STR>& self, STR 421 base/strings/string_piece.cc return BasicStringPiece<STR>(self.data() + pos, n); STR 16 base/strings/string_split.cc template <typename STR> STR 17 base/strings/string_split.cc void SplitStringT(const STR& str, STR 18 base/strings/string_split.cc const typename STR::value_type s, STR 20 base/strings/string_split.cc std::vector<STR>* r) { STR 26 base/strings/string_split.cc STR tmp(str, last, i - last); STR 64 base/strings/string_split.cc template <typename STR> STR 65 base/strings/string_split.cc void SplitStringUsingSubstrT(const STR& str, STR 66 base/strings/string_split.cc const STR& s, STR 67 base/strings/string_split.cc std::vector<STR>* r) { STR 69 base/strings/string_split.cc typename STR::size_type begin_index = 0; STR 71 base/strings/string_split.cc const typename STR::size_type end_index = str.find(s, begin_index); STR 72 base/strings/string_split.cc if (end_index == STR::npos) { STR 73 base/strings/string_split.cc const STR term = str.substr(begin_index); STR 74 base/strings/string_split.cc STR tmp; STR 79 base/strings/string_split.cc const STR term = str.substr(begin_index, end_index - begin_index); STR 80 base/strings/string_split.cc STR tmp; STR 87 base/strings/string_split.cc template<typename STR> STR 88 base/strings/string_split.cc void SplitStringAlongWhitespaceT(const STR& str, std::vector<STR>* result) { STR 119 base/strings/string_util.cc template<typename STR> STR 120 base/strings/string_util.cc bool ReplaceCharsT(const STR& input, STR 121 base/strings/string_util.cc const typename STR::value_type replace_chars[], STR 122 base/strings/string_util.cc const STR& replace_with, STR 123 base/strings/string_util.cc STR* output) { STR 130 base/strings/string_util.cc while (found != STR::npos) { STR 165 base/strings/string_util.cc template<typename STR> STR 166 base/strings/string_util.cc TrimPositions TrimStringT(const STR& input, STR 167 base/strings/string_util.cc const typename STR::value_type trim_chars[], STR 169 base/strings/string_util.cc STR* output) { STR 171 base/strings/string_util.cc const typename STR::size_type last_char = input.length() - 1; STR 172 base/strings/string_util.cc const typename STR::size_type first_good_char = (positions & TRIM_LEADING) ? STR 174 base/strings/string_util.cc const typename STR::size_type last_good_char = (positions & TRIM_TRAILING) ? STR 181 base/strings/string_util.cc (first_good_char == STR::npos) || (last_good_char == STR::npos)) { STR 265 base/strings/string_util.cc template<typename STR> STR 266 base/strings/string_util.cc STR CollapseWhitespaceT(const STR& text, STR 268 base/strings/string_util.cc STR result; STR 277 base/strings/string_util.cc for (typename STR::const_iterator i(text.begin()); i != text.end(); ++i) { STR 329 base/strings/string_util.cc template<class STR> STR 330 base/strings/string_util.cc static bool DoIsStringASCII(const STR& str) { STR 332 base/strings/string_util.cc typename ToUnsigned<typename STR::value_type>::Unsigned c = str[i]; STR 424 base/strings/string_util.cc template <typename STR> STR 425 base/strings/string_util.cc bool StartsWithT(const STR& str, const STR& search, bool case_sensitive) { STR 432 base/strings/string_util.cc base::CaseInsensitiveCompare<typename STR::value_type>()); STR 441 base/strings/string_util.cc template <typename STR> STR 442 base/strings/string_util.cc bool EndsWithT(const STR& str, const STR& search, bool case_sensitive) { STR 443 base/strings/string_util.cc typename STR::size_type str_length = str.length(); STR 444 base/strings/string_util.cc typename STR::size_type search_length = search.length(); STR 452 base/strings/string_util.cc base::CaseInsensitiveCompare<typename STR::value_type>()); STR 550 base/strings/string_util.cc template<typename STR> STR 551 base/strings/string_util.cc static size_t TokenizeT(const STR& str, STR 552 base/strings/string_util.cc const STR& delimiters, STR 553 base/strings/string_util.cc std::vector<STR>* tokens) { STR 556 base/strings/string_util.cc typename STR::size_type start = str.find_first_not_of(delimiters); STR 557 base/strings/string_util.cc while (start != STR::npos) { STR 558 base/strings/string_util.cc typename STR::size_type end = str.find_first_of(delimiters, start + 1); STR 559 base/strings/string_util.cc if (end == STR::npos) { STR 589 base/strings/string_util.cc template<typename STR> STR 590 base/strings/string_util.cc static STR JoinStringT(const std::vector<STR>& parts, const STR& sep) { STR 592 base/strings/string_util.cc return STR(); STR 594 base/strings/string_util.cc STR result(parts[0]); STR 595 base/strings/string_util.cc typename std::vector<STR>::const_iterator iter = parts.begin(); STR 631 base/strings/string_util_unittest.cc template <typename STR> STR 633 base/strings/string_util_unittest.cc std::vector<STR> r; STR 636 base/strings/string_util_unittest.cc size = Tokenize(STR("This is a string"), STR(" "), &r); STR 639 base/strings/string_util_unittest.cc EXPECT_EQ(r[0], STR("This")); STR 640 base/strings/string_util_unittest.cc EXPECT_EQ(r[1], STR("is")); STR 641 base/strings/string_util_unittest.cc EXPECT_EQ(r[2], STR("a")); STR 642 base/strings/string_util_unittest.cc EXPECT_EQ(r[3], STR("string")); STR 645 base/strings/string_util_unittest.cc size = Tokenize(STR("one,two,three"), STR(","), &r); STR 648 base/strings/string_util_unittest.cc EXPECT_EQ(r[0], STR("one")); STR 649 base/strings/string_util_unittest.cc EXPECT_EQ(r[1], STR("two")); STR 650 base/strings/string_util_unittest.cc EXPECT_EQ(r[2], STR("three")); STR 653 base/strings/string_util_unittest.cc size = Tokenize(STR("one,two:three;four"), STR(",:"), &r); STR 656 base/strings/string_util_unittest.cc EXPECT_EQ(r[0], STR("one")); STR 657 base/strings/string_util_unittest.cc EXPECT_EQ(r[1], STR("two")); STR 658 base/strings/string_util_unittest.cc EXPECT_EQ(r[2], STR("three;four")); STR 661 base/strings/string_util_unittest.cc size = Tokenize(STR("one,two:three;four"), STR(";,:"), &r); STR 664 base/strings/string_util_unittest.cc EXPECT_EQ(r[0], STR("one")); STR 665 base/strings/string_util_unittest.cc EXPECT_EQ(r[1], STR("two")); STR 666 base/strings/string_util_unittest.cc EXPECT_EQ(r[2], STR("three")); STR 667 base/strings/string_util_unittest.cc EXPECT_EQ(r[3], STR("four")); STR 670 base/strings/string_util_unittest.cc size = Tokenize(STR("one, two, three"), STR(","), &r); STR 673 base/strings/string_util_unittest.cc EXPECT_EQ(r[0], STR("one")); STR 674 base/strings/string_util_unittest.cc EXPECT_EQ(r[1], STR(" two")); STR 675 base/strings/string_util_unittest.cc EXPECT_EQ(r[2], STR(" three")); STR 678 base/strings/string_util_unittest.cc size = Tokenize(STR("one, two, three, "), STR(","), &r); STR 681 base/strings/string_util_unittest.cc EXPECT_EQ(r[0], STR("one")); STR 682 base/strings/string_util_unittest.cc EXPECT_EQ(r[1], STR(" two")); STR 683 base/strings/string_util_unittest.cc EXPECT_EQ(r[2], STR(" three")); STR 684 base/strings/string_util_unittest.cc EXPECT_EQ(r[3], STR(" ")); STR 687 base/strings/string_util_unittest.cc size = Tokenize(STR("one, two, three,"), STR(","), &r); STR 690 base/strings/string_util_unittest.cc EXPECT_EQ(r[0], STR("one")); STR 691 base/strings/string_util_unittest.cc EXPECT_EQ(r[1], STR(" two")); STR 692 base/strings/string_util_unittest.cc EXPECT_EQ(r[2], STR(" three")); STR 695 base/strings/string_util_unittest.cc size = Tokenize(STR(), STR(","), &r); STR 700 base/strings/string_util_unittest.cc size = Tokenize(STR(","), STR(","), &r); STR 705 base/strings/string_util_unittest.cc size = Tokenize(STR(",;:."), STR(".:;,"), &r); STR 710 base/strings/string_util_unittest.cc size = Tokenize(STR("\t\ta\t"), STR("\t"), &r); STR 713 base/strings/string_util_unittest.cc EXPECT_EQ(r[0], STR("a")); STR 716 base/strings/string_util_unittest.cc size = Tokenize(STR("\ta\t\nb\tcc"), STR("\n"), &r); STR 719 base/strings/string_util_unittest.cc EXPECT_EQ(r[0], STR("\ta\t")); STR 720 base/strings/string_util_unittest.cc EXPECT_EQ(r[1], STR("b\tcc")); STR 213 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc icu::UnicodeString pattern("^<script>addRow\\(\"" STR "\",\"" STR STR 214 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc "\",(0|1),\"" STR "\",\"" STR "\"\\);</script>"); STR 103 net/base/escape.cc template<typename STR> STR 104 net/base/escape.cc bool UnescapeUnsignedCharAtIndex(const STR& escaped_text, STR 111 net/base/escape.cc const typename STR::value_type most_sig_digit( STR 112 net/base/escape.cc static_cast<typename STR::value_type>(escaped_text[index + 1])); STR 113 net/base/escape.cc const typename STR::value_type least_sig_digit( STR 114 net/base/escape.cc static_cast<typename STR::value_type>(escaped_text[index + 2])); STR 123 net/base/escape.cc template<typename STR> STR 124 net/base/escape.cc STR UnescapeURLWithOffsetsImpl(const STR& escaped_text, STR 130 net/base/escape.cc base::LimitOffset<STR>(escaped_text.length())); STR 139 net/base/escape.cc STR result; STR 105 url/gurl.cc template<typename STR> STR 106 url/gurl.cc void GURL::InitCanonical(const STR& input_spec, bool trim_path_end) { STR 374 url/gurl.h template<typename STR> STR 375 url/gurl.h void InitCanonical(const STR& input_spec, bool trim_path_end); STR 55 url/url_canon_stdstring.h template<typename STR> STR 57 url/url_canon_stdstring.h public url_canon::Replacements<typename STR::value_type> { STR 59 url/url_canon_stdstring.h void SetSchemeStr(const STR& s) { STR 63 url/url_canon_stdstring.h void SetUsernameStr(const STR& s) { STR 67 url/url_canon_stdstring.h void SetPasswordStr(const STR& s) { STR 71 url/url_canon_stdstring.h void SetHostStr(const STR& s) { STR 75 url/url_canon_stdstring.h void SetPortStr(const STR& s) { STR 79 url/url_canon_stdstring.h void SetPathStr(const STR& s) { STR 83 url/url_canon_stdstring.h void SetQueryStr(const STR& s) { STR 87 url/url_canon_stdstring.h void SetRefStr(const STR& s) {