Searched refs:reduce (Results 76 - 100 of 142) sorted by path

123456

/external/chromium_org/tools/gyp/pylib/gyp/
H A Deasy_xml.py87 all_strings = reduce(lambda x, y: x and isinstance(y, str), rest, True)
/external/chromium_org/tools/gyp/pylib/gyp/generator/
H A Dcmake.py671 return reduce(lambda x, e: x[not p(e)].append(e) or x, l, ([], []))
/external/chromium_org/tools/resources/
H A Doptimize-png-files.sh16 # Note(oshima): In my experiment, advdef didn't reduce much. I'm keeping it
168 # reduce runtime.
298 pngcrush -d $TMP_DIR -brute -reduce -rem alla $file > /dev/null 2>&1
340 info "$file: Unable to reduce size"
402 $program is a utility to reduce the size of png files by removing
410 reduce addtional 5~30%. This is the default level.
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dbrowser_finder.py37 return reduce(operator.add,
/external/chromium_org/tools/telemetry/telemetry/util/
H A Dstatistics.py185 timestamps = reduce(lambda x, y: x + [x[-1] + y], durations, [0])
/external/chromium_org/tools/telemetry/third_party/png/
H A Dpng.py754 l = map(lambda e: reduce(lambda x,y:
1997 ``sBIT`` chunk it is inspected and can reduce the bit depth of
/external/chromium_org/v8/benchmarks/
H A Dcrypto.js520 function cMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); }
521 function cSqrTo(x,r) { x.squareTo(r); this.reduce(r); }
525 Classic.prototype.reduce = cReduce;
537 // should reduce x and y(2-xy) by m^2 at each step to keep size bounded.
578 this.reduce(r);
603 function montSqrTo(x,r) { x.squareTo(r); this.reduce(r); }
606 function montMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); }
610 Montgomery.prototype.reduce = montReduce;
1069 else { var r = nbi(); x.copyTo(r); this.reduce(r); return r; }
1086 function barrettSqrTo(x,r) { x.squareTo(r); this.reduce(
[all...]
/external/chromium_org/v8/src/compiler/
H A Dgraph-reducer.cc27 bool reduce = true; local
29 if (!reduce) return;
30 reduce = false; // Assume we don't need to rerun any reducers.
43 reduce = true;
68 reduce = true;
/external/chromium_org/v8/test/cctest/compiler/
H A Dtest-js-typed-lowering.cc74 Node* reduce(Node* node) { function in class:JSTypedLoweringTester
104 return reduce(Unop(op, Parameter(input_type)));
108 return reduce(Binop(op, Parameter(left_type, 0), Parameter(right_type, 1)));
206 Node* r = R.reduce(add);
223 Node* r = R.reduce(add);
250 Node* r = R.reduce(add);
320 Node* r = R.reduce(add);
380 Node* r = R.reduce(add);
426 Node* r = R.reduce(c);
452 Node* r = R.reduce(conver
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Darray-reduce.js29 * @fileoverview Test reduce and reduceRight
46 // Creates a callback function for reduce/reduceRight that tests the number
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", "EmptyReduceAccumulat
[all...]
H A Ddebug-evaluate-locals-optimized-double.js62 return arr.reduce(function (a, b) { return a + b; }, 0);
H A Ddebug-evaluate-locals-optimized.js53 return arr.reduce(function (a, b) { return a + b; }, 0);
H A Ddebug-stepin-builtin-callback.js106 a.reduce(cb_reduce);
H A Dfunction-call.js52 Array.prototype.reduce,
149 [Array.prototype.reduce,
/external/chromium_org/v8/test/mjsunit/harmony/
H A Dproxies-function.js616 assertEquals(4, [5, 2].reduce(f, 4))
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-1436.js28 // Check that reduce and reduceRight call the callback function with
32 // Check receiver for reduce and reduceRight.
39 [2, 3].reduce(non_strict);
40 [2, 3].reduce(strict);
H A Dregress-1790.js56 CheckSequence(Array.prototype.reduce, function() { return 0; });
/external/chromium_org/v8/test/mozilla/
H A Dtestcfg.py99 reduce(os.path.join, testfilepath[:i], ""),
/external/chromium_org/v8/test/webkit/
H A Darray-reduce.js25 "This test checks the behavior of the reduce() method on a number of objects."
33 o.reduce = Array.prototype.reduce;
44 o.reduce = Array.prototype.reduce;
48 shouldBe("[0,1,2,3].reduce(function(a,b){ return a + b; })", "6");
49 shouldBe("[1,2,3].reduce(function(a,b){ return a + b; })", "6");
50 shouldBe("[0,1,2,3].reduce(function(a,b){ return a + b; }, 4)", "10");
51 shouldBe("[1,2,3].reduce(function(a,b){ return a + b; }, 4)", "10");
52 shouldBe("toObject([0,1,2,3]).reduce(functio
[all...]
/external/chromium_org/v8/tools/
H A Dgc-nvp-trace-processor.py294 return reduce(lambda t,r: f(t, r[field]), trace, init)
H A Djs2c.py365 return reduce(chain, filter_chain)
H A Drun-tests.py321 return reduce(lambda x, y: x + y, args) <= 1
414 args = reduce(lambda x, y: x + y,
H A Drun_perf.py294 res = reduce(lambda r, t: r + t.GetResults(), self._children, Results())
354 return reduce(lambda r, t: r + t, traces.itervalues(), Results())
/external/chromium_org/v8/tools/gcmole/
H A Dgcmole.lua45 -- can be causing GC. Currently used to reduce number of false
/external/chromium_org/v8/tools/profviz/
H A Dcomposer.js429 .reduce(function(a, b) { return a + b; }, 0);

Completed in 570 milliseconds

123456