Home
last modified time | relevance | path

Searched refs:read_task (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/src/base/
Dmetatrace.cc55 std::function<void()> read_task; member
60 bool Enable(std::function<void()> read_task, in Enable() argument
63 PERFETTO_DCHECK(read_task); in Enable()
70 dg->read_task = std::move(read_task); in Enable()
83 dg->read_task = nullptr; in Disable()
117 auto read_task = Delegate::GetInstance()->read_task; in AppendNewRecord() local
118 if (read_task) in AppendNewRecord()
119 read_task(); in AppendNewRecord()
Dmetatrace_unittest.cc172 auto read_task = [&last_value_read] { in TEST_F() local
191 EXPECT_CALL(*this, ReadCallback()).WillRepeatedly(Invoke(read_task)); in TEST_F()
215 read_task(); // Do a final read pass. in TEST_F()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_streams.py164 read_task = self.loop.create_task(stream.read(30))
170 data = self.loop.run_until_complete(read_task)
188 read_task = self.loop.create_task(stream.read(1024))
194 data = self.loop.run_until_complete(read_task)
201 read_task = self.loop.create_task(stream.read(-1))
209 data = self.loop.run_until_complete(read_task)
244 read_task = self.loop.create_task(stream.readline())
252 line = self.loop.run_until_complete(read_task)
500 read_task = self.loop.create_task(stream.readexactly(n))
508 data = self.loop.run_until_complete(read_task)
[all …]
/external/perfetto/include/perfetto/ext/base/
Dmetatrace.h77 bool Enable(std::function<void()> read_task, base::TaskRunner*, uint32_t tags);
/external/crosvm/cros_async/src/
During_source.rs363 let read_task = read_events(event, signal_wait, &ex); in event() localVariable
364 ex.run_until(futures::future::join(read_task, write_task)) in event()
During_executor.rs965 let read_task = rx_source in canceled_before_completion() localVariable
969 ex.spawn_local(cancel_io(read_task)).detach(); in canceled_before_completion()