Home
last modified time | relevance | path

Searched refs:Countable (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/ADT/
DStringMapTest.cpp343 struct Countable { struct
346 Countable(int Number, int &InstanceCount) in Countable() function
350 Countable(Countable &&C) : InstanceCount(C.InstanceCount), Number(C.Number) { in Countable() argument
354 Countable(const Countable &C) in Countable() argument
358 Countable &operator=(Countable C) { in operator =() argument
362 ~Countable() { --InstanceCount; } in ~Countable() argument
367 StringMap<Countable> A; in TEST_F()
368 A.insert(std::make_pair("x", Countable(42, InstanceCount))); in TEST_F()
374 StringMap<Countable> B; in TEST_F()
382 B = StringMap<Countable>(); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DStringMapTest.cpp373 struct Countable { struct
376 Countable(int Number, int &InstanceCount) in Countable() argument
380 Countable(Countable &&C) : InstanceCount(C.InstanceCount), Number(C.Number) { in Countable() argument
384 Countable(const Countable &C) in Countable() argument
388 Countable &operator=(Countable C) { in operator =() argument
392 ~Countable() { --InstanceCount; } in ~Countable() argument
397 StringMap<Countable> A; in TEST_F()
398 A.insert(std::make_pair("x", Countable(42, InstanceCount))); in TEST_F()
404 StringMap<Countable> B; in TEST_F()
412 B = StringMap<Countable>(); in TEST_F()