Home
last modified time | relevance | path

Searched refs:reduce (Results 1 – 25 of 1385) sorted by relevance

12345678910>>...56

/third_party/python/Lib/test/decimaltestdata/
DddReduce.decTest29 ddred001 reduce '1' -> '1'
30 ddred002 reduce '-1' -> '-1'
31 ddred003 reduce '1.00' -> '1'
32 ddred004 reduce '-1.00' -> '-1'
33 ddred005 reduce '0' -> '0'
34 ddred006 reduce '0.00' -> '0'
35 ddred007 reduce '00.0' -> '0'
36 ddred008 reduce '00.00' -> '0'
37 ddred009 reduce '00' -> '0'
38 ddred010 reduce '0E+1' -> '0'
[all …]
DdqReduce.decTest30 dqred001 reduce '1' -> '1'
31 dqred002 reduce '-1' -> '-1'
32 dqred003 reduce '1.00' -> '1'
33 dqred004 reduce '-1.00' -> '-1'
34 dqred005 reduce '0' -> '0'
35 dqred006 reduce '0.00' -> '0'
36 dqred007 reduce '00.0' -> '0'
37 dqred008 reduce '00.00' -> '0'
38 dqred009 reduce '00' -> '0'
39 dqred010 reduce '0E+1' -> '0'
[all …]
Dreduce.decTest2 -- reduce.decTest -- remove trailing zeros --
30 redx001 reduce '1' -> '1'
31 redx002 reduce '-1' -> '-1'
32 redx003 reduce '1.00' -> '1'
33 redx004 reduce '-1.00' -> '-1'
34 redx005 reduce '0' -> '0'
35 redx006 reduce '0.00' -> '0'
36 redx007 reduce '00.0' -> '0'
37 redx008 reduce '00.00' -> '0'
38 redx009 reduce '00' -> '0'
[all …]
/third_party/spirv-tools/source/reduce/
DBUILD.gn31 "//third_party/spirv-tools/source/reduce/change_operand_reduction_opportunity.cpp",
32 "//third_party/spirv-tools/source/reduce/change_operand_to_undef_reduction_opportunity.cpp",
33 …"//third_party/spirv-tools/source/reduce/conditional_branch_to_simple_conditional_branch_opportuni…
34 …"//third_party/spirv-tools/source/reduce/conditional_branch_to_simple_conditional_branch_reduction…
35 "//third_party/spirv-tools/source/reduce/merge_blocks_reduction_opportunity.cpp",
36 "//third_party/spirv-tools/source/reduce/merge_blocks_reduction_opportunity_finder.cpp",
37 "//third_party/spirv-tools/source/reduce/operand_to_const_reduction_opportunity_finder.cpp",
38 …"//third_party/spirv-tools/source/reduce/operand_to_dominating_id_reduction_opportunity_finder.cpp…
39 "//third_party/spirv-tools/source/reduce/operand_to_undef_reduction_opportunity_finder.cpp",
40 "//third_party/spirv-tools/source/reduce/reducer.cpp",
[all …]
DCMakeLists.txt85 add_library(SPIRV-Tools-reduce ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_REDUCE_SOURCES})
87 spvtools_default_compile_options(SPIRV-Tools-reduce)
88 target_include_directories(SPIRV-Tools-reduce
96 target_link_libraries(SPIRV-Tools-reduce
100 set_property(TARGET SPIRV-Tools-reduce PROPERTY FOLDER "SPIRV-Tools libraries")
101 spvtools_check_symbol_exports(SPIRV-Tools-reduce)
104 install(TARGETS SPIRV-Tools-reduce EXPORT SPIRV-Tools-reduceTargets
110 spvtools_config_package_dir(SPIRV-Tools-reduce PACKAGE_DIR)
114 spvtools_generate_config_file(SPIRV-Tools-reduce)
/third_party/jerryscript/tests/jerry/
Darray-prototype-reduce.js23 [0].reduce(new Object());
32 [].reduce(func);
40 assert ([].reduce(func, 1) === 1);
42 assert ([].reduce(func, undefined) === undefined);
44 assert ([0].reduce(func) === 0);
46 assert ([0, 1].reduce(func) === 1);
48 assert ([0, 1].reduce(func, 1) === 2);
50 assert ([0, 1, 2, 3].reduce(func, 1) === 7);
52 assert (["A","B"].reduce(func) === "AB");
54 assert (["A","B"].reduce(func, "Init:") === "Init:AB");
[all …]
/third_party/node/test/parallel/
Dtest-stream-reduce.js27 .reduce(fn, initial);
28 const arrayReduce = values.reduce(fn, initial);
36 .reduce(fn, initial);
37 const arrayReduce = values.reduce(fn, initial);
45 const six = await Readable.from([1, 2, 3]).reduce(async (p, c) => p + c, 0);
49 const six = await Readable.from([1, 2, 3]).reduce(async (p, c) => p + c);
59 .reduce(async (p, c) => {
72 await Readable.from([1, 2, 3]).reduce(async (p, c) => {
89 await stream.reduce(async (p, c) => {
106 await stream.reduce(async (p, c, { signal }) => {
[all …]
/third_party/typescript/tests/baselines/reference/
DanyInferenceAnonymousFunctions.symbols5 paired.reduce(function (a1, a2) {
6 >paired.reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(…
8 >reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5…
17 paired.reduce((b1, b2) => {
18 >paired.reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(…
20 >reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5…
29 paired.reduce((b3, b4) => b3.concat({}), []);
30 >paired.reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(…
32 >reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5…
DreturnTypeParameterWithModules.js3 export function reduce<A>(ar, f, e?): Array<A> {
4 return Array.prototype.reduce.apply(ar, e ? [f, e] : [f]); method in Array
10 A.reduce(arguments, compose2);
20 function reduce(ar, f, e) { function
21 return Array.prototype.reduce.apply(ar, e ? [f, e] : [f]); method in Array
23 M1.reduce = reduce;
31 A.reduce(arguments, compose2);
DreturnTypeParameterWithModules.symbols5 export function reduce<A>(ar, f, e?): Array<A> {
6 >reduce : Symbol(reduce, Decl(returnTypeParameterWithModules.ts, 0, 11))
14 return Array.prototype.reduce.apply(ar, e ? [f, e] : [f]);
15 >Array.prototype.reduce.apply : Symbol(Function.apply, Decl(lib.es5.d.ts, --, --))
16 >Array.prototype.reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, -…
20 >reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5…
40 A.reduce(arguments, compose2);
41 >A.reduce : Symbol(A.reduce, Decl(returnTypeParameterWithModules.ts, 0, 11))
43 >reduce : Symbol(A.reduce, Decl(returnTypeParameterWithModules.ts, 0, 11))
DreturnTypeParameterWithModules.types5 export function reduce<A>(ar, f, e?): Array<A> {
6 >reduce : <A>(ar: any, f: any, e?: any) => Array<A>
11 return Array.prototype.reduce.apply(ar, e ? [f, e] : [f]);
12 >Array.prototype.reduce.apply(ar, e ? [f, e] : [f]) : any
13 >Array.prototype.reduce.apply : (this: Function, thisArg: any, argArray?: any) => any
14 >Array.prototype.reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: numb…
18 >reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]…
41 A.reduce(arguments, compose2);
42 >A.reduce(arguments, compose2) : unknown[]
43 >A.reduce : <A>(ar: any, f: any, e?: any) => A[]
[all …]
DanyInferenceAnonymousFunctions.js4 paired.reduce(function (a1, a2) {
10 paired.reduce((b1, b2) => {
15 paired.reduce((b3, b4) => b3.concat({}), []);
22 paired.reduce(function (a1, a2) {
25 paired.reduce(function (b1, b2) {
28 paired.reduce(function (b3, b4) { return b3.concat({}); }, []);
DdestructuringTuple.symbols22 const [oops1] = [1, 2, 3].reduce((accu, el) => accu.concat(el), []);
24 >[1, 2, 3].reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), De…
25 >reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5…
33 const [oops2] = [1, 2, 3].reduce((acc: number[], e) => acc.concat(e), []);
35 >[1, 2, 3].reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), De…
36 >reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5…
DduplicateOverloadInTypeAugmentation1.symbols6 reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T,
7 >reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5…
23reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U,
24 >reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5…
45 var r5 = a.reduce((x, y) => x + y);
47 >a.reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.e…
49 >reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5…
DanyInferenceAnonymousFunctions.types5 paired.reduce(function (a1, a2) {
6 >paired.reduce(function (a1, a2) { return a1.concat({});} , []) : any
7 >paired.reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array…
9 >reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]…
24 paired.reduce((b1, b2) => {
25 >paired.reduce((b1, b2) => { return b1.concat({});} , []) : any
26 >paired.reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array…
28 >reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]…
43 paired.reduce((b3, b4) => b3.concat({}), []);
44 >paired.reduce((b3, b4) => b3.concat({}), []) : any
[all …]
DgenericContextualTypingSpecialization.symbols5 b.reduce<number>((c, d) => c + d, 0); // should not error on '+'
6 >b.reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.e…
8 >reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5…
DunionOfClassCalls.js29 arr.reduce((acc: Array<string>, a: number | string, index: number) => {
41 arr1.reduce((acc: number[], a: number, index: number) => {
52 arr2.reduce((acc: string[], a: string, index: number) => {
94 arr.reduce(function (acc, a, index) {
103 arr1.reduce(function (acc, a, index) {
112 arr2.reduce(function (acc, a, index) {
DgenericReduce.symbols15 var n1 = b.reduce((x, y) => x + y);
17 >b.reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.e…
19 >reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5…
51 var n3 = b.reduce<string>( (x, y) => x + y, ""); // Initial value is of type string
53 >b.reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.e…
55 >reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5…
DdestructuringTuple.types25 const [oops1] = [1, 2, 3].reduce((accu, el) => accu.concat(el), []);
27 >[1, 2, 3].reduce((accu, el) => accu.concat(el), []) : number
28 >[1, 2, 3].reduce : { (callbackfn: (previousValue: number, currentValue: number, currentIndex: numb…
33 >reduce : { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array:…
44 const [oops2] = [1, 2, 3].reduce((acc: number[], e) => acc.concat(e), []);
46 >[1, 2, 3].reduce((acc: number[], e) => acc.concat(e), []) : number[]
47 >[1, 2, 3].reduce : { (callbackfn: (previousValue: number, currentValue: number, currentIndex: numb…
52 >reduce : { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array:…
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/
Dspirv_reduce_mutator.cc63 spvtools::reduce:: in SpirvReduceMutator()
65 MaybeAddFinder<spvtools::reduce::MergeBlocksReductionOpportunityFinder>(); in SpirvReduceMutator()
67 spvtools::reduce::OperandToConstReductionOpportunityFinder>(); in SpirvReduceMutator()
69 spvtools::reduce::OperandToDominatingIdReductionOpportunityFinder>(); in SpirvReduceMutator()
71 spvtools::reduce::OperandToUndefReductionOpportunityFinder>(); in SpirvReduceMutator()
72 MaybeAddFinder<spvtools::reduce::RemoveBlockReductionOpportunityFinder>(); in SpirvReduceMutator()
74 spvtools::reduce::RemoveFunctionReductionOpportunityFinder>(); in SpirvReduceMutator()
76 spvtools::reduce::RemoveSelectionReductionOpportunityFinder>(); in SpirvReduceMutator()
78 spvtools::reduce::RemoveUnusedInstructionReductionOpportunityFinder>( in SpirvReduceMutator()
81 spvtools::reduce::RemoveUnusedStructMemberReductionOpportunityFinder>(); in SpirvReduceMutator()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
DCMakeLists.txt85 add_library(SPIRV-Tools-reduce ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_REDUCE_SOURCES})
87 spvtools_default_compile_options(SPIRV-Tools-reduce)
88 target_include_directories(SPIRV-Tools-reduce
96 target_link_libraries(SPIRV-Tools-reduce
100 set_property(TARGET SPIRV-Tools-reduce PROPERTY FOLDER "SPIRV-Tools libraries")
101 spvtools_check_symbol_exports(SPIRV-Tools-reduce)
104 install(TARGETS SPIRV-Tools-reduce EXPORT SPIRV-Tools-reduceTargets
110 spvtools_config_package_dir(SPIRV-Tools-reduce PACKAGE_DIR)
114 spvtools_generate_config_file(SPIRV-Tools-reduce)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
DCMakeLists.txt85 add_library(SPIRV-Tools-reduce ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_REDUCE_SOURCES})
87 spvtools_default_compile_options(SPIRV-Tools-reduce)
88 target_include_directories(SPIRV-Tools-reduce
96 target_link_libraries(SPIRV-Tools-reduce
100 set_property(TARGET SPIRV-Tools-reduce PROPERTY FOLDER "SPIRV-Tools libraries")
101 spvtools_check_symbol_exports(SPIRV-Tools-reduce)
104 install(TARGETS SPIRV-Tools-reduce EXPORT SPIRV-Tools-reduceTargets
110 spvtools_config_package_dir(SPIRV-Tools-reduce PACKAGE_DIR)
114 spvtools_generate_config_file(SPIRV-Tools-reduce)
/third_party/skia/tests/
DPathOpsCubicReduceOrderTest.cpp114 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
125 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
128 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
137 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
148 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
159 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
170 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
173 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
182 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
194 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/
DBUILD.gn799 "source/reduce/change_operand_reduction_opportunity.cpp",
800 "source/reduce/change_operand_reduction_opportunity.h",
801 "source/reduce/change_operand_to_undef_reduction_opportunity.cpp",
802 "source/reduce/change_operand_to_undef_reduction_opportunity.h",
803 "source/reduce/conditional_branch_to_simple_conditional_branch_opportunity_finder.cpp",
804 "source/reduce/conditional_branch_to_simple_conditional_branch_opportunity_finder.h",
805 "source/reduce/conditional_branch_to_simple_conditional_branch_reduction_opportunity.cpp",
806 "source/reduce/conditional_branch_to_simple_conditional_branch_reduction_opportunity.h",
807 "source/reduce/merge_blocks_reduction_opportunity.cpp",
808 "source/reduce/merge_blocks_reduction_opportunity.h",
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/
DBUILD.gn799 "source/reduce/change_operand_reduction_opportunity.cpp",
800 "source/reduce/change_operand_reduction_opportunity.h",
801 "source/reduce/change_operand_to_undef_reduction_opportunity.cpp",
802 "source/reduce/change_operand_to_undef_reduction_opportunity.h",
803 "source/reduce/conditional_branch_to_simple_conditional_branch_opportunity_finder.cpp",
804 "source/reduce/conditional_branch_to_simple_conditional_branch_opportunity_finder.h",
805 "source/reduce/conditional_branch_to_simple_conditional_branch_reduction_opportunity.cpp",
806 "source/reduce/conditional_branch_to_simple_conditional_branch_reduction_opportunity.h",
807 "source/reduce/merge_blocks_reduction_opportunity.cpp",
808 "source/reduce/merge_blocks_reduction_opportunity.h",
[all …]

12345678910>>...56