Home
last modified time | relevance | path

Searched refs:resolve (Results 1 – 25 of 638) sorted by relevance

12345678910>>...26

/external/v8/test/mjsunit/es6/
Dpromises.js424 deferred.resolve(5)
431 var p2 = Promise.resolve(p1)
432 var p3 = Promise.resolve(p2)
437 deferred.resolve(5)
475 deferred.resolve(5)
500 deferred.resolve(5)
513 deferred.resolve(5)
552 deferred.resolve(p2)
565 deferred.resolve(p2)
604 deferred.resolve(p2)
[all …]
Dmicrotask-delivery.js51 var promise = new Promise(function(resolve) { argument
52 r = resolve;
62 resolve: r,
96 p1.resolve();
97 p2.resolve();
113 p3.resolve();
118 p1.resolve();
120 p2.resolve();
140 p1.resolve();
142 p2.resolve();
[all …]
Dmirror-promises.js56 var resolved = new Promise(function(resolve, reject) { resolve() }); argument
57 var rejected = new Promise(function(resolve, reject) { reject() }); argument
58 var pending = new Promise(function(resolve, reject) {}); argument
64 var resolvedv = new Promise(function(resolve, reject) { resolve('resolve') }); argument
65 var rejectedv = new Promise(function(resolve, reject) { reject('reject') }); argument
66 var thrownv = new Promise(function(resolve, reject) { throw 'throw' }); argument
74 function(resolve, reject) { resolve(1) })); argument
82 var m2 = debug.MakeMirror(new Promise(function(resolve, reject) { reject(2) })); argument
87 var m3 = debug.MakeMirror(new Promise(function(resolve, reject) { })); argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DHttpUrlTest.java43 assertEquals(expected, HttpUrl.parse("http://host/").resolve(" ")); in parseTrimsAsciiWhitespace()
44 assertEquals(expected, HttpUrl.parse("http://host/").resolve(" . ")); in parseTrimsAsciiWhitespace()
116 assertEquals(HttpUrl.parse("http://host2"), base.resolve("//host2")); in resolveNoScheme()
118 assertEquals(HttpUrl.parse("http://host2"), base.resolve("//host2")); in resolveNoScheme()
119 assertEquals(HttpUrl.parse("http://host/path"), base.resolve("/path")); in resolveNoScheme()
120 assertEquals(HttpUrl.parse("http://host/a/path"), base.resolve("path")); in resolveNoScheme()
121 assertEquals(HttpUrl.parse("http://host/a/b?query"), base.resolve("?query")); in resolveNoScheme()
122 assertEquals(HttpUrl.parse("http://host/a/b#fragment"), base.resolve("#fragment")); in resolveNoScheme()
123 assertEquals(HttpUrl.parse("http://host/a/b"), base.resolve("")); in resolveNoScheme()
124 assertEquals(HttpUrl.parse("http://host/path"), base.resolve("\\path")); in resolveNoScheme()
[all …]
/external/v8/test/webkit/fast/js/
DPromise-static-race.js30 var p1 = new Promise(function(resolve) { resolve('p1'); }); argument
31 var p2 = new Promise(function(resolve) { resolve('p2'); }); argument
32 var p3 = new Promise(function(resolve) { resolve('p3'); }); argument
38 var p9 = new Promise(function(resolve) { resolve(p2); }); argument
DPromise-static-all.js30 var p1 = new Promise(function(resolve) { resolve('p1'); }); argument
31 var p2 = new Promise(function(resolve) { resolve('p2'); }); argument
32 var p3 = new Promise(function(resolve) { resolve('p3'); }); argument
38 var p9 = new Promise(function(resolve) { resolve(p2); }); argument
DPromise-static-cast.js31 var resolve; variable
32 var value = new Promise(function (r) { resolve = r;} );
33 var promise = Promise.resolve(value);
42 return Promise.resolve(42).then(function (res) {
54 resolve('hello');
DPromise-static-resolve.js30 var resolve; variable
31 var promise = Promise.resolve(new Promise(function (r) { resolve = r;} ));
42 resolve('hello');
DPromise-init.js29 var resolve, reject; variable
33 resolve = newResolve;
58 new Promise(function(resolve) { argument
59 resolve("hello");
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dbasic_resolver.hpp95 iterator resolve(const query& q) in resolve() function in asio::ip::basic_resolver
98 iterator i = this->service.resolve(this->implementation, q, ec); in resolve()
120 iterator resolve(const query& q, asio::error_code& ec) in resolve() function in asio::ip::basic_resolver
122 return this->service.resolve(this->implementation, q, ec); in resolve()
184 iterator resolve(const endpoint_type& e) in resolve() function in asio::ip::basic_resolver
187 iterator i = this->service.resolve(this->implementation, e, ec); in resolve()
211 iterator resolve(const endpoint_type& e, asio::error_code& ec) in resolve() function in asio::ip::basic_resolver
213 return this->service.resolve(this->implementation, e, ec); in resolve()
/external/v8/src/js/
Dpromise.js42 var resolve = value => { function in anonymousFunctionea0dfb070100.CreateResolvingFunctions
56 resolve: resolve,
75 resolver(callbacks.resolve, callbacks.reject);
122 deferred.resolve(result);
188 %_Call(then, x, callbacks.resolve, callbacks.reject);
229 resolve: callbacks.resolve,
234 var result = {promise: UNDEFINED, resolve: UNDEFINED, reject: UNDEFINED }; property
235 result.promise = new C((resolve, reject) => {
236 if (!IS_UNDEFINED(result.resolve) || !IS_UNDEFINED(result.reject))
238 result.resolve = resolve;
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/assets/
DAssetLoadingTask.java64 …dependencies = asyncLoader.getDependencies(assetDesc.fileName, resolve(loader, assetDesc), assetDe… in call()
70 … asyncLoader.loadAsync(manager, assetDesc.fileName, resolve(loader, assetDesc), assetDesc.params); in call()
74 asyncLoader.loadAsync(manager, assetDesc.fileName, resolve(loader, assetDesc), assetDesc.params); in call()
99 …dependencies = syncLoader.getDependencies(assetDesc.fileName, resolve(loader, assetDesc), assetDes… in handleSyncLoader()
101 …asset = syncLoader.load(manager, assetDesc.fileName, resolve(loader, assetDesc), assetDesc.params); in handleSyncLoader()
107 …asset = syncLoader.load(manager, assetDesc.fileName, resolve(loader, assetDesc), assetDesc.params); in handleSyncLoader()
125 …asset = asyncLoader.loadSync(manager, assetDesc.fileName, resolve(loader, assetDesc), assetDesc.pa… in handleAsyncLoader()
134 …asset = asyncLoader.loadSync(manager, assetDesc.fileName, resolve(loader, assetDesc), assetDesc.pa… in handleAsyncLoader()
141 …asset = asyncLoader.loadSync(manager, assetDesc.fileName, resolve(loader, assetDesc), assetDesc.pa… in handleAsyncLoader()
147 private FileHandle resolve (AssetLoader loader, AssetDescriptor assetDesc) { in resolve() method in AssetLoadingTask
[all …]
/external/v8/test/promises-aplus/lib/
Dadapter.js31 resolved: function(value) { return Promise.resolve(value); },
34 var resolve, reject;
36 resolve = res;
39 return {promise: promise, resolve: resolve, reject: reject};
/external/avahi/man/
DMakefile.am34 avahi-resolve.1.xml \
55 avahi-resolve.1 \
116 avahi-resolve.1.xml.in \
145 …rm -f avahi-resolve-host-name.1 avahi-resolve-address.1 avahi-browse-domains.1 avahi-publish-addre…
147 $(LN_S) avahi-resolve.1 avahi-resolve-host-name.1 && \
148 $(LN_S) avahi-resolve.1 avahi-resolve-address.1 && \
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/internal/
DClassNameResolverTest.java12 …ss, new ClassNameResolver<Application>("com.xtremelabs.robolectric", "TestApplication").resolve()); in shouldResolveClassesBySimpleName()
17 …s, new ClassNameResolver<Application>("com.xtremelabs.robolectric", ".TestApplication").resolve()); in shouldResolveClassesByDottedSimpleName()
22 …pplication>("com.xtremelabs.robolectric", "com.xtremelabs.robolectric.TestApplication").resolve()); in shouldResolveClassesByFullyQualifiedName()
27 …s, new ClassNameResolver<Application>("com.xtremelabs", ".robolectric.TestApplication").resolve()); in shouldResolveClassesByPartiallyQualifiedName()
32 … new ClassNameResolver<Application>("com.xtremelabs", "robolectric.TestApplication").resolve(); in shouldNotResolveClassesByUndottedPartiallyQualifiedNameBecauseAndroidDoesnt()
/external/skia/tests/
DPathOpsBuilderTest.cpp16 REPORTER_ASSERT(reporter, builder.resolve(&result)); in DEF_TEST()
20 REPORTER_ASSERT(reporter, builder.resolve(&result)); in DEF_TEST()
24 REPORTER_ASSERT(reporter, builder.resolve(&result)); in DEF_TEST()
31 REPORTER_ASSERT(reporter, builder.resolve(&result)); in DEF_TEST()
44 REPORTER_ASSERT(reporter, builder.resolve(&result)); in DEF_TEST()
51 REPORTER_ASSERT(reporter, builder.resolve(&result)); in DEF_TEST()
60 REPORTER_ASSERT(reporter, builder.resolve(&result)); in DEF_TEST()
77 REPORTER_ASSERT(reporter, builder.resolve(&result)); in DEF_TEST()
99 builder.resolve(&path2); in DEF_TEST()
113 builder.resolve(&result); in DEF_TEST()
[all …]
/external/v8/test/mjsunit/es6/debug-promises/
Dreentry.js14 var p = new Promise(function(resolve, reject) { resolve(); }); argument
16 new Promise(function(resolve, reject) { resolve(); }); argument
Dreject-with-invalid-reject.js16 var p = new Promise(function(resolve, reject) { argument
18 resolve();
23 var resolve = function() { }; function in MyPromise
25 resolver(resolve, reject);
Dreject-with-undefined-reject.js16 var p = new Promise(function(resolve, reject) { argument
18 resolve();
23 var resolve = function() { }; function in MyPromise
25 resolver(resolve, reject);
Dreject-with-throw-in-reject.js18 var p = new Promise(function(resolve, reject) { argument
20 resolve();
28 var resolve = function() { }; function in MyPromise
30 resolver(resolve, reject);
/external/autotest/client/site_tests/video_WebRtcMediaRecorder/
Dmediarecorder_test_utils.js9 return new Promise(function(resolve, reject) { argument
14 resolve();
20 return new Promise(function(resolve, reject) { argument
31 resolve();
/external/v8/test/mjsunit/harmony/
Dpromise-species.js14 assertTrue(Promise.resolve(test) instanceof Promise);
15 assertFalse(Promise.resolve(test) instanceof bogusConstructor);
17 Promise.resolve(test).catch(e => %AbortJS("Error " + e)).then(() => {
37 var myPromise = MyPromise.resolve().then();
/external/llvm/lib/IR/
DDebugInfo.cpp116 processType(DIG->getType().resolve(TypeIdentifierMap)); in processModule()
126 auto *Entity = Import->getEntity().resolve(TypeIdentifierMap); in processModule()
151 processScope(DT->getScope().resolve(TypeIdentifierMap)); in processType()
154 processType(Ref.resolve(TypeIdentifierMap)); in processType()
158 processType(DCT->getBaseType().resolve(TypeIdentifierMap)); in processType()
168 processType(DDT->getBaseType().resolve(TypeIdentifierMap)); in processType()
201 processScope(SP->getScope().resolve(TypeIdentifierMap)); in processSubprogram()
205 processType(TType->getType().resolve(TypeIdentifierMap)); in processSubprogram()
207 processType(TVal->getType().resolve(TypeIdentifierMap)); in processSubprogram()
226 processType(DV->getType().resolve(TypeIdentifierMap)); in processDeclare()
[all …]
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/assets/loaders/resolvers/
DResolutionFileResolver.java46 public FileHandle resolve (String fileName) { in resolve() method in ResolutionFileResolver
49 FileHandle handle = baseResolver.resolve(resolve(originalHandle, bestDesc.folder)); in resolve()
50 if (!handle.exists()) handle = baseResolver.resolve(fileName); in resolve()
54 protected String resolve (FileHandle originalHandle, String suffix) { in resolve() method in ResolutionFileResolver
/external/libgdx/gdx/src/com/badlogic/gdx/assets/loaders/resolvers/
DResolutionFileResolver.java85 public FileHandle resolve (String fileName) { in resolve() method in ResolutionFileResolver
88 FileHandle handle = baseResolver.resolve(resolve(originalHandle, bestResolution.folder)); in resolve()
89 if (!handle.exists()) handle = baseResolver.resolve(fileName); in resolve()
93 protected String resolve (FileHandle originalHandle, String suffix) { in resolve() method in ResolutionFileResolver

12345678910>>...26