Home
last modified time | relevance | path

Searched refs:set_result (Results 1 – 25 of 56) sorted by relevance

123

/external/javasqlite/src/main/java/SQLite/
DFunctionContext.java23 public native void set_result(String r); in set_result() method in FunctionContext
31 public native void set_result(int r); in set_result() method in FunctionContext
39 public native void set_result(double r); in set_result() method in FunctionContext
56 public native void set_result(byte[] r); in set_result() method in FunctionContext
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_futures.py62 def set_result(self, result): member in DuckFuture
154 self.assertRaises(asyncio.InvalidStateError, f.set_result, None)
162 f.set_result(42)
167 self.assertRaises(asyncio.InvalidStateError, f.set_result, None)
185 self.assertRaises(asyncio.InvalidStateError, f.set_result, None)
207 f.set_result(42)
231 f_result.set_result(4)
281 f.set_result(10)
324 fut.set_result(42)
331 fut.set_result(42)
[all …]
Dtest_tasks.py157 f_orig.set_result('ko')
397 fut.set_result(None)
532 fut1.set_result(None)
559 fut1.set_result(None)
566 fut3.set_result(42)
716 loop.call_later(0.1, fut.set_result, "ok")
1287 task.set_result('ok')
1327 fut.set_result(res)
1448 fut.set_result('test')
1490 fut2.set_result(True)
[all …]
Dtest_proactor_events.py58 res.set_result(b'data')
68 res.set_result(b'')
178 fut.set_result(b'data')
187 fut.set_result(1)
292 f.set_result(4)
316 f.set_result(4)
335 f.set_result(msg)
378 fut.set_result(None)
429 fut.set_result(None)
Dtest_sslproto.py56 handshake_fut.set_result(None)
Dtest_base_events.py329 loop.call_soon_threadsafe(fut.set_result, None)
585 fut.set_result(True)
953 self.done.set_result(None)
981 self.done.set_result(None)
1034 fut.set_result([addr])
1288 f.set_result([(socket.AF_INET, socket.SOCK_STREAM,
1308 waiter.set_result(None)
Dtest_events.py104 self.connected.set_result(None)
118 self.done.set_result(None)
152 self.done.set_result(None)
184 self.done.set_result(None)
205 self.done.set_result(None)
225 self.connected.set_result(None)
230 self.completed.set_result(None)
242 self.disconnects[fd].set_result(exc)
1248 proto.set_result(self)
1291 f_proto.set_result(self)
/external/python/cpython3/Lib/asyncio/
Dwindows_events.py82 def set_result(self, result): member in _OverlappedFuture
83 super().set_result(result)
156 def set_result(self, result): member in _BaseWaitHandleFuture
158 super().set_result(result)
174 def set_result(self, result): member in _WaitCancelFuture
175 super().set_result(result)
426 fut.set_result(value)
633 f.set_result(value)
707 f.set_result(value)
Dlocks.py198 fut.set_result(True)
242 fut.set_result(True)
376 fut.set_result(False)
424 waiter.set_result(None)
Dtasks.py183 self.set_result(exc.value)
312 waiter.set_result(None)
384 waiter.set_result(None)
583 outer.set_result([])
632 outer.set_result(results)
686 outer.set_result(inner.result())
Dfutures.py292 def set_result(self, result): member in Future
347 fut.set_result(result)
362 concurrent.set_result(result)
382 dest.set_result(result)
Dselector_events.py388 fut.set_result(data)
407 fut.set_result(None)
427 fut.set_result(None)
468 fut.set_result(None)
488 fut.set_result(None)
520 fut.set_result((conn, address))
861 self._waiter.set_result(None)
Dstreams.py183 waiter.set_result(None)
197 waiter.set_result(None)
393 waiter.set_result(None)
Dbase_subprocess.py197 waiter.set_result(None)
229 waiter.set_result(returncode)
Dqueues.py74 waiter.set_result(None)
/external/autotest/client/site_tests/firmware_TouchMTB/
Dfirmware_window.py153 def set_result(self, text, color='black'): member in ResultFrame
440 def set_result(self, text): member in FirmwareWindow
442 self.result_frame.set_result(text)
Dfirmware_utils.py253 self.win.set_result(msg)
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py543 f.set_result(5)
585 f.set_result(5)
597 f.set_result(5)
707 f1.set_result(42)
/external/python/futures/
Dtest_futures.py545 f.set_result(5)
592 f.set_result(5)
605 f.set_result(5)
712 f1.set_result(42)
/external/python/cpython3/Lib/concurrent/futures/
Dthread.py59 self.future.set_result(result)
Dprocess.py313 work_item.future.set_result(result_item.result)
/external/python/futures/concurrent/futures/
Dthread.py68 self.future.set_result(result)
Dprocess.py216 work_item.future.set_result(result_item.result)
/external/python/cpython3/Doc/library/
Dasyncio-dev.rst62 Don't call :meth:`~Future.set_result` or :meth:`~Future.set_exception` method
67 fut.set_result('done')
69 Don't schedule directly a call to the :meth:`~Future.set_result` or the
/external/python/futures/docs/
Dindex.rst286 :meth:`Future.set_result` or :meth:`Future.set_exception` have been
289 .. method:: Future.set_result(result)

123