/third_party/typescript/tests/baselines/reference/ |
D | promiseType.js | 87 const p01 = p.then(); 100 const p20 = p.then(undefined); 101 const p21 = p.then(null); 102 const p22 = p.then(() => 1); 103 const p23 = p.then(() => x); 104 const p24 = p.then(() => undefined); 105 const p25 = p.then(() => null); 106 const p26 = p.then(() => {}); 107 const p27 = p.then(() => {throw 1}); 108 const p28 = p.then(() => Promise.resolve(1)); [all …]
|
D | promiseTypeStrictNull.js | 87 const p01 = p.then(); 100 const p20 = p.then(undefined); 101 const p21 = p.then(null); 102 const p22 = p.then(() => 1); 103 const p23 = p.then(() => x); 104 const p24 = p.then(() => undefined); 105 const p25 = p.then(() => null); 106 const p26 = p.then(() => {}); 107 const p27 = p.then(() => {throw 1}); 108 const p28 = p.then(() => Promise.resolve(1)); [all …]
|
D | promisePermutations.js | 3 …then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => Promise<U>, progress?: (progre… 4 …then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => U, progress?: (progress: any) … 5 …then<U>(success?: (value: T) => U, error?: (error: any) => Promise<U>, progress?: (progress: any) … 6 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… 11 …then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (prog… 12 …then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => U, progress?: (progress: any)… 13 …then<U>(success?: (value: T) => U, error?: (error: any) => IPromise<U>, progress?: (progress: any)… 14 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… 50 var r1a = r1.then(testFunction, testFunction, testFunction); 51 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu… [all …]
|
D | promisePermutations3.js | 5 …then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => Promise<U>, progress?: (progre… 6 …then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => U, progress?: (progress: any) … 7 …then<U>(success?: (value: T) => U, error?: (error: any) => Promise<U>, progress?: (progress: any) … 8 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… 13 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… 49 var r1a = r1.then(testFunction, testFunction, testFunction); 50 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu… 51 var r1c = r1.then(testFunctionP, testFunctionP, testFunctionP); 53 var s1a = s1.then(testFunction, testFunction, testFunction); 54 var s1b = s1.then(testFunctionP, testFunctionP, testFunctionP); [all …]
|
D | promisePermutations2.js | 5 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… 10 …then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (prog… 11 …then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => U, progress?: (progress: any)… 12 …then<U>(success?: (value: T) => U, error?: (error: any) => IPromise<U>, progress?: (progress: any)… 13 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… 49 var r1a = r1.then(testFunction, testFunction, testFunction); 50 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu… 51 var r1c = r1.then(testFunctionP, testFunctionP, testFunctionP); 53 var s1a = s1.then(testFunction, testFunction, testFunction); 54 var s1b = s1.then(testFunctionP, testFunctionP, testFunctionP); [all …]
|
D | chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.symbols | 10 then<S extends T>(cb: (x: T) => S): Chain<S> { 11 >then : Symbol(Chain.then, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts, 1… 30 (new Chain(t)).then(tt => s).then(ss => t); 31 >(new Chain(t)).then(tt => s).then : Symbol(Chain.then, Decl(chainedCallsWithTypeParameterConstrain… 32 >(new Chain(t)).then : Symbol(Chain.then, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeP… 35 >then : Symbol(Chain.then, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts, 1… 38 >then : Symbol(Chain.then, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts, 1… 43 (new Chain(s)).then(ss => t); 44 >(new Chain(s)).then : Symbol(Chain.then, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeP… 47 >then : Symbol(Chain.then, Decl(chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts, 1… [all …]
|
D | chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.types | 8 then<S extends T>(cb: (x: T) => S): Chain<S> { 9 >then : <S extends T>(cb: (x: T) => S) => Chain<S> 20 (new Chain(t)).then(tt => s).then(ss => t); 21 >(new Chain(t)).then(tt => s).then(ss => t) : Chain<S> 22 >(new Chain(t)).then(tt => s).then : <S extends S>(cb: (x: S) => S) => Chain<S> 23 >(new Chain(t)).then(tt => s) : Chain<S> 24 >(new Chain(t)).then : <S extends T>(cb: (x: T) => S) => Chain<S> 29 >then : <S extends T>(cb: (x: T) => S) => Chain<S> 33 >then : <S extends S>(cb: (x: S) => S) => Chain<S> 39 (new Chain(s)).then(ss => t); [all …]
|
D | chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.js | 4 then<S extends T>(cb: (x: T) => S): Chain<S> { field in Chain 8 (new Chain(t)).then(tt => s).then(ss => t); 11 (new Chain(s)).then(ss => t); 14 (new Chain(t)).then(tt => t).then(tt => t).then(tt => t); 15 (new Chain(s)).then(ss => s).then(ss => s).then(ss => s); 27 then<S extends T>(cb: (x: T) => S): Chain2<S> { field in Chain2 33 (new Chain2(i)).then(ii => t).then(tt => s).value.x = ""; 37 (new Chain2(i)).then(ii => t).then(tt => t).then(tt => t).then(tt => t).value.x = ""; 38 (new Chain2(i)).then(ii => s).then(ss => s).then(ss => s).then(ss => s).value.x = ""; 49 Chain.prototype.then = function (cb) { method in Chain [all …]
|
D | promiseTypeStrictNull.symbols | 168 const p01 = p.then(); 170 >p.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) 172 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) 243 const p20 = p.then(undefined); 245 >p.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) 247 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) 250 const p21 = p.then(null); 252 >p.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) 254 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) 256 const p22 = p.then(() => 1); [all …]
|
D | promiseType.symbols | 168 const p01 = p.then(); 170 >p.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) 172 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) 243 const p20 = p.then(undefined); 245 >p.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) 247 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) 250 const p21 = p.then(null); 252 >p.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) 254 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --)) 256 const p22 = p.then(() => 1); [all …]
|
D | promisePermutations2.symbols | 8 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… 9 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations2.ts, 2, 22)) 39 …then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (prog… 40 >then : Symbol(IPromise.then, Decl(promisePermutations2.ts, 7, 23), Decl(promisePermutations2.ts, 8… 56 …then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => U, progress?: (progress: any)… 57 >then : Symbol(IPromise.then, Decl(promisePermutations2.ts, 7, 23), Decl(promisePermutations2.ts, 8… 72 …then<U>(success?: (value: T) => U, error?: (error: any) => IPromise<U>, progress?: (progress: any)… 73 >then : Symbol(IPromise.then, Decl(promisePermutations2.ts, 7, 23), Decl(promisePermutations2.ts, 8… 88 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… 89 >then : Symbol(IPromise.then, Decl(promisePermutations2.ts, 7, 23), Decl(promisePermutations2.ts, 8… [all …]
|
D | promisePermutations3.symbols | 8 …then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => Promise<U>, progress?: (progre… 9 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl… 25 …then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => U, progress?: (progress: any) … 26 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl… 41 …then<U>(success?: (value: T) => U, error?: (error: any) => Promise<U>, progress?: (progress: any) … 42 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl… 57 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… 58 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl… 88 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… 89 >then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23)) [all …]
|
D | promisePermutations.symbols | 6 …then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => Promise<U>, progress?: (progre… 7 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations.ts, 0, 22), Decl(… 23 …then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => U, progress?: (progress: any) … 24 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations.ts, 0, 22), Decl(… 39 …then<U>(success?: (value: T) => U, error?: (error: any) => Promise<U>, progress?: (progress: any) … 40 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations.ts, 0, 22), Decl(… 55 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… 56 >then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations.ts, 0, 22), Decl(… 86 …then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (prog… 87 >then : Symbol(IPromise.then, Decl(promisePermutations.ts, 8, 23), Decl(promisePermutations.ts, 9, … [all …]
|
D | chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.types | 8 then<S extends T>(cb: (x: T) => S): Chain<S> { 9 >then : <S extends T>(cb: (x: T) => S) => Chain<S> 40 (new Chain(new A)).then(a => new B).then(b => new C).then(c => new B).then(b => new A); 41 >(new Chain(new A)).then(a => new B).then(b => new C).then(c => new B).then(b => new A) : Chain<C> 42 >(new Chain(new A)).then(a => new B).then(b => new C).then(c => new B).then : <S extends C>(cb: (x:… 43 >(new Chain(new A)).then(a => new B).then(b => new C).then(c => new B) : Chain<C> 44 >(new Chain(new A)).then(a => new B).then(b => new C).then : <S extends C>(cb: (x: C) => S) => Chai… 45 >(new Chain(new A)).then(a => new B).then(b => new C) : Chain<C> 46 >(new Chain(new A)).then(a => new B).then : <S extends B>(cb: (x: B) => S) => Chain<S> 47 >(new Chain(new A)).then(a => new B) : Chain<B> [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | promiseTypeStrictNull.ts | 88 const p01 = p.then(); 101 const p20 = p.then(undefined); 102 const p21 = p.then(null); 103 const p22 = p.then(() => 1); 104 const p23 = p.then(() => x); 105 const p24 = p.then(() => undefined); 106 const p25 = p.then(() => null); 107 const p26 = p.then(() => {}); 108 const p27 = p.then(() => {throw 1}); 109 const p28 = p.then(() => Promise.resolve(1)); [all …]
|
D | promiseType.ts | 87 const p01 = p.then(); 100 const p20 = p.then(undefined); 101 const p21 = p.then(null); 102 const p22 = p.then(() => 1); 103 const p23 = p.then(() => x); 104 const p24 = p.then(() => undefined); 105 const p25 = p.then(() => null); 106 const p26 = p.then(() => {}); 107 const p27 = p.then(() => {throw 1}); 108 const p28 = p.then(() => Promise.resolve(1)); [all …]
|
D | promisePermutations3.ts | 4 …then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => Promise<U>, progress?: (progre… method 5 …then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => U, progress?: (progress: any) … method 6 …then<U>(success?: (value: T) => U, error?: (error: any) => Promise<U>, progress?: (progress: any) … method 7 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… method 12 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… method 48 var r1a = r1.then(testFunction, testFunction, testFunction); 49 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu… 50 var r1c = r1.then(testFunctionP, testFunctionP, testFunctionP); 52 var s1a = s1.then(testFunction, testFunction, testFunction); 53 var s1b = s1.then(testFunctionP, testFunctionP, testFunctionP); [all …]
|
D | promisePermutations2.ts | 4 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… method 9 …then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (prog… method 10 …then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => U, progress?: (progress: any)… method 11 …then<U>(success?: (value: T) => U, error?: (error: any) => IPromise<U>, progress?: (progress: any)… method 12 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… method 48 var r1a = r1.then(testFunction, testFunction, testFunction); 49 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu… 50 var r1c = r1.then(testFunctionP, testFunctionP, testFunctionP); 52 var s1a = s1.then(testFunction, testFunction, testFunction); 53 var s1b = s1.then(testFunctionP, testFunctionP, testFunctionP); [all …]
|
D | promisePermutations.ts | 2 …then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => Promise<U>, progress?: (progre… method 3 …then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => U, progress?: (progress: any) … method 4 …then<U>(success?: (value: T) => U, error?: (error: any) => Promise<U>, progress?: (progress: any) … method 5 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… method 10 …then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (prog… method 11 …then<U>(success?: (value: T) => IPromise<U>, error?: (error: any) => U, progress?: (progress: any)… method 12 …then<U>(success?: (value: T) => U, error?: (error: any) => IPromise<U>, progress?: (progress: any)… method 13 …then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void):… method 49 var r1a = r1.then(testFunction, testFunction, testFunction); 50 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu… [all …]
|
D | chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts | 3 then<S extends T>(cb: (x: T) => S): Chain<S> { method in Chain 7 (new Chain(t)).then(tt => s).then(ss => t); 10 (new Chain(s)).then(ss => t); 13 (new Chain(t)).then(tt => t).then(tt => t).then(tt => t); 14 (new Chain(s)).then(ss => s).then(ss => s).then(ss => s); 26 then<S extends T>(cb: (x: T) => S): Chain2<S> { method in Chain2 32 (new Chain2(i)).then(ii => t).then(tt => s).value.x = ""; 36 (new Chain2(i)).then(ii => t).then(tt => t).then(tt => t).then(tt => t).value.x = ""; 37 (new Chain2(i)).then(ii => s).then(ss => s).then(ss => s).then(ss => s).value.x = "";
|
/third_party/rust/crates/bindgen/bindgen/codegen/ |
D | bitfield_unit_tests.rs | 80 With $storage:expr , then get($start:expr, $len:expr) is $expected:expr; 104 With [0b11100010], then get(0, 1) is 0; 105 With [0b11100010], then get(1, 1) is 1; 106 With [0b11100010], then get(2, 1) is 0; 107 With [0b11100010], then get(3, 1) is 0; 108 With [0b11100010], then get(4, 1) is 0; 109 With [0b11100010], then get(5, 1) is 1; 110 With [0b11100010], then get(6, 1) is 1; 111 With [0b11100010], then get(7, 1) is 1; 113 With [0b11100010], then get(0, 2) is 0b10; [all …]
|
/third_party/node/test/parallel/ |
D | test-debugger-run-after-quit-restart.js | 24 .then(() => cli.waitForPrompt()) 25 .then(() => cli.stepCommand('n')) 26 .then(() => { 32 .then(() => cli.command('cont')) 33 .then(() => cli.waitFor(/disconnect/)) 34 .then(() => { 40 .then(() => { 44 .then(() => cli.command('cont')) 45 .then(() => cli.waitFor(/start the app/)) 46 .then(() => { [all …]
|
/third_party/openssl/test/ssl-tests/ |
D | 19-mac-then-encrypt.cnf | 5 test-0 = 0-disable-encrypt-then-mac-server-sha 6 test-1 = 1-disable-encrypt-then-mac-client-sha 7 test-2 = 2-disable-encrypt-then-mac-both-sha 8 test-3 = 3-disable-encrypt-then-mac-server-sha2 9 test-4 = 4-disable-encrypt-then-mac-client-sha2 10 test-5 = 5-disable-encrypt-then-mac-both-sha2 11 test-6 = 6-disable-encrypt-then-mac-server-sha-tls1 12 test-7 = 7-disable-encrypt-then-mac-client-sha-tls1 13 test-8 = 8-disable-encrypt-then-mac-both-sha-tls1 16 [0-disable-encrypt-then-mac-server-sha] [all …]
|
/third_party/node/test/node-api/test_threadsafe_function/ |
D | test.js | 77 .then((result) => assert.strictEqual(result.indexOf(0), -1)); 99 .then(() => testWithJSMarshaller({ 104 .then((result) => assert.deepStrictEqual(result, expectedArray)) 110 .then(() => testWithJSMarshaller({ 115 .then((result) => assert.deepStrictEqual(result, expectedArray)) 119 .then(() => testWithJSMarshaller({ 124 .then((result) => assert.deepStrictEqual(result, expectedArray)) 128 .then(() => testWithJSMarshaller({ 133 .then((result) => assert.deepStrictEqual(result, expectedArray)) 137 .then(() => testWithJSMarshaller({ [all …]
|
/third_party/node/test/fixtures/wpt/streams/writable-streams/ |
D | aborting.any.js | 40 return readyPromise.then(() => { 61 .then(() => { 72 .then(() => { 82 .then(() => { 99 }).then(() => { 114 return writer.abort('a').then(value => { 175 return flushAsyncEvents().then(() => { 189 return writer.abort(error1).then(() => { 214 ]).then(() => { 242 ]).then(() => { [all …]
|