Home
last modified time | relevance | path

Searched refs:fun2 (Results 1 – 25 of 30) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DtypeArgumentsWithStringLiteralTypes01.js11 function fun2<T, U>(x: T, y: U) {
25 export let c = fun2("Hello", "World");
26 export let d = fun2("Hello", "Hello");
56 export let c = fun2<"Hello", "Hello">("Hello", "Hello");
57 export let d = fun2<"Hello", "Hello">("Hello", "World");
86 export let a = fun2<"Hello", "World">("Hello", "World");
87 export let b = fun2<"Hello", "World">("World", "Hello");
88 export let c = fun2<"World", "Hello">("Hello", "Hello");
89 export let d = fun2<"World", "Hello">("World", "World");
118 function fun2(x, y) { function
[all …]
DtypeArgumentsWithStringLiteralTypes01.symbols31 function fun2<T, U>(x: T, y: U) {
32 >fun2 : Symbol(fun2, Decl(typeArgumentsWithStringLiteralTypes01.ts, 7, 1))
72 export let c = fun2("Hello", "World");
74 >fun2 : Symbol(fun2, Decl(typeArgumentsWithStringLiteralTypes01.ts, 7, 1))
76 export let d = fun2("Hello", "Hello");
78 >fun2 : Symbol(fun2, Decl(typeArgumentsWithStringLiteralTypes01.ts, 7, 1))
176 export let c = fun2<"Hello", "Hello">("Hello", "Hello");
178 >fun2 : Symbol(fun2, Decl(typeArgumentsWithStringLiteralTypes01.ts, 7, 1))
180 export let d = fun2<"Hello", "Hello">("Hello", "World");
182 >fun2 : Symbol(fun2, Decl(typeArgumentsWithStringLiteralTypes01.ts, 7, 1))
[all …]
DtypeArgumentsWithStringLiteralTypes01.types30 function fun2<T, U>(x: T, y: U) {
31 >fun2 : <T, U>(x: T, y: U) => T | U
75 export let c = fun2("Hello", "World");
77 >fun2("Hello", "World") : "Hello" | "World"
78 >fun2 : <T, U>(x: T, y: U) => T | U
82 export let d = fun2("Hello", "Hello");
84 >fun2("Hello", "Hello") : "Hello"
85 >fun2 : <T, U>(x: T, y: U) => T | U
226 export let c = fun2<"Hello", "Hello">("Hello", "Hello");
228 >fun2<"Hello", "Hello">("Hello", "Hello") : "Hello"
[all …]
DdeclarationEmitQualifiedAliasTypeArgument.js27 export const fun2 = create<Q>(); constant
33 exports.fun2 = exports.fun = void 0;
36 exports.fun2 = bbb_1.create();
42 export declare const fun2: () => import("./bbb").INode<Q>;
DgeneratorTypeCheck45.types2 declare function foo<T, U>(x: T, fun: () => Iterator<(x: T) => U>, fun2: (y: U) => T): T;
3 >foo : <T, U>(x: T, fun: () => Iterator<(x: T) => U, any, undefined>, fun2: (y: U) => T) => T
7 >fun2 : (y: U) => T
12 >foo : <T, U>(x: T, fun: () => Iterator<(x: T) => U, any, undefined>, fun2: (y: U) => T) => T
DgeneratorTypeCheck46.types2 declare function foo<T, U>(x: T, fun: () => Iterable<(x: T) => U>, fun2: (y: U) => T): T;
3 >foo : <T, U>(x: T, fun: () => Iterable<(x: T) => U>, fun2: (y: U) => T) => T
7 >fun2 : (y: U) => T
12 >foo : <T, U>(x: T, fun: () => Iterable<(x: T) => U>, fun2: (y: U) => T) => T
DgeneratorTypeCheck45.symbols2 declare function foo<T, U>(x: T, fun: () => Iterator<(x: T) => U>, fun2: (y: U) => T): T;
13 >fun2 : Symbol(fun2, Decl(generatorTypeCheck45.ts, 0, 66))
DgeneratorTypeCheck46.symbols2 declare function foo<T, U>(x: T, fun: () => Iterable<(x: T) => U>, fun2: (y: U) => T): T;
13 >fun2 : Symbol(fun2, Decl(generatorTypeCheck46.ts, 0, 66))
DdeclarationEmitQualifiedAliasTypeArgument.symbols58 export const fun2 = create<Q>();
59 >fun2 : Symbol(fun2, Decl(index.ts, 5, 12))
DdeclarationEmitQualifiedAliasTypeArgument.types46 export const fun2 = create<Q>();
47 >fun2 : () => import("tests/cases/compiler/bbb").INode<Q>
DtypeArgumentsWithStringLiteralTypes01.errors.txt59 function fun2<T, U>(x: T, y: U) {
73 export let c = fun2("Hello", "World");
74 export let d = fun2("Hello", "Hello");
126 export let c = fun2<"Hello", "Hello">("Hello", "Hello");
127 export let d = fun2<"Hello", "Hello">("Hello", "World");
185 export let a = fun2<"Hello", "World">("Hello", "World");
186 export let b = fun2<"Hello", "World">("World", "Hello");
189 export let c = fun2<"World", "Hello">("Hello", "Hello");
192 export let d = fun2<"World", "Hello">("World", "World");
/third_party/typescript/tests/cases/conformance/types/stringLiteral/
DtypeArgumentsWithStringLiteralTypes01.ts12 function fun2<T, U>(x: T, y: U) { function
26 export let c = fun2("Hello", "World");
27 export let d = fun2("Hello", "Hello");
57 export let c = fun2<"Hello", "Hello">("Hello", "Hello");
58 export let d = fun2<"Hello", "Hello">("Hello", "World");
87 export let a = fun2<"Hello", "World">("Hello", "World");
88 export let b = fun2<"Hello", "World">("World", "Hello");
89 export let c = fun2<"World", "Hello">("Hello", "Hello");
90 export let d = fun2<"World", "Hello">("World", "World");
/third_party/curl/CMake/
DCurlTests.c493 #define c99_vmacro2(first, ...) fun2(first, __VA_ARGS__)
496 int fun2(int arg1, int arg2);
501 int fun2(int arg1, int arg2) { in fun2() function
516 #define gcc_vmacro2(first, args...) fun2(first, args)
519 int fun2(int arg1, int arg2);
524 int fun2(int arg1, int arg2) { in fun2() function
/third_party/boost/libs/geometry/test/core/
Dassert.cpp48 void fun2(bool condition, const char* msg = "") in fun2() function
61 fun2(a == 1); in test_main()
62 BOOST_CHECK_EXCEPTION(fun2(a == 2), assert_failure_exception, is_ok); in test_main()
/third_party/boost/libs/dll/test/
Dcpp_import_class_test.cpp89 auto fun2 = cl.import<double(double, double), int(int, int)>("func"); in main() local
91 BOOST_TEST((cl->*fun2)(3.,2.) == 6.); in main()
92 BOOST_TEST((cl->*fun2)(5 ,2 ) == 7 ); in main()
/third_party/boost/libs/spirit/test/qi/
Dactions.cpp31 void fun2(int i) in fun2() function
74 qi::parse(s1, e1, '{' >> int_[&fun2] >> '}'); in main()
80 qi::parse(s1, e1, '{' >> int_[fun2] >> '}'); in main()
/third_party/glslang/Test/
Dhlsl.function.frag6 uint fun2(float4 col)
18 uint entityId = fun2(fun0());
Dspv.1.4.OpSelect.frag15 void fun2(){}
36 cond > 0 ? fun1() : fun2(); // not allowed by any version
/third_party/glslang/Test/baseResults/
Dhlsl.function.frag.out19 0:7 Function Definition: fun2(vf4; ( temp uint)
44 0:18 Function Call: fun2(vf4; ( temp uint)
77 0:7 Function Definition: fun2(vf4; ( temp uint)
102 0:18 Function Call: fun2(vf4; ( temp uint)
Dspv.1.4.OpSelect.frag.out14 Name 8 "fun2("
140 97: 2 FunctionCall 8(fun2()
149 8(fun2(): 2 Function None 3
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dtransformation_add_parameter_test.cpp279 OpName %12 "fun2(i1;" in TEST()
394 OpName %12 "fun2(i1;" in TEST()
527 OpName %12 "fun2(i1;" in TEST()
619 OpName %12 "fun2(i1;" in TEST()
768 OpName %12 "fun2(i1;" in TEST()
/third_party/spirv-tools/test/fuzz/
Dtransformation_add_parameter_test.cpp262 OpName %12 "fun2(i1;" in TEST()
377 OpName %12 "fun2(i1;" in TEST()
510 OpName %12 "fun2(i1;" in TEST()
602 OpName %12 "fun2(i1;" in TEST()
751 OpName %12 "fun2(i1;" in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_add_parameter_test.cpp279 OpName %12 "fun2(i1;" in TEST()
394 OpName %12 "fun2(i1;" in TEST()
527 OpName %12 "fun2(i1;" in TEST()
619 OpName %12 "fun2(i1;" in TEST()
768 OpName %12 "fun2(i1;" in TEST()
/third_party/typescript/tests/cases/conformance/es6/yieldExpressions/
DgeneratorTypeCheck45.ts2 declare function foo<T, U>(x: T, fun: () => Iterator<(x: T) => U>, fun2: (y: U) => T): T;
DgeneratorTypeCheck46.ts2 declare function foo<T, U>(x: T, fun: () => Iterable<(x: T) => U>, fun2: (y: U) => T): T;

12