HomeSort by relevance Sort by last modified time
    Searched refs:promise (Results 1 - 25 of 184) sorted by null

1 2 3 4 5 6 7 8

  /external/libcxx/test/std/thread/futures/futures.promise/
uses_allocator.pass.cpp 14 // class promise<R>
17 // struct uses_allocator<promise<R>, Alloc>
25 static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), "");
26 static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), "");
27 static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
default.pass.cpp 14 // class promise<R>
16 // promise();
24 std::promise<int> p;
29 std::promise<int&> p;
34 std::promise<void> p;
set_lvalue_at_thread_exit.pass.cpp 14 // class promise<R>
16 // void promise<R&>::set_value_at_thread_exit(R& r);
24 void func(std::promise<int&> p)
33 std::promise<int&> p;
set_value_at_thread_exit_const.pass.cpp 14 // class promise<R>
16 // void promise::set_value_at_thread_exit(const R& r);
21 void func(std::promise<int> p)
30 std::promise<int> p;
set_value_at_thread_exit_void.pass.cpp 14 // class promise<R>
16 // void promise<void>::set_value_at_thread_exit();
24 void func(std::promise<void> p)
33 std::promise<void> p;
alloc_ctor.pass.cpp 14 // class promise<R>
17 // promise(allocator_arg_t, const Allocator& a);
29 std::promise<int> p(std::allocator_arg, test_allocator<int>());
37 std::promise<int&> p(std::allocator_arg, test_allocator<int>());
45 std::promise<void> p(std::allocator_arg, test_allocator<void>());
54 std::promise<int> p(std::allocator_arg, bare_allocator<void>());
59 std::promise<int&> p(std::allocator_arg, bare_allocator<void>());
64 std::promise<void> p(std::allocator_arg, bare_allocator<void>());
70 std::promise<int> p(std::allocator_arg, min_allocator<void>());
75 std::promise<int&> p(std::allocator_arg, min_allocator<void>())
    [all...]
get_future.pass.cpp 14 // class promise<R>
24 std::promise<double> p;
30 std::promise<double> p;
43 std::promise<double> p;
44 std::promise<double> p0 = std::move(p);
set_exception_at_thread_exit.pass.cpp 14 // class promise<R>
16 // void promise::set_exception_at_thread_exit(exception_ptr p);
21 void func(std::promise<int> p)
31 std::promise<T> p;
set_rvalue_at_thread_exit.pass.cpp 14 // class promise<R>
16 // void promise::set_value_at_thread_exit(R&& r);
24 void func(std::promise<std::unique_ptr<int>> p)
35 std::promise<std::unique_ptr<int>> p;
copy_assign.fail.cpp 12 // class promise<R>
14 // promise& operator=(const promise& rhs) = delete;
25 std::promise<int> p0(std::allocator_arg, test_allocator<int>());
26 std::promise<int> p(std::allocator_arg, test_allocator<int>());
46 std::promise<int&> p0(std::allocator_arg, test_allocator<int>());
47 std::promise<int&> p(std::allocator_arg, test_allocator<int>());
67 std::promise<void> p0(std::allocator_arg, test_allocator<void>());
68 std::promise<void> p(std::allocator_arg, test_allocator<void>());
copy_ctor.fail.cpp 12 // class promise<R>
14 // promise(const promise&) = delete;
25 std::promise<int> p0(std::allocator_arg, test_allocator<int>());
26 std::promise<int> p(p0);
44 std::promise<int&> p0(std::allocator_arg, test_allocator<int>());
45 std::promise<int&> p(p0);
63 std::promise<void> p0(std::allocator_arg, test_allocator<void>());
64 std::promise<void> p(p0);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/
uses_allocator.pass.cpp 12 // class promise<R>
15 // struct uses_allocator<promise<R>, Alloc>
23 static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), "");
24 static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), "");
25 static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
default.pass.cpp 12 // class promise<R>
14 // promise();
22 std::promise<int> p;
27 std::promise<int&> p;
32 std::promise<void> p;
set_lvalue_at_thread_exit.pass.cpp 12 // class promise<R>
14 // void promise<R&>::set_value_at_thread_exit(R& r);
22 void func(std::promise<int&> p)
31 std::promise<int&> p;
set_value_at_thread_exit_const.pass.cpp 12 // class promise<R>
14 // void promise::set_value_at_thread_exit(const R& r);
19 void func(std::promise<int> p)
28 std::promise<int> p;
set_value_at_thread_exit_void.pass.cpp 12 // class promise<R>
14 // void promise<void>::set_value_at_thread_exit();
22 void func(std::promise<void> p)
31 std::promise<void> p;
get_future.pass.cpp 12 // class promise<R>
22 std::promise<double> p;
28 std::promise<double> p;
41 std::promise<double> p;
42 std::promise<double> p0 = std::move(p);
set_exception_at_thread_exit.pass.cpp 12 // class promise<R>
14 // void promise::set_exception_at_thread_exit(exception_ptr p);
19 void func(std::promise<int> p)
29 std::promise<T> p;
set_rvalue_at_thread_exit.pass.cpp 12 // class promise<R>
14 // void promise::set_value_at_thread_exit(R&& r);
22 void func(std::promise<std::unique_ptr<int>> p)
33 std::promise<std::unique_ptr<int>> p;
alloc_ctor.pass.cpp 12 // class promise<R>
15 // promise(allocator_arg_t, const Allocator& a);
26 std::promise<int> p(std::allocator_arg, test_allocator<int>());
34 std::promise<int&> p(std::allocator_arg, test_allocator<int>());
42 std::promise<void> p(std::allocator_arg, test_allocator<void>());
  /external/v8/src/js/
promise.js 48 // CreateResolvingFunctions ( promise )
49 function CreateResolvingFunctions(promise) {
52 // ES#sec-promise-resolve-functions
53 // Promise Resolve Functions
57 ResolvePromise(promise, value);
60 // ES#sec-promise-reject-functions
61 // Promise Reject Functions
65 RejectPromise(promise, reason);
76 // ES#sec-promise-executor
77 // Promise ( executor
87 var promise = PromiseInit(%_NewObject(GlobalPromise, new.target)); variable
    [all...]
  /external/libcxx/test/std/thread/futures/futures.shared_future/
get.pass.cpp 23 void func1(std::promise<int> p)
29 void func2(std::promise<int> p)
37 void func3(std::promise<int&> p)
44 void func4(std::promise<int&> p)
50 void func5(std::promise<void> p)
56 void func6(std::promise<void> p)
67 std::promise<T> p;
75 std::promise<T> p;
94 std::promise<T> p;
102 std::promise<T> p
    [all...]
  /external/libcxx/test/std/thread/futures/futures.unique_future/
get.pass.cpp 23 void func1(std::promise<int> p)
29 void func2(std::promise<int> p)
37 void func3(std::promise<int&> p)
44 void func4(std::promise<int&> p)
50 void func5(std::promise<void> p)
56 void func6(std::promise<void> p)
67 std::promise<T> p;
75 std::promise<T> p;
94 std::promise<T> p;
102 std::promise<T> p
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.shared_future/
get.pass.cpp 21 void func1(std::promise<int> p)
27 void func2(std::promise<int> p)
35 void func3(std::promise<int&> p)
42 void func4(std::promise<int&> p)
48 void func5(std::promise<void> p)
54 void func6(std::promise<void> p)
65 std::promise<T> p;
73 std::promise<T> p;
92 std::promise<T> p;
100 std::promise<T> p
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/
get.pass.cpp 21 void func1(std::promise<int> p)
27 void func2(std::promise<int> p)
35 void func3(std::promise<int&> p)
42 void func4(std::promise<int&> p)
48 void func5(std::promise<void> p)
54 void func6(std::promise<void> p)
65 std::promise<T> p;
73 std::promise<T> p;
92 std::promise<T> p;
100 std::promise<T> p
    [all...]

Completed in 351 milliseconds

1 2 3 4 5 6 7 8