Searched refs:fooArray (Results 1 – 4 of 4) sorted by relevance
/external/skqp/tests/ |
D | ArenaAllocTest.cpp | 88 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/ |
D | ArenaAllocTest.cpp | 88 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/clang/test/Analysis/ |
D | new.cpp | 306 NoReturnDtor *fooArray = 0; in testArrayNull() local 307 delete[] fooArray; // should not call destructor, checked below in testArrayNull()
|
/external/clang/test/SemaCXX/ |
D | warn-thread-safety-analysis.cpp | 2294 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()
|