Home
last modified time | relevance | path

Searched refs:event_handle_ (Results 1 – 20 of 20) sorted by relevance

/external/perfetto/src/base/
Devent_fd.cc45 event_handle_.reset( in EventFd()
51 if (!SetEvent(event_handle_.get())) // 0: fail, !0: success, unlike UNIX. in Notify()
56 if (!ResetEvent(event_handle_.get())) // 0: fail, !0: success, unlike UNIX. in Clear()
64 event_handle_.reset(eventfd(/*initval=*/0, EFD_CLOEXEC | EFD_NONBLOCK)); in EventFd()
65 PERFETTO_CHECK(event_handle_); in EventFd()
70 ssize_t ret = write(event_handle_.get(), &value, sizeof(value)); in Notify()
77 ssize_t ret = read(event_handle_.get(), &value, sizeof(value)); in Clear()
88 event_handle_ = ScopedPlatformHandle(std::move(pipe.rd).release()); in EventFd()
103 ssize_t ret = read(event_handle_.get(), &buffer[0], sizeof(buffer)); in Clear()
Dunix_socket.cc298 event_handle_.reset(WSACreateEvent()); in UnixSocketRaw()
299 PERFETTO_CHECK(event_handle_); in UnixSocketRaw()
315 PERFETTO_CHECK(WSAEventSelect(*fd_, *event_handle_, 0) == 0); in SetBlocking()
320 WSAEventSelect(*fd_, *event_handle_, in SetBlocking()
/external/tensorflow/tensorflow/c/experimental/stream_executor/
Dstream_executor_internal.h129 event_handle_(nullptr) {} in CEvent()
134 stream_executor_->create_event(device_, &event_handle_, c_status.get()); in Create()
140 stream_executor_->record_event(device_, stream_handle, event_handle_, in Record()
146 if (event_handle_ != nullptr) { in Destroy()
147 stream_executor_->destroy_event(device_, event_handle_); in Destroy()
148 event_handle_ = nullptr; in Destroy()
152 SP_Event Handle() { return event_handle_; } in Handle()
157 SP_Event event_handle_; variable
/external/webrtc/rtc_base/
Devent.cc36 event_handle_ = ::CreateEvent(nullptr, // Security attributes. in Event()
39 RTC_CHECK(event_handle_); in Event()
43 CloseHandle(event_handle_); in ~Event()
47 SetEvent(event_handle_); in Set()
51 ResetEvent(event_handle_); in Reset()
57 return (WaitForSingleObject(event_handle_, ms) == WAIT_OBJECT_0); in Wait()
Devent.h55 HANDLE event_handle_;
/external/tensorflow/tensorflow/lite/core/api/
Dprofiler.h108 : profiler_(profiler), event_handle_(0) { in profiler_()
110 event_handle_ = profiler_->BeginEvent(tag, event_type, event_metadata); in profiler_()
116 profiler_->EndEvent(event_handle_); in ~ScopedProfile()
122 uint32_t event_handle_; variable
157 profiler_->EndEvent(event_handle_, delegate_status_, interpreter_status_); in ~ScopedRuntimeInstrumentationProfile()
/external/tensorflow/tensorflow/lite/micro/
Dmicro_profiler.h100 event_handle_ = profiler_->BeginEvent(tag); in ScopedMicroProfiler()
106 profiler_->EndEvent(event_handle_); in ~ScopedMicroProfiler()
111 uint32_t event_handle_ = 0;
/external/perfetto/include/perfetto/ext/base/
Devent_fd.h38 PlatformHandle fd() const { return event_handle_.get(); } in fd()
50 ScopedPlatformHandle event_handle_;
Dunix_socket.h129 return *event_handle_; in watch_handle()
170 ScopedPlatformHandle event_handle_; variable
/external/llvm/utils/unittest/googletest/src/
Dgtest-death-test.cc595 AutoHandle event_handle_; member in testing::internal::WindowsDeathTest
607 const HANDLE wait_handles[2] = { child_handle_.Get(), event_handle_.Get() }; in Wait()
622 event_handle_.Reset(); in Wait()
672 event_handle_.Reset(::CreateEvent( in AssumeRole()
677 GTEST_DEATH_TEST_CHECK_(event_handle_.Get() != NULL); in AssumeRole()
693 reinterpret_cast<size_t>(event_handle_.Get())); in AssumeRole()
/external/llvm-project/llvm/utils/unittest/googletest/src/
Dgtest-death-test.cc644 AutoHandle event_handle_; member in testing::internal::WindowsDeathTest
656 const HANDLE wait_handles[2] = { child_handle_.Get(), event_handle_.Get() }; in Wait()
671 event_handle_.Reset(); in Wait()
721 event_handle_.Reset(::CreateEvent( in AssumeRole()
726 GTEST_DEATH_TEST_CHECK_(event_handle_.Get() != NULL); in AssumeRole()
739 "|" + StreamableToString(reinterpret_cast<size_t>(event_handle_.Get())); in AssumeRole()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-death-test.cc665 AutoHandle event_handle_; member in testing::internal::WindowsDeathTest
677 const HANDLE wait_handles[2] = { child_handle_.Get(), event_handle_.Get() }; in Wait()
692 event_handle_.Reset(); in Wait()
742 event_handle_.Reset(::CreateEvent( in AssumeRole()
747 GTEST_DEATH_TEST_CHECK_(event_handle_.Get() != NULL); in AssumeRole()
760 "|" + StreamableToString(reinterpret_cast<size_t>(event_handle_.Get())); in AssumeRole()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-death-test.cc673 AutoHandle event_handle_; member in testing::internal::WindowsDeathTest
685 const HANDLE wait_handles[2] = { child_handle_.Get(), event_handle_.Get() }; in Wait()
700 event_handle_.Reset(); in Wait()
750 event_handle_.Reset(::CreateEvent( in AssumeRole()
755 GTEST_DEATH_TEST_CHECK_(event_handle_.Get() != nullptr); in AssumeRole()
768 "|" + StreamableToString(reinterpret_cast<size_t>(event_handle_.Get())); in AssumeRole()
/external/mesa3d/src/gtest/src/
Dgtest-death-test.cc674 AutoHandle event_handle_; member in testing::internal::WindowsDeathTest
686 const HANDLE wait_handles[2] = { child_handle_.Get(), event_handle_.Get() }; in Wait()
701 event_handle_.Reset(); in Wait()
751 event_handle_.Reset(::CreateEvent( in AssumeRole()
756 GTEST_DEATH_TEST_CHECK_(event_handle_.Get() != nullptr); in AssumeRole()
769 "|" + StreamableToString(reinterpret_cast<size_t>(event_handle_.Get())); in AssumeRole()
/external/googletest/googletest/src/
Dgtest-death-test.cc675 AutoHandle event_handle_; member in testing::internal::WindowsDeathTest
687 const HANDLE wait_handles[2] = { child_handle_.Get(), event_handle_.Get() }; in Wait()
702 event_handle_.Reset(); in Wait()
752 event_handle_.Reset(::CreateEvent( in AssumeRole()
757 GTEST_DEATH_TEST_CHECK_(event_handle_.Get() != nullptr); in AssumeRole()
770 "|" + StreamableToString(reinterpret_cast<size_t>(event_handle_.Get())); in AssumeRole()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-death-test.cc665 AutoHandle event_handle_; member in testing::internal::WindowsDeathTest
676 const HANDLE wait_handles[2] = { child_handle_.Get(), event_handle_.Get() }; in Wait()
688 event_handle_.Reset(); in Wait()
737 event_handle_.Reset(::CreateEvent( in AssumeRole()
742 GTEST_DEATH_TEST_CHECK_(event_handle_.Get() != nullptr); in AssumeRole()
755 StreamableToString(reinterpret_cast<size_t>(event_handle_.Get())); in AssumeRole()
/external/libchrome/base/trace_event/
Dtrace_log.cc1769 event_handle_ = in ScopedTraceBinaryEfficient()
1783 event_handle_); in ~ScopedTraceBinaryEfficient()
Dtrace_event.h1188 base::trace_event::TraceEventHandle event_handle_; variable
/external/fmtlib/test/
Dgmock-gtest-all.cc6996 AutoHandle event_handle_; member in testing::internal::WindowsDeathTest
7007 const HANDLE wait_handles[2] = {child_handle_.Get(), event_handle_.Get()}; in Wait()
7021 event_handle_.Reset(); in Wait()
7070 event_handle_.Reset(::CreateEvent( in AssumeRole()
7075 GTEST_DEATH_TEST_CHECK_(event_handle_.Get() != NULL); in AssumeRole()
7088 StreamableToString(reinterpret_cast<size_t>(event_handle_.Get())); in AssumeRole()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/
Dgmock-gtest-all.cc7474 AutoHandle event_handle_; member in testing::internal::WindowsDeathTest
7486 const HANDLE wait_handles[2] = { child_handle_.Get(), event_handle_.Get() }; in Wait()
7501 event_handle_.Reset(); in Wait()
7551 event_handle_.Reset(::CreateEvent( in AssumeRole()
7556 GTEST_DEATH_TEST_CHECK_(event_handle_.Get() != NULL); in AssumeRole()
7569 "|" + StreamableToString(reinterpret_cast<size_t>(event_handle_.Get())); in AssumeRole()