Searched refs:den (Results 1 - 25 of 138) sorted by relevance

123456

/external/libcxx/test/utilities/ratio/
H A Dtypedefs.pass.cpp16 static_assert(std::atto::num == 1 && std::atto::den == 1000000000000000000ULL, "");
17 static_assert(std::femto::num == 1 && std::femto::den == 1000000000000000ULL, "");
18 static_assert(std::pico::num == 1 && std::pico::den == 1000000000000ULL, "");
19 static_assert(std::nano::num == 1 && std::nano::den == 1000000000ULL, "");
20 static_assert(std::micro::num == 1 && std::micro::den == 1000000ULL, "");
21 static_assert(std::milli::num == 1 && std::milli::den == 1000ULL, "");
22 static_assert(std::centi::num == 1 && std::centi::den == 100ULL, "");
23 static_assert(std::deci::num == 1 && std::deci::den == 10ULL, "");
24 static_assert(std::deca::num == 10ULL && std::deca::den == 1, "");
25 static_assert(std::hecto::num == 100ULL && std::hecto::den
[all...]
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
H A Ddivision_operations.c26 uint32_t WebRtcSpl_DivU32U16(uint32_t num, uint16_t den) argument
29 if (den != 0)
31 return (uint32_t)(num / den);
38 int32_t WebRtcSpl_DivW32W16(int32_t num, int16_t den) argument
41 if (den != 0)
43 return (int32_t)(num / den);
50 int16_t WebRtcSpl_DivW32W16ResW16(int32_t num, int16_t den) argument
53 if (den != 0)
55 return (int16_t)(num / den);
62 int32_t WebRtcSpl_DivResultInQ31(int32_t num, int32_t den) argument
[all...]
/external/webrtc/src/common_audio/signal_processing/
H A Ddivision_operations.c26 WebRtc_UWord32 WebRtcSpl_DivU32U16(WebRtc_UWord32 num, WebRtc_UWord16 den) argument
29 if (den != 0)
31 return (WebRtc_UWord32)(num / den);
38 WebRtc_Word32 WebRtcSpl_DivW32W16(WebRtc_Word32 num, WebRtc_Word16 den) argument
41 if (den != 0)
43 return (WebRtc_Word32)(num / den);
50 WebRtc_Word16 WebRtcSpl_DivW32W16ResW16(WebRtc_Word32 num, WebRtc_Word16 den) argument
53 if (den != 0)
55 return (WebRtc_Word16)(num / den);
62 WebRtc_Word32 WebRtcSpl_DivResultInQ31(WebRtc_Word32 num, WebRtc_Word32 den) argument
[all...]
/external/libvpx/libvpx/vp9/common/
H A Dvp9_prob.h54 static INLINE vp9_prob get_prob(int num, int den) { argument
55 return (den == 0) ? 128u : clip_prob(((int64_t)num * 256 + (den >> 1)) / den);
58 static INLINE vp9_prob get_prob(int num, int den) { argument
59 return (den == 0) ? 128u : clip_prob((num * 256 + (den >> 1)) / den);
/external/libcxx/test/utilities/ratio/ratio.arithmetic/
H A Dratio_divide.pass.cpp20 static_assert(R::num == 1 && R::den == 1, "");
26 static_assert(R::num == 1 && R::den == 2, "");
32 static_assert(R::num == -1 && R::den == 2, "");
38 static_assert(R::num == -1 && R::den == 2, "");
44 static_assert(R::num == -1 && R::den == 2, "");
50 static_assert(R::num == -1 && R::den == 2, "");
56 static_assert(R::num == 630992477165LL && R::den == 127339199162436LL, "");
H A Dratio_multiply.pass.cpp20 static_assert(R::num == 1 && R::den == 1, "");
26 static_assert(R::num == 1 && R::den == 2, "");
32 static_assert(R::num == -1 && R::den == 2, "");
38 static_assert(R::num == -1 && R::den == 2, "");
44 static_assert(R::num == -1 && R::den == 2, "");
50 static_assert(R::num == -1 && R::den == 2, "");
56 static_assert(R::num == 15519594064236LL && R::den == 5177331081415LL, "");
H A Dratio_add.pass.cpp20 static_assert(R::num == 2 && R::den == 1, "");
26 static_assert(R::num == 3 && R::den == 2, "");
32 static_assert(R::num == 1 && R::den == 2, "");
38 static_assert(R::num == 1 && R::den == 2, "");
44 static_assert(R::num == -1 && R::den == 2, "");
50 static_assert(R::num == -1 && R::den == 2, "");
56 static_assert(R::num == 127970191639601LL && R::den == 5177331081415LL, "");
62 static_assert(R::num == 0 && R::den == 1, "");
68 static_assert(R::num == 1 && R::den == 1, "");
74 static_assert(R::num == 1 && R::den
[all...]
H A Dratio_subtract.pass.cpp20 static_assert(R::num == 0 && R::den == 1, "");
26 static_assert(R::num == -1 && R::den == 2, "");
32 static_assert(R::num == -3 && R::den == 2, "");
38 static_assert(R::num == -3 && R::den == 2, "");
44 static_assert(R::num == 3 && R::den == 2, "");
50 static_assert(R::num == 3 && R::den == 2, "");
56 static_assert(R::num == -126708206685271LL && R::den == 5177331081415LL, "");
62 static_assert(R::num == 0 && R::den == 1, "");
68 static_assert(R::num == 1 && R::den == 1, "");
74 static_assert(R::num == -1 && R::den
[all...]
/external/libcxx/test/utilities/time/time.duration/
H A Dratio.fail.cpp23 static const int den = D; member in class:Ratio
/external/valgrind/main/VEX/test/
H A Dx87fxam.c25 double den ( void ) { return 9.1e-220 / 1e100; } function
41 d = den(); do_fxam(); printf("0x%4x: %f\n", i, d );
42 d = -den(); do_fxam(); printf("0x%4x: %f\n", i, d );
/external/qemu/target-i386/
H A Dint_helper.c46 unsigned int num, den, q, r; local
49 den = (t0 & 0xff);
50 if (den == 0) {
53 q = (num / den);
57 r = (num % den) & 0xff;
63 int num, den, q, r; local
66 den = (int8_t)t0;
67 if (den == 0) {
70 q = (num / den);
74 r = (num % den)
80 unsigned int num, den, q, r; local
98 int num, den, q, r; local
116 unsigned int den, r; local
134 int den, r; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_prob.h50 static INLINE vp9_prob get_prob(int num, int den) { argument
51 return (den == 0) ? 128u : clip_prob(((int64_t)num * 256 + (den >> 1)) / den);
/external/lldb/tools/lldb-perf/lib/
H A DTimer.cpp47 return (double)m_start.time_since_epoch().count() * (double)system_clock::period::num / (double)system_clock::period::den;
53 return (double)m_stop.time_since_epoch().count() * (double)system_clock::period::num / (double)system_clock::period::den;
/external/pdfium/core/src/fxge/agg/agg23/
H A Dagg_math.h54 FX_FLOAT den = FXSYS_Mul(bx - ax, dy - cy) - FXSYS_Mul(by - ay, dx - cx); local
55 if (FXSYS_fabs(den) < intersection_epsilon) {
58 *x = ax + FXSYS_MulDiv(bx - ax, num, den);
59 *y = ay + FXSYS_MulDiv(by - ay, num, den);
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Divfdec.c21 static void fix_framerate(int *num, int *den) { argument
29 *den *= 2;
36 *den = 1;
H A Divfenc.c31 mem_put_le32(header + 16, cfg->g_timebase.den); // rate
/external/libvpx/libvpx/
H A Divfdec.c21 static void fix_framerate(int *num, int *den) { argument
29 *den *= 2;
36 *den = 1;
/external/speex/libspeex/
H A Dfilters_bfin.h85 void filter_mem16(const spx_word16_t *_x, const spx_coef_t *num, const spx_coef_t *den, spx_word16_t *_y, int N, int ord, spx_mem_t *mem, char *stack) argument
101 numden[2*i+1] = den[i];
230 void iir_mem16(const spx_word16_t *_x, const spx_coef_t *den, spx_word16_t *_y, int N, int ord, spx_mem_t *mem, char *stack) argument
347 : : "m" (yy), "m" (_x), "m" (_y), "m" (den), "m" (N), "m" (ord), "m" (mem)
359 spx_coef_t *den; local
360 den = (spx_coef_t*)((((int)den2)+4)&0xfffffffc);
362 den[i] = 0;
363 filter_mem16(x, num, den, y, N, ord, mem, stack);
468 void filter_mem2(const spx_sig_t *_x, const spx_coef_t *num, const spx_coef_t *den, spx_sig_t *_y, int N, int ord, spx_mem_t *mem)
487 yi = MAC16_16(yi, den[
[all...]
H A Dfilters_sse.h39 __m128 num[3], den[3], mem[3]; local
48 den[i] = _mm_loadu_ps(_den+4*i);
52 den[2] = _mm_setr_ps(_den[8], _den[9], 0, 0);
69 mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0]));
75 mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[1]));
80 mem[2] = _mm_sub_ps(mem[2], _mm_mul_ps(yy, den[2]));
92 __m128 num[2], den[2], mem[2]; local
101 den[i] = _mm_loadu_ps(_den+4*i);
119 mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0]));
125 mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[
146 __m128 den[3], mem[3]; local
195 __m128 den[2], mem[2]; local
[all...]
/external/chromium_org/third_party/opus/src/celt/
H A Dcelt_lpc.h45 const opus_val16 *den,
H A Drate.c160 opus_int32 den; local
198 den=((opus_int32)(2*N-1)<<9)-459;
199 qb = IMIN((num+(den>>1))/den, 57);
213 den = ((opus_int32)ndof<<9)-(N==2?512:487);
214 qb = IMIN((num+(den>>1))/den, (N==2?64:61));
230 den = (ndof-1)<<BITRES;
231 qb = IMIN((num+(den>>1))/den, MAX_FINE_BIT
432 int N0, N, den; local
[all...]
/external/libcxx/test/utilities/ratio/ratio.ratio/
H A Dratio.pass.cpp10 // test ratio: The static data members num and den shall have thcommon
19 static_assert((std::ratio<N, D>::den == eD), "");
/external/libopus/celt/
H A Dcelt_lpc.h45 const opus_val16 *den,
H A Drate.c160 opus_int32 den; local
198 den=((opus_int32)(2*N-1)<<9)-459;
199 qb = IMIN((num+(den>>1))/den, 57);
213 den = ((opus_int32)ndof<<9)-(N==2?512:487);
214 qb = IMIN((num+(den>>1))/den, (N==2?64:61));
230 den = (ndof-1)<<BITRES;
231 qb = IMIN((num+(den>>1))/den, MAX_FINE_BIT
432 int N0, N, den; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Daltref_test.cc61 timebase.den, timebase.num, 0, 30);

Completed in 474 milliseconds

123456