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