Home
last modified time | relevance | path

Searched refs:RefCounter (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/parallel-libs/acxxel/tests/
Dstatus_test.cpp17 struct RefCounter { struct
20 RefCounter() { ++Count; } in RefCounter() function
21 ~RefCounter() { --Count; } in ~RefCounter() argument
22 RefCounter(const RefCounter &) = delete;
23 RefCounter &operator=(const RefCounter &) = delete;
26 int RefCounter::Count;
28 TEST(Expected, RefCounter) { in TEST() argument
29 RefCounter::Count = 0; in TEST()
30 using uptr = std::unique_ptr<RefCounter>; in TEST()
32 acxxel::Expected<uptr> E0(uptr(new RefCounter)); in TEST()
[all …]
Dacxxel_test.cpp245 struct RefCounter { struct
248 RefCounter() { ++Count; } in RefCounter() function
249 ~RefCounter() { --Count; } in ~RefCounter() argument
250 RefCounter(const RefCounter &) = delete;
251 RefCounter &operator=(const RefCounter &) = delete;
254 int RefCounter::Count;
258 RefCounter::Count = 0; in TEST_P()
260 acxxel::OwnedAsyncHostMemory<RefCounter> A = in TEST_P()
261 Platform->newAsyncHostMem<RefCounter>(3).takeValue(); in TEST_P()
262 EXPECT_EQ(3, RefCounter::Count); in TEST_P()
[all …]
/external/webrtc/rtc_base/
Dref_counter.h20 class RefCounter {
22 explicit RefCounter(int ref_count) : ref_count_(ref_count) {} in RefCounter() function
23 RefCounter() = delete;
Dref_counted_object.h57 mutable webrtc::webrtc_impl::RefCounter ref_count_{0};
/external/webrtc/api/
Dref_counted_base.h36 mutable webrtc::webrtc_impl::RefCounter ref_count_{0};
/external/webrtc/modules/video_capture/windows/
Dhelp_functions_ds.h113 webrtc::webrtc_impl::RefCounter ref_count_{0};
/external/webrtc/api/task_queue/
Dtask_queue_test.cc206 webrtc_impl::RefCounter count_; in TEST_P()