Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_printf_test.cc109 static void TestAgainstLibc(const char *fmt, T arg1, T arg2) { in TestAgainstLibc() function
119 TestAgainstLibc<int>("%d-%d", INT_MIN, INT_MAX); // NOLINT in TEST()
120 TestAgainstLibc<unsigned>("%u-%u", 0, UINT_MAX); // NOLINT in TEST()
121 TestAgainstLibc<unsigned>("%x-%x", 0, UINT_MAX); // NOLINT in TEST()
124 TestAgainstLibc<long>("%zd-%zd", LONG_MIN, LONG_MAX); // NOLINT in TEST()
125 TestAgainstLibc<unsigned long>("%zu-%zu", 0, ULONG_MAX); // NOLINT in TEST()
126 TestAgainstLibc<unsigned long>("%zx-%zx", 0, ULONG_MAX); // NOLINT in TEST()
131 TestAgainstLibc<int>("%3d - %3d", 1, 0); in TEST()
132 TestAgainstLibc<int>("%3d - %3d", -1, 123); in TEST()
133 TestAgainstLibc<int>("%3d - %3d", -1, -123); in TEST()
[all …]