Home
last modified time | relevance | path

Searched refs:fooArray (Results 1 – 8 of 8) sorted by relevance

/external/skqp/tests/
DArenaAllocTest.cpp88 Foo* fooArray = arena.makeArrayDefault<Foo>(10); in DEF_TEST() local
89 REPORTER_ASSERT(r, fooArray[3].x == -2); in DEF_TEST()
90 REPORTER_ASSERT(r, fooArray[4].y == -3.0f); in DEF_TEST()
114 Foo* fooArray = arena.makeArrayDefault<Foo>(10); in DEF_TEST() local
115 REPORTER_ASSERT(r, fooArray[3].x == -2); in DEF_TEST()
116 REPORTER_ASSERT(r, fooArray[4].y == -3.0f); in DEF_TEST()
141 Foo* fooArray = arena.makeArrayDefault<Foo>(10); in DEF_TEST() local
142 REPORTER_ASSERT(r, fooArray[3].x == -2); in DEF_TEST()
143 REPORTER_ASSERT(r, fooArray[4].y == -3.0f); in DEF_TEST()
/external/skia/tests/
DArenaAllocTest.cpp48 Foo* fooArray = arena.makeArrayDefault<Foo>(10); in DEF_TEST() local
49 REPORTER_ASSERT(r, fooArray[3].x == -2); in DEF_TEST()
50 REPORTER_ASSERT(r, fooArray[4].y == -3.0f); in DEF_TEST()
73 Foo* fooArray = arena.makeArrayDefault<Foo>(10); in DEF_TEST() local
74 REPORTER_ASSERT(r, fooArray[3].x == -2); in DEF_TEST()
75 REPORTER_ASSERT(r, fooArray[4].y == -3.0f); in DEF_TEST()
99 Foo* fooArray = arena.makeArrayDefault<Foo>(10); in DEF_TEST() local
100 REPORTER_ASSERT(r, fooArray[3].x == -2); in DEF_TEST()
101 REPORTER_ASSERT(r, fooArray[4].y == -3.0f); in DEF_TEST()
DGrTextBlobTest.cpp249 auto fooArray = alloc->makeUniqueArray<Foo>(10); in DEF_TEST() local
250 REPORTER_ASSERT(r, fooArray[3].fI == -2); in DEF_TEST()
251 REPORTER_ASSERT(r, fooArray[4].fX == -3.0f); in DEF_TEST()
/external/clang/test/Analysis/
Dnew.cpp306 NoReturnDtor *fooArray = 0; in testArrayNull() local
307 delete[] fooArray; // should not call destructor, checked below in testArrayNull()
/external/llvm-project/clang/test/Analysis/
Dnew.cpp319 NoReturnDtor *fooArray = 0; in testArrayNull() local
320 delete[] fooArray; // should not call destructor, checked below in testArrayNull()
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp2294 Foo *fooArray; in test() local
2328 (a > 0 ? fooArray[1] : fooArray[b]).mu_.Lock(); in test()
2329 (a > 0 ? fooArray[1] : fooArray[b]).a = 0; in test()
2330 (a > 0 ? fooArray[1] : fooArray[b]).mu_.Unlock(); in test()
2335 Foo *fooArray; in test2() local
2365 (a > 0 ? fooArray[1] : fooArray[b]).mu_.Lock(); in test2()
2366 (a > 0 ? fooArray[b] : fooArray[c]).a = 0; // \ in test2()
2369 (a > 0 ? fooArray[1] : fooArray[b]).mu_.Unlock(); in test2()
/external/llvm-project/clang/test/SemaCXX/
Dwarn-unused-variables.cpp184 Foo fooArray[] = {1,2}; // expected-warning {{unused variable 'fooArray'}} in foo() local
Dwarn-thread-safety-analysis.cpp2357 Foo *fooArray; in test() local
2392 (a > 0 ? fooArray[1] : fooArray[b]).mu_.Lock(); in test()
2393 (a > 0 ? fooArray[1] : fooArray[b]).a = 0; in test()
2394 (a > 0 ? fooArray[1] : fooArray[b]).mu_.Unlock(); in test()
2403 Foo *fooArray; in test2() local
2433 (a > 0 ? fooArray[1] : fooArray[b]).mu_.Lock(); in test2()
2434 (a > 0 ? fooArray[b] : fooArray[c]).a = 0; // \ in test2()
2437 (a > 0 ? fooArray[1] : fooArray[b]).mu_.Unlock(); in test2()