OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mCopyCtorCount
(Results
1 - 4
of
4
) sorted by null
/external/astl/tests/
common.h
73
static size_t
mCopyCtorCount
;
78
CtorDtorCounter(const CtorDtorCounter& nc) {++
mCopyCtorCount
;}
81
static void reset() {mCtorCount = 0;
mCopyCtorCount
= 0; mAssignCount = 0; mDtorCount = 0;}
84
mCtorCount,
mCopyCtorCount
, mAssignCount, mDtorCount);
91
size_t CtorDtorCounter::
mCopyCtorCount
;
test_uninitialized.cpp
85
EXPECT_TRUE(CtorDtorCounter::
mCopyCtorCount
== 0);
93
EXPECT_TRUE(CtorDtorCounter::
mCopyCtorCount
== kSize);
166
EXPECT_TRUE(CtorDtorCounter::
mCopyCtorCount
== 0);
174
EXPECT_TRUE(CtorDtorCounter::
mCopyCtorCount
== kSize);
test_memory.cpp
68
EXPECT_TRUE(kLen == CtorDtorCounter::
mCopyCtorCount
);
test_vector.cpp
264
EXPECT_TRUE(c.
mCopyCtorCount
> 1000);
370
EXPECT_TRUE(CtorDtorCounter::
mCopyCtorCount
== 10); // copied 10 times.
375
EXPECT_TRUE(CtorDtorCounter::
mCopyCtorCount
== 200);
467
EXPECT_TRUE(CtorDtorCounter::
mCopyCtorCount
== 0);
481
EXPECT_TRUE(CtorDtorCounter::
mCopyCtorCount
== 200);
488
EXPECT_TRUE(CtorDtorCounter::
mCopyCtorCount
== 200);
Completed in 133 milliseconds