/external/python/pybind11/tests/ |
D | test_smart_ptr.py | 40 assert cstats.alive() == 0 64 assert cstats.alive() == 1 66 assert cstats.alive() == 0 87 assert cstats.alive() == 1 89 assert cstats.alive() == 0 99 assert cstats.alive() == 0 109 assert cstats.alive() == 0 126 assert cstats.alive() == 1 128 assert cstats.alive() == 1 130 assert cstats.alive() == 0 [all …]
|
D | test_copy_move.py | 35 assert c_mc.alive() == 0 39 assert c_c.alive() == 0 42 assert c_m.alive() + c_mc.alive() + c_c.alive() == 0 74 assert c_m.alive() + c_mc.alive() + c_c.alive() == 0 106 assert c_m.alive() + c_mc.alive() + c_c.alive() == 0
|
D | test_factory_constructors.py | 19 cstats[0].alive() # force gc 54 assert [i.alive() for i in cstats] == [3, 3, 3] 58 assert [i.alive() for i in cstats] == [2, 2, 1] 61 assert [i.alive() for i in cstats] == [0, 0, 0] 112 cstats[0].alive() # force gc 132 assert [i.alive() for i in cstats] == [5, 3, 2] 135 assert [i.alive() for i in cstats] == [4, 2, 2] 139 assert [i.alive() for i in cstats] == [1, 0, 1] 143 assert [i.alive() for i in cstats] == [0, 0, 0] 157 cstats[0].alive() # force gc [all …]
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/ |
D | fullexpr-dtor.pass.cpp | 20 int alive = 0; variable 24 assert(alive == 0); in reset() 25 alive = 0; in reset() 30 Noisy() { ++alive; ++ctor_called; } in Noisy() 31 ~Noisy() { --alive; ++dtor_called; } in ~Noisy() 63 assert(alive == 1); in a() 68 assert(alive == 0); in a() 78 assert(alive == 0); in b() 82 assert(alive == 0); in b() 90 assert(alive == 1); in c() [all …]
|
/external/libcxx/test/support/ |
D | variant_test_helpers.hpp | 34 static int alive; member 35 MoveThrows() { ++alive; } in MoveThrows() 36 MoveThrows(MoveThrows const&) {++alive;} in MoveThrows() 40 ~MoveThrows() { --alive; } in ~MoveThrows() 43 int MoveThrows::alive = 0; member in MoveThrows 46 static int alive; member 47 MakeEmptyT() { ++alive; } in MakeEmptyT() 49 ++alive; in MakeEmptyT() 62 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() 66 int MakeEmptyT::alive = 0; member in MakeEmptyT
|
D | archetypes.hpp | 30 static int alive; member 43 assert(alive == 0); in reset() 44 alive = 0; in reset() 55 ++alive; ++constructed; ++default_constructed; in TestBase() 59 ++alive; ++constructed; ++value_constructed; in TestBase() 63 ++alive; ++constructed; ++value_constructed; in TestBase() 67 ++alive; ++constructed; ++value_constructed; in TestBase() 71 ++alive; ++constructed; ++value_constructed; in TestBase() 76 ++alive; ++constructed; ++value_constructed; in TestBase() 80 ++alive; ++constructed; ++value_constructed; in TestBase() [all …]
|
/external/proguard/src/proguard/optimize/evaluation/ |
D | LivenessAnalyzer.java | 59 private long alive; field in LivenessAnalyzer 106 public void setAliveBefore(int instructionOffset, int variableIndex, boolean alive) in setAliveBefore() argument 110 if (alive) in setAliveBefore() 137 public void setAliveAfter(int instructionOffset, int variableIndex, boolean alive) in setAliveAfter() argument 141 if (alive) in setAliveAfter() 220 alive = 0L; in visitCodeAttribute() 232 alive = combinedLiveness(branchTargets); in visitCodeAttribute() 236 alive |= isAliveAfter[offset]; in visitCodeAttribute() 239 isAliveAfter[offset] = alive; in visitCodeAttribute() 245 alive |= isAliveBefore[offset]; in visitCodeAttribute() [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | resource_handle_test.cc | 27 MockResource(bool* alive, int payload) : alive_(alive), payload_(payload) { in MockResource() argument 46 bool alive = false; in TEST_F() local 47 auto resource = new MockResource(&alive, payload); in TEST_F() 48 EXPECT_TRUE(alive); in TEST_F() 52 EXPECT_TRUE(alive); in TEST_F() 56 EXPECT_TRUE(alive); in TEST_F() 59 EXPECT_TRUE(alive); in TEST_F() 62 EXPECT_FALSE(alive); in TEST_F()
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/ |
D | move.pass.cpp | 30 static int alive; member 32 X() { ++alive; } in X() 37 ++alive; in X() 47 ~X() { assert(alive > 0); --alive; } in ~X() 53 int X::alive = 0; member in X 101 assert(T::alive == 1); in main() 103 assert(T::alive == 0); in main() 137 X::alive = 0; in main() 141 assert(X::alive == 1); in main() 154 assert(X::alive == 1); in main() [all …]
|
D | const_optional_U.pass.cpp | 92 assert(T::alive == 1); in test_with_test_type() 102 assert(T::alive == 0); in test_with_test_type() 108 assert(T::alive == 1); in test_with_test_type() 118 assert(T::alive == 0); in test_with_test_type() 124 assert(T::alive == 0); in test_with_test_type() 131 assert(T::alive == 0); in test_with_test_type() 137 assert(T::alive == 0); in test_with_test_type() 144 assert(T::alive == 0); in test_with_test_type()
|
D | nullopt_t.pass.cpp | 47 assert(TT::alive == 0); in main() 51 assert(TT::alive == 0); in main() 60 assert(TT::alive == 0); in main() 64 assert(TT::alive == 0); in main()
|
D | optional_U.pass.cpp | 96 assert(T::alive == 1); in test_with_test_type() 106 assert(T::alive == 0); in test_with_test_type() 112 assert(T::alive == 1); in test_with_test_type() 122 assert(T::alive == 0); in test_with_test_type() 128 assert(T::alive == 0); in test_with_test_type() 135 assert(T::alive == 0); in test_with_test_type() 141 assert(T::alive == 0); in test_with_test_type() 148 assert(T::alive == 0); in test_with_test_type()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/builder/ |
D | BuilderWithUnwrappedTest.java | 40 private final boolean alive; field in BuilderWithUnwrappedTest.Person 46 alive = builder.alive; in Person() 62 return alive; in isAlive() 70 private boolean alive; field in BuilderWithUnwrappedTest.Person.Builder 87 void setAlive(boolean alive) { in setAlive() argument 88 this.alive = alive; in setAlive() 102 private final boolean alive; field in BuilderWithUnwrappedTest.Animal 108 alive = builder.alive; in Animal() 124 return alive; in isAlive() 132 private final boolean alive; field in BuilderWithUnwrappedTest.Animal.Builder [all …]
|
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/ |
D | copy.pass.cpp | 63 static int alive; member 69 copy_construct = copy_assign = move_construct = move_assign = alive = 0; in reset() 71 CopyAssign(int v) : value(v) { ++alive; } in CopyAssign() 73 ++alive; in CopyAssign() 78 ++alive; in CopyAssign() 92 ~CopyAssign() { --alive; } in ~CopyAssign() 96 int CopyAssign::alive = 0; member in CopyAssign 161 static int alive; member 162 CopyCannotThrow() { ++alive; } in CopyCannotThrow() 163 CopyCannotThrow(const CopyCannotThrow &) noexcept { ++alive; } in CopyCannotThrow() [all …]
|
/external/rust/crates/combine/benches/ |
D | http-requests.txt | 7 Connection: keep-alive 15 Connection: keep-alive 24 Connection: keep-alive 33 Connection: keep-alive 42 Connection: keep-alive 51 Connection: keep-alive 59 Connection: keep-alive 67 Connection: keep-alive 76 Connection: keep-alive 85 Connection: keep-alive [all …]
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
D | move.pass.cpp | 100 assert(T::alive == 1); in test_reference_extension() 106 assert(T::alive == 0); in test_reference_extension() 114 assert(T::alive == 1); in test_reference_extension() 119 assert(T::alive == 0); in test_reference_extension() 126 assert(T::alive == 1); in test_reference_extension() 131 assert(T::alive == 0); in test_reference_extension() 140 assert(T::alive == 1); in test_reference_extension() 145 assert(T::alive == 0); in test_reference_extension() 171 assert(T::alive == 0); in main() 175 assert(T::alive == 0); in main() [all …]
|
D | copy.pass.cpp | 89 assert(T::alive == 1); in test_reference_extension() 95 assert(T::alive == 0); in test_reference_extension() 103 assert(T::alive == 1); in test_reference_extension() 108 assert(T::alive == 0); in test_reference_extension() 133 assert(T::alive == 0); in main() 136 assert(T::alive == 0); in main() 143 assert(T::alive == 1); in main() 149 assert(T::alive == 2); in main()
|
/external/python/cpython3/Lib/test/ |
D | fork_wait.py | 26 self.alive = {} 41 self.alive[id] = os.getpid() 58 while len(self.alive) < NUM_THREADS: 63 a = sorted(self.alive.keys()) 66 prefork_lives = self.alive.copy() 77 for key in self.alive: 78 if self.alive[key] != prefork_lives[key]:
|
/external/libchrome/base/containers/ |
D | stack_container_unittest.cc | 21 explicit Dummy(int* alive) : alive_(alive) { in Dummy() argument 85 int alive = 0; in TEST() local 86 scoped_refptr<Dummy> dummy(new Dummy(&alive)); in TEST() 87 EXPECT_EQ(alive, 1); in TEST() 90 EXPECT_EQ(alive, 1); in TEST() 94 EXPECT_EQ(alive, 1); in TEST() 99 EXPECT_EQ(alive, 0); in TEST()
|
/external/python/cpython2/Lib/test/ |
D | fork_wait.py | 28 self.alive = {} 43 self.alive[id] = os.getpid() 69 a = self.alive.keys() 73 prefork_lives = self.alive.copy() 84 for key in self.alive: 85 if self.alive[key] != prefork_lives[key]:
|
/external/tensorflow/tensorflow/core/kernels/ |
D | resource_ops_test.cc | 35 MockResource(bool* alive, int payload) : alive_(alive), payload_(payload) { in MockResource() argument 56 bool* alive = reinterpret_cast<bool*>(ctx->input(0).scalar<int64>()()); in Compute() local 63 ResourceHandle::MakeRefCountingHandle(new MockResource(alive, payload), in Compute() 92 bool alive = false; in TEST_F() local 96 AddInputFromArray<int64>(TensorShape({}), {reinterpret_cast<int64>(&alive)}); in TEST_F() 99 EXPECT_TRUE(alive); in TEST_F() 114 EXPECT_FALSE(alive); in TEST_F()
|
/external/pdfium/core/fxcrt/ |
D | autorestorer_unittest.cpp | 91 EXPECT_TRUE(obj1.alive()); in TEST() 96 EXPECT_TRUE(obj1.alive()); in TEST() 103 EXPECT_TRUE(obj1.alive()); in TEST() 108 EXPECT_FALSE(obj2.alive()); in TEST() 126 EXPECT_TRUE(obj1.alive()); in TEST() 158 EXPECT_FALSE(obj1.alive()); in TEST() 163 EXPECT_TRUE(obj2.alive()); in TEST()
|
/external/webrtc/rtc_base/task_utils/ |
D | pending_task_safety_flag_unittest.cc | 43 EXPECT_TRUE(owner.flag_->alive()); in TEST() 45 EXPECT_TRUE(safety_flag->alive()); in TEST() 48 EXPECT_FALSE(safety_flag->alive()); in TEST() 58 EXPECT_TRUE(safety_flag->alive()); in TEST() 61 EXPECT_FALSE(safety_flag->alive()); in TEST() 79 if (!safe->alive()) in TEST()
|
/external/python/pyserial/serial/threaded/ |
D | __init__.py | 169 self.alive = True 176 self.alive = False 189 self.alive = False 195 while self.alive and self.serial.is_open: 212 self.alive = False 234 if self.alive: 236 if not self.alive: 251 if not self.alive:
|
/external/python/pyserial/examples/ |
D | rfc2217_server.py | 32 while self.alive: 40 self.alive = True 54 while self.alive: 64 self.alive = False 74 while self.alive: 89 if self.alive: 90 self.alive = False
|