/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | HttpUrlTest.java | 32 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/ |
D | microtask-delivery.js | 50 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 …]
|
D | mirror-promises.js | 56 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
|
D | promises.js | 392 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/ |
D | Promise-static-race.js | 30 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
|
D | Promise-static-all.js | 30 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
|
D | Promise-static-cast.js | 31 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');
|
D | Promise-static-resolve.js | 30 var resolve; variable 31 var promise = Promise.resolve(new Promise(function (r) { resolve = r;} )); 42 resolve('hello');
|
D | Promise-init.js | 29 var resolve, reject; variable 33 resolve = newResolve; 58 new Promise(function(resolve) { argument 59 resolve("hello");
|
D | Promise-simple.js | 28 var resolve; variable 35 resolve = newResolve; 46 resolve('hello');
|
D | Promise-resolve-with-itself.js | 28 var resolve; variable 31 var promise = new Promise(function(r) { resolve = r; }); 40 resolve(promise);
|
D | Promise-already-resolved.js | 30 new Promise(function(resolve, reject) { argument 32 resolve(new Promise(function(r) { anotherResolve = r; })); 33 resolve('resolve');
|
D | Promise-onFulfilled-deep.js | 29 var resolve; variable 30 var promise = new Promise(function (r) { resolve = r; }); 42 resolve(42);
|
D | Promise-resolve-state.js | 28 var resolve; variable 29 var promise = new Promise(function(r) { resolve = r; }); 42 resolve('hello');
|
/external/v8/src/ |
D | promise.js | 91 %_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/ |
D | adapter.js | 31 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/ |
D | PathOpsBuilderTest.cpp | 16 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/ |
D | ClassNameResolverTest.java | 12 …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/ |
D | reentry.js | 14 var p = new Promise(function(resolve, reject) { resolve(); }); argument 16 new Promise(function(resolve, reject) { resolve(); }); argument
|
D | reject-with-undefined-reject.js | 16 var p = new Promise(function(resolve, reject) { argument 18 resolve(); 23 var resolve = function() { }; function in MyPromise 25 resolver(resolve, reject);
|
D | reject-with-invalid-reject.js | 16 var p = new Promise(function(resolve, reject) { argument 18 resolve(); 23 var resolve = function() { }; function in MyPromise 25 resolver(resolve, reject);
|
D | reject-with-throw-in-reject.js | 18 var p = new Promise(function(resolve, reject) { argument 20 resolve(); 28 var resolve = function() { }; function in MyPromise 30 resolver(resolve, reject);
|
D | throw-with-undefined-reject.js | 18 var p = new Promise(function(resolve, reject) { argument 20 resolve(); 25 var resolve = function() { }; function in MyPromise 27 resolver(resolve, reject);
|
D | throw-with-throw-in-reject.js | 18 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/ |
D | DebugInfo.cpp | 68 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 …]
|