Home
last modified time | relevance | path

Searched refs:promise (Results 1 – 25 of 115) sorted by relevance

12345

/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dfuture58 class promise
61 promise();
63 promise(allocator_arg_t, const Allocator& a);
64 promise(promise&& rhs) noexcept;
65 promise(const promise& rhs) = delete;
66 ~promise();
69 promise& operator=(promise&& rhs) noexcept;
70 promise& operator=(const promise& rhs) = delete;
71 void swap(promise& other) noexcept;
88 class promise<R&>
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dfuture144 class promise;
321 // asynchronous provider (such as a std::promise) and shared with one
490 // check this is only used by promise<R>::set_value(const R&)
491 // or promise<R&>::set_value(R&)
492 static_assert(is_same<_Res, _Arg&>::value // promise<R&>
493 || is_same<const _Res, _Arg>::value, // promise<R>
496 // Used by std::promise to copy construct the result.
497 typename promise<_Res>::_Ptr_type operator()() const
502 promise<_Res>* _M_promise;
510 // Used by std::promise to move construct the result.
[all …]
H A Dcoroutine248 // [coroutine.handle.promise], promise access
249 _Promise& promise() const
266 /// [coroutine.promise.noop]
288 // [coroutine.handle.noop.promise], promise access
289 noop_coroutine_promise& promise() const noexcept
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Dfuture134 class promise;
307 // asynchronous provider (such as a std::promise) and shared with one
476 // check this is only used by promise<R>::set_value(const R&)
477 // or promise<R&>::set_value(R&)
478 static_assert(is_same<_Res, _Arg&>::value // promise<R&>
479 || is_same<const _Res, _Arg>::value, // promise<R>
482 // Used by std::promise to copy construct the result.
483 typename promise<_Res>::_Ptr_type operator()() const
488 promise<_Res>* _M_promise;
496 // Used by std::promise to move construct the result.
[all …]
H A Dcoroutine207 // 17.12.3.5, promise accesss
208 _Promise& promise() const
232 /// [coroutine.promise.noop]
251 // 17.12.4.2.3, promise access
252 _Promise& promise() const
/netbsd-src/external/apache2/llvm/dist/libcxx/src/
H A Dfuture.cpp199 promise<void>::promise() in promise() function in promise
204 promise<void>::~promise() in ~promise()
219 promise<void>::get_future() in get_future()
227 promise<void>::set_value() in set_value()
235 promise<void>::set_exception(exception_ptr __p) in set_exception()
243 promise<void>::set_value_at_thread_exit() in set_value_at_thread_exit()
251 promise<void>::set_exception_at_thread_exit(exception_ptr __p) in set_exception_at_thread_exit()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
H A DTargetProcessControl.h58 std::promise<MSVCPError> ResultP; in writeUInt8s()
65 std::promise<MSVCPError> ResultP; in writeUInt16s()
72 std::promise<MSVCPError> ResultP; in writeUInt32s()
79 std::promise<MSVCPError> ResultP; in writeUInt64s()
86 std::promise<MSVCPError> ResultP; in writeBuffers()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DCoroutines.rst86 can be projected out of the coroutine object with `llvm.coro.promise`.
87 The coroutine implementation must have been compiled to define a promise
595 .. _coroutine promise:
602 **coroutine promise** and is provided as the second parameter to the
605 The following coroutine designates a 32 bit integer `promise` and uses it to
612 %promise = alloca i32
613 %pv = bitcast i32* %promise to i8*
628 store i32 %n.val, i32* %promise
641 A coroutine consumer can rely on the `coro.promise`_ intrinsic to access the
642 coroutine promise.
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DTaskQueue.h43 : C(std::move(C)), P(std::make_shared<std::promise<ResultTy>>()), in Task()
63 std::shared_ptr<std::promise<ResultTy>> P;
/netbsd-src/external/apache2/llvm/dist/libcxx/include/experimental/
H A Dcoroutine213 _Promise& promise() const {
246 "pointers to the coroutine's promise type; use 'from_promise' instead");
271 _Promise& promise() const {
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.h83 std::promise<MSVCPError> FinalizeResultP; in finalize()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DParallel.cpp116 std::promise<void> ThreadsCreated;
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithTargetProcessControl/
H A DLLJITWithTargetProcessControl.cpp105 std::promise<void *> LandingAddressP; in reenter()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dcoroutine-builtins.def39 DEF_COROUTINE_BUILTIN (BUILT_IN_CORO_PROMISE, "promise",
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dcoroutine-builtins.def39 DEF_COROUTINE_BUILTIN (BUILT_IN_CORO_PROMISE, "promise",
/netbsd-src/external/apache2/llvm/dist/libcxx/docs/DesignDocs/
H A DExperimentalFeatures.rst125 | 11.2 | ``promise`` | | n/a …
186 .. | 2.5 | class template ``promise`` | | …
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dcoroutines.cc642 tree promise = get_coroutine_promise_type (fndecl); in lookup_promise_method() local
644 = lookup_member (promise, member_id, in lookup_promise_method()
648 error_at (loc, "no member named %qE in %qT", member_id, promise); in lookup_promise_method()
673 tree promise in coro_build_promise_expression() local
678 expr = build_new_method_call (promise, meth, args, NULL_TREE, in coro_build_promise_expression()
682 expr = build_class_member_access_expr (promise, meth, NULL_TREE, in coro_build_promise_expression()
4153 tree promise = get_coroutine_promise_proxy (orig); in coro_rewrite_function_body() local
4154 DECL_CONTEXT (promise) = orig; in coro_rewrite_function_body()
4155 DECL_SOURCE_LOCATION (promise) = fn_start; in coro_rewrite_function_body()
4156 DECL_CHAIN (promise) = var_list; in coro_rewrite_function_body()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/
H A Dexecutor1712 mutable promise<__result> _M_promise;
1800 tuple<promise<_Result>&, _Executor> _M_t;
1846 std::promise<void> _M_promise;
1859 std::promise<void> _M_promise;
1876 std::promise<_UArg0> _M_promise;
1890 std::promise<_UArg1> _M_promise;
1909 std::promise<tuple<_UArgs...>> _M_promise;
1926 std::promise<tuple<_UArgs...>> _M_promise;
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/
H A Dexecutor1746 mutable promise<__result> _M_promise;
1834 tuple<promise<_Result>&, _Executor> _M_t;
1880 std::promise<void> _M_promise;
1893 std::promise<void> _M_promise;
1910 std::promise<_UArg0> _M_promise;
1924 std::promise<_UArg1> _M_promise;
1943 std::promise<tuple<_UArgs...>> _M_promise;
1960 std::promise<tuple<_UArgs...>> _M_promise;
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-20123398 * testsuite/30_threads/promise/cons/1.cc: Likewise.
3399 * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
3400 * testsuite/30_threads/promise/cons/move.cc: Likewise.
3401 * testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
3402 * testsuite/30_threads/promise/members/get_future.cc: Likewise.
3403 * testsuite/30_threads/promise/members/get_future2.cc: Likewise.
3404 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
3405 * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
3406 * testsuite/30_threads/promise/members/set_value.cc: Likewise.
3407 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/doc/include/
H A Dfunding.texi29 for each disk sold.'' Don't be satisfied with a vague promise, such as
/netbsd-src/external/gpl3/gcc/dist/gcc/doc/include/
H A Dfunding.texi29 for each disk sold.'' Don't be satisfied with a vague promise, such as
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DRPCUtils.h224 using ReturnPromiseType = std::promise<MSVCPExpected<RetT>>;
230 using ReturnPromiseType = std::promise<ErrorReturnType>;
258 using ReturnPromiseType = std::promise<MSVCPError>;
264 using ReturnPromiseType = std::promise<ErrorReturnType>;
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DThreadSanitizer.rst132 using pthreads, but we do not promise anything (yet). C++11 threading is
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/
H A DRemoteJITUtils.cpp93 std::promise<MSVCPError> P; in disconnect()

12345