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.cpp417 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/
DClipStackTest.cpp196 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()
DPathTest.cpp1199 static void test_bounds(skiatest::Reporter* reporter) { in test_bounds() function
4639 test_bounds(reporter); in DEF_TEST()