Home
last modified time | relevance | path

Searched defs:promise (Results 1 – 25 of 76) sorted by relevance

1234

/external/chromium_org/content/renderer/media/crypto/
Dproxy_media_keys.cc59 scoped_ptr<media::SimpleCdmPromise> promise) { in SetServerCertificate()
68 scoped_ptr<media::NewSessionCdmPromise> promise) { in CreateSession()
97 scoped_ptr<media::NewSessionCdmPromise> promise) { in LoadSession()
108 scoped_ptr<media::SimpleCdmPromise> promise) { in UpdateSession()
123 scoped_ptr<media::SimpleCdmPromise> promise) { in CloseSession()
136 scoped_ptr<media::SimpleCdmPromise> promise) { in RemoveSession()
141 scoped_ptr<media::KeyIdsPromise> promise) { in GetUsableKeyIds()
148 scoped_ptr<media::CdmPromise> promise = TakePromise(session_id); in OnSessionCreated() local
164 scoped_ptr<media::CdmPromise> promise = TakePromise(session_id); in OnSessionReady() local
179 scoped_ptr<media::CdmPromise> promise = TakePromise(session_id); in OnSessionClosed() local
[all …]
Dppapi_decryptor.cc164 scoped_ptr<media::SimpleCdmPromise> promise) { in SetServerCertificate()
182 scoped_ptr<media::NewSessionCdmPromise> promise) { in CreateSession()
200 scoped_ptr<media::NewSessionCdmPromise> promise) { in LoadSession()
225 scoped_ptr<media::SimpleCdmPromise> promise) { in UpdateSession()
247 scoped_ptr<media::SimpleCdmPromise> promise) { in CloseSession()
260 scoped_ptr<media::SimpleCdmPromise> promise) { in RemoveSession()
272 scoped_ptr<media::KeyIdsPromise> promise) { in GetUsableKeyIds()
Dproxy_decryptor.cc114 scoped_ptr<media::NewSessionCdmPromise> promise( in GenerateKeyRequest() local
177 scoped_ptr<media::SimpleCdmPromise> promise( in AddKey() local
214 scoped_ptr<media::SimpleCdmPromise> promise( in CancelKeyRequest() local
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DScriptPromiseTest.cpp101 ScriptPromise promise(scriptState(), v8::Undefined(isolate())); in TEST_F() local
109 ScriptPromise promise = resolver.promise(); in TEST_F() local
132 ScriptPromise promise = resolver.promise(); in TEST_F() local
150 ScriptPromise promise = resolver.promise(); in TEST_F() local
173 ScriptPromise promise = resolver.promise(); in TEST_F() local
190 ScriptPromise promise = Resolver(scriptState()).promise(); in TEST_F() local
232 ScriptPromise promise = ScriptPromise::reject(scriptState(), ScriptValue(value)); in TEST_F() local
250 …ScriptPromise promise = ScriptPromise::rejectWithDOMException(scriptState(), DOMException::create(… in TEST_F() local
DScriptPromise.cpp66 ScriptPromise ScriptPromise::InternalResolver::promise() const in promise() function in blink::ScriptPromise::InternalResolver
108 v8::Local<v8::Object> promise = m_promise.v8Value().As<v8::Object>(); in then() local
142 ScriptPromise promise = resolver.promise(); in cast() local
157 ScriptPromise promise = resolver.promise(); in reject() local
173 v8::Local<v8::Promise> promise = resolver->GetPromise(); in rejectRaw() local
DScriptPromiseResolverTest.cpp84 ScriptPromise promise; in TEST_F() local
132 ScriptPromise promise; in TEST_F() local
180 ScriptPromise promise; in TEST_F() local
273 ScriptPromise promise; in TEST_F() local
297 ScriptPromise promise; in TEST_F() local
/external/chromium_org/content/renderer/media/
Dcdm_session_adapter.cc64 scoped_ptr<media::SimpleCdmPromise> promise) { in SetServerCertificate()
94 scoped_ptr<media::NewSessionCdmPromise> promise) { in InitializeNewSession()
106 scoped_ptr<media::SimpleCdmPromise> promise) { in UpdateSession()
113 scoped_ptr<media::SimpleCdmPromise> promise) { in CloseSession()
119 scoped_ptr<media::SimpleCdmPromise> promise) { in RemoveSession()
125 scoped_ptr<media::KeyIdsPromise> promise) { in GetUsableKeyIds()
/external/chromium_org/third_party/WebKit/Source/modules/geofencing/
DGeofencing.cpp60 ScriptPromise promise = resolver->promise(); in registerRegion() local
73 ScriptPromise promise = resolver->promise(); in unregisterRegion() local
86 ScriptPromise promise = resolver->promise(); in getRegisteredRegions() local
/external/chromium_org/third_party/WebKit/Source/modules/credentialmanager/
DCredentialsContainer.cpp116 ScriptPromise promise = resolver->promise(); in request() local
128 ScriptPromise promise = resolver->promise(); in notifySignedIn() local
139 ScriptPromise promise = resolver->promise(); in notifyFailedSignIn() local
150 ScriptPromise promise = resolver->promise(); in notifySignedOut() local
/external/chromium_org/v8/src/
Dpromise.js57 function PromiseSet(promise, status, value, onResolve, onReject) { argument
63 %DebugPromiseEvent({ promise: promise, status: status, value: value }); property
68 function PromiseInit(promise) { argument
73 function PromiseDone(promise, status, value, promiseQueue) { argument
156 PromiseResolve = function PromiseResolve(promise, x) { argument
160 PromiseReject = function PromiseReject(promise, r) { argument
236 %DebugPromiseEvent({ promise: deferred.promise, parentPromise: this }); property
328 function PromiseHasRejectHandlerRecursive(promise) { argument
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DCacheStorage.cpp154 const ScriptPromise promise = resolver->promise(); in get() local
173 const ScriptPromise promise = resolver->promise(); in has() local
191 const ScriptPromise promise = resolver->promise(); in createFunction() local
204 const ScriptPromise promise = resolver->promise(); in deleteFunction() local
217 const ScriptPromise promise = resolver->promise(); in keys() local
DCache.cpp277 const ScriptPromise promise = resolver->promise(); in matchImpl() local
288 const ScriptPromise promise = resolver->promise(); in matchAllImpl() local
328 const ScriptPromise promise = resolver->promise(); in deleteImpl() local
341 const ScriptPromise promise = resolver->promise(); in putImpl() local
349 const ScriptPromise promise = resolver->promise(); in keysImpl() local
360 const ScriptPromise promise = resolver->promise(); in keysImpl() local
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DPromiseTracker.cpp23 …a> create(ScriptState* scriptState, int promiseHash, int promiseId, v8::Handle<v8::Object> promise) in create()
29 ScopedPersistent<v8::Object>& promise() { return m_promise; } in promise() function in blink::FINAL
52 …omiseData(ScriptState* scriptState, int promiseHash, int promiseId, v8::Handle<v8::Object> promise) in PromiseData()
78 …int indexOf(PromiseTracker::PromiseDataVector* vector, const ScopedPersistent<v8::Object>& promise) in indexOf()
195 …PromiseTracker::createPromiseDataIfNeeded(ScriptState* scriptState, v8::Handle<v8::Object> promise) in createPromiseDataIfNeeded()
225 …eTracker::didReceiveV8PromiseEvent(ScriptState* scriptState, v8::Handle<v8::Object> promise, v8::H… in didReceiveV8PromiseEvent()
/external/chromium_org/v8/test/webkit/fast/js/
DPromise-init.js31 var promise = new Promise(function(newResolve, newReject) { variable
47 promise = new Promise(function() { throw Error('foo'); }); variable
DPromise-static-resolve.js31 var promise = Promise.resolve(new Promise(function (r) { resolve = r;} )); variable
DPromise-resolve-with-itself.js31 var promise = new Promise(function(r) { resolve = r; }); variable
DPromise-onFulfilled-deep.js30 var promise = new Promise(function (r) { resolve = r; }); variable
/external/chromium_org/third_party/WebKit/Source/core/streams/
DReadableStreamTest.cpp216 ScriptPromise promise = stream->wait(scriptState()); in TEST_F() local
321 ScriptPromise promise = stream->wait(scriptState()); in TEST_F() local
455 ScriptPromise promise = stream->wait(scriptState()); in TEST_F() local
490 ScriptPromise promise = stream->wait(scriptState()); in TEST_F() local
520 ScriptPromise promise = stream->wait(scriptState()); in TEST_F() local
566 ScriptPromise promise = stream->cancel(scriptState(), ScriptValue()); in TEST_F() local
585 ScriptPromise promise = stream->cancel(scriptState(), ScriptValue()); in TEST_F() local
602 …ScriptPromise promise = ScriptPromise::cast(scriptState(), v8String(scriptState()->isolate(), "hel… in TEST_F() local
630 …ScriptPromise promise = ScriptPromise::cast(scriptState(), v8String(scriptState()->isolate(), "hel… in TEST_F() local
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
DSubtleCrypto.cpp93 ScriptPromise promise = result->promise(); in startCryptoOperation() local
224 ScriptPromise promise = result->promise(); in generateKey() local
244 ScriptPromise promise = result->promise(); in importKey() local
276 ScriptPromise promise = result->promise(); in importKey() local
309 ScriptPromise promise = result->promise(); in exportKey() local
333 ScriptPromise promise = result->promise(); in wrapKey() local
367 ScriptPromise promise = result->promise(); in unwrapKey() local
/external/chromium_org/media/cdm/
Daes_decryptor.cc243 scoped_ptr<SimpleCdmPromise> promise) { in SetServerCertificate()
252 scoped_ptr<NewSessionCdmPromise> promise) { in CreateSession()
270 scoped_ptr<NewSessionCdmPromise> promise) { in LoadSession()
279 scoped_ptr<SimpleCdmPromise> promise) { in UpdateSession()
338 scoped_ptr<SimpleCdmPromise> promise) { in CloseSession()
352 scoped_ptr<SimpleCdmPromise> promise) { in RemoveSession()
371 scoped_ptr<KeyIdsPromise> promise) { in GetUsableKeyIds()
/external/chromium_org/content/renderer/pepper/
Dcontent_decryptor_delegate.cc357 scoped_ptr<media::SimpleCdmPromise> promise) { in SetServerCertificate()
379 scoped_ptr<NewSessionCdmPromise> promise) { in CreateSession()
394 scoped_ptr<NewSessionCdmPromise> promise) { in LoadSession()
404 scoped_ptr<SimpleCdmPromise> promise) { in UpdateSession()
418 scoped_ptr<SimpleCdmPromise> promise) { in CloseSession()
432 scoped_ptr<SimpleCdmPromise> promise) { in RemoveSession()
446 scoped_ptr<media::KeyIdsPromise> promise) { in GetUsableKeyIds()
702 scoped_ptr<CdmPromise> promise = TakePromise(promise_id); in OnPromiseResolved() local
717 scoped_ptr<CdmPromise> promise = TakePromise(promise_id); in OnPromiseResolvedWithSession() local
735 scoped_ptr<CdmPromise> promise = TakePromise(promise_id); in OnPromiseResolvedWithKeyIds() local
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/quota/
DStorageQuota.cpp88 ScriptPromise promise = resolver->promise(); in queryInfo() local
107 ScriptPromise promise = resolver->promise(); in requestPersistentQuota() local
/external/chromium_org/v8/test/mjsunit/es6/debug-promises/
Devents.js13 function updatePromise(promise, parentPromise, status, value) { argument
34 result.push({ promise: event_data.promise().value(), status: 0 }); property
/external/chromium_org/media/cdm/ppapi/external_clear_key/
Dclear_key_cdm.cc250 scoped_ptr<media::NewSessionCdmPromise> promise( in CreateSession() local
287 scoped_ptr<media::NewSessionCdmPromise> promise( in LoadSession() local
309 scoped_ptr<media::SimpleCdmPromise> promise(new media::SimpleCdmPromise( in UpdateSession() local
331 scoped_ptr<media::SimpleCdmPromise> promise(new media::SimpleCdmPromise( in CloseSession() local
350 scoped_ptr<media::SimpleCdmPromise> promise( in RemoveSession() local
381 scoped_ptr<media::KeyIdsPromise> promise(new media::KeyIdsPromise( in GetUsableKeyIds() local
663 scoped_ptr<media::SimpleCdmPromise> promise(new media::SimpleCdmPromise( in LoadLoadableSession() local
/external/chromium_org/third_party/WebKit/Source/modules/push_messaging/
DPushManager.cpp47 ScriptPromise promise = resolver->promise(); in registerPushMessaging() local

1234