Searched refs:test_bounds (Results 1 – 3 of 3) sorted by relevance
/external/clang/test/SemaCXX/ |
D | constant-expression-cxx1y.cpp | 419 constexpr const char *test_bounds(const char *p, int o) { in test_bounds() function 422 static_assert(test_bounds("foo", 0)[0] == 'f', ""); 423 static_assert(test_bounds("foo", 3)[0] == 0, ""); 424 static_assert(test_bounds("foo", 4)[-3] == 'o', ""); 425 static_assert(test_bounds("foo" + 4, -4)[0] == 'f', ""); 426 …static_assert(test_bounds("foo", 5) != 0, ""); // expected-error {{constant}} expected-note {{call… 427 …static_assert(test_bounds("foo", -1) != 0, ""); // expected-error {{constant}} expected-note {{cal… 428 …static_assert(test_bounds("foo", 1000) != 0, ""); // expected-error {{constant}} expected-note {{c…
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 188 static void test_bounds(skiatest::Reporter* reporter, SkClipStack::Element::Type primType) { in test_bounds() function 1207 test_bounds(reporter, SkClipStack::Element::kRect_Type); in DEF_TEST() 1208 test_bounds(reporter, SkClipStack::Element::kRRect_Type); in DEF_TEST() 1209 test_bounds(reporter, SkClipStack::Element::kPath_Type); in DEF_TEST()
|
D | PathTest.cpp | 1041 static void test_bounds(skiatest::Reporter* reporter) { in test_bounds() function 4059 test_bounds(reporter); in DEF_TEST()
|