Home
last modified time | relevance | path

Searched refs:set_result (Results 1 – 25 of 55) 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/libchrome/ipc/
Dipc_perftest_util.cc83 auto set_result = sched_setaffinity(0, sizeof(cpuset), &cpuset); in LockThreadAffinity()
85 affinity_set_ok_ = (set_result == 0) && (get_result == 0); in LockThreadAffinity()
95 auto set_result = SetThreadAffinityMask(GetCurrentThread(), old_affinity_); in ~LockThreadAffinity() local
96 DCHECK_NE(0u, set_result); in ~LockThreadAffinity()
98 auto set_result = sched_setaffinity(0, sizeof(old_cpuset_), &old_cpuset_); in ~LockThreadAffinity() local
99 DCHECK_EQ(0, set_result); in ~LockThreadAffinity()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_futures.py66 def set_result(self, result): member in DuckFuture
164 fut.set_result(None)
211 self.assertRaises(asyncio.InvalidStateError, f.set_result, None)
219 f.set_result(42)
224 self.assertRaises(asyncio.InvalidStateError, f.set_result, None)
242 self.assertRaises(asyncio.InvalidStateError, f.set_result, None)
264 f.set_result(42)
288 f_result.set_result(4)
342 f.set_result(10)
399 fut.set_result(42)
[all …]
Dtest_sslproto.py250 self.on_data.set_result(data)
253 self.on_eof.set_result(True)
313 self.on_data.set_result(data)
316 self.on_eof.set_result(True)
383 self.on_data.set_result(bytes(self.buf[:nsize]))
396 self.on_data.set_result(data)
399 self.on_eof.set_result(True)
448 server_waits_on_handshake.set_result, None)
467 self.on_data.set_result(data)
470 self.on_eof.set_result(True)
[all …]
Dtest_tasks.py175 f_orig.set_result('ko')
426 fut.set_result(None)
556 fut1.set_result(None)
582 fut1.set_result(None)
589 fut3.set_result(42)
722 fut.set_result('done')
860 loop.call_later(0.1, fut.set_result, "ok")
1479 task.set_result('ok')
1523 fut.set_result(res)
1636 fut.set_result('test')
[all …]
Dtest_proactor_events.py66 res.set_result(b'data')
76 res.set_result(b'')
186 fut.set_result(b'data')
195 fut.set_result(1)
264 fut.set_result(1)
313 f.set_result(4)
337 f.set_result(4)
356 f.set_result(msg)
416 fut.set_result(None)
467 fut.set_result(None)
[all …]
Dtest_buffered_proto.py25 self.con_lost_fut.set_result(None)
Dtest_sendfile.py42 self.connected.set_result(None)
52 self.done.set_result(None)
81 self.fut.set_result(None)
487 fut.set_result(None)
/external/linux-kselftest/tools/testing/selftests/tc-testing/plugin-lib/
DvalgrindPlugin.py44 res.set_result(ResultState.skip)
108 res.set_result(ResultState.skip)
147 res.set_result(ResultState.fail)
151 res.set_result(ResultState.success)
/external/linux-kselftest/tools/testing/selftests/tc-testing/
Dtdc.py262 res.set_result(ResultState.skip)
289 res.set_result(ResultState.fail)
301 res.set_result(ResultState.fail)
304 res.set_result(ResultState.success)
306 res.set_result(ResultState.fail)
309 res.set_result(ResultState.success)
365 res.set_result(ResultState.skip)
379 res.set_result(ResultState.skip)
406 res.set_result(ResultState.skip)
/external/python/cpython3/Lib/asyncio/
Dwindows_events.py86 def set_result(self, result): member in _OverlappedFuture
87 super().set_result(result)
160 def set_result(self, result): member in _BaseWaitHandleFuture
162 super().set_result(result)
178 def set_result(self, result): member in _WaitCancelFuture
179 super().set_result(result)
437 fut.set_result(value)
578 fut.set_result(None)
738 f.set_result(value)
813 f.set_result(value)
Dfutures.py227 def set_result(self, result): member in Future
288 fut.set_result(result)
315 concurrent.set_result(result)
335 dest.set_result(result)
Dlocks.py244 fut.set_result(True)
288 fut.set_result(True)
426 fut.set_result(False)
476 waiter.set_result(None)
Dtasks.py190 def set_result(self, result): member in Task
289 super().set_result(exc.value)
431 waiter.set_result(None)
517 waiter.set_result(None)
748 outer.set_result([])
798 outer.set_result(results)
881 outer.set_result(inner.result())
Dstreams.py170 waiter.set_result(None)
184 waiter.set_result(None)
275 self._closed.set_result(None)
328 self._complete_fut.set_result(None)
452 waiter.set_result(None)
Dselector_events.py387 fut.set_result(data)
424 fut.set_result(nbytes)
474 fut.set_result(None)
513 fut.set_result(None)
535 fut.set_result(None)
568 fut.set_result((conn, address))
951 self._empty_waiter.set_result(None)
978 self._empty_waiter.set_result(None)
Dbase_subprocess.py192 waiter.set_result(None)
223 waiter.set_result(returncode)
D__main__.py46 future.set_result(coro)
/external/python/pyopenssl/src/OpenSSL/
Dcrypto.py161 set_result = _lib.ASN1_TIME_set_string(boundary, when)
162 if set_result == 0:
927 set_result = _lib.X509_REQ_set_pubkey(self._req, pkey._pkey)
928 _openssl_assert(set_result == 1)
952 set_result = _lib.X509_REQ_set_version(self._req, version)
953 _openssl_assert(set_result == 1)
1182 set_result = _lib.X509_set_pubkey(self._x509, pkey._pkey)
1183 _openssl_assert(set_result == 1)
1290 set_result = _lib.ASN1_INTEGER_set(
1292 if set_result:
[all …]
/external/python/cpython3/Lib/unittest/
Dasync_case.py94 fut.set_result(None)
104 fut.set_result(ret)
/external/python/cpython3/Doc/library/
Dasyncio-future.rst98 :meth:`set_result` method, the result value is returned.
109 .. method:: set_result(result)
128 or an exception set with :meth:`set_result` or
139 fut.set_result(42)
212 fut.set_result(value)
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py640 futures_list[0].set_result("test")
647 futures_list[0].set_result("test")
1039 f.set_result(5)
1081 f.set_result(5)
1093 f.set_result(5)
1128 f.set_result(5)
1219 f1.set_result(42)
1273 f.set_result(1)
1280 f.set_result(2)
/external/igt-gpu-tools/runner/
Dresultgen.c269 static void set_result(struct json_object *obj, const char *result) in set_result() function
458 set_result(current_test, resulttext); in fill_from_output()
823 set_result(obj, "timeout"); in fill_from_journal()
860 set_result(obj, result); in fill_from_journal()
882 set_result(obj, "warn"); in override_result_single()
888 set_result(obj, "dmesg-warn"); in override_result_single()
890 set_result(obj, "dmesg-fail"); in override_result_single()
/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)
/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)

123