/external/webrtc/rtc_base/ |
D | operations_chain_unittest.cc | 39 Event* operation_complete_event) { in BindSynchronousOperation() 48 Event* unblock_operation_event, in BindAsynchronousOperation() 49 Event* operation_complete_event) { in BindAsynchronousOperation() 60 const std::vector<Event*>& completed_operation_events() const { in completed_operation_events() 67 void StartSynchronousOperation(Event* operation_complete_event, in StartSynchronousOperation() 79 void StartAsynchronousOperation(Event* unblock_operation_event, in StartAsynchronousOperation() 80 Event* operation_complete_event, in StartAsynchronousOperation() 86 unblock_operation_event->Wait(Event::kForever); in StartAsynchronousOperation() 97 std::vector<Event*> completed_operation_events_; 112 std::unique_ptr<Event> Initialize() { in Initialize() [all …]
|
D | event.cc | 31 Event::Event() : Event(false, false) {} in Event() function in rtc::Event 35 Event::Event(bool manual_reset, bool initially_signaled) { in Event() function in rtc::Event 42 Event::~Event() { in ~Event() 46 void Event::Set() { in Set() 50 void Event::Reset() { in Reset() 54 bool Event::Wait(const int give_up_after_ms, int /*warn_after_ms*/) { in Wait() 79 Event::Event(bool manual_reset, bool initially_signaled) in Event() function in rtc::Event 91 Event::~Event() { in ~Event() 96 void Event::Set() { in Set() 103 void Event::Reset() { in Reset() [all …]
|
D | event_unittest.cc | 19 Event event(false, true); in TEST() 24 Event event(true, false); in TEST() 36 Event event; in TEST() 47 void Start(Event* writer, Event* reader) { in Start() 60 me->reader_->Wait(Event::kForever); in ThreadFn() 63 Event stop_event_; 64 Event* writer_; 65 Event* reader_; 72 Event event; in TEST() 81 Event read; in TEST() [all …]
|
/external/pigweed/pw_trace/ |
D | trace_facade_test.cc | 31 Event(DurationStart, in TraceFunction() 42 Event(DurationGroupStart, in TraceFunctionGroup() 56 Event(Instantaneous, in TEST() 66 Event(InstantaneousGroup, in TEST() 76 Event(DurationStart, in TEST() 83 Event(DurationEnd, in TEST() 93 Event(DurationGroupStart, in TEST() 100 Event(DurationGroupStart, in TEST() 107 Event(DurationGroupEnd, in TEST() 114 Event(DurationGroupStart, in TEST() [all …]
|
/external/llvm-project/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_test_util_posix.cpp | 193 struct Event { struct 220 explicit Event(Type type, const void *ptr = 0, uptr arg = 0, uptr arg2 = 0) in Event() argument 242 void send(Event *ev); 243 void HandleEvent(Event *ev); 246 void ScopedThread::Impl::HandleEvent(Event *ev) { in HandleEvent() 252 case Event::READ: in HandleEvent() 253 case Event::WRITE: { in HandleEvent() 255 if (ev->type == Event::READ) { in HandleEvent() 303 case Event::VPTR_UPDATE: in HandleEvent() 306 case Event::CALL: in HandleEvent() [all …]
|
/external/swiftshader/third_party/marl/src/ |
D | event_test.cpp | 33 for (auto mode : {marl::Event::Mode::Manual, marl::Event::Mode::Auto}) { in TEST_P() 34 auto event = marl::Event(mode); in TEST_P() 45 auto event = marl::Event(marl::Event::Mode::Auto); in TEST_P() 53 auto event = marl::Event(marl::Event::Mode::Manual); in TEST_P() 62 auto event = marl::Event(marl::Event::Mode::Auto); in TEST_P() 63 auto done = marl::Event(marl::Event::Mode::Auto); in TEST_P() 87 auto event = marl::Event(marl::Event::Mode::Manual); in TEST_P() 102 for (auto mode : {marl::Event::Mode::Manual, marl::Event::Mode::Auto}) { in TEST_P() 104 auto eventA = marl::Event(mode); in TEST_P() 105 auto eventB = marl::Event(mode); in TEST_P() [all …]
|
D | event_bench.cpp | 22 BENCHMARK_DEFINE_F(Schedule, Event)(benchmark::State& state) { in BENCHMARK_DEFINE_F() argument 25 marl::containers::vector<marl::Event, 1> events; in BENCHMARK_DEFINE_F() 28 marl::Event prev = events[i]; in BENCHMARK_DEFINE_F() 29 marl::Event next = events[i + 1]; in BENCHMARK_DEFINE_F() 40 BENCHMARK_REGISTER_F(Schedule, Event)->Apply(Schedule::args<512>); 46 marl::Event passToA(marl::Event::Mode::Auto); in BENCHMARK_DEFINE_F() 47 marl::Event passToB(marl::Event::Mode::Auto); in BENCHMARK_DEFINE_F() 48 marl::Event done(marl::Event::Mode::Auto); in BENCHMARK_DEFINE_F()
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_test_util_posix.cc | 237 struct Event { struct 264 Event(Type type, const void *ptr = 0, uptr arg = 0, uptr arg2 = 0) in Event() argument 287 void send(Event *ev); 288 void HandleEvent(Event *ev); 291 void ScopedThread::Impl::HandleEvent(Event *ev) { in HandleEvent() 297 case Event::READ: in HandleEvent() 298 case Event::WRITE: { in HandleEvent() 300 if (ev->type == Event::READ) { in HandleEvent() 328 case Event::VPTR_UPDATE: in HandleEvent() 331 case Event::CALL: in HandleEvent() [all …]
|
/external/crosvm/base/src/ |
D | event.rs | 21 pub struct Event(pub EventFd); struct 22 impl Event { implementation 23 pub fn new() -> Result<Event> { in new() 24 EventFd::new().map(Event) in new() 39 pub fn try_clone(&self) -> Result<Event> { in try_clone() argument 40 self.0.try_clone().map(Event) in try_clone() 44 impl AsRawDescriptor for Event { implementation 50 impl FromRawDescriptor for Event { implementation 52 Event(EventFd::from_raw_fd(descriptor)) in from_raw_descriptor() 56 impl IntoRawDescriptor for Event { implementation [all …]
|
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
D | EventSetImpl.java | 49 public class EventSetImpl extends ArrayList<Event> implements EventSet { 60 for (Event event : this) { in toString() 71 abstract class EventImpl extends MirrorImpl implements Event { 81 protected EventImpl(JDWP.Event.Composite.Events.EventsCommon evt, in EventImpl() 173 ThreadedEventImpl(JDWP.Event.Composite.Events.EventsCommon evt, in ThreadedEventImpl() 192 LocatableEventImpl(JDWP.Event.Composite.Events.EventsCommon evt, in LocatableEventImpl() 219 BreakpointEventImpl(JDWP.Event.Composite.Events.Breakpoint evt) { in BreakpointEventImpl() 229 StepEventImpl(JDWP.Event.Composite.Events.SingleStep evt) { in StepEventImpl() 240 MethodEntryEventImpl(JDWP.Event.Composite.Events.MethodEntry evt) { in MethodEntryEventImpl() 253 MethodExitEventImpl(JDWP.Event.Composite.Events.MethodExit evt) { in MethodExitEventImpl() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/ |
D | urandom_test.cc | 42 struct Event { struct 51 explicit Event(Syscall syscall) : type(syscall) {} in Event() function 53 bool operator==(const Event &other) const { in operator ==() argument 60 static Event GetRandom(size_t length, unsigned flags) { in GetRandom() argument 61 Event e(Syscall::kGetRandom); in GetRandom() 67 static Event Open(const char *filename) { in Open() argument 68 Event e(Syscall::kOpen); in Open() 73 static Event UrandomRead(size_t length) { in UrandomRead() argument 74 Event e(Syscall::kUrandomRead); in UrandomRead() 79 static Event UrandomIoctl() { in UrandomIoctl() argument [all …]
|
/external/boringssl/src/crypto/fipsmodule/rand/ |
D | urandom_test.cc | 42 struct Event { struct 51 explicit Event(Syscall syscall) : type(syscall) {} in Event() argument 53 bool operator==(const Event &other) const { in operator ==() argument 60 static Event GetRandom(size_t length, unsigned flags) { in GetRandom() argument 61 Event e(Syscall::kGetRandom); in GetRandom() 67 static Event Open(const char *filename) { in Open() argument 68 Event e(Syscall::kOpen); in Open() 73 static Event UrandomRead(size_t length) { in UrandomRead() argument 74 Event e(Syscall::kUrandomRead); in UrandomRead() 79 static Event UrandomIoctl() { in UrandomIoctl() argument [all …]
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | Event.h | 29 class Event; variable 37 friend class Event; variable 49 virtual void DoOnRemoval(Event *event_ptr) {} in DoOnRemoval() 85 static const EventDataBytes *GetEventDataFromEvent(const Event *event_ptr); 87 static const void *GetBytesFromEvent(const Event *event_ptr); 89 static size_t GetByteSizeFromEvent(const Event *event_ptr); 120 void DoOnRemoval(Event *event_ptr) override { in DoOnRemoval() 158 GetEventDataFromEvent(const Event *event_ptr); 160 static lldb::ProcessSP GetProcessFromEvent(const Event *event_ptr); 162 static StructuredData::ObjectSP GetObjectFromEvent(const Event *event_ptr); [all …]
|
/external/snakeyaml/src/test/java/org/pyyaml/ |
D | PyEmitterTest.java | 32 import org.yaml.snakeyaml.events.Event; 67 List<Event> events = parse(input); in _testEmitter() 74 for (Event event : events) { in _testEmitter() 79 List<Event> newEvents = new ArrayList<Event>(); in _testEmitter() 83 Event event = parser.getEvent(); in _testEmitter() 88 Iterator<Event> iter1 = events.iterator(); in _testEmitter() 89 Iterator<Event> iter2 = newEvents.iterator(); in _testEmitter() 91 Event event = iter1.next(); in _testEmitter() 92 Event newEvent = iter2.next(); in _testEmitter() 130 List<Event> events = new ArrayList<Event>(); in testEmitterStyles() [all …]
|
/external/llvm-project/clang/lib/DirectoryWatcher/linux/ |
D | DirectoryWatcher-linux.cpp | 85 std::queue<DirectoryWatcher::Event> Events; 88 void push_back(const DirectoryWatcher::Event::EventKind K, in push_back() 99 DirectoryWatcher::Event pop_front_blocking() { in pop_front_blocking() 105 DirectoryWatcher::Event Front = Events.front(); in pop_front_blocking() 118 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver, 141 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver; 167 Queue.push_back(DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, in StopWork() 244 struct inotify_event *Event = reinterpret_cast<struct inotify_event *>(P); in InotifyPollingLoop() local 245 P += sizeof(struct inotify_event) + Event->len; in InotifyPollingLoop() 247 if (Event->mask & (IN_CREATE | IN_MODIFY | IN_MOVED_TO | IN_DELETE) && in InotifyPollingLoop() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/ |
D | tpu_driver.h | 50 class Event { 52 virtual ~Event() {} in ~Event() 73 virtual std::shared_ptr<Event> OnReady() = 0; 88 virtual std::shared_ptr<Event> OnReady() = 0; 108 virtual std::shared_ptr<Event> OnReady() = 0; 166 absl::Span<Event* const> wait_for) = 0; 169 absl::Span<Event* const> wait_for) = 0; 183 absl::Span<Event* const> wait_for) = 0; 184 virtual std::shared_ptr<Event> Deallocate( 186 absl::Span<Event* const> wait_for) = 0; [all …]
|
/external/swiftshader/third_party/marl/include/marl/ |
D | event.h | 28 class Event { 43 MARL_NO_EXPORT inline Event(Mode mode = Mode::Auto, 94 MARL_NO_EXPORT inline static Event any(Mode mode, 102 MARL_NO_EXPORT inline static Event any(const Iterator& begin, 131 Event::Shared::Shared(Allocator* allocator, Mode mode, bool initialState) in Shared() 134 void Event::Shared::signal() { in signal() 150 void Event::Shared::wait() { in wait() 159 bool Event::Shared::wait_for( in wait_for() 172 bool Event::Shared::wait_until( in wait_until() 184 Event::Event(Mode mode /* = Mode::Auto */, in Event() function [all …]
|
/external/rust/crates/mio/src/sys/windows/ |
D | event.rs | 9 pub struct Event { struct 14 pub fn token(event: &Event) -> Token { in token() argument 18 impl Event { impl 19 pub(super) fn new(token: Token) -> Event { in new() argument 20 Event { in new() 35 pub(super) fn from_completion_status(status: &CompletionStatus) -> Event { in from_completion_status() argument 36 Event { in from_completion_status() 58 pub fn is_readable(event: &Event) -> bool { in is_readable() 62 pub fn is_writable(event: &Event) -> bool { in is_writable() 66 pub fn is_error(event: &Event) -> bool { in is_error() [all …]
|
/external/rust/crates/mio/src/sys/shell/ |
D | selector.rs | 6 pub type Event = usize; typedef 8 pub type Events = Vec<Event>; 65 use crate::sys::Event; 69 pub fn token(_: &Event) -> Token { in token() 73 pub fn is_readable(_: &Event) -> bool { in is_readable() 77 pub fn is_writable(_: &Event) -> bool { in is_writable() 81 pub fn is_error(_: &Event) -> bool { in is_error() 85 pub fn is_read_closed(_: &Event) -> bool { in is_read_closed() 89 pub fn is_write_closed(_: &Event) -> bool { in is_write_closed() 93 pub fn is_priority(_: &Event) -> bool { in is_priority() [all …]
|
/external/deqp/framework/common/ |
D | tcuThreadUtil.hpp | 41 class Event class 51 Event (void); 52 ~Event (void); 64 Event (const Event&); 65 Event& operator= (const Event&); 72 Object (const char* type, de::SharedPtr<Event> createEvent); 77 void read (de::SharedPtr<Event> event, std::vector<de::SharedPtr<Event> >& deps); 78 void modify (de::SharedPtr<Event> event, std::vector<de::SharedPtr<Event> >& deps); 82 de::SharedPtr<Event> m_modify; 83 std::vector<de::SharedPtr<Event> > m_reads; [all …]
|
D | tcuThreadUtil.cpp | 37 Event::Event (void) in Event() function in tcu::ThreadUtil::Event 44 Event::~Event (void) in ~Event() 48 void Event::setResult (Result result) in setResult() 59 Event::Result Event::waitReady (void) in waitReady() 78 Object::Object (const char* type, SharedPtr<Event> e) in Object() 88 void Object::read (SharedPtr<Event> event, std::vector<SharedPtr<Event> >& deps) in read() 97 void Object::modify (SharedPtr<Event> event, std::vector<SharedPtr<Event> >& deps) in modify() 115 , m_event (new Event) in Operation() 130 if (m_deps[depNdx]->waitReady() != Event::RESULT_OK) in execute() 144 m_event->setResult(Event::RESULT_FAILED); in execute() [all …]
|
/external/angle/util/ |
D | OSWindow.cpp | 260 static std::string KeyState(const Event::KeyEvent &event) in KeyState() 290 static void PrintEvent(const Event &event) in PrintEvent() 294 case Event::EVENT_CLOSED: in PrintEvent() 297 case Event::EVENT_MOVED: in PrintEvent() 301 case Event::EVENT_RESIZED: in PrintEvent() 305 case Event::EVENT_LOST_FOCUS: in PrintEvent() 308 case Event::EVENT_GAINED_FOCUS: in PrintEvent() 311 case Event::EVENT_TEXT_ENTERED: in PrintEvent() 315 case Event::EVENT_KEY_PRESSED: in PrintEvent() 319 case Event::EVENT_KEY_RELEASED: in PrintEvent() [all …]
|
/external/llvm-project/parallel-libs/acxxel/ |
D | acxxel.cpp | 53 Status Stream::waitOnEvent(Event &Event) { in waitOnEvent() argument 55 TheHandle.get(), ThePlatform->getEventHandle(Event))); in waitOnEvent() 75 Stream &Stream::enqueueEvent(Event &E) { in enqueueEvent() 81 Event::Event(Event &&) noexcept = default; 82 Event &Event::operator=(Event &&) noexcept = default; 84 bool Event::isDone() { return ThePlatform->eventIsDone(TheHandle.get()); } in isDone() 86 Status Event::sync() { return ThePlatform->eventSync(TheHandle.get()); } in sync() 88 Expected<float> Event::getSecondsSince(const Event &Previous) { in getSecondsSince()
|
/external/skqp/samplecode/ |
D | Sample.cpp | 20 Sample::Event::Event() : Event("") {} in Event() function in Sample::Event 22 Sample::Event::Event(const Event& that) { in Event() function in Sample::Event 26 Sample::Event::Event(const char type[]) : fType(type), f32(0) { in Event() function in Sample::Event 30 Sample::Event::~Event() {} in ~Event() 32 bool Sample::Event::isType(const char type[]) const { in isType() 39 bool Sample::CharQ(const Event& evt, SkUnichar* outUni) { in CharQ() 49 bool Sample::TitleQ(const Event& evt) { in TitleQ() 53 void Sample::TitleR(Event* evt, const char title[]) { in TitleR() 59 Event evt(kTitleEvtName); in RequestTitle() 69 bool Sample::doEvent(const Event& evt) { in doEvent() [all …]
|
/external/llvm-project/clang/lib/DirectoryWatcher/mac/ |
D | DirectoryWatcher-mac.cpp | 50 std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> in DirectoryWatcherMac() argument 64 DirectoryWatcher::Event( in ~DirectoryWatcherMac() 65 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, ""), in ~DirectoryWatcherMac() 76 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver; 82 std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> Receiver; 86 std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> in EventStreamContextData() 112 std::vector<DirectoryWatcher::Event> Events; in eventStreamCallback() 118 Events.emplace_back(DirectoryWatcher::Event{ in eventStreamCallback() 119 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, ""}); in eventStreamCallback() 126 Events.emplace_back(DirectoryWatcher::Event{ in eventStreamCallback() [all …]
|