HomeSort by relevance Sort by last modified time
    Searched defs:promise (Results 1 - 12 of 12) sorted by null

  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
ScriptPromise.cpp 49 v8::Handle<v8::Object> promise = V8PromiseCustom::createPromise(creationContext, isolate); local
50 return ScriptPromise(promise, isolate);
57 v8::Handle<v8::Object> promise = V8PromiseCustom::createPromise(v8::Object::New(), isolate); local
58 return ScriptPromise(promise, isolate);
ScriptPromiseResolver.h 49 // ScriptPromiseResolver is a class for performing operations on Promise
54 // 2. Pass the promise object of the holder to a JavaScript program
79 // Return true if the promise object is in pending state.
82 ScriptPromise promise() function in class:WebCore::ScriptPromiseResolver
ScriptPromiseResolverTest.cpp 74 return V8PromiseCustom::getState(V8PromiseCustom::getInternal(promise()));
79 return V8PromiseCustom::getInternal(promise())->GetInternalField(V8PromiseCustom::InternalResultIndex);
82 v8::Local<v8::Object> promise() function in class:WebCore::__anon10598::ScriptPromiseResolverTest
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
future.cpp 35 return string("The associated promise has been destructed prior "
39 "the promise or packaged_task.");
41 return string("The state of the promise has already been set.");
201 promise<void>::promise() function in class:promise
206 promise<void>::~promise()
219 promise<void>::get_future()
229 promise<void>::set_value()
239 promise<void>::set_exception(exception_ptr __p
    [all...]
  /external/clang/test/PCH/
cxx-friends.h 12 template<typename> class promise { class in namespace:PR12585
  /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
NavigatorServiceWorker.cpp 101 ScriptPromise promise = ScriptPromise::createPending(executionContext); local
102 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(promise, executionContext);
107 return promise;
115 return promise;
121 return promise;
125 return promise;
136 ScriptPromise promise = ScriptPromise::createPending(executionContext); local
137 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(promise, executionContext);
142 return promise;
151 return promise;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
SubtleCrypto.cpp 48 // v8::Context before trying to fulfill the promise, and enable test.
81 ScriptPromise promise = ScriptPromise::createPending(); local
82 RefPtr<CryptoResultImpl> result = CryptoResultImpl::create(promise);
105 return promise;
150 ScriptPromise promise = ScriptPromise::createPending();
151 RefPtr<CryptoResultImpl> result = CryptoResultImpl::create(promise);
153 return promise;
178 ScriptPromise promise = ScriptPromise::createPending(); local
179 RefPtr<CryptoResultImpl> result = CryptoResultImpl::create(promise);
181 return promise;
200 ScriptPromise promise = ScriptPromise::createPending(); local
275 ScriptPromise promise = ScriptPromise::createPending(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/imagebitmap/
ImageBitmapFactories.cpp 68 ScriptPromise promise = ScriptPromise::createPending(context); local
69 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(promise, context);
71 return promise;
199 ScriptPromise promise = ScriptPromise::createPending(eventTarget->executionContext()); local
200 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(promise, eventTarget->executionContext());
204 return promise;
217 ScriptPromise promise = ScriptPromise::createPending(eventTarget->executionContext()); local
218 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(promise, eventTarget->executionContext());
222 return promise;
  /external/chromium_org/third_party/WebKit/Source/core/css/
FontFace.cpp 63 static PassOwnPtr<FontFaceReadyPromiseResolver> create(ScriptPromise promise, ExecutionContext* context)
65 return adoptPtr(new FontFaceReadyPromiseResolver(promise, context));
84 FontFaceReadyPromiseResolver(ScriptPromise promise, ExecutionContext* context)
86 , m_resolver(ScriptPromiseResolver::create(promise, context))
370 ScriptPromise promise = ScriptPromise::createPending(context); local
371 OwnPtr<FontFaceReadyPromiseResolver> resolver = FontFaceReadyPromiseResolver::create(promise, context);
376 return promise;
FontFaceSet.cpp 53 static PassRefPtr<LoadFontPromiseResolver> create(const FontFamily& family, ScriptPromise promise, ExecutionContext* context)
58 return adoptRef<LoadFontPromiseResolver>(new LoadFontPromiseResolver(numFamilies, promise, context));
67 LoadFontPromiseResolver(int numLoading, ScriptPromise promise, ExecutionContext* context)
71 , m_resolver(ScriptPromiseResolver::create(promise, context))
111 static PassOwnPtr<FontsReadyPromiseResolver> create(ScriptPromise promise, ExecutionContext* context)
113 return adoptPtr(new FontsReadyPromiseResolver(promise, context));
123 FontsReadyPromiseResolver(ScriptPromise promise, ExecutionContext* context)
125 , m_resolver(ScriptPromiseResolver::create(promise, context))
253 ScriptPromise promise = ScriptPromise::createPending(executionContext()); local
254 OwnPtr<FontsReadyPromiseResolver> resolver = FontsReadyPromiseResolver::create(promise, executionContext())
329 ScriptPromise promise = ScriptPromise::createPending(executionContext()); local
    [all...]
  /external/chromium_org/content/browser/devtools/
devtools_protocol.cc 88 scoped_refptr<DevToolsProtocol::Response> promise = local
90 promise->is_async_promise_ = true;
91 return promise;
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8PromiseCustom.cpp 98 v8::Local<v8::Object> promise = info.Data().As<v8::Object>(); local
103 V8PromiseCustom::resolve(promise, result, info.GetIsolate());
109 v8::Local<v8::Object> promise = info.Data().As<v8::Object>(); local
114 V8PromiseCustom::reject(promise, result, info.GetIsolate());
126 v8::Local<v8::Object> promise = environment->GetInternalField(V8PromiseCustom::PromiseAllEnvironmentPromiseIndex).As<v8::Object>(); local
136 V8PromiseCustom::resolve(promise, results, isolate);
142 v8::Local<v8::Object> promiseAllEnvironment(v8::Handle<v8::Object> promise, v8::Handle<v8::Object> countdownWrapper, int index, v8::Handle<v8::Array> results, v8::Isolate* isolate)
147 environment->SetInternalField(V8PromiseCustom::PromiseAllEnvironmentPromiseIndex, promise);
164 // |internal| must be a Promise internal object.
165 // |derivedPromise| must be a Promise instance
342 v8::Local<v8::Object> promise(v8::Isolate* isolate) const { return m_promise.newLocal(isolate); } function in class:WebCore::__anon10602::PromisePropagator::Derived
472 v8::Local<v8::Object> promise = V8PromiseCustom::createPromise(info.Holder(), isolate); local
529 v8::Local<v8::Object> promise = V8PromiseCustom::createPromise(info.Holder(), isolate); local
541 v8::Local<v8::Object> promise = V8PromiseCustom::createPromise(info.Holder(), isolate); local
549 v8::Local<v8::Object> promise = V8PromiseCustom::createPromise(info.Holder(), isolate); local
573 v8::Local<v8::Object> promise = V8PromiseCustom::createPromise(info.Holder(), isolate); local
613 v8::Local<v8::Object> promise = V8DOMWrapper::createWrapper(creationContext, &V8Promise::wrapperTypeInfo, 0, isolate); local
682 addToDerived(getInternal(valuePromiseFollowing), promise, v8::Handle<v8::Function>(), v8::Handle<v8::Function>(), isolate); local
774 v8::Local<v8::Object> promise = createPromise(v8::Handle<v8::Object>(), isolate); local
783 thenable->SetHiddenValue(V8HiddenPropertyName::thenableHiddenPromise(isolate), promise); local
    [all...]

Completed in 317 milliseconds