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

1 2 3 4 5 6 7 8 91011

  /external/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;
Android.mk 17 test_makefile := external/libcxx/test/thread/futures/futures.promise/Android.mk
19 test_name := thread/futures/futures.promise/default
23 test_name := thread/futures/futures.promise/set_rvalue_at_thread_exit
27 test_name := thread/futures/futures.promise/move_ctor
31 test_name := thread/futures/futures.promise/set_rvalue
35 test_name := thread/futures/futures.promise/set_lvalue_at_thread_exit
39 test_name := thread/futures/futures.promise/get_future
43 test_name := thread/futures/futures.promise/dtor
47 test_name := thread/futures/futures.promise/set_lvalue
51 test_name := thread/futures/futures.promise/swa
    [all...]
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;
  /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;
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
SubtleCrypto.cpp 93 ScriptPromise promise = result->promise(); local
96 return promise;
101 return promise;
103 return promise;
105 return promise;
109 return promise;
112 return promise;
138 return promise;
224 ScriptPromise promise = result->promise() local
244 ScriptPromise promise = result->promise(); local
276 ScriptPromise promise = result->promise(); local
309 ScriptPromise promise = result->promise(); local
333 ScriptPromise promise = result->promise(); local
367 ScriptPromise promise = result->promise(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
ScriptPromiseTest.cpp 101 ScriptPromise promise(scriptState(), v8::Undefined(isolate()));
103 ASSERT_TRUE(promise.isEmpty());
109 ScriptPromise promise = resolver.promise(); local
111 promise.then(Function::createFunction(scriptState(), &onFulfilled), Function::createFunction(scriptState(), &onRejected));
113 ASSERT_FALSE(promise.isEmpty());
132 ScriptPromise promise = resolver.promise(); local
135 promise.then(Function::createFunction(scriptState(), &onFulfilled), Function::createFunction(scriptState(), &onRejected));
137 ASSERT_FALSE(promise.isEmpty())
150 ScriptPromise promise = resolver.promise(); local
173 ScriptPromise promise = resolver.promise(); local
190 ScriptPromise promise = Resolver(scriptState()).promise(); local
232 ScriptPromise promise = ScriptPromise::reject(scriptState(), ScriptValue(value)); local
250 ScriptPromise promise = ScriptPromise::rejectWithDOMException(scriptState(), DOMException::create(SyntaxError, "some syntax error")); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/geofencing/
Geofencing.cpp 60 ScriptPromise promise = resolver->promise(); local
63 return promise;
73 ScriptPromise promise = resolver->promise(); local
76 return promise;
86 ScriptPromise promise = resolver->promise(); local
89 return promise;
  /external/chromium_org/third_party/WebKit/Source/modules/credentialmanager/
CredentialsContainer.cpp 116 ScriptPromise promise = resolver->promise(); local
118 return promise;
122 return promise;
128 ScriptPromise promise = resolver->promise(); local
130 return promise;
133 return promise;
139 ScriptPromise promise = resolver->promise(); local
150 ScriptPromise promise = resolver->promise(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
promisesPanel.css 15 .promise-tracker-controls {
  /external/chromium_org/content/renderer/media/crypto/
proxy_media_keys.cc 59 scoped_ptr<media::SimpleCdmPromise> promise) {
60 promise->reject(NOT_SUPPORTED_ERROR, 0, "Not yet implemented.");
68 scoped_ptr<media::NewSessionCdmPromise> promise) {
79 promise->reject(
87 SavePromise(session_id, promise.PassAs<media::CdmPromise>());
97 scoped_ptr<media::NewSessionCdmPromise> promise) {
101 promise->reject(NOT_SUPPORTED_ERROR, 0, "LoadSession() is not supported.");
108 scoped_ptr<media::SimpleCdmPromise> promise) {
111 promise->reject(INVALID_ACCESS_ERROR, 0, "Session does not exist.");
115 SavePromise(session_id, promise.PassAs<media::CdmPromise>())
148 scoped_ptr<media::CdmPromise> promise = TakePromise(session_id); local
164 scoped_ptr<media::CdmPromise> promise = TakePromise(session_id); local
179 scoped_ptr<media::CdmPromise> promise = TakePromise(session_id); local
209 scoped_ptr<media::CdmPromise> promise = TakePromise(session_id); local
    [all...]
  /external/chromium_org/v8/test/mjsunit/es6/debug-promises/
events.js 13 function updatePromise(promise, parentPromise, status, value) {
16 if (result[i].promise === promise) {
30 assertTrue(event_data.promise().isPromise());
32 // New promise.
33 assertEquals("pending", event_data.promise().status());
34 result.push({ promise: event_data.promise().value(), status: 0 });
37 // Resolve/reject promise.
38 updatePromise(event_data.promise().value()
    [all...]
  /external/chromium_org/v8/src/
promise.js 28 var promiseStatus = GLOBAL_PRIVATE("Promise#status");
29 var promiseValue = GLOBAL_PRIVATE("Promise#value");
30 var promiseOnResolve = GLOBAL_PRIVATE("Promise#onResolve");
31 var promiseOnReject = GLOBAL_PRIVATE("Promise#onReject");
32 var promiseRaw = GLOBAL_PRIVATE("Promise#raw");
33 var promiseDebug = GLOBAL_PRIVATE("Promise#debug");
38 var $Promise = function Promise(resolver) {
43 var promise = PromiseInit(this);
45 %DebugPushPromise(promise);
    [all...]

Completed in 1288 milliseconds

1 2 3 4 5 6 7 8 91011