Home
last modified time | relevance | path

Searched refs:WithSnprintf (Results 1 – 8 of 8) sorted by relevance

/external/libtextclassifier/abseil-cpp/absl/strings/
Dstr_format_test.cc198 std::string WithSnprintf(const char* fmt, ...) { in WithSnprintf() function
216 EXPECT_EQ("0.1", WithSnprintf("%.1f", 0.1)); in TEST_F()
218 EXPECT_EQ(" 0.1", WithSnprintf("%*.1f", 5, 0.1)); in TEST_F()
220 EXPECT_EQ("0.1", WithSnprintf("%.*f", 1, 0.1)); in TEST_F()
222 EXPECT_EQ(" 0.1", WithSnprintf("%*.*f", 5, 1, 0.1)); in TEST_F()
/external/openscreen/third_party/abseil/src/absl/strings/
Dstr_format_test.cc211 std::string WithSnprintf(const char* fmt, ...) { in WithSnprintf() function
229 EXPECT_EQ("0.1", WithSnprintf("%.1f", 0.1)); in TEST_F()
231 EXPECT_EQ(" 0.1", WithSnprintf("%*.1f", 5, 0.1)); in TEST_F()
233 EXPECT_EQ("0.1", WithSnprintf("%.*f", 1, 0.1)); in TEST_F()
235 EXPECT_EQ(" 0.1", WithSnprintf("%*.*f", 5, 1, 0.1)); in TEST_F()
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/
Dstr_format_test.cc211 std::string WithSnprintf(const char* fmt, ...) { in WithSnprintf() function
229 EXPECT_EQ("0.1", WithSnprintf("%.1f", 0.1)); in TEST_F()
231 EXPECT_EQ(" 0.1", WithSnprintf("%*.1f", 5, 0.1)); in TEST_F()
233 EXPECT_EQ("0.1", WithSnprintf("%.*f", 1, 0.1)); in TEST_F()
235 EXPECT_EQ(" 0.1", WithSnprintf("%*.*f", 5, 1, 0.1)); in TEST_F()
/external/abseil-cpp/absl/strings/
Dstr_format_test.cc211 std::string WithSnprintf(const char* fmt, ...) { in WithSnprintf() function
229 EXPECT_EQ("0.1", WithSnprintf("%.1f", 0.1)); in TEST_F()
231 EXPECT_EQ(" 0.1", WithSnprintf("%*.1f", 5, 0.1)); in TEST_F()
233 EXPECT_EQ("0.1", WithSnprintf("%.*f", 1, 0.1)); in TEST_F()
235 EXPECT_EQ(" 0.1", WithSnprintf("%*.*f", 5, 1, 0.1)); in TEST_F()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dstr_format_test.cc211 std::string WithSnprintf(const char* fmt, ...) { in WithSnprintf() function
229 EXPECT_EQ("0.1", WithSnprintf("%.1f", 0.1)); in TEST_F()
231 EXPECT_EQ(" 0.1", WithSnprintf("%*.1f", 5, 0.1)); in TEST_F()
233 EXPECT_EQ("0.1", WithSnprintf("%.*f", 1, 0.1)); in TEST_F()
235 EXPECT_EQ(" 0.1", WithSnprintf("%*.*f", 5, 1, 0.1)); in TEST_F()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dstr_format_test.cc340 std::string WithSnprintf(const char* fmt, ...) { in WithSnprintf() function
358 EXPECT_EQ("0.1", WithSnprintf("%.1f", 0.1)); in TEST_F()
360 EXPECT_EQ(" 0.1", WithSnprintf("%*.1f", 5, 0.1)); in TEST_F()
362 EXPECT_EQ("0.1", WithSnprintf("%.*f", 1, 0.1)); in TEST_F()
364 EXPECT_EQ(" 0.1", WithSnprintf("%*.*f", 5, 1, 0.1)); in TEST_F()
/external/cronet/third_party/abseil-cpp/absl/strings/
Dstr_format_test.cc347 std::string WithSnprintf(const char* fmt, ...) { in WithSnprintf() function
365 EXPECT_EQ("0.1", WithSnprintf("%.1f", 0.1)); in TEST_F()
367 EXPECT_EQ(" 0.1", WithSnprintf("%*.1f", 5, 0.1)); in TEST_F()
369 EXPECT_EQ("0.1", WithSnprintf("%.*f", 1, 0.1)); in TEST_F()
371 EXPECT_EQ(" 0.1", WithSnprintf("%*.*f", 5, 1, 0.1)); in TEST_F()
/external/angle/third_party/abseil-cpp/absl/strings/
Dstr_format_test.cc347 std::string WithSnprintf(const char* fmt, ...) { in WithSnprintf() function
365 EXPECT_EQ("0.1", WithSnprintf("%.1f", 0.1)); in TEST_F()
367 EXPECT_EQ(" 0.1", WithSnprintf("%*.1f", 5, 0.1)); in TEST_F()
369 EXPECT_EQ("0.1", WithSnprintf("%.*f", 1, 0.1)); in TEST_F()
371 EXPECT_EQ(" 0.1", WithSnprintf("%*.*f", 5, 1, 0.1)); in TEST_F()