Home
last modified time | relevance | path

Searched refs:mult (Results 1 – 25 of 166) sorted by relevance

1234567

/external/iptables/extensions/
Dlibxt_limit.c48 uint32_t mult = 1; /* Seconds by default. */ in parse_rate() local
56 mult = 1; in parse_rate()
58 mult = 60; in parse_rate()
60 mult = 60*60; in parse_rate()
62 mult = 24*60*60; in parse_rate()
70 *val = XT_LIMIT_SCALE * mult / r; in parse_rate()
115 uint32_t mult; member
131 if (period > rates[i].mult in print_rate()
132 || rates[i].mult/period < rates[i].mult%period) in print_rate()
135 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name); in print_rate()
Dlibxt_hashlimit.c35 uint32_t mult; member
225 ud->mult = XT_HASHLIMIT_BYTE_EXPIRE; in parse_bytes()
235 ud->mult = 1; /* Seconds by default. */ in parse_rate()
242 ud->mult = 1; in parse_rate()
244 ud->mult = 60; in parse_rate()
246 ud->mult = 60*60; in parse_rate()
248 ud->mult = 24*60*60; in parse_rate()
256 *val = XT_HASHLIMIT_SCALE * ud->mult / r; in parse_rate()
395 info->cfg.expire = udata->mult * 1000; /* from s to msec */ in hashlimit_check()
407 info->cfg.expire = udata->mult * 1000; /* from s to msec */ in hashlimit_mt_check()
[all …]
/external/chromium_org/chrome/common/extensions/docs/server2/
Dmock_function_test.py14 def calc(a, b, mult=1): argument
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/webp/src/dsp/
Dalpha_processing.c26 static uint32_t Mult(uint8_t x, uint32_t mult) { in Mult() argument
27 const uint32_t v = (x * mult + HALF) >> MFIX; in Mult()
229 const uint32_t mult = MULTIPLIER(a); in ApplyAlphaMultiply() local
230 rgb[4 * i + 0] = PREMULTIPLY(rgb[4 * i + 0], mult); in ApplyAlphaMultiply()
231 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult); in ApplyAlphaMultiply()
232 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult); in ApplyAlphaMultiply()
266 const uint32_t mult = MULTIPLIER(a); in ApplyAlphaMultiply4444() local
267 const uint8_t r = multiply(dither_hi(rg), mult); in ApplyAlphaMultiply4444()
268 const uint8_t g = multiply(dither_lo(rg), mult); in ApplyAlphaMultiply4444()
269 const uint8_t b = multiply(dither_hi(ba), mult); in ApplyAlphaMultiply4444()
/external/chromium_org/third_party/libwebp/dsp/
Dalpha_processing.c26 static uint32_t Mult(uint8_t x, uint32_t mult) { in Mult() argument
27 const uint32_t v = (x * mult + HALF) >> MFIX; in Mult()
229 const uint32_t mult = MULTIPLIER(a); in ApplyAlphaMultiply() local
230 rgb[4 * i + 0] = PREMULTIPLY(rgb[4 * i + 0], mult); in ApplyAlphaMultiply()
231 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult); in ApplyAlphaMultiply()
232 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult); in ApplyAlphaMultiply()
266 const uint32_t mult = MULTIPLIER(a); in ApplyAlphaMultiply4444() local
267 const uint8_t r = multiply(dither_hi(rg), mult); in ApplyAlphaMultiply4444()
268 const uint8_t g = multiply(dither_lo(rg), mult); in ApplyAlphaMultiply4444()
269 const uint8_t b = multiply(dither_hi(ba), mult); in ApplyAlphaMultiply4444()
/external/eigen/bench/btl/libs/gmm/
Dgmm_interface.hh82 gmm::mult(A,B, X); in matrix_matrix_product()
86 gmm::mult(gmm::transposed(A),gmm::transposed(B), X); in transposed_matrix_matrix_product()
90 gmm::mult(gmm::transposed(A),A, X); in ata_product()
94 gmm::mult(A,gmm::transposed(A), X); in aat_product()
98 gmm::mult(A,B,X); in matrix_vector_product()
102 gmm::mult(gmm::transposed(A),B,X); in atv_product()
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Dt015calc.g18 expression returns [result]: r=mult (
19 '+' r2=mult {r += r2;}
20 | '-' r2=mult {r -= r2;}
23 mult returns [result]: r=log (
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt015calc.g21 expression returns [result]: r=mult (
22 '+' r2=mult {r += r2}
23 | '-' r2=mult {r -= r2}
26 mult returns [result]: r=log (
/external/e2fsprogs/ext2ed/
Dinode_com.c29 long inode_num,mult=1; in type_ext2_inode___prev() local
36 mult=atol (buffer); in type_ext2_inode___prev()
51 if (entry_num-mult+1>0) { in type_ext2_inode___prev()
52 device_offset-=sizeof (struct ext2_inode)*mult; in type_ext2_inode___prev()
53 entry_num-=mult; in type_ext2_inode___prev()
76 long inode_num,mult=1; in type_ext2_inode___next() local
83 mult=atol (buffer); in type_ext2_inode___next()
99 if (entry_num+mult-1<last_entry) { in type_ext2_inode___next()
100 device_offset+=sizeof (struct ext2_inode)*mult; in type_ext2_inode___next()
101 entry_num+=mult; in type_ext2_inode___next()
/external/stlport/test/unit/
Daccum_test.cpp23 static int mult(int initial_, int element_);
44 int prod = accumulate(v.begin(), v.end(), 1, mult); in accum2()
47 int AccumTest::mult(int initial_, int element_) in mult() function in AccumTest
/external/chromium_org/third_party/icu/source/test/perf/perldriver/
DFormat.pm57 my $mult = shift;
61 my $result = formatSigDig($sigdig, $a*$mult);
63 my $d = formatSigDig($sigdig, $delta*$mult);
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 …d class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalue\">".formatN…
/external/icu/icu4c/source/test/perf/perldriver/
DFormat.pm57 my $mult = shift;
61 my $result = formatSigDig($sigdig, $a*$mult);
63 my $d = formatSigDig($sigdig, $delta*$mult);
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 …d class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalue\">".formatN…
/external/chromium_org/media/formats/webm/
Dwebm_tracks_parser.cc37 int64 mult = duration_in_ns / 1000; in PrecisionCappedDefaultDuration() local
38 mult /= timecode_scale_in_us; in PrecisionCappedDefaultDuration()
39 if (mult == 0) in PrecisionCappedDefaultDuration()
42 mult = static_cast<double>(mult) * timecode_scale_in_us; in PrecisionCappedDefaultDuration()
43 return base::TimeDelta::FromMicroseconds(mult); in PrecisionCappedDefaultDuration()
/external/fio/
Dparse.c130 unsigned long long mult = 1; in get_mult_time() local
153 mult = 1; in get_mult_time()
155 mult = 1000; in get_mult_time()
157 mult = 1000000; in get_mult_time()
159 mult = 60 * 1000000UL; in get_mult_time()
161 mult = 60 * 60 * 1000000UL; in get_mult_time()
163 mult = 24 * 60 * 60 * 1000000UL; in get_mult_time()
166 return mult; in get_mult_time()
187 unsigned int i, pow = 0, mult = kb_base; in __get_mult_bytes() local
205 mult = 1000; in __get_mult_bytes()
[all …]
/external/llvm/test/MC/Mips/
Dmips-dsp-instructions.s29 # CHECK: mult $ac3, $2, $3 # encoding: [0x00,0x43,0x18,0x18]
40 # CHECK: mult $2, $3 # encoding: [0x00,0x43,0x00,0x18]
77 mult $ac3, $2, $3
88 mult $2, $3
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dprofiler_unittest.sh108 mult="$5"
123 echo ">>> profile on $exec1 vs $exec2 with multiplier $mult failed:"
168 mult="$3"
180 echo ">>> profile on $exec1 (main vs thread) with multiplier $mult failed:"
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dprofiler_unittest.sh108 mult="$5"
123 echo ">>> profile on $exec1 vs $exec2 with multiplier $mult failed:"
168 mult="$3"
180 echo ">>> profile on $exec1 (main vs thread) with multiplier $mult failed:"
/external/speex/libspeex/
Dlsp.c410 spx_word32_t mult, a; in lsp_to_lpc() local
486 mult = MULT16_32_Q14(freqn[2*i],xp[i][j+1]); in lsp_to_lpc()
487 xp[i+1][j+2] = ADD32(SUB32(xp[i][j+2], mult), xp[i][j]); in lsp_to_lpc()
488 mult = MULT16_32_Q14(freqn[2*i+1],xq[i][j+1]); in lsp_to_lpc()
489 xq[i+1][j+2] = ADD32(SUB32(xq[i][j+2], mult), xq[i][j]); in lsp_to_lpc()
494 mult = MULT16_32_Q14(freqn[2*i],xp[i][j+1]); in lsp_to_lpc()
495 xp[i+1][j+2] = SUB32(xp[i][j], mult); in lsp_to_lpc()
496 mult = MULT16_32_Q14(freqn[2*i+1],xq[i][j+1]); in lsp_to_lpc()
497 xq[i+1][j+2] = SUB32(xq[i][j], mult); in lsp_to_lpc()
/external/e2fsprogs/lib/ext2fs/
Dres_gdt.c30 int mult = 3; in list_backups() local
42 mult = 5; in list_backups()
46 mult = 7; in list_backups()
50 *min *= mult; in list_backups()
/external/llvm/test/CodeGen/Mips/
Dmulll.ll15 ; 16: mult ${{[0-9]+}}, ${{[0-9]+}}
17 ; 16: mult ${{[0-9]+}}, ${{[0-9]+}}
Dmulull.ll16 ; 16: mult ${{[0-9]+}}, ${{[0-9]+}}
18 ; 16: mult ${{[0-9]+}}, ${{[0-9]+}}
/external/chromium_org/third_party/leveldatabase/src/util/
Dhistogram.cc117 const double mult = 100.0 / num_; in ToString() local
127 mult * buckets_[b], // percentage in ToString()
128 mult * sum); // cumulative percentage in ToString()
/external/ppp/pppd/plugins/pppoatm/
Dtext2qos.c27 const char mult[] = "kKmMgGg"; in __t2q_get_rate() local
45 if (*end && (multiplier = strchr(mult,*end))) { in __t2q_get_rate()
46 while (multiplier >= mult) { in __t2q_get_rate()

1234567