Home
last modified time | relevance | path

Searched refs:emitter (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Devent_listener.cc68 EventListenerLock::EventListenerLock(EventEmitter* emitter) in EventListenerLock() argument
70 emitter_(emitter), in EventListenerLock()
71 lock_(new sdk_util::AutoLock(emitter->GetLock())), in EventListenerLock()
79 void EventListenerLock::ReceiveEvents(EventEmitter* emitter, uint32_t events) { in ReceiveEvents() argument
114 void EventListenerPoll::ReceiveEvents(EventEmitter* emitter, uint32_t events) { in ReceiveEvents() argument
116 emitters_[emitter]->events |= events; in ReceiveEvents()
130 emitters_[request->emitter.get()] = request; in WaitOnAny()
138 request->emitter->RegisterListener(this, request->filter); in WaitOnAny()
139 uint32_t events = request->emitter->GetEventStatus() & request->filter; in WaitOnAny()
172 request->emitter->UnregisterListener(this); in WaitOnAny()
Devent_listener.h76 ScopedEventEmitter emitter; member
99 virtual void ReceiveEvents(EventEmitter* emitter, uint32_t events) = 0;
114 explicit EventListenerLock(EventEmitter* emitter);
119 virtual void ReceiveEvents(EventEmitter* emitter, uint32_t events);
144 virtual void ReceiveEvents(EventEmitter* emitter, uint32_t events);
Dkernel_proxy.cc1224 ScopedEventEmitter emitter(handle->node()->GetEventEmitter()); in poll() local
1226 if (emitter) in poll()
1227 events = emitter->GetEventStatus(); in poll()
1235 if (NULL == emitter) { in poll()
1242 PollInfo* info = &event_map[emitter.get()]; in poll()
1245 request.emitter = emitter; in poll()
1268 PollInfo* poll_info = &event_map[request->emitter.get()]; in poll()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Devent_test.cc35 virtual void ReceiveEvents(EventEmitter* emitter, uint32_t events) { in ReceiveEvents() argument
49 EventEmitter emitter; in TEST() local
51 emitter.RegisterListener(&listener_a, POLLIN | POLLOUT | POLLERR); in TEST()
52 emitter.RegisterListener(&listener_b, POLLIN | POLLOUT | POLLERR); in TEST()
54 EXPECT_EQ(0, emitter.GetEventStatus()); in TEST()
58 AUTO_LOCK(emitter.GetLock()) in TEST()
59 emitter.RaiseEvents_Locked(POLLIN); in TEST()
66 AUTO_LOCK(emitter.GetLock()) in TEST()
67 emitter.RaiseEvents_Locked(POLLOUT); in TEST()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
Dtcp_node.cc28 explicit TcpWork(const ScopedTcpEventEmitter& emitter) in TcpWork() argument
29 : StreamFs::Work(emitter->stream()->stream()), in TcpWork()
30 emitter_(emitter), in TcpWork()
48 explicit TcpSendWork(const ScopedTcpEventEmitter& emitter, in TcpSendWork() argument
50 : TcpWork(emitter), node_(stream) {} in TcpSendWork()
112 explicit TcpRecvWork(const ScopedTcpEventEmitter& emitter) in TcpRecvWork() argument
113 : TcpWork(emitter) {} in TcpRecvWork()
173 explicit TCPAcceptWork(StreamFs* stream, const ScopedTcpEventEmitter& emitter) in TCPAcceptWork() argument
174 : StreamFs::Work(stream), emitter_(emitter) {} in TCPAcceptWork()
228 const ScopedTcpEventEmitter& emitter) in TCPConnectWork() argument
[all …]
Dudp_node.cc27 explicit UdpWork(const ScopedUdpEventEmitter& emitter) in UdpWork() argument
28 : StreamFs::Work(emitter->stream()->stream()), in UdpWork()
29 emitter_(emitter), in UdpWork()
45 explicit UdpSendWork(const ScopedUdpEventEmitter& emitter, in UdpSendWork() argument
47 : UdpWork(emitter), node_(node) {} in UdpSendWork()
97 explicit UdpRecvWork(const ScopedUdpEventEmitter& emitter) in UdpRecvWork() argument
98 : UdpWork(emitter) { in UdpRecvWork()
/external/chromium_org/sync/engine/
Ddirectory_commit_contribution_unittest.cc126 DirectoryTypeDebugInfoEmitter emitter(PREFERENCES, &type_observers_); in TEST_F() local
128 DirectoryCommitContribution::Build(dir(), PREFERENCES, 5, &emitter)); in TEST_F()
152 DirectoryTypeDebugInfoEmitter emitter(PREFERENCES, &type_observers_); in TEST_F() local
154 DirectoryCommitContribution::Build(dir(), PREFERENCES, 1, &emitter)); in TEST_F()
228 DirectoryTypeDebugInfoEmitter emitter(PREFERENCES, &type_observers_); in TEST_F() local
230 DirectoryCommitContribution::Build(dir(), PREFERENCES, 25, &emitter)); in TEST_F()
270 DirectoryTypeDebugInfoEmitter emitter(BOOKMARKS, &type_observers_); in TEST_F() local
272 DirectoryCommitContribution::Build(dir(), BOOKMARKS, 25, &emitter)); in TEST_F()
313 DirectoryTypeDebugInfoEmitter emitter(BOOKMARKS, &type_observers_); in TEST_F() local
315 DirectoryCommitContribution::Build(dir(), BOOKMARKS, 25, &emitter)); in TEST_F()
[all …]
Ddirectory_update_handler_unittest.cc133 DirectoryTypeDebugInfoEmitter emitter(BOOKMARKS, &type_observers_); in TEST_F() local
134 DirectoryUpdateHandler handler(dir(), BOOKMARKS, ui_worker(), &emitter); in TEST_F()
172 DirectoryTypeDebugInfoEmitter emitter(BOOKMARKS, &type_observers_); in TEST_F() local
173 DirectoryUpdateHandler handler(dir(), BOOKMARKS, ui_worker(), &emitter); in TEST_F()
207 DirectoryTypeDebugInfoEmitter emitter(AUTOFILL, &type_observers_); in TEST_F() local
208 DirectoryUpdateHandler handler(dir(), AUTOFILL, ui_worker(), &emitter); in TEST_F()
239 DirectoryTypeDebugInfoEmitter emitter(BOOKMARKS, &type_observers_); in TEST_F() local
240 DirectoryUpdateHandler handler(dir(), BOOKMARKS, ui_worker(), &emitter); in TEST_F()
256 DirectoryTypeDebugInfoEmitter emitter(SYNCED_NOTIFICATIONS, &type_observers_); in TEST_F() local
258 ui_worker(), &emitter); in TEST_F()
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/
DAddInitTransformer.java48 final CodeEmitter emitter = super.begin_method(access, sig, exceptions); in begin_method() local
50 return new CodeEmitter(emitter) { in begin_method()
60 return emitter; in begin_method()
/external/llvm/lib/Target/Sparc/
DCMakeLists.txt5 tablegen(LLVM SparcGenCodeEmitter.inc -gen-emitter)
7 tablegen(LLVM SparcGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
/external/llvm/lib/Target/PowerPC/
DCMakeLists.txt5 tablegen(LLVM PPCGenCodeEmitter.inc -gen-emitter)
7 tablegen(LLVM PPCGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
/external/chromium_org/sync/sessions/
Dmodel_type_registry.cc154 DirectoryTypeDebugInfoEmitter* emitter = NULL; in SetEnabledDirectoryTypes() local
158 emitter = it->second; in SetEnabledDirectoryTypes()
160 emitter = new DirectoryTypeDebugInfoEmitter(directory_, type, in SetEnabledDirectoryTypes()
163 std::make_pair(type, emitter)); in SetEnabledDirectoryTypes()
164 directory_type_debug_info_emitters_.push_back(emitter); in SetEnabledDirectoryTypes()
168 new DirectoryCommitContributor(directory_, type, emitter); in SetEnabledDirectoryTypes()
170 new DirectoryUpdateHandler(directory_, type, worker, emitter); in SetEnabledDirectoryTypes()
/external/llvm/lib/Target/ARM/
DCMakeLists.txt5 tablegen(LLVM ARMGenCodeEmitter.inc -gen-emitter)
6 tablegen(LLVM ARMGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
/external/llvm/lib/Target/Mips/
DCMakeLists.txt6 tablegen(LLVM MipsGenCodeEmitter.inc -gen-emitter)
7 tablegen(LLVM MipsGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DMakefile64 $(call tablegen, -gen-emitter, AMDGPU.td, $@)
67 $(call tablegen, -mc-emitter -gen-emitter, AMDGPU.td, $@)
/external/mesa3d/src/gallium/drivers/radeon/
DMakefile64 $(call tablegen, -gen-emitter, AMDGPU.td, $@)
67 $(call tablegen, -mc-emitter -gen-emitter, AMDGPU.td, $@)
/external/llvm/lib/Target/SystemZ/
DCMakeLists.txt8 tablegen(LLVM SystemZGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
/external/llvm/lib/Target/R600/
DCMakeLists.txt9 tablegen(LLVM AMDGPUGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
/external/llvm/lib/Target/AArch64/
DCMakeLists.txt5 tablegen(LLVM AArch64GenMCCodeEmitter.inc -gen-emitter -mc-emitter)
/external/chromium_org/third_party/cython/src/Tools/site_scons/site_tools/
Dpyext.py54 emitter = {},
80 emitter = "$SHLIBEMITTER",
Dcython.py36 emitter = {},
/external/llvm/test/MC/X86/AlignedBundling/
Dasm-printing-bundle-directives.s3 # Just a simple test for the assembly emitter - making sure it emits back the
/external/llvm/
Dllvm-tblgen-rules.mk132 $(call transform-td-to-out,emitter)
139 $(call transform-td-to-out,emitter -mc-emitter)
/external/llvm/docs/CommandGuide/
Dtblgen.rst68 .. option:: -gen-emitter
70 Generate machine code emitter.
/external/nanopb-c/tests/site_scons/site_tools/
Dnanopb.py110 emitter = _nanopb_proto_emitter)

12