Home
last modified time | relevance | path

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

12345678910

/external/ltp/lib/
Drandom_range.c45 int mult; member
135 rp->mult = defmult; in parse_ranges()
192 if ((*parse_func) (multstr, &rp->mult) < 0) { in parse_ranges()
250 return ((struct range *)rbuf)[r].mult; in range_mult()
278 long random_range(int min, int max, int mult, char **errp) in random_range() argument
288 if (mult < 1) { in random_range()
302 orig_mult = mult; in random_range()
318 if ((r = min % mult)) /* bump to the next higher 'mult' multiple */ in random_range()
319 min += mult - r; in random_range()
321 if ((r = max % mult)) /* reduce to the next lower 'mult' multiple */ in random_range()
[all …]
/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()
[all …]
Dlibebt_limit.c54 uint32_t mult = 1; /* Seconds by default. */ in parse_rate() local
62 mult = 1; in parse_rate()
64 mult = 60; in parse_rate()
66 mult = 60*60; in parse_rate()
68 mult = 24*60*60; in parse_rate()
78 if (r / mult > EBT_LIMIT_SCALE) in parse_rate()
81 *val = EBT_LIMIT_SCALE * mult / r; in parse_rate()
129 uint32_t mult; member
145 if (period > g_rates[i].mult || in print_rate()
146 g_rates[i].mult/period < g_rates[i].mult%period) in print_rate()
[all …]
Dlibxt_hashlimit.c37 uint32_t mult; member
295 ud->mult = XT_HASHLIMIT_BYTE_EXPIRE; in parse_bytes()
312 ud->mult = 1; /* Seconds by default. */ in parse_rate()
319 ud->mult = 1; in parse_rate()
321 ud->mult = 60; in parse_rate()
323 ud->mult = 60*60; in parse_rate()
325 ud->mult = 24*60*60; in parse_rate()
333 tmp = scale * ud->mult / r; in parse_rate()
541 info->cfg.expire = udata->mult * 1000; /* from s to msec */ in hashlimit_check()
553 info->cfg.expire = udata->mult * 1000; /* from s to msec */ in hashlimit_mt_check_v1()
[all …]
/external/libgsm/add-test/
Dadd_test.dta193 'mult ================
197 mult 0 0 = 0
198 mult 0x100 0x100 = 2
199 mult 4711 0x4000 = 2355
202 mult -1 0 = 0
204 mult -0x100 0x100 = -2
205 mult 0x100 -0x100 = -2
206 mult -0x100 -0x100 = 2
208 mult -4711 0x4000 = -2356
209 mult 4711 -0x4000 = -2356
[all …]
/external/ltp/testcases/kernel/fs/doio/
Dbytes_by_prefix.c75 char mult, junk; in bytes_by_prefix() local
80 nconv = sscanf(s, "%f%c%c", &num, &mult, &junk); in bytes_by_prefix()
89 switch (mult) { in bytes_by_prefix()
123 char mult, junk; in lbytes_by_prefix() local
128 nconv = sscanf(s, "%f%c%c", &num, &mult, &junk); in lbytes_by_prefix()
137 switch (mult) { in lbytes_by_prefix()
175 char mult, junk; in llbytes_by_prefix() local
180 nconv = sscanf(s, "%lf%c%c", &num, &mult, &junk); in llbytes_by_prefix()
188 switch (mult) { in llbytes_by_prefix()
Diogen.c580 int mult, offset = 0, length = 0, slength; in form_iorequest() local
642 mult = fptr->f_riou; in form_iorequest()
644 mult = fptr->f_iou; in form_iorequest()
657 minlength = (Mintrans > mult) ? Mintrans : mult; in form_iorequest()
665 if (offset && (offset % mult)) in form_iorequest()
666 offset += mult - (offset % mult); in form_iorequest()
675 length = random_range(minlength, maxlength, mult, &errp); in form_iorequest()
679 TagName, minlength, maxlength, mult); in form_iorequest()
697 length = random_range(minlength, maxlength, mult, &errp); in form_iorequest()
701 TagName, minlength, maxlength, mult); in form_iorequest()
[all …]
/external/openssh/
Dsmult_curve25519_ref.c62 static void mult(unsigned int out[32],const unsigned int a[32],const unsigned int b[32]) in mult() function
162 mult(b1,a1,a0 + 32); in mainloop()
163 mult(b1 + 32,a1 + 32,a0); in mainloop()
170 mult(xznb,b0,b0 + 32); in mainloop()
171 mult(xznb + 32,s,u); in mainloop()
173 mult(xzn1b + 32,r,work); in mainloop()
197 /* 9 */ mult(z9,t0,z); in recip()
198 /* 11 */ mult(z11,z9,z2); in recip()
200 /* 2^5 - 2^0 = 31 */ mult(z2_5_0,t0,z9); in recip()
207 /* 2^10 - 2^0 */ mult(z2_10_0,t0,z2_5_0); in recip()
[all …]
/external/webp/src/dsp/
Drescaler_sse2.c63 const __m128i mult = _mm_set1_epi32(((x_add - accum) << 16) | accum); in RescalerImportRowExpandSSE2() local
64 const __m128i out = _mm_madd_epi16(cur_pixels, mult); in RescalerImportRowExpandSSE2()
86 const __m128i mult = _mm_cvtsi32_si128(((x_add - accum) << 16) | accum); in RescalerImportRowExpandSSE2() local
87 const __m128i out = _mm_madd_epi16(cur_pixels, mult); in RescalerImportRowExpandSSE2()
145 const __m128i mult = _mm_set1_epi16(-accum); in RescalerImportRowShrinkSSE2() local
146 const __m128i frac0 = _mm_mullo_epi16(base, mult); // 16b x 16b -> 32b in RescalerImportRowShrinkSSE2()
147 const __m128i frac1 = _mm_mulhi_epu16(base, mult); in RescalerImportRowShrinkSSE2()
173 const __m128i* const mult, in LoadDispatchAndMult() argument
182 if (mult != NULL) { in LoadDispatchAndMult()
183 *out0 = _mm_mul_epu32(A0, *mult); in LoadDispatchAndMult()
[all …]
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/jemalloc/test/src/
Dtimer.c34 uint64_t mult; in timer_ratio() local
43 mult = 1; in timer_ratio()
45 mult *= 10; in timer_ratio()
53 uint64_t round = (i+1 == buflen-1 && ((t0 * mult * 10 / t1) % 10 in timer_ratio()
56 "%"FMTu64, (t0 * mult / t1) % 10 + round); in timer_ratio()
58 mult *= 10; in timer_ratio()
/external/libavc/common/arm/
Dih264_weighted_bi_pred_a9q.s184 vmul.s16 q2, q2, d2[0] @weight 1 mult. for rows 1,2
185 vmla.s16 q2, q3, d2[2] @weight 2 mult. for rows 1,2
186 vmul.s16 q4, q4, d2[0] @weight 1 mult. for rows 3,4
187 vmla.s16 q4, q5, d2[2] @weight 2 mult. for rows 3,4
224 vmul.s16 q2, q2, d2[0] @weight 1 mult. for row 1
225 vmla.s16 q2, q3, d2[2] @weight 2 mult. for row 1
228 vmul.s16 q4, q4, d2[0] @weight 1 mult. for row 2
229 vmla.s16 q4, q5, d2[2] @weight 2 mult. for row 2
233 vmul.s16 q6, q6, d2[0] @weight 1 mult. for row 3
234 vmla.s16 q6, q7, d2[2] @weight 2 mult. for row 3
[all …]
Dih264_weighted_pred_a9q.s144 vmul.s16 q2, q2, d2[0] @weight mult. for rows 1,2
145 vmul.s16 q3, q3, d2[0] @weight mult. for rows 3,4
176 vmul.s16 q2, q2, d2[0] @weight mult. for row 1
178 vmul.s16 q3, q3, d2[0] @weight mult. for row 2
179 vmul.s16 q4, q4, d2[0] @weight mult. for row 3
180 vmul.s16 q5, q5, d2[0] @weight mult. for row 4
216 vmul.s16 q6, q6, d2[0] @weight mult. for row 1L
218 vmul.s16 q7, q7, d2[0] @weight mult. for row 1H
220 vmul.s16 q8, q8, d2[0] @weight mult. for row 2L
222 vmul.s16 q9, q9, d2[0] @weight mult. for row 2H
[all …]
/external/ltp/include/
Dtst_fs.h58 unsigned int size, unsigned int mult);
157 unsigned int mult) in tst_fs_has_free() argument
159 return tst_fs_has_free_(NULL, path, size, mult); in tst_fs_has_free()
183 unsigned int size, unsigned int mult) in tst_fs_has_free() argument
185 return tst_fs_has_free_(cleanup, path, size, mult); in tst_fs_has_free()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_meta_util.c136 int mult = isLeftOrBottom ? 1 : -1; in clip_coordinates() local
140 *src += clipped_src0 * mult; in clip_coordinates()
141 *dst0 += clipped_src0 / scale * mult; in clip_coordinates()
143 *dst0 += clipped_dst0 * mult; in clip_coordinates()
144 *src += clipped_dst0 * scale * mult; in clip_coordinates()
148 *src += clipped_src0 * mult; in clip_coordinates()
149 *dst1 -= clipped_src0 / scale * mult; in clip_coordinates()
151 *dst1 -= clipped_dst1 * mult; in clip_coordinates()
152 *src += clipped_dst1 * scale * mult; in clip_coordinates()
/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/e2fsprogs/ext2ed/
Dinode_com.c30 long inode_num,mult=1; in type_ext2_inode___prev() local
37 mult=atol (buffer); in type_ext2_inode___prev()
52 if (entry_num-mult+1>0) { in type_ext2_inode___prev()
53 device_offset-=sizeof (struct ext2_inode)*mult; in type_ext2_inode___prev()
54 entry_num-=mult; in type_ext2_inode___prev()
77 long inode_num,mult=1; in type_ext2_inode___next() local
84 mult=atol (buffer); in type_ext2_inode___next()
100 if (entry_num+mult-1<last_entry) { in type_ext2_inode___next()
101 device_offset+=sizeof (struct ext2_inode)*mult; in type_ext2_inode___next()
102 entry_num+=mult; in type_ext2_inode___next()
/external/syslinux/gpxe/src/crypto/
Dcrc32.c42 u32 mult; in crc32_le() local
48 mult = ( crc & 1 ) ? CRCPOLY : 0; in crc32_le()
49 crc = ( crc >> 1 ) ^ mult; in crc32_le()
/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/fio/
Dparse.c137 unsigned long long mult = 1; in get_mult_time() local
161 mult = 1; in get_mult_time()
163 mult = 1000; in get_mult_time()
165 mult = 1000000; in get_mult_time()
167 mult = 60 * 1000000UL; in get_mult_time()
169 mult = 60 * 60 * 1000000UL; in get_mult_time()
171 mult = 24 * 60 * 60 * 1000000ULL; in get_mult_time()
174 return mult; in get_mult_time()
195 unsigned int i, pow = 0, mult = kb_base; in __get_mult_bytes() local
217 mult = 1024; in __get_mult_bytes()
[all …]
/external/icu/icu4c/source/test/perf/perldriver/
DOutput.pm27 my $mult = 1e9; #use nanoseconds
66 print HTML formatNumber(2, $mult, $mean);
70 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) {
79 print HTML formatNumber(2, $mult, $error);
309 …d class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalue\">".formatN…
DFormat.pm61 my $mult = shift;
65 my $result = formatSigDig($sigdig, $a*$mult);
67 my $d = formatSigDig($sigdig, $delta*$mult);
/external/icu/icu4j/perf-tests/perldriver/
DOutput.pm25 my $mult = 1e9; #use nanoseconds
64 print HTML formatNumber(2, $mult, $mean);
68 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) {
77 print HTML formatNumber(2, $mult, $error);
307 …d class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalue\">".formatN…
DFormat.pm59 my $mult = shift;
63 my $result = formatSigDig($sigdig, $a*$mult);
65 my $d = formatSigDig($sigdig, $delta*$mult);

12345678910