Home
last modified time | relevance | path

Searched refs:testReduce (Results 1 – 4 of 4) sorted by relevance

/external/v8/test/mjsunit/
Darray-reduce.js74 function testReduce(type, function
109 testReduce("reduce", "SimpleReduceSum", 12,
115 testReduce("reduce", "SimpleReduceProd", 48,
121 testReduce("reduce", "SimpleReduceDec", 246,
127 testReduce("reduce", "SimpleReduceAccumulate", simpleArray,
134 testReduce("reduce", "EmptyReduceSum", 0, [], [], sum, 0);
135 testReduce("reduce", "EmptyReduceProd", 1, [], [], prod, 1);
136 testReduce("reduce", "EmptyReduceDec", 0, [], [], dec, 0);
137 testReduce("reduce", "EmptyReduceAccumulate", [], [], [], accumulate, []);
139 testReduce("reduce", "EmptyReduceSumNoInit", 0, [], [0], sum);
[all …]
/external/v8/test/mjsunit/es6/
Dtypedarray-reduce.js59 function testReduce(type, function
95 testReduce("reduce", "SimpleReduceSum", 12,
101 testReduce("reduce", "SimpleReduceProd", 48,
107 testReduce("reduce", "SimpleReduceDec", 246,
113 testReduce("reduce", "SimpleReduceAccumulate", [2, 4, 6],
120 testReduce("reduce", "EmptyReduceSum", 0, [], new constructor([]), sum, 0);
121 testReduce("reduce", "EmptyReduceProd", 1, [], new constructor([]), prod, 1);
122 testReduce("reduce", "EmptyReduceDec", 0, [], new constructor([]), dec, 0);
123 testReduce("reduce", "EmptyReduceAccumulate", [], [], new constructor([]), accumulate, []);
125 testReduce("reduce", "EmptyReduceSumNoInit", 0, [], new constructor([0]), sum);
[all …]
/external/libxml2/
DtestRegexp.c185 testReduce(xmlExpCtxtPtr ctxt, xmlExpNodePtr expr, const char *tst) { in testReduce() function
349 testReduce(ctxt, expr, argv[i]); in main()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/
DFrameSnapshotTest.java72 public void testReduce() { in testReduce() method in FrameSnapshotTest