/external/libvpx/libvpx/vpx_ports/ |
H A D | msvc.h | 21 #if _MSC_VER < 1800 // VS2013 provides round 23 static INLINE double round(double x) { function
|
/external/compiler-rt/lib/builtins/ |
H A D | floatsisf.c | 11 // compiler-rt library in the IEEE-754 default round-to-nearest, ties-to-even 50 rep_t round = (rep_t)a << (typeWidth - shift); local 51 if (round > signBit) result++; 52 if (round == signBit) result += result & 1;
|
H A D | floatunsisf.c | 11 // compiler-rt library in the IEEE-754 default round-to-nearest, ties-to-even 42 rep_t round = (rep_t)a << (typeWidth - shift); local 43 if (round > signBit) result++; 44 if (round == signBit) result += result & 1;
|
H A D | divsf3.c | 154 // code to round them correctly. 159 const bool round = (residual << 1) > bSignificand; local 165 absResult += round;
|
H A D | divdf3.c | 169 // code to round them correctly. 174 const bool round = (residual << 1) > bSignificand; local 180 absResult += round;
|
H A D | divtf3.c | 186 // code to round them correctly. 190 const bool round = (residual << 1) >= bSignificand; local 196 absResult += round;
|
/external/valgrind/none/tests/s390x/ |
H A D | rounding-1.c | 11 rtext(unsigned round) argument 13 switch (round) { 26 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \ 32 __asm__ volatile (opcode " %[dst]," #round ",%[src]\n\t" \ 40 opcode, rtext(round), src, dst, cc); \ 44 #define cfdbr(round,value) \ 45 convert_to_int("cfdbr",double,int32_t,PRId32,round,value) 55 cfdbr(4, dval); // round to nearest with ties to even 56 cfdbr(5, dval); // round to zero 57 cfdbr(6, dval); // round t [all...] |
/external/jemalloc/test/src/ |
H A D | timer.c | 67 uint64_t round = (i+1 == buflen-1 && ((t0 * mult * 10 / t1) % 10 local 70 "%"PRIu64, (t0 * mult / t1) % 10 + round);
|
/external/skia/src/opts/ |
H A D | SkPMFloat_none.h | 20 inline SkPMColor SkPMFloat::round() const { function in class:SkPMFloat 51 colors[0] = a.round(); 52 colors[1] = b.round(); 53 colors[2] = c.round(); 54 colors[3] = d.round();
|
H A D | SkPMFloat_neon.h | 11 // round() and roundClamp() do the opposite, working from floats to 8-bit-in-32-bit, 33 inline SkPMColor SkPMFloat::round() const { function in class:SkPMFloat 39 uint32x4_t fix8_32 = vcvtq_u32_f32(add_half); // vcvtq_u32_f32 truncates, so round manually 59 colors[0] = a.round(); 60 colors[1] = b.round(); 61 colors[2] = c.round(); 62 colors[3] = d.round();
|
H A D | SkPMFloat_SSE2.h | 11 // round() and roundClamp() do the opposite, working from floats to 8-bit-in-32-bit, 24 inline SkPMColor SkPMFloat::round() const { function in class:SkPMFloat
|
H A D | SkPMFloat_SSSE3.h | 11 // round() does the opposite, working from floats to 8-bit-in-32-bits, then back to packed 8 bit. 34 inline SkPMColor SkPMFloat::round() const { function in class:SkPMFloat 61 colors[0] = a.round(); 62 colors[1] = b.round(); 63 colors[2] = c.round(); 64 colors[3] = d.round();
|
/external/skia/tools/lua/ |
H A D | glyph-usage.lua | 50 function round(x, mul) function 123 local fontID = round(k / 1000) 136 local ave = round(totalCount / strikeCount)
|
/external/v8/tools/ |
H A D | generate-ten-powers.scm | 56 (define (round-n-cut n e nb-bits) 58 (define (round n) 59 (case *round* 63 ;; with the -1 it will only round up if the cut off part is 68 ((round) 73 (cut (bit-rshbx (round n) shift)) 77 (round-n-cut n (+fx e 1) nb-bits)))) 80 (case *round* 83 ((round) (let ((tmp (/bx (*bx #z2 x) y))) 126 (round [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
H A D | DfpDec.java | 66 round(0); 74 round(0); 83 round(0); 165 protected int round(int in) { method in class:DfpDec 193 return super.round(in); 222 inc = (n != 0) || (discarded != 0); // round up if n!=0 226 inc = n >= 5; // round half up 230 inc = n > 5; // round half down 236 (n == 5 && discarded == 0 && ((lsb / lsbthreshold) & 1) == 1); // round half-even 242 (n == 5 && discarded == 0 && ((lsb / lsbthreshold) & 1) == 0); // round hal [all...] |
/external/skia/bench/ |
H A D | BigPathBench.cpp | 33 BigPathBench(Align align, bool round) : fAlign(align), fRound(round) { argument 35 if (round) {
|
/external/ceres-solver/internal/ceres/ |
H A D | parameter_block_ordering.cc | 97 int round = 0; local 104 ordering->AddElementToGroup(parameter_block->mutable_user_state(), round); 108 ++round;
|
/external/fio/ |
H A D | tickmarks.c | 17 static double nicenum(double x, int round) argument 24 if (round) {
|
/external/libvpx/libvpx/test/ |
H A D | idct8x8_test.cc | 26 static int round(double x) { function in namespace:__anon9396 104 output[i] = round(out2[i]/32); 126 coeff[j] = round(output_r[j]);
|
H A D | dct32x32_test.cc | 33 static int round(double x) { function in namespace:__anon9387 179 << "Error: 32x32 FDCT/IDCT has an individual round-trip error > 1"; 182 << "Error: 32x32 FDCT/IDCT has average round-trip error > 1 per block"; 289 coeff[j] = static_cast<tran_low_t>(round(out_r[j]));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | SimpleBigDecimal.java | 153 public BigInteger round() method in class:SimpleBigDecimal
|
H A D | Tnaf.java | 166 public static ZTauElement round(SimpleBigDecimal lambda0, method in class:Tnaf 181 BigInteger f0 = lambda0.round(); 182 BigInteger f1 = lambda1.round(); 299 // round up 606 ZTauElement q = round(lambda0, lambda1, mu);
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
H A D | vp9_quantize_sse2.c | 41 __m128i round, quant, dequant; local 47 round = _mm_load_si128((const __m128i*)round_ptr); 68 qcoeff0 = _mm_adds_epi16(qcoeff0, round); 69 round = _mm_unpackhi_epi64(round, round); 70 qcoeff1 = _mm_adds_epi16(qcoeff1, round); 139 qcoeff0 = _mm_adds_epi16(qcoeff0, round); 140 qcoeff1 = _mm_adds_epi16(qcoeff1, round);
|
/external/regex-re2/util/ |
H A D | benchmark.cc | 83 static int round(int n) { function 113 n = round(n);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
H A D | transform.c | 130 factQ19 = 16921; // 0.5/sqrt(240) in Q19 is round(.5/sqrt(240)*(2^19)) = 16921 158 WebRtc_Word32 round = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, -sh-1); local 160 inre1Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpreQ16[k]+round, -sh); //Q(16+sh) 161 inre2Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpimQ16[k]+round, -sh); //Q(16+sh) 253 WebRtc_Word32 round = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, -sh-1); local 255 inreQ7[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(outre1Q16[k]+round, -sh); //Q(16+sh) 256 inimQ7[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(outre2Q16[k]+round, -sh); //Q(16+sh) 285 factQ11 = 31727; // sqrt(240) in Q11 is round(15.49193338482967*2048) = 31727
|