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

/external/clang/test/SemaCXX/
H A Dconstant-expression-cxx1y.cpp419 constexpr const char *test_bounds(const char *p, int o) { function in namespace:compound_assign
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 {{call}}
428 static_assert(test_bounds("foo", 1000) != 0, ""); // expected-error {{constant}} expected-note {{call}}
/external/skia/tests/
H A DClipStackTest.cpp188 static void test_bounds(skiatest::Reporter* reporter, SkClipStack::Element::Type primType) { function
1207 test_bounds(reporter, SkClipStack::Element::kRect_Type);
1208 test_bounds(reporter, SkClipStack::Element::kRRect_Type);
1209 test_bounds(reporter, SkClipStack::Element::kPath_Type);
H A DPathTest.cpp923 static void test_bounds(skiatest::Reporter* reporter) { function
3747 test_bounds(reporter);

Completed in 529 milliseconds