HomeSort by relevance Sort by last modified time
    Searched refs:mult (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/src/com/android/cts/splitapp/
FeatureLogic.java 24 public static int mult(int a, int b) { method in class:FeatureLogic
25 Log.d(TAG, "FeatureLogic.mult(" + a + ", " + b + ")");
  /external/chromium_org/chrome/common/extensions/docs/server2/
mock_function_test.py 14 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))
  /development/perftests/panorama/feature_stab/db_vlvm/
db_metrics.h 121 double x0,x1,x2,mult; local
127 mult=1.0/((x2!=0.0)?x2:1.0);
128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult));
135 double x0,x1,x2,mult; local
141 mult=1.0/((x2!=0.0)?x2:1.0);
142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult));
168 double xh,yh,zh,mult,mult2,xh_mult2,yh_mult2; local
186 mult=1.0/((zh!=0.0)?zh:1.0)
258 double xh,yh,zh,mult,mult2,xh_mult2,yh_mult2; local
    [all...]
db_utilities.h 353 * Scalar multiplication in place: A(3)=mult*A(3).
355 inline void db_MultiplyScalar3(double *A,double mult)
357 (*A++) *= mult; (*A++) *= mult; (*A++) *= mult;
361 * Scalar multiplication: A(3)=mult*B(3).
363 inline void db_MultiplyScalarCopy3(double *A,const double *B,double mult)
365 (*A++)=(*B++)*mult; (*A++)=(*B++)*mult; (*A++)=(*B++)*mult;
    [all...]
db_utilities_camera.h 126 double s,mult; local
129 mult=sqrt(1.0/(s?s:1));
130 R[0]*=mult; R[1]*=mult; R[2]*=mult;
136 mult=sqrt(1.0/(s?s:1));
137 R[3]*=mult; R[4]*=mult; R[5]*=mult;
db_utilities_linalg.h 36 inline void db_MultiplyScalar6(double A[6],double mult)
38 (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult;
39 (*A++) *= mult;
44 inline void db_MultiplyScalar7(double A[7],double mult)
46 (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult; (*A++) *= mult
    [all...]
  /external/iptables/extensions/
libxt_limit.c 48 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%period
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
ippet_power_monitor.py 186 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=1000)
    [all...]
  /external/chromium_org/third_party/icu/source/test/perf/perldriver/
Format.pm 57 my $mult = shift;
61 my $result = formatSigDig($sigdig, $a*$mult);
63 my $d = formatSigDig($sigdig, $delta*$mult);
95 my @MULT = (1 , 1e3, 1e6, 1e9);
101 ++$i while ($a*$MULT[$i] < 1 && $i < @MULT);
103 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
Output.pm 23 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/
Format.pm 57 my $mult = shift;
61 my $result = formatSigDig($sigdig, $a*$mult);
63 my $d = formatSigDig($sigdig, $delta*$mult);
95 my @MULT = (1 , 1e3, 1e6, 1e9);
101 ++$i while ($a*$MULT[$i] < 1 && $i < @MULT);
103 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
Output.pm 23 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>";
  /cts/tests/tests/media/src/android/media/cts/
PresentationSyncTest.java 112 // Tests with mult < 1.0f are flaky, for two reasons:
114 // (a) They assume that the GPU can render the test scene in less than mult*refreshNsec.
123 // throughput won't be much better than with mult=1.0.
140 * If mult is -1, the test runs in "training" mode, rendering frames as quickly as
145 private long runThroughputTest(InputSurface output, long frameTimeNsec, float mult) {
146 Log.d(TAG, "runThroughputTest: " + mult);
159 drawFrame(0, mult);
168 if (mult != -1.0f) {
169 showNsec = startNsec + (long) (frameNum * frameTimeNsec * mult);
171 drawFrame(frameNum, mult);
    [all...]
  /external/eigen/bench/btl/libs/gmm/
gmm_interface.hh 82 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/
calc.rb 26 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/
histogram.cc 117 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/
profiler_unittest.sh 108 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/
profiler_unittest.sh 108 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:"
  /development/perftests/panorama/feature_stab/src/dbreg/
dbreg.h 554 double x0,x1,x2,mult; local
560 mult=1.0/((x2!=0.0)?x2:1.0);
561 sd=(y[0]-x0*mult)*(y[0]-x0*mult)+(y[1]-x1*mult)*(y[1]-x1*mult);
  /external/chromium_org/media/formats/webm/
webm_tracks_parser.cc 37 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/
alpha_processing.c 26 static uint32_t Mult(uint8_t x, uint32_t mult) {
27 const uint32_t v = (x * mult + HALF) >> MFIX;
148 out |= Mult(argb >> 0, scale) << 0;
149 out |= Mult(argb >> 8, scale) << 8;
150 out |= Mult(argb >> 16, scale) << 16;
167 ptr[x] = Mult(ptr[x], scale);
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);
266 const uint32_t mult = MULTIPLIER(a); local
    [all...]
  /external/e2fsprogs/ext2ed/
inode_com.c 29 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/fio/
parse.c 130 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 = 1000
297 unsigned long long mult; local
    [all...]
  /device/generic/goldfish/qemud/
qemud.c 1244 static int multiplexer_open_channel( Multiplexer* mult, Packet* p );
1245 static void multiplexer_close_channel( Multiplexer* mult, int channel );
1246 static void multiplexer_serial_send( Multiplexer* mult, int channel, Packet* p );
    [all...]
  /external/e2fsprogs/intl/
eval-plural.h 62 case mult:

Completed in 571 milliseconds

1 2 3 4 5 6