Lines Matching defs:out
19 static void StringAppendVTestHelper(std::string* out, const char* format, ...) {
22 StringAppendV(out, format, ap);
89 std::string out;
90 SStringPrintf(&out, "%s", src);
91 EXPECT_STREQ(src, out.c_str());
111 std::string out;
112 SStringPrintf(&out, fmt, src, src, src, src, src, src, src);
122 EXPECT_STREQ(ref, out.c_str());
127 std::string out;
128 StringAppendVTestHelper(&out, "%d foo %s", 1, "bar");
129 EXPECT_EQ("1 foo bar", out);
144 std::string out;
145 SStringPrintf(&out, "%s", src);
147 EXPECT_STREQ(src, out.c_str());
159 std::wstring out;
160 SStringPrintf(&out, L"%ls", invalid);
161 EXPECT_STREQ(L"", out.c_str());
167 std::string out;
168 SStringPrintf(&out, "%1$s %1$s", "test");
169 EXPECT_STREQ("test test", out.c_str());
183 std::string out;
184 StringAppendVTestHelper(&out, "%d foo %s", 1, "bar");