| /third_party/ltp/lib/ |
| H A D | random_range.c | 45 int mult; member 54 * min:max[:mult] 56 * any of the values may be blank (ie. min::mult, :max, etc.) and default 62 * which is malloc'd by the routine. The min, max, and mult entries of each 73 * defmult default value to plug in for mult, if missing 75 * can call to parse the min, max, and mult strings. This 135 rp->mult = defmult; in parse_ranges() 148 * Parse the 'min' field - if it is zero length (:n2[:mult] in parse_ranges() 185 * Process the 'mult' field - if one was not present in parse_ranges() 187 * then set the mult fiel in parse_ranges() 278 random_range(int min, int max, int mult, char **errp) random_range() argument 365 random_rangel(long min, long max, long mult, char **errp) random_rangel() argument 451 random_rangell(long long min, long long max, long long mult, char **errp) random_rangell() argument [all...] |
| H A D | tst_fs_has_free.c | 30 unsigned int size, unsigned int mult) in tst_fs_has_free_() 40 if ((uint64_t)sf.f_bavail * sf.f_bsize >= (uint64_t)size * mult) in tst_fs_has_free_() 29 tst_fs_has_free_(void (*cleanup)(void), const char *path, unsigned int size, unsigned int mult) tst_fs_has_free_() argument
|
| /third_party/ltp/testcases/kernel/fs/doio/ |
| H A D | bytes_by_prefix.c | 44 * char mult 56 * Returns -1 if mult is an invalid character, or if the integer portion of 75 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, in llbytes_by_prefix() [all...] |
| H A D | iogen.c | 580 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() 647 * Choose offset and length. Both must be a multiple of mult in form_iorequest() 651 * Choose length first - it must be a multiple of mult 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() [all...] |
| /third_party/libwebsockets/plugins/ssh-base/crypto/ |
| H A D | smult_curve25519_ref.c | 60 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_ in recip() [all...] |
| /third_party/benchmark/src/ |
| H A D | benchmark_register.h | 13 // Append the powers of 'mult' in the closed interval [lo, hi]. 17 int mult) { in AddPowers() 20 BM_CHECK_GE(mult, 2); in AddPowers() 26 // Space out the values in multiples of "mult" in AddPowers() 27 for (T i = static_cast<T>(1); i <= hi; i *= static_cast<T>(mult)) { in AddPowers() 32 // 'mult' would move outside of the range of T in AddPowers() 33 if (i > kmax / mult) break; in AddPowers() 40 void AddNegatedPowers(std::vector<T>* dst, T lo, T hi, int mult) { in AddNegatedPowers() argument 53 const auto it = AddPowers(dst, hi_complement, lo_complement, mult); in AddNegatedPowers() 60 void AddRange(std::vector<T>* dst, T lo, T hi, int mult) { in AddRange() argument 16 AddPowers(std::vector<T>* dst, T lo, T hi, int mult) AddPowers() argument [all...] |
| /third_party/node/benchmark/fixtures/ |
| H A D | coverage-many-branches.js | 22 mult() { 29 return mult(); 54 function mult(x, y) { function 56 return mt.mult(); 75 const operations = ['add', 'addSpecial', 'mult', 'multSpecial']; 83 mult(Math.random() * 10, Math.random() * 10) : 92 let r = mult(Math.random() * 10, Math.random() * 10) > 10 ? 94 mult(Math.random() * 10, Math.random() * 10); 98 case 'mult': 99 if (mult(Mat [all...] |
| /third_party/skia/third_party/externals/libwebp/src/dsp/ |
| H A D | rescaler_sse2.c | 66 const __m128i mult = _mm_set1_epi32(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2() local 67 const __m128i out = _mm_madd_epi16(cur_pixels, mult); in RescalerImportRowExpand_SSE2() 85 const __m128i mult = _mm_cvtsi32_si128(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2() local 86 const __m128i out = _mm_madd_epi16(cur_pixels, mult); in RescalerImportRowExpand_SSE2() 144 const __m128i mult = _mm_set1_epi16(-accum); in RescalerImportRowShrink_SSE2() local 145 const __m128i frac0 = _mm_mullo_epi16(base, mult); // 16b x 16b -> 32b in RescalerImportRowShrink_SSE2() 146 const __m128i frac1 = _mm_mulhi_epu16(base, mult); in RescalerImportRowShrink_SSE2() 170 // load *src as epi64, multiply by mult and store result in [out0 ... out3] 172 const __m128i* const mult, in LoadDispatchAndMult_SSE2() 181 if (mult ! in LoadDispatchAndMult_SSE2() 171 LoadDispatchAndMult_SSE2(const rescaler_t* const src, const __m128i* const mult, __m128i* const out0, __m128i* const out1, __m128i* const out2, __m128i* const out3) LoadDispatchAndMult_SSE2() argument 194 ProcessRow_SSE2(const __m128i* const A0, const __m128i* const A1, const __m128i* const A2, const __m128i* const A3, const __m128i* const mult, uint8_t* const dst) ProcessRow_SSE2() argument 234 const __m128i mult = _mm_set_epi32(0, wrk->fy_scale, 0, wrk->fy_scale); RescalerExportRowExpand_SSE2() local 330 const __m128i mult = _mm_set_epi32(0, scale, 0, scale); RescalerExportRowShrink_SSE2() local [all...] |
| H A D | lossless_enc_sse41.c | 54 const __m128i mult = in CollectColorBlueTransforms_SSE41() local 64 const __m128i C1 = _mm_mulhi_epi16(B1, mult); in CollectColorBlueTransforms_SSE41() 74 C2 = _mm_mulhi_epi16(B2, mult); in CollectColorBlueTransforms_SSE41() 100 const __m128i mult = MK_CST_16(0, CST_5b(green_to_red)); in CollectColorRedTransforms_SSE41() local 108 const __m128i C1 = _mm_madd_epi16(B1, mult); in CollectColorRedTransforms_SSE41() 117 C2 = _mm_madd_epi16(B2, mult); in CollectColorRedTransforms_SSE41()
|
| H A D | alpha_processing.c | 29 static uint32_t Mult(uint8_t x, uint32_t mult) { in Mult() argument 30 const uint32_t v = (x * mult + HALF) >> MFIX; in Mult() 235 const uint32_t mult = MULTIPLIER(a); in ApplyAlphaMultiply_C() local 236 rgb[4 * i + 0] = PREMULTIPLY(rgb[4 * i + 0], mult); in ApplyAlphaMultiply_C() 237 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult); in ApplyAlphaMultiply_C() 238 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult); in ApplyAlphaMultiply_C() 273 const uint32_t mult = MULTIPLIER(a); in ApplyAlphaMultiply4444_C() local 274 const uint8_t r = multiply(dither_hi(rg), mult); in ApplyAlphaMultiply4444_C() 275 const uint8_t g = multiply(dither_lo(rg), mult); in ApplyAlphaMultiply4444_C() 276 const uint8_t b = multiply(dither_hi(ba), mult); in ApplyAlphaMultiply4444_C() [all...] |
| H A D | alpha_processing_neon.c | 68 const uint32_t mult = MULTIPLIER(a); in ApplyAlphaMultiply_NEON() local 69 rgb[4 * i + 0] = PREMULTIPLY(rgb[4 * i + 0], mult); in ApplyAlphaMultiply_NEON() 70 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult); in ApplyAlphaMultiply_NEON() 71 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult); in ApplyAlphaMultiply_NEON()
|
| /third_party/cups-filters/filter/pdftopdf/ |
| H A D | pptypes.cc | 135 void PageRect::scale(float mult) // {{{ in scale() argument 137 if (mult==1.0) { in scale() 140 assert(mult!=0.0); in scale() 142 bottom*=mult; in scale() 143 left*=mult; in scale() 144 top*=mult; in scale() 145 right*=mult; in scale() 147 width*=mult; in scale() 148 height*=mult; in scale()
|
| /third_party/ffmpeg/libavfilter/ |
| H A D | af_crystalizer.c | 29 float mult; member 39 { "i", "set intensity", OFFSET(mult), AV_OPT_TYPE_FLOAT, {.dbl=2.0},-10, 10, A }, 52 float mult; member 66 const type mult = td->mult; \ 67 const type scale = one / (-mult + one); \ 81 dst[c] = (current - prv[c] * mult) * scale; \ 84 dst[c] = current + (current - prv[c]) * mult; \ 105 dst[n] = (current - prv[0] * mult) * scale; \ 108 dst[n] = current + (current - prv[0]) * mult; \ [all...] |
| H A D | af_extrastereo.c | 29 float mult; member 37 { "m", "set the difference coefficient", OFFSET(mult), AV_OPT_TYPE_FLOAT, {.dbl=2.5}, -10, 10, A }, 65 const float mult = s->mult; in filter_frame() local 88 left = average + mult * (left - average); in filter_frame() 89 right = average + mult * (right - average); in filter_frame()
|
| H A D | vf_histogram.c | 43 int mult; member 238 s->mult = s->histogram_size / 256; in config_input() 429 const int mult = s->mult; in filter_frame() local 435 s->bg_color[0][k] * mult); in filter_frame() 530 const int mult = s->mult; in filter_frame() local 532 AV_WN16(s->out->data[0] + (minh + starty) * s->out->linesize[p] + startx * 2 + s->x_pos * 2, s->envelope_color[0] * mult); in filter_frame() 533 AV_WN16(s->out->data[0] + (maxh + starty) * s->out->linesize[p] + startx * 2 + s->x_pos * 2, s->envelope_color[0] * mult); in filter_frame() 535 AV_WN16(s->out->data[1] + (minh + starty) * s->out->linesize[p] + startx * 2 + s->x_pos * 2, s->envelope_color[1] * mult); in filter_frame() 570 const int mult = s->mult; filter_frame() local [all...] |
| /third_party/ffmpeg/libavformat/ |
| H A D | dcstr.c | 36 int mult; in dcstr_read_header() local 52 mult = avio_rl32(s->pb); in dcstr_read_header() 53 if (st->codecpar->ch_layout.nb_channels <= 0 || mult <= 0 || in dcstr_read_header() 54 mult > INT_MAX / st->codecpar->ch_layout.nb_channels) { in dcstr_read_header() 56 st->codecpar->ch_layout.nb_channels, mult); in dcstr_read_header() 59 st->codecpar->ch_layout.nb_channels *= mult; in dcstr_read_header()
|
| /third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
| H A D | pcg_engine.h | 143 auto mult = helper.read(is); 146 if (mult != pcg_engine::params_type::multiplier() || 163 state_type mult{}, inc{}, tmp{}; 164 is >> mult >> inc >> tmp; 165 if (mult != pcg_engine::params_type::multiplier() || 186 state_type mult = Params::multiplier(); 192 m *= mult; 193 i = i * mult + inc; 195 inc = (mult + 1) * inc; 196 mult * [all...] |
| /third_party/ltp/include/ |
| H A D | tst_fs.h | 57 * @mult: mult should be TST_KB, TST_MB or TST_GB 58 * the required free space is calculated by @size * @mult 61 unsigned int mult); 223 unsigned int mult) in tst_fs_has_free() 225 return tst_fs_has_free_(NULL, path, size, mult); in tst_fs_has_free() 249 unsigned int size, unsigned int mult) in tst_fs_has_free() 251 return tst_fs_has_free_(cleanup, path, size, mult); in tst_fs_has_free() 222 tst_fs_has_free(const char *path, unsigned int size, unsigned int mult) tst_fs_has_free() argument 248 tst_fs_has_free(void (*cleanup)(void), const char *path, unsigned int size, unsigned int mult) tst_fs_has_free() argument
|
| /third_party/typescript/tests/baselines/reference/ |
| H A D | castTest.js | 19 mult(p: Point): Point; 29 mult: function(p) { return p; } 49 mult: function (p) { return p; }
|
| /third_party/icu/icu4j/perf-tests/perldriver/ |
| H A D | Format.pm | 59 my $mult = shift; 63 my $result = formatSigDig($sigdig, $a*$mult); 65 my $d = formatSigDig($sigdig, $delta*$mult);
|
| H A D | Output.pm | 25 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 print HTML "<td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getError)."</td>";
|
| /third_party/icu/icu4c/source/test/perf/perldriver/ |
| H A D | Format.pm | 61 my $mult = shift; 65 my $result = formatSigDig($sigdig, $a*$mult); 67 my $d = formatSigDig($sigdig, $delta*$mult);
|
| H A D | Output.pm | 27 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); 307 print HTML "<td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getError)."</td>";
|
| /third_party/gptfdisk/ |
| H A D | support.cc | 140 uint64_t response = def, bytesPerUnit, mult = 1, divide = 1; in IeeeToInt() local 186 mult = bytesPerUnit / sSize; in IeeeToInt() 191 if (mult > 1) { in IeeeToInt() 192 if (response > (UINT64_MAX / mult)) in IeeeToInt() 195 response *= mult; in IeeeToInt()
|
| /third_party/mesa3d/src/gallium/auxiliary/draw/ |
| H A D | draw_pipe_offset.c | 93 float zoffset, mult; in do_offset_tri() local 95 mult = MAX2(dzdx, dzdy) * offset->scale; in do_offset_tri() 110 zoffset = bias + mult; in do_offset_tri() 112 zoffset = offset->units + mult; in do_offset_tri()
|