Home
last modified time | relevance | path

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

12345678910>>...16

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DHttpUrlTest.java32 assertEquals(expected, HttpUrl.parse("http://host/").resolve(" ")); in parseTrimsAsciiWhitespace()
33 assertEquals(expected, HttpUrl.parse("http://host/").resolve(" . ")); in parseTrimsAsciiWhitespace()
96 assertEquals(HttpUrl.parse("http://host2/"), base.resolve("//host2")); in resolveNoScheme()
97 assertEquals(HttpUrl.parse("http://host/path"), base.resolve("/path")); in resolveNoScheme()
98 assertEquals(HttpUrl.parse("http://host/a/path"), base.resolve("path")); in resolveNoScheme()
99 assertEquals(HttpUrl.parse("http://host/a/b?query"), base.resolve("?query")); in resolveNoScheme()
100 assertEquals(HttpUrl.parse("http://host/a/b#fragment"), base.resolve("#fragment")); in resolveNoScheme()
101 assertEquals(HttpUrl.parse("http://host/a/b"), base.resolve("")); in resolveNoScheme()
102 assertEquals(HttpUrl.parse("http://host/path"), base.resolve("\\path")); in resolveNoScheme()
107 assertEquals(null, base.resolve("ftp://b")); in resolveUnsupportedScheme()
[all …]
/external/v8/test/mjsunit/es6/
Dmicrotask-delivery.js50 var promise = new Promise(function(resolve) { argument
51 r = resolve;
61 resolve: r,
95 p1.resolve();
96 p2.resolve();
112 p3.resolve();
117 p1.resolve();
119 p2.resolve();
139 p1.resolve();
141 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
Dpromises.js392 deferred.resolve(5)
405 deferred.resolve(5)
443 deferred.resolve(5)
468 deferred.resolve(5)
481 deferred.resolve(5)
520 deferred.resolve(p2)
533 deferred.resolve(p2)
572 deferred.resolve(p2)
585 deferred.resolve(p2)
612 deferred.resolve(p)
[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");
DPromise-simple.js28 var resolve; variable
35 resolve = newResolve;
46 resolve('hello');
DPromise-resolve-with-itself.js28 var resolve; variable
31 var promise = new Promise(function(r) { resolve = r; });
40 resolve(promise);
DPromise-already-resolved.js30 new Promise(function(resolve, reject) { argument
32 resolve(new Promise(function(r) { anotherResolve = r; }));
33 resolve('resolve');
DPromise-onFulfilled-deep.js29 var resolve; variable
30 var promise = new Promise(function (r) { resolve = r; });
42 resolve(42);
DPromise-resolve-state.js28 var resolve; variable
29 var promise = new Promise(function(r) { resolve = r; });
42 resolve('hello');
/external/v8/src/
Dpromise.js91 %_CallFunction(x, deferred.resolve, deferred.reject, then);
108 %_CallFunction(result, deferred.resolve, deferred.reject, PromiseChain);
110 deferred.resolve(result);
179 resolve: function(x) { PromiseResolve(promise, x) },
184 result.promise = new this(function(resolve, reject) { argument
185 result.resolve = resolve;
197 return new this(function(resolve, reject) { resolve(x) }); argument
206 return new this(function(resolve, reject) { reject(r) }); argument
270 return IsPromise(x) ? x : new this(function(resolve) { resolve(x) }); argument
283 deferred.resolve(resolutions);
[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/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()
43 REPORTER_ASSERT(reporter, builder.resolve(&result)); in DEF_TEST()
50 REPORTER_ASSERT(reporter, builder.resolve(&result)); in DEF_TEST()
59 REPORTER_ASSERT(reporter, builder.resolve(&result)); in DEF_TEST()
76 REPORTER_ASSERT(reporter, builder.resolve(&result)); in DEF_TEST()
102 builder.resolve(&path2); in DEF_TEST()
/external/robolectric/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/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-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-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-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);
Dthrow-with-undefined-reject.js18 var p = new Promise(function(resolve, reject) { argument
20 resolve();
25 var resolve = function() { }; function in MyPromise
27 resolver(resolve, reject);
Dthrow-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/llvm/lib/IR/
DDebugInfo.cpp68 return getDICompositeType(D->getBaseType().resolve(EmptyMap)); in getDICompositeType()
131 processType(DIG->getType().resolve(TypeIdentifierMap)); in processModule()
141 auto *Entity = Import->getEntity().resolve(TypeIdentifierMap); in processModule()
164 processScope(DT->getScope().resolve(TypeIdentifierMap)); in processType()
166 processType(DCT->getBaseType().resolve(TypeIdentifierMap)); in processType()
169 processType(Ref.resolve(TypeIdentifierMap)); in processType()
179 processType(DDT->getBaseType().resolve(TypeIdentifierMap)); in processType()
210 processScope(SP->getScope().resolve(TypeIdentifierMap)); in processSubprogram()
214 processType(TType->getType().resolve(TypeIdentifierMap)); in processSubprogram()
216 processType(TVal->getType().resolve(TypeIdentifierMap)); in processSubprogram()
[all …]

12345678910>>...16