Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 4856) sorted by relevance

12345678910>>...195

/third_party/typescript/tests/baselines/reference/
DcomparisonOperatorWithSubtypeObjectOnCallSignature.types17 var a1: { fn(): void };
18 >a1 : { fn(): void; }
19 >fn : () => void
21 var b1: { fn(): void };
22 >b1 : { fn(): void; }
23 >fn : () => void
25 var a2: { fn(a: number, b: string): void };
26 >a2 : { fn(a: number, b: string): void; }
27 >fn : (a: number, b: string) => void
31 var b2: { fn(a: number, b: string): void };
[all …]
DcomparisonOperatorWithNoRelationshipObjectsOnCallSignature.types24 var a1: { fn(): Base };
25 >a1 : { fn(): Base; }
26 >fn : () => Base
31 var a2: { fn(a: number, b: string): void };
32 >a2 : { fn(a: number, b: string): void; }
33 >fn : (a: number, b: string) => void
37 var b2: { fn(a: string): void };
38 >b2 : { fn(a: string): void; }
39 >fn : (a: string) => void
42 var a3: { fn(a: Base, b: string): void };
[all …]
DcomparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.types17 var a1: { fn<T>(x: T): T };
18 >a1 : { fn<T>(x: T): T; }
19 >fn : <T>(x: T) => T
22 var b1: { fn(x: string): string };
23 >b1 : { fn(x: string): string; }
24 >fn : (x: string) => string
27 var a2: { fn<T>(x: T): T };
28 >a2 : { fn<T>(x: T): T; }
29 >fn : <T>(x: T) => T
32 var b2: { fn(x: string, y: number): string };
[all …]
DcomparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.types24 var a1: { fn<T>(x: T): T };
25 >a1 : { fn<T>(x: T): T; }
26 >fn : <T>(x: T) => T
29 var b1: { fn(): string };
30 >b1 : { fn(): string; }
31 >fn : () => string
33 var a2: { fn<T>(x: T): T };
34 >a2 : { fn<T>(x: T): T; }
35 >fn : <T>(x: T) => T
38 var b2: { fn(x: string): number };
[all …]
DcomparisonOperatorWithNoRelationshipObjectsOnCallSignature.errors.txt1 …nature.ts(35,12): error TS2365: Operator '<' cannot be applied to types '{ fn(): Base; }' and 'new…
2 …or TS2365: Operator '<' cannot be applied to types '{ fn(a: number, b: string): void; }' and '{ fn
3 …ror TS2365: Operator '<' cannot be applied to types '{ fn(a: Base, b: string): void; }' and '{ fn(…
4 …38,12): error TS2365: Operator '<' cannot be applied to types '{ fn(): Base; }' and '{ fn(): C; }'.
5 …): error TS2365: Operator '<' cannot be applied to types '{ fn(a?: Base): void; }' and '{ fn(a?: C…
6 … error TS2365: Operator '<' cannot be applied to types '{ fn(...a: Base[]): void; }' and '{ fn(...…
7 …,12): error TS2365: Operator '<' cannot be applied to types 'new () => Base' and '{ fn(): Base; }'.
8 …): error TS2365: Operator '<' cannot be applied to types '{ fn(a: string): void; }' and '{ fn(a: n…
9 …ror TS2365: Operator '<' cannot be applied to types '{ fn(a: Derived, b: Base): void; }' and '{ fn
10 …(46,12): error TS2365: Operator '<' cannot be applied to types '{ fn(): C; }' and '{ fn(): Base; }…
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/dominator_tree/
Dgenerated.cpp44 void check_dominance(const DominatorAnalysisBase& dom_tree, const Function* fn, in check_dominance() argument
48 EXPECT_TRUE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_dominance()
49 spvtest::GetBasicBlock(fn, y))); in check_dominance()
62 const Function* fn, uint32_t x, uint32_t y) { in check_no_dominance() argument
65 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
66 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
68 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
69 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
72 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
73 spvtest::GetBasicBlock(fn, x))); in check_no_dominance()
[all …]
/third_party/spirv-tools/test/opt/dominator_tree/
Dgenerated.cpp44 void check_dominance(const DominatorAnalysisBase& dom_tree, const Function* fn, in check_dominance() argument
48 EXPECT_TRUE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_dominance()
49 spvtest::GetBasicBlock(fn, y))); in check_dominance()
62 const Function* fn, uint32_t x, uint32_t y) { in check_no_dominance() argument
65 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
66 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
68 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
69 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
72 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
73 spvtest::GetBasicBlock(fn, x))); in check_no_dominance()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/dominator_tree/
Dgenerated.cpp44 void check_dominance(const DominatorAnalysisBase& dom_tree, const Function* fn, in check_dominance() argument
48 EXPECT_TRUE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_dominance()
49 spvtest::GetBasicBlock(fn, y))); in check_dominance()
62 const Function* fn, uint32_t x, uint32_t y) { in check_no_dominance() argument
65 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
66 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
68 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
69 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
72 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
73 spvtest::GetBasicBlock(fn, x))); in check_no_dominance()
[all …]
/third_party/python/Mac/
DMakefile.in65 for fn in \
73 rm -f $${fn} ; \
74 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
78 for fn in \
82 rm -f $${fn} ;\
83 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
88 for fn in \
92 rm -f $${fn} ;\
93 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
98 for fn in \
[all …]
/third_party/skia/third_party/externals/tint/src/
Dintrinsics.def147 // fn isInf(f32) -> bool //
157 // fn arrayLength<T>(array<T>) -> u32 //
166 // fn abs<T: fiu32>(T) -> T //
177 // fn dpdx<N: num>(vec<N, f32>) -> vec<N, f32> //
197 // fn foo<T: scalar>(T, T); //
229 // fn F() //
233 // fn F() -> RETURN_TYPE //
236 // fn F(f32, i32) //
239 // fn F(USAGE : f32) //
244 // fn F<T>(T) //
[all …]
/third_party/node/lib/internal/per_context/
Ddomexception.js86 function forEachCode(fn) { argument
87 fn('IndexSizeError', 'INDEX_SIZE_ERR', 1);
88 fn('DOMStringSizeError', 'DOMSTRING_SIZE_ERR', 2);
89 fn('HierarchyRequestError', 'HIERARCHY_REQUEST_ERR', 3);
90 fn('WrongDocumentError', 'WRONG_DOCUMENT_ERR', 4);
91 fn('InvalidCharacterError', 'INVALID_CHARACTER_ERR', 5);
92 fn('NoDataAllowedError', 'NO_DATA_ALLOWED_ERR', 6);
93 fn('NoModificationAllowedError', 'NO_MODIFICATION_ALLOWED_ERR', 7);
94 fn('NotFoundError', 'NOT_FOUND_ERR', 8);
95 fn('NotSupportedError', 'NOT_SUPPORTED_ERR', 9);
[all …]
/third_party/node/test/parallel/
Dtest-util-promisify.js28 function fn() {} function
31 fn[promisify.custom] = promisifedFn;
32 assert.strictEqual(promisify(fn), promisifedFn);
33 assert.strictEqual(promisify(promisify(fn)), promisifedFn);
37 function fn() {}
44 fn[kCustomPromisifiedSymbol] = promisifiedFn;
47 assert.strictEqual(promisify(fn), promisifiedFn);
48 assert.strictEqual(promisify(promisify(fn)), promisifiedFn);
52 function fn() {}
53 fn[promisify.custom] = 42;
[all …]
Dtest-timers-user-call.js11 const fn = common.mustCall(10); constant
12 fn.call = 'not a function';
13 fn.apply = 'also not a function';
14 setTimeout(fn, 1);
15 setTimeout(fn, 1, 'oneArg');
16 setTimeout(fn, 1, 'two', 'args');
17 setTimeout(fn, 1, 'three', '(3)', 'args');
18 setTimeout(fn, 1, 'more', 'than', 'three', 'args');
20 setImmediate(fn, 1);
21 setImmediate(fn, 1, 'oneArg');
[all …]
/third_party/node/deps/npm/node_modules/tar/lib/
Dpath-reservations.js43 const getQueues = fn => { argument
44 const res = reservations.get(fn)
56 const check = fn => {
57 const {paths, dirs} = getQueues(fn)
58 return paths.every(q => q[0] === fn) &&
59 dirs.every(q => q[0] instanceof Set && q[0].has(fn))
63 const run = fn => { argument
64 if (running.has(fn) || !check(fn))
66 running.add(fn)
67 fn(() => clear(fn))
[all …]
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dmodule.h67 int (*fn)(void); in _module_run() local
68 fn = arg; in _module_run()
69 if (fn == NULL) { in _module_run()
73 int ret = fn(); in _module_run()
79 #define module_init(fn) \ argument
80 SYSINIT(fn, SI_SUB_OFED_MODINIT, SI_ORDER_FIRST, _module_run, (fn))
82 #define module_exit(fn) \ argument
83 SYSUNINIT(fn, SI_SUB_OFED_MODINIT, SI_ORDER_SECOND, _module_run, (fn))
89 #define module_init_order(fn, order) \ argument
90 SYSINIT(fn, SI_SUB_OFED_MODINIT, (order), _module_run, (fn))
[all …]
/third_party/musl/src/math/
Dscalb.c21 double scalb(double x, double fn) in scalb() argument
23 if (isnan(x) || isnan(fn)) in scalb()
24 return x*fn; in scalb()
25 if (!isfinite(fn)) { in scalb()
26 if (fn > 0.0) in scalb()
27 return x*fn; in scalb()
29 return x/(-fn); in scalb()
31 if (rint(fn) != fn) return (fn-fn)/(fn-fn); in scalb()
32 if ( fn > 65000.0) return scalbn(x, 65000); in scalb()
33 if (-fn > 65000.0) return scalbn(x,-65000); in scalb()
[all …]
Dscalbf.c19 float scalbf(float x, float fn) in scalbf() argument
21 if (isnan(x) || isnan(fn)) return x*fn; in scalbf()
22 if (!isfinite(fn)) { in scalbf()
23 if (fn > 0.0f) in scalbf()
24 return x*fn; in scalbf()
26 return x/(-fn); in scalbf()
28 if (rintf(fn) != fn) return (fn-fn)/(fn-fn); in scalbf()
29 if ( fn > 65000.0f) return scalbnf(x, 65000); in scalbf()
30 if (-fn > 65000.0f) return scalbnf(x,-65000); in scalbf()
31 return scalbnf(x,(int)fn); in scalbf()
/third_party/musl/porting/liteos_a/kernel/src/math/
Dscalbf.c19 float scalbf(float x, float fn) in scalbf() argument
21 if (isnan(x) || isnan(fn)) return x*fn; in scalbf()
22 if (!isfinite(fn)) { in scalbf()
23 if (fn > 0.0f) in scalbf()
24 return x*fn; in scalbf()
26 return x/(-fn); in scalbf()
28 if (rintf(fn) != fn) return (fn-fn)/(fn-fn); in scalbf()
29 if ( fn > 65000.0f) return scalbnf(x, 65000); in scalbf()
30 if (-fn > 65000.0f) return scalbnf(x,-65000); in scalbf()
31 return scalbnf(x,(int)fn); in scalbf()
Dscalb.c21 double scalb(double x, double fn) in scalb() argument
23 if (isnan(x) || isnan(fn)) in scalb()
24 return x*fn; in scalb()
25 if (!isfinite(fn)) { in scalb()
26 if (fn > 0.0) in scalb()
27 return x*fn; in scalb()
29 return x/(-fn); in scalb()
31 if (rint(fn) != fn) return (fn-fn)/(fn-fn); in scalb()
32 if ( fn > 65000.0) return scalbn(x, 65000); in scalb()
33 if (-fn > 65000.0) return scalbn(x,-65000); in scalb()
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Dsparse-llvm.c24 LLVMValueRef fn; member
369 static LLVMValueRef pseudo_to_value(struct function *fn, struct symbol *ctype, pseudo_t pseudo) in pseudo_to_value() argument
378 result = get_sym_value(fn->module, pseudo->sym); in pseudo_to_value()
384 result = LLVMGetParam(fn->fn, pseudo->nr - 1); in pseudo_to_value()
403 static LLVMValueRef pseudo_to_rvalue(struct function *fn, struct symbol *ctype, pseudo_t pseudo) in pseudo_to_rvalue() argument
405 LLVMValueRef val = pseudo_to_value(fn, ctype, pseudo); in pseudo_to_rvalue()
410 return LLVMBuildBitCast(fn->builder, val, dtype, name); in pseudo_to_rvalue()
413 static LLVMValueRef value_to_ivalue(struct function *fn, struct symbol *ctype, LLVMValueRef val) in value_to_ivalue() argument
420 val = LLVMBuildPtrToInt(fn->builder, val, dtype, name); in value_to_ivalue()
423 val = LLVMBuildIntCast(fn->builder, val, dtype, name); in value_to_ivalue()
[all …]
/third_party/mindspore/mindspore/ops/composite/
Dbase.py35 def add_flags(fn=None, **flags): argument
55 def deco(fn): argument
57 if not hasattr(fn, "_mindspore_flags"):
58 fn._mindspore_flags = {}
60 fn._mindspore_flags.update({**flags})
61 return fn
63 if fn is not None:
64 ret = deco(fn)
68 def core(fn=None, **flags): argument
91 def deco(fn): argument
[all …]
/third_party/gettext/gettext-tools/examples/hello-c++-kde/admin/
Dcvs-clean.pl17 my $fn = shift;
18 lstat ($fn);
20 if (opendir (DIR, $fn)) {
22 &rmrf ($fn."/".$efn);
25 rmdir ($fn);
28 unlink ($fn);
48 for my $fn (grep (!/^\.\.?$/, readdir (DIR))) {
49 if (-d $dir.$fn) {
50 $fn eq "CVS" or $dirsdir{$fn} = 1;
52 $filesdir{$fn} = 1;
[all …]
/third_party/boost/libs/function/test/
Dcontains2_test.cpp58 boost::function0<int> fn; in main() local
60 fn = &forty_two; in main()
62 BOOST_TEST( fn() == 42 ); in main()
64 BOOST_TEST( fn.contains(&forty_two) ); in main()
65 BOOST_TEST( !fn.contains( Seventeen() ) ); in main()
66 BOOST_TEST( !fn.contains( ReturnInt(0) ) ); in main()
67 BOOST_TEST( !fn.contains( ReturnInt(12) ) ); in main()
69 fn = Seventeen(); in main()
71 BOOST_TEST( fn() == 17 ); in main()
73 BOOST_TEST( !fn.contains( &forty_two ) ); in main()
[all …]
/third_party/boost/libs/phoenix/test/boost_bind_compatibility/
Dbind_function_test.cpp48 boost::function0<int> fn; in main() local
50 BOOST_TEST( !fn.contains( bind( f, 1 ) ) ); in main()
51 BOOST_TEST( !fn.contains( bind( f, 2 ) ) ); in main()
52 BOOST_TEST( !fn.contains( bind( g, 1 ) ) ); in main()
54 fn = bind( f, 1 ); in main()
56 BOOST_TEST( fn() == 1 ); in main()
58 BOOST_TEST( fn.contains( bind( f, 1 ) ) ); in main()
59 BOOST_TEST( !fn.contains( bind( f, 2 ) ) ); in main()
60 BOOST_TEST( !fn.contains( bind( g, 1 ) ) ); in main()
62 fn = bind( f, 2 ); in main()
[all …]
/third_party/boost/libs/bind/test/
Dbind_function_test.cpp38 boost::function0<int> fn; in main() local
40 BOOST_TEST( !fn.contains( boost::bind( f, 1 ) ) ); in main()
41 BOOST_TEST( !fn.contains( boost::bind( f, 2 ) ) ); in main()
42 BOOST_TEST( !fn.contains( boost::bind( g, 1 ) ) ); in main()
44 fn = boost::bind( f, 1 ); in main()
46 BOOST_TEST( fn() == 1 ); in main()
48 BOOST_TEST( fn.contains( boost::bind( f, 1 ) ) ); in main()
49 BOOST_TEST( !fn.contains( boost::bind( f, 2 ) ) ); in main()
50 BOOST_TEST( !fn.contains( boost::bind( g, 1 ) ) ); in main()
52 fn = boost::bind( f, 2 ); in main()
[all …]

12345678910>>...195