Lines Matching refs:subst
791 std::vector<string16> subst;
792 subst.push_back(ASCIIToUTF16("1"));
793 subst.push_back(ASCIIToUTF16("2"));
797 subst,
805 subst,
816 std::vector<string16> subst;
817 subst.push_back(ASCIIToUTF16("9a"));
818 subst.push_back(ASCIIToUTF16("8b"));
819 subst.push_back(ASCIIToUTF16("7c"));
823 ASCIIToUTF16("$1a,$2b,$3c,$4d,$5e,$6f,$1g,$2h,$3i"), subst, nullptr);
829 subst;
830 subst.push_back(ASCIIToUTF16("9a"));
831 subst.push_back(ASCIIToUTF16("8b"));
832 subst.push_back(ASCIIToUTF16("7c"));
833 subst.push_back(ASCIIToUTF16("6d"));
834 subst.push_back(ASCIIToUTF16("5e"));
835 subst.push_back(ASCIIToUTF16("4f"));
836 subst.push_back(ASCIIToUTF16("3g"));
837 subst.push_back(ASCIIToUTF16("2h"));
838 subst.push_back(ASCIIToUTF16("1i"));
842 ASCIIToUTF16("$1a,$2b,$3c,$4d,$5e,$6f,$7g,$8h,$9i"), subst, nullptr);
848 std::vector<string16> subst;
849 subst.push_back(ASCIIToUTF16("1a"));
851 ReplaceStringPlaceholders(ASCIIToUTF16(" $16 "), subst, nullptr);
856 std::vector<string16> subst;
857 subst.push_back(ASCIIToUTF16("1a"));
859 ReplaceStringPlaceholders(ASCIIToUTF16("+$-+$A+$1+"), subst, nullptr);
864 std::vector<std::string> subst;
865 subst.push_back("9a");
866 subst.push_back("8b");
867 subst.push_back("7c");
868 subst.push_back("6d");
869 subst.push_back("5e");
870 subst.push_back("4f");
871 subst.push_back("3g");
872 subst.push_back("2h");
873 subst.push_back("1i");
877 "$1a,$2b,$3c,$4d,$5e,$6f,$7g,$8h,$9i", subst, nullptr);
883 std::vector<std::string> subst;
884 subst.push_back("a");
885 subst.push_back("b");
886 subst.push_back("c");
887 EXPECT_EQ(ReplaceStringPlaceholders("$$1 $$$2 $$$$3", subst, nullptr),