Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Dconstant-expression-cxx1y.cpp419 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/
DClipStackTest.cpp188 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()
DPathTest.cpp923 static void test_bounds(skiatest::Reporter* reporter) { in test_bounds() function
3747 test_bounds(reporter); in DEF_TEST()