Home
last modified time | relevance | path

Searched refs:testFunction (Results 1 – 25 of 42) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DgenericCallToOverloadedMethodWithOverloadedArguments.js7 declare function testFunction(n: number): Promise<number>;
10 var newPromise = numPromise.then(testFunction);
20 declare function testFunction(n: number): Promise<number>;
21 declare function testFunction(s: string): Promise<string>;
24 var newPromise = numPromise.then(testFunction);
35 declare function testFunction(n: number): Promise<number>;
38 var newPromise = numPromise.then(testFunction);
49 declare function testFunction(n: number): Promise<number>;
50 declare function testFunction(s: string): Promise<string>;
53 var newPromise = numPromise.then(testFunction);
[all …]
DpromisePermutations3.js17 declare function testFunction(): IPromise<number>;
49 var r1a = r1.then(testFunction, testFunction, testFunction);
50 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu…
53 var s1a = s1.then(testFunction, testFunction, testFunction);
55 var s1c = s1.then(testFunctionP, testFunction, testFunction);
56 var s1d = s1.then(testFunctionP, testFunction, testFunction).then(testFunction, testFunction, testF…
129 var r9d = r9.then(testFunction, sIPromise, nIPromise); // error
130 var r9e = r9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
137 var s9f = s9.then(testFunction, sIPromise, nIPromise); // error
138 var s9g = s9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
[all …]
DpromisePermutations2.js17 declare function testFunction(): IPromise<number>;
49 var r1a = r1.then(testFunction, testFunction, testFunction);
50 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu…
53 var s1a = s1.then(testFunction, testFunction, testFunction);
55 var s1c = s1.then(testFunctionP, testFunction, testFunction);
56 var s1d = s1.then(testFunctionP, testFunction, testFunction).then(testFunction, testFunction, testF…
129 var r9d = r9.then(testFunction, sIPromise, nIPromise); // error
130 var r9e = r9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
137 var s9f = s9.then(testFunction, sIPromise, nIPromise); // error
138 var s9g = s9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
[all …]
DpromisePermutations.js18 declare function testFunction(): IPromise<number>;
50 var r1a = r1.then(testFunction, testFunction, testFunction);
51 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu…
54 var s1a = s1.then(testFunction, testFunction, testFunction);
56 var s1c = s1.then(testFunctionP, testFunction, testFunction);
57 var s1d = s1.then(testFunctionP, testFunction, testFunction).then(testFunction, testFunction, testF…
130 var r9d = r9.then(testFunction, sIPromise, nIPromise); // ok
131 var r9e = r9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
138 var s9f = s9.then(testFunction, sIPromise, nIPromise); // error
139 var s9g = s9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
[all …]
DgenericCallToOverloadedMethodWithOverloadedArguments.types12 declare function testFunction(n: number): Promise<number>;
13 >testFunction : (n: number) => Promise<number>
19 var newPromise = numPromise.then(testFunction);
21 >numPromise.then(testFunction) : Promise<number>
25 >testFunction : (n: number) => Promise<number>
40 declare function testFunction(n: number): Promise<number>;
41 >testFunction : { (n: number): Promise<number>; (s: string): Promise<string>; }
44 declare function testFunction(s: string): Promise<string>;
45 >testFunction : { (n: number): Promise<number>; (s: string): Promise<string>; }
51 var newPromise = numPromise.then(testFunction);
[all …]
DgenericCallToOverloadedMethodWithOverloadedArguments.symbols21 declare function testFunction(n: number): Promise<number>;
22 >testFunction : Symbol(testFunction, Decl(genericCallToOverloadedMethodWithOverloadedArguments.ts, …
30 var newPromise = numPromise.then(testFunction);
35 >testFunction : Symbol(testFunction, Decl(genericCallToOverloadedMethodWithOverloadedArguments.ts, …
59 declare function testFunction(n: number): Promise<number>;
60 >testFunction : Symbol(testFunction, Decl(genericCallToOverloadedMethodWithOverloadedArguments.ts, …
64 declare function testFunction(s: string): Promise<string>;
65 >testFunction : Symbol(testFunction, Decl(genericCallToOverloadedMethodWithOverloadedArguments.ts, …
73 var newPromise = numPromise.then(testFunction);
78 >testFunction : Symbol(testFunction, Decl(genericCallToOverloadedMethodWithOverloadedArguments.ts, …
[all …]
DgenericCallToOverloadedMethodWithOverloadedArguments.errors.txt39 declare function testFunction(n: number): Promise<number>;
42 var newPromise = numPromise.then(testFunction);
52 declare function testFunction(n: number): Promise<number>;
53 declare function testFunction(s: string): Promise<string>;
56 var newPromise = numPromise.then(testFunction);
71 declare function testFunction(n: number): Promise<number>;
74 var newPromise = numPromise.then(testFunction);
85 declare function testFunction(n: number): Promise<number>;
86 declare function testFunction(s: string): Promise<string>;
89 var newPromise = numPromise.then(testFunction);
[all …]
DpromisePermutations2.symbols115 declare function testFunction(): IPromise<number>;
116 >testFunction : Symbol(testFunction, Decl(promisePermutations2.ts, 13, 1))
339 var r1a = r1.then(testFunction, testFunction, testFunction);
344 >testFunction : Symbol(testFunction, Decl(promisePermutations2.ts, 13, 1))
345 >testFunction : Symbol(testFunction, Decl(promisePermutations2.ts, 13, 1))
346 >testFunction : Symbol(testFunction, Decl(promisePermutations2.ts, 13, 1))
348 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu…
350 >r1.then(testFunction, testFunction, testFunction).then : Symbol(IPromise.then, Decl(promisePermuta…
354 >testFunction : Symbol(testFunction, Decl(promisePermutations2.ts, 13, 1))
355 >testFunction : Symbol(testFunction, Decl(promisePermutations2.ts, 13, 1))
[all …]
DpromisePermutations3.symbols115 declare function testFunction(): IPromise<number>;
116 >testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
339 var r1a = r1.then(testFunction, testFunction, testFunction);
344 >testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
345 >testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
346 >testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
348 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu…
350 >r1.then(testFunction, testFunction, testFunction).then : Symbol(IPromise.then, Decl(promisePermuta…
354 >testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
355 >testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
[all …]
DpromisePermutations.symbols162 declare function testFunction(): IPromise<number>;
163 >testFunction : Symbol(testFunction, Decl(promisePermutations.ts, 14, 1))
386 var r1a = r1.then(testFunction, testFunction, testFunction);
391 >testFunction : Symbol(testFunction, Decl(promisePermutations.ts, 14, 1))
392 >testFunction : Symbol(testFunction, Decl(promisePermutations.ts, 14, 1))
393 >testFunction : Symbol(testFunction, Decl(promisePermutations.ts, 14, 1))
395 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu…
397 >r1.then(testFunction, testFunction, testFunction).then : Symbol(IPromise.then, Decl(promisePermuta…
401 >testFunction : Symbol(testFunction, Decl(promisePermutations.ts, 14, 1))
402 >testFunction : Symbol(testFunction, Decl(promisePermutations.ts, 14, 1))
[all …]
DpromisePermutations2.errors.txt107 declare function testFunction(): IPromise<number>;
139 var r1a = r1.then(testFunction, testFunction, testFunction);
140 …var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testF…
143 var s1a = s1.then(testFunction, testFunction, testFunction);
145 var s1c = s1.then(testFunctionP, testFunction, testFunction);
146 …var s1d = s1.then(testFunctionP, testFunction, testFunction).then(testFunction, testFunction, test…
306 var r9d = r9.then(testFunction, sIPromise, nIPromise); // error
314 … var r9e = r9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
327 var s9f = s9.then(testFunction, sIPromise, nIPromise); // error
331 … var s9g = s9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
[all …]
DpromisePermutations2.types71 declare function testFunction(): IPromise<number>;
72 >testFunction : () => IPromise<number>
208 var r1a = r1.then(testFunction, testFunction, testFunction);
210 >r1.then(testFunction, testFunction, testFunction) : IPromise<number>
214 >testFunction : () => IPromise<number>
215 >testFunction : () => IPromise<number>
216 >testFunction : () => IPromise<number>
218 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu…
220 >r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFunction) :…
221 >r1.then(testFunction, testFunction, testFunction).then : { <U>(success?: (value: number) => IPromi…
[all …]
/third_party/typescript/tests/cases/conformance/types/typeRelationships/typeInference/
DgenericCallToOverloadedMethodWithOverloadedArguments.ts7 declare function testFunction(n: number): Promise<number>; function
10 var newPromise = numPromise.then(testFunction);
20 declare function testFunction(n: number): Promise<number>;
21 declare function testFunction(s: string): Promise<string>;
24 var newPromise = numPromise.then(testFunction);
35 declare function testFunction(n: number): Promise<number>; function
38 var newPromise = numPromise.then(testFunction);
49 declare function testFunction(n: number): Promise<number>;
50 declare function testFunction(s: string): Promise<string>;
53 var newPromise = numPromise.then(testFunction);
[all …]
/third_party/typescript/tests/cases/compiler/
DpromisePermutations2.ts16 declare function testFunction(): IPromise<number>; function
48 var r1a = r1.then(testFunction, testFunction, testFunction);
49 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu…
52 var s1a = s1.then(testFunction, testFunction, testFunction);
54 var s1c = s1.then(testFunctionP, testFunction, testFunction);
55 var s1d = s1.then(testFunctionP, testFunction, testFunction).then(testFunction, testFunction, testF…
128 var r9d = r9.then(testFunction, sIPromise, nIPromise); // error
129 var r9e = r9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
136 var s9f = s9.then(testFunction, sIPromise, nIPromise); // error
137 var s9g = s9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
[all …]
DpromisePermutations3.ts16 declare function testFunction(): IPromise<number>; function
48 var r1a = r1.then(testFunction, testFunction, testFunction);
49 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu…
52 var s1a = s1.then(testFunction, testFunction, testFunction);
54 var s1c = s1.then(testFunctionP, testFunction, testFunction);
55 var s1d = s1.then(testFunctionP, testFunction, testFunction).then(testFunction, testFunction, testF…
128 var r9d = r9.then(testFunction, sIPromise, nIPromise); // error
129 var r9e = r9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
136 var s9f = s9.then(testFunction, sIPromise, nIPromise); // error
137 var s9g = s9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
[all …]
DpromisePermutations.ts17 declare function testFunction(): IPromise<number>; function
49 var r1a = r1.then(testFunction, testFunction, testFunction);
50 var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFu…
53 var s1a = s1.then(testFunction, testFunction, testFunction);
55 var s1c = s1.then(testFunctionP, testFunction, testFunction);
56 var s1d = s1.then(testFunctionP, testFunction, testFunction).then(testFunction, testFunction, testF…
129 var r9d = r9.then(testFunction, sIPromise, nIPromise); // ok
130 var r9e = r9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
137 var s9f = s9.then(testFunction, sIPromise, nIPromise); // error
138 var s9g = s9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktTestCaseUtil.hpp239 FunctionInstance0::Function testFunction) in createFunctionCase() argument
241 …eFactory1<FunctionInstance0, FunctionInstance0::Function>(testCtx, type, name, desc, testFunction); in createFunctionCase()
249 FunctionInstance0::Function testFunction) in createFunctionCase() argument
251 …ctionInstance0::Function, FunctionSupport0>(testCtx, type, name, desc, testFunction, checkSupport); in createFunctionCase()
259 FunctionInstance0::Function testFunction) in createFunctionCaseWithPrograms() argument
262 testCtx, type, name, desc, FunctionPrograms0(initPrograms), testFunction); in createFunctionCaseWithPrograms()
271 FunctionInstance0::Function testFunction) in createFunctionCaseWithPrograms() argument
274 testCtx, type, name, desc, FunctionPrograms0(initPrograms), testFunction, checkSupport); in createFunctionCaseWithPrograms()
282 typename FunctionInstance1<Arg0>::Function testFunction, in createFunctionCase() argument
286 testCtx, type, name, desc, typename FunctionInstance1<Arg0>::Args(testFunction, arg0)); in createFunctionCase()
[all …]
/third_party/node/benchmark/buffers/
Dbuffer-fill.js23 const testFunction = new Function('b', `
29 testFunction(buffer);
/third_party/boost/libs/beast/test/beast/core/
Dmake_strand.cpp24 testFunction() in testFunction() function in boost::beast::make_strand_test
41 testFunction(); in run()
D_detail_get_io_context.cpp23 testFunction() in testFunction() function in boost::beast::detail::get_io_context_test
41 testFunction(); in run()
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DPerfTest.java390 Function testFunction = testProvider.getTestCmd(meth); in run() local
391 if (testFunction == null) { in run()
395 if (testFunction.getOperationsPerIteration() < 1) { in run()
402 long loops = getIteration(meth, testFunction); in run()
417 t = performLoops(testFunction, loops); in run()
419 events = testFunction.getEventsPerIteration(); in run()
424 + testFunction.getOperationsPerIteration()); in run()
427 + testFunction.getOperationsPerIteration() + " events: " + events); in run()
432 + testFunction.getOperationsPerIteration()); in run()
435 + testFunction.getOperationsPerIteration() + " " + events); in run()
/third_party/icu/icu4c/source/tools/ctestfw/
Duperf.cpp365 UPerfFunction* testFunction = this->runIndexedTest( index, TRUE, name, par ); in runTestLoop() local
368 if(testFunction==NULL){ in runTestLoop()
372 ops = testFunction->getOperationsPerIteration(); in runTestLoop()
401 t = testFunction->time(loops,&status); in runTestLoop()
425 t = testFunction->time(loops, &status); in runTestLoop()
434 events = testFunction->getEventsPerIteration(); in runTestLoop()
468 delete testFunction; in runTestLoop()
/third_party/skia/third_party/externals/icu/source/tools/ctestfw/
Duperf.cpp365 UPerfFunction* testFunction = this->runIndexedTest( index, TRUE, name, par ); in runTestLoop() local
368 if(testFunction==NULL){ in runTestLoop()
372 ops = testFunction->getOperationsPerIteration(); in runTestLoop()
401 t = testFunction->time(loops,&status); in runTestLoop()
425 t = testFunction->time(loops, &status); in runTestLoop()
434 events = testFunction->getEventsPerIteration(); in runTestLoop()
468 delete testFunction; in runTestLoop()
/third_party/flutter/skia/third_party/externals/icu/source/tools/ctestfw/
Duperf.cpp365 UPerfFunction* testFunction = this->runIndexedTest( index, TRUE, name, par ); in runTestLoop() local
368 if(testFunction==NULL){ in runTestLoop()
372 ops = testFunction->getOperationsPerIteration(); in runTestLoop()
401 t = testFunction->time(loops,&status); in runTestLoop()
425 t = testFunction->time(loops, &status); in runTestLoop()
434 events = testFunction->getEventsPerIteration(); in runTestLoop()
468 delete testFunction; in runTestLoop()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp145 SupportTest testFunction = HasNonRenderableTextureFormatSupport; in initImageFallback() local
153 testFunction = HasNonFilterableTextureFormatSupport; in initImageFallback()
156 int i = FindSupportedFormat(renderer, info, skip, static_cast<uint32_t>(numInfo), testFunction); in initImageFallback()
161 if (testFunction != HasNonFilterableTextureFormatSupport && !format.isSnorm() && in initImageFallback()
167 testFunction = HasFullTextureFormatSupport; in initImageFallback()
168 i = FindSupportedFormat(renderer, info, skip, static_cast<uint32_t>(numInfo), testFunction); in initImageFallback()

12