Searched refs:mult (Results 1 - 25 of 131) sorted by relevance

123456

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dmock_function_test.py14 def calc(a, b, mult=1):
15 return (a + b) * mult
21 self.assertEqual(20, calc(2, 3, mult=4))
25 self.assertEqual(20, calc(2, 3, mult=4))
30 self.assertEqual(0, calc(3, 4, mult=0))
35 self.assertEqual(0, calc(3, 4, mult=0))
/external/stlport/test/unit/
H A Daccum_test.cpp23 static int mult(int initial_, int element_);
44 int prod = accumulate(v.begin(), v.end(), 1, mult);
47 int AccumTest::mult(int initial_, int element_) function in class:AccumTest
H A Dinnerprod_test.cpp31 static size_t mult(size_t a_, size_t b_) { function in class:InnerprodTest
69 size_t result=inner_product(v1.begin(), v1.end(), v2.begin(), (size_t)1, mult, add);
H A Dadj_test.cpp33 static int mult(int a_, int b_);
120 adjacent_difference(v.begin(), v.end(), result.begin(), mult);
132 int AdjTest::mult(int a_, int b_) function in class:AdjTest
/external/iptables/extensions/
H A Dlibxt_limit.c48 uint32_t mult = 1; /* Seconds by default. */ local
56 mult = 1;
58 mult = 60;
60 mult = 60*60;
62 mult = 24*60*60;
70 *val = XT_LIMIT_SCALE * mult / r;
115 uint32_t mult; member in struct:rates
131 if (period > rates[i].mult
132 || rates[i].mult/period < rates[i].mult
[all...]
H A Dlibxt_hashlimit.c35 uint32_t mult; member in struct:hashlimit_mt_udata
225 ud->mult = XT_HASHLIMIT_BYTE_EXPIRE;
235 ud->mult = 1; /* Seconds by default. */
242 ud->mult = 1;
244 ud->mult = 60;
246 ud->mult = 60*60;
248 ud->mult = 24*60*60;
256 *val = XT_HASHLIMIT_SCALE * ud->mult / r;
395 info->cfg.expire = udata->mult * 1000; /* from s to msec */
407 info->cfg.expire = udata->mult * 100
431 uint32_t mult; member in struct:rates
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
H A Dippet_power_monitor.py186 mult: A cosntant to multiply the field's value by, for unit conversions.
201 return [float(value(line)) * kwargs.get('mult', 1) for line in data]
205 'power_samples_mw': get('Power(_Total)', 'Package W', mult=1000),
208 get('Power(_Total)', 'Package W', mult=1000),
209 get('sys', 'Interval(secs)', mult=1./3600.))),
217 'power_samples_mw': get('Power(_Total)', 'CPU W', mult=1000),
220 get('Power(_Total)', 'CPU W', mult=1000),
221 get('sys', 'Interval(secs)', mult=1./3600.))),
224 'power_samples_mw': get('Power(_Total)', 'Disk W', mult=1000),
227 get('Power(_Total)', 'Disk W', mult
[all...]
/external/chromium_org/third_party/icu/source/test/perf/perldriver/
H A DFormat.pm57 my $mult = shift;
61 my $result = formatSigDig($sigdig, $a*$mult);
63 my $d = formatSigDig($sigdig, $delta*$mult);
H A DOutput.pm23 my $mult = 1e9; #use nanoseconds
62 print HTML formatNumber(2, $mult, $mean);
66 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) {
75 print HTML formatNumber(2, $mult, $error);
305 print HTML "<td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getError)."</td>";
/external/icu/icu4c/source/test/perf/perldriver/
H A DFormat.pm57 my $mult = shift;
61 my $result = formatSigDig($sigdig, $a*$mult);
63 my $d = formatSigDig($sigdig, $delta*$mult);
H A DOutput.pm23 my $mult = 1e9; #use nanoseconds
62 print HTML formatNumber(2, $mult, $mean);
66 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) {
75 print HTML formatNumber(2, $mult, $error);
305 print HTML "<td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getError)."</td>";
/external/eigen/bench/btl/libs/gmm/
H A Dgmm_interface.hh82 gmm::mult(A,B, X);
86 gmm::mult(gmm::transposed(A),gmm::transposed(B), X);
90 gmm::mult(gmm::transposed(A),A, X);
94 gmm::mult(A,gmm::transposed(A), X);
98 gmm::mult(A,B,X);
102 gmm::mult(gmm::transposed(A),B,X);
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
H A Dcalc.rb26 r=mult { $result = $r.result }
28 '+' r2=mult { $result += $r2.result }
29 | '-' r2=mult { $result -= $r2.result }
33 mult returns [result]:
/external/chromium_org/third_party/leveldatabase/src/util/
H A Dhistogram.cc117 const double mult = 100.0 / num_; local
127 mult * buckets_[b], // percentage
128 mult * sum); // cumulative percentage
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dprofiler_unittest.sh108 mult="$5"
119 # || [ `expr $mthread1_plus \* $mult` -gt `expr $mthread2_plus \* 2` -o \
120 # `expr $mthread1_plus \* $mult \* 2` -lt `expr $mthread2_plus` ]
123 echo ">>> profile on $exec1 vs $exec2 with multiplier $mult failed:"
168 mult="$3"
176 # || [ `expr $mthread \* $mult \* 3` -gt `expr $othread \* 10` -o \
177 # `expr $mthread \* $mult \* 10` -lt `expr $othread \* 3` ]
180 echo ">>> profile on $exec1 (main vs thread) with multiplier $mult failed:"
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dprofiler_unittest.sh108 mult="$5"
119 # || [ `expr $mthread1_plus \* $mult` -gt `expr $mthread2_plus \* 2` -o \
120 # `expr $mthread1_plus \* $mult \* 2` -lt `expr $mthread2_plus` ]
123 echo ">>> profile on $exec1 vs $exec2 with multiplier $mult failed:"
168 mult="$3"
176 # || [ `expr $mthread \* $mult \* 3` -gt `expr $othread \* 10` -o \
177 # `expr $mthread \* $mult \* 10` -lt `expr $othread \* 3` ]
180 echo ">>> profile on $exec1 (main vs thread) with multiplier $mult failed:"
/external/chromium_org/media/formats/webm/
H A Dwebm_tracks_parser.cc37 int64 mult = duration_in_ns / 1000;
38 mult /= timecode_scale_in_us;
39 if (mult == 0)
42 mult = static_cast<double>(mult) * timecode_scale_in_us;
43 return base::TimeDelta::FromMicroseconds(mult);
/external/chromium_org/third_party/libwebp/dsp/
H A Dalpha_processing.c26 static uint32_t Mult(uint8_t x, uint32_t mult) { argument
27 const uint32_t v = (x * mult + HALF) >> MFIX;
229 const uint32_t mult = MULTIPLIER(a); local
230 rgb[4 * i + 0] = PREMULTIPLY(rgb[4 * i + 0], mult);
231 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult);
232 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult);
266 const uint32_t mult = MULTIPLIER(a); local
267 const uint8_t r = multiply(dither_hi(rg), mult);
268 const uint8_t g = multiply(dither_lo(rg), mult);
269 const uint8_t b = multiply(dither_hi(ba), mult);
[all...]
/external/e2fsprogs/ext2ed/
H A Dinode_com.c29 long inode_num,mult=1; local
36 mult=atol (buffer);
51 if (entry_num-mult+1>0) {
52 device_offset-=sizeof (struct ext2_inode)*mult;
53 entry_num-=mult;
76 long inode_num,mult=1; local
83 mult=atol (buffer);
99 if (entry_num+mult-1<last_entry) {
100 device_offset+=sizeof (struct ext2_inode)*mult;
101 entry_num+=mult;
[all...]
/external/webp/src/dsp/
H A Dalpha_processing.c26 static uint32_t Mult(uint8_t x, uint32_t mult) { argument
27 const uint32_t v = (x * mult + HALF) >> MFIX;
229 const uint32_t mult = MULTIPLIER(a); local
230 rgb[4 * i + 0] = PREMULTIPLY(rgb[4 * i + 0], mult);
231 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult);
232 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult);
266 const uint32_t mult = MULTIPLIER(a); local
267 const uint8_t r = multiply(dither_hi(rg), mult);
268 const uint8_t g = multiply(dither_lo(rg), mult);
269 const uint8_t b = multiply(dither_hi(ba), mult);
[all...]
/external/ppp/pppd/plugins/pppoatm/
H A Dtext2qos.c27 const char mult[] = "kKmMgGg"; local
45 if (*end && (multiplier = strchr(mult,*end))) {
46 while (multiplier >= mult) {
/external/fio/
H A Dparse.c130 unsigned long long mult = 1; local
153 mult = 1;
155 mult = 1000;
157 mult = 1000000;
159 mult = 60 * 1000000UL;
161 mult = 60 * 60 * 1000000UL;
163 mult = 24 * 60 * 60 * 1000000UL;
166 return mult;
187 unsigned int i, pow = 0, mult = kb_base; local
205 mult
297 unsigned long long mult; local
[all...]
/external/e2fsprogs/intl/
H A Deval-plural.h62 case mult:
H A Dplural-exp.h45 mult, /* Multiplication. */ enumerator in enum:expression::operator
/external/e2fsprogs/lib/ext2fs/
H A Dres_gdt.c30 int mult = 3; local
42 mult = 5;
46 mult = 7;
50 *min *= mult;

Completed in 1348 milliseconds

123456