/third_party/typescript/tests/baselines/reference/ |
D | promises.symbols | 1 === tests/cases/compiler/promises.ts === 3 >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promises.ts, 0, 0)) 4 >T : Symbol(T, Decl(lib.es5.d.ts, --, --), Decl(promises.ts, 0, 18)) 7 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promises.ts, 0, 22), Decl(promises.ts… 8 >U : Symbol(U, Decl(promises.ts, 1, 9)) 9 >success : Symbol(success, Decl(promises.ts, 1, 12)) 10 >value : Symbol(value, Decl(promises.ts, 1, 23)) 11 >T : Symbol(T, Decl(lib.es5.d.ts, --, --), Decl(promises.ts, 0, 18)) 12 >U : Symbol(U, Decl(promises.ts, 1, 9)) 13 >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promises.ts, 0, 0)) [all …]
|
D | variableDeclaratorResolvedDuringContextualTyping.types | 39 static join(promises: { [name: string]: Promise; }): Promise; 40 >join : { (promises: { [name: string]: Promise; }): Promise; (promises: Promise[]): Promise; } 41 >promises : { [name: string]: Promise; } 44 static join(promises: Promise[]): Promise; 45 >join : { (promises: { [name: string]: Promise; }): Promise; (promises: Promise[]): Promise; } 46 >promises : Promise[] 48 static any(promises: Promise[]): Promise; 49 >any : (promises: Promise[]) => Promise 50 >promises : Promise[] 148 public static join<ValueType>(promises: TPromise<ValueType>[]): TPromise<ValueType[]>; [all …]
|
D | parserUnterminatedGeneric1.types | 3 all(promises: IPromise < any > []): IPromise< 4 >all : (promises: IPromise<any>[]) => any 5 >promises : any[]
|
D | parserUnterminatedGeneric1.symbols | 5 all(promises: IPromise < any > []): IPromise< 7 >promises : Symbol(promises, Decl(parserUnterminatedGeneric1.ts, 1, 12))
|
/third_party/node/test/parallel/ |
D | test-assert-async.js | 6 const promises = []; variable 44 promises.push(assert.rejects(rejectingFn, errObj)); 45 promises.push(assert.rejects(rejectingFn(), errObj)); 53 promises.push(assert.rejects(validRejectingThenable, { code: 'FAIL' })); 57 promises.push(assert.rejects( 63 promises.push(assert.rejects( 72 promises.push(assert.rejects( 100 promises.push(assert.rejects(promise, common.mustCall(handler))); 103 promises.push(assert.rejects(promise, { 111 promises.push(assert.rejects(promise, common.mustCall(handler))); [all …]
|
D | test-fs-append-file.js | 59 fs.promises.appendFile(filename, s) 60 .then(common.mustCall(() => fs.promises.readFile(filename))) 85 fs.promises.appendFile(filename, s) 86 .then(common.mustCall(() => fs.promises.readFile(filename))) 115 fs.promises.appendFile(filename, buf) 116 .then(common.mustCall(() => fs.promises.readFile(filename))) 142 fs.promises.appendFile(filename, data), 178 fs.promises.open(filename, 'a+') 181 return fs.promises.appendFile(fd, s); 184 .then(common.mustCall(() => fs.promises.readFile(filename)))
|
D | test-internal-module-wrap.js | 15 const promises = foo.link(() => setTimeoutAsync(1000).then(() => bar)); constant 16 assert.strictEqual(promises.length, 1); 17 assert(isPromise(promises[0])); 19 await Promise.all(promises); 21 assert.strictEqual(getPromiseDetails(promises[0])[1], bar);
|
D | test-fs-opendir.js | 123 const dir = await fs.promises.opendir(testDir); 145 for await (const dirent of await fs.promises.opendir(testDir)) { 159 const dir = await fs.promises.opendir(testDir); 169 const dir = await fs.promises.opendir(testDir); 181 const dir = await fs.promises.opendir(testDir); 221 const dir = await fs.promises.opendir(testDir); 228 const dir = await fs.promises.opendir(testDir); 236 const dir = await fs.promises.opendir(testDir); 255 const dir = await fs.promises.opendir(testDir); 267 const dir = await fs.promises.opendir(testDir);
|
D | test-fs-lchown.js | 8 const { promises } = fs; 16 promises.lchown(false, 1, 1) 36 promises.lchown('not_a_file_that_exists', i, 1) 40 promises.lchown('not_a_file_that_exists', 1, i) 62 await promises.lchown(testFile, uid, gid);
|
D | test-dns-set-default-order.js | 20 const dnsPromises = dns.promises; 35 assert.throws(() => dns.promises.setDefaultResultOrder('my_order'), { 41 assert.throws(() => dns.promises.setDefaultResultOrder(4), { 74 dns.promises.setDefaultResultOrder('verbatim'); 84 dns.promises.setDefaultResultOrder('ipv4first');
|
D | test-fs-rm.js | 170 assert.rejects(fs.promises.rm(dir), { syscall: 'rm' }); 171 assert.rejects(fs.promises.rm(dir, { recursive: false }), { 176 await fs.promises.rm(dir, { recursive: true }); 179 assert.rejects(fs.promises.rm(dir), { syscall: 'stat' }); 182 assert.rejects(fs.promises.rm( 192 fs.promises.rm(path.join(tmpdir.path, 'noexist.txt'), { force: true }); 199 await fs.promises.rm(filePath, { recursive: true });
|
D | test-fs-open.js | 52 await fs.promises.open(__filename); 53 await fs.promises.open(__filename, 'r'); 92 fs.promises.open(i, 'r'), 117 fs.promises.open(__filename, 'r', mode),
|
D | test-fs-access.js | 76 fs.promises.access(__filename) 82 fs.promises.access(__filename, fs.R_OK) 88 fs.promises.access(readOnlyFile, fs.F_OK | fs.R_OK) 99 fs.promises.access(doesNotExist) 115 fs.promises.access(readOnlyFile, fs.W_OK) 131 fs.promises.access(100, fs.F_OK)
|
/third_party/node/deps/npm/node_modules/bluebird/js/release/ |
D | race.js | 12 function race(promises, parent) { argument 13 var maybePromise = tryConvertToPromise(promises); 18 promises = util.asArray(promises); 19 if (promises === null) 20 …urn apiRejection("expecting an array or an iterable object but got " + util.classString(promises)); 29 for (var i = 0, len = promises.length; i < len; ++i) { 30 var val = promises[i]; 32 if (val === undefined && !(i in promises)) { 41 Promise.race = function (promises) { argument 42 return race(promises, undefined);
|
D | each.js | 10 function PromiseMapSeries(promises, fn) { argument 11 return PromiseReduce(promises, fn, INTERNAL, INTERNAL); 23 Promise.each = function (promises, fn) { argument 24 return PromiseReduce(promises, fn, INTERNAL, 0) 25 ._then(promiseAllThis, undefined, undefined, promises, undefined);
|
D | any.js | 4 function any(promises) { argument 5 var ret = new SomePromiseArray(promises); 13 Promise.any = function (promises) { argument 14 return any(promises);
|
D | map.js | 14 function MappingPromiseArray(promises, fn, limit, _filter) { argument 15 this.constructor$(promises); 134 function map(promises, fn, options, _filter) { argument 156 return new MappingPromiseArray(promises, fn, limit, _filter).promise(); 163 Promise.map = function (promises, fn, options, _filter) { argument 164 return map(promises, fn, options, _filter);
|
D | reduce.js | 12 function ReductionPromiseArray(promises, fn, initialValue, _each) { argument 13 this.constructor$(promises); 116 Promise.reduce = function (promises, fn, initialValue, _each) { argument 117 return reduce(promises, fn, initialValue, _each); 128 function reduce(promises, fn, initialValue, _each) { argument 132 var array = new ReductionPromiseArray(promises, fn, initialValue, _each);
|
D | props.js | 92 function props(promises) { argument 94 var castValue = tryConvertToPromise(promises); 115 Promise.props = function (promises) { argument 116 return props(promises);
|
/third_party/node/lib/ |
D | dns.js | 67 let promises = null; // Lazy loaded variable 283 if (promises !== null) 284 bindDefaultResolver(promises, promises.Resolver.prototype); 330 promises: { property 334 if (promises === null) { 335 promises = require('internal/dns/promises'); 336 promises.setServers = defaultResolverSetServers; 337 promises.setDefaultResultOrder = setDefaultResultOrder; 339 return promises;
|
/third_party/flutter/skia/modules/canvaskit/perf/ |
D | animation.bench.js | 30 let promises = [fetchAndText(`/assets/${animStr}.json`), LoadCanvasKit]; 45 Promise.all(promises).then((responses) => { 76 Promise.all(promises).then((responses) => { 102 Promise.all(promises).then((responses) => { 137 Promise.all(promises).then((responses) => {
|
/third_party/typescript/tests/cases/compiler/ |
D | variableDeclaratorResolvedDuringContextualTyping.ts | 23 static join(promises: { [name: string]: Promise; }): Promise; 24 static join(promises: Promise[]): Promise; 25 static any(promises: Promise[]): Promise; 50 public static join<ValueType>(promises: TPromise<ValueType>[]): TPromise<ValueType[]>; 51 public static any<ValueType>(promises: TPromise<ValueType>[]): TPromise<ValueType>;
|
/third_party/skia/modules/canvaskit/tests/ |
D | skottie.spec.js | 32 gm('skottie_animgif', (canvas, promises) => { 37 expect(promises[1]).not.toBe('NOT FOUND'); 38 const animation = CanvasKit.MakeManagedAnimation(promises[1], { 39 'flightAnim.gif': promises[0], 65 gm('skottie_setcolor', (canvas, promises) => { 70 expect(promises[0]).not.toBe('NOT FOUND'); 74 const animation = CanvasKit.MakeManagedAnimation(promises[0]);
|
/third_party/node/deps/npm/node_modules/libcipm/lib/config/ |
D | npm-config.js | 57 acc.promises.push(maybeReadIni(path.join(acc.path, '.npmrc'))) 58 acc.promises.push(maybeReadIni(path.join(acc.path, 'npmrc'))) 62 promises: [] property 63 }).promises.concat(
|
/third_party/node/test/sequential/ |
D | test-inspector-stress-http.js | 22 const promises = []; 24 promises.push(testHttp(child, i)); 26 const result = await Promise.all(promises);
|