/external/libopus/celt/ |
D | mathops.h | 101 float frac; in celt_log2() local 109 frac = in.f - 1.5f; in celt_log2() 110 frac = -0.41445418f + frac*(0.95909232f in celt_log2() 111 + frac*(-0.33951290f + frac*0.16541097f)); in celt_log2() 112 return 1+integer+frac; in celt_log2() 119 float frac; in celt_exp2() local 127 frac = x-integer; in celt_exp2() 129 res.f = 0.99992522f + frac * (0.69583354f in celt_exp2() 130 + frac * (0.22606716f + 0.078024523f*frac)); in celt_exp2() 172 opus_val16 n, frac; in celt_log2() local [all …]
|
D | cwrs.h | 39 int log2_frac(opus_uint32 val, int frac); 42 void get_required_bits(opus_int16 *bits, int N, int K, int frac);
|
D | cwrs.c | 45 int log2_frac(opus_uint32 val, int frac) in log2_frac() argument 55 l=(l-1)<<frac; in log2_frac() 61 l+=b<<frac; in log2_frac() 65 while(frac-->0); in log2_frac() 70 else return (l-1)<<frac; in log2_frac()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1GeneralizedTime.java | 321 String frac = d.substring(14); in getDate() local 323 for (index = 1; index < frac.length(); index++) in getDate() 325 char ch = frac.charAt(index); in getDate() 334 frac = frac.substring(0, 4) + frac.substring(index); in getDate() 335 d = d.substring(0, 14) + frac; in getDate() 339 frac = frac.substring(0, index) + "00" + frac.substring(index); in getDate() 340 d = d.substring(0, 14) + frac; in getDate() 344 frac = frac.substring(0, index) + "0" + frac.substring(index); in getDate() 345 d = d.substring(0, 14) + frac; in getDate()
|
/external/webrtc/webrtc/modules/audio_processing/ns/ |
D | nsx_core_c.c | 35 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local 103 frac = (int16_t)(tmp32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 104 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); in WebRtcNsx_SpeechNoiseProb() 135 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 136 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); in WebRtcNsx_SpeechNoiseProb() 182 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 184 tmp16no1, frac, 14); in WebRtcNsx_SpeechNoiseProb() 228 frac = (int16_t)(tmp32no1 & 0x00000fff); // Q12 in WebRtcNsx_SpeechNoiseProb() 231 tmp32no2 = (frac * frac * 44) >> 19; // Q12. in WebRtcNsx_SpeechNoiseProb() 232 tmp32no2 += (frac * 84) >> 7; // Q12 in WebRtcNsx_SpeechNoiseProb()
|
D | nsx_core_mips.c | 34 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac; in WebRtcNsx_SpeechNoiseProb() local 138 frac = (int16_t)(tmp32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 139 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); in WebRtcNsx_SpeechNoiseProb() 170 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 171 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); in WebRtcNsx_SpeechNoiseProb() 217 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 219 tmp16no1, frac, 14); in WebRtcNsx_SpeechNoiseProb()
|
D | nsx_core.c | 339 int16_t countProd, delta, zeros, frac; in NoiseEstimationC() local 362 frac = (int16_t)((((uint32_t)magn[i] << zeros) in NoiseEstimationC() 365 assert(frac < 256); in NoiseEstimationC() 367 + WebRtcNsx_kLogTableFrac[frac]); in NoiseEstimationC() 1027 int16_t zeros, frac, intPart; in WebRtcNsx_ComputeSpectralFlatness() local 1043 frac = (int16_t)(((uint32_t)((uint32_t)(magn[i]) << zeros) in WebRtcNsx_ComputeSpectralFlatness() 1046 assert(frac < 256); in WebRtcNsx_ComputeSpectralFlatness() 1048 + WebRtcNsx_kLogTableFrac[frac]); // Q8 in WebRtcNsx_ComputeSpectralFlatness() 1059 frac = (int16_t)(((avgSpectralFlatnessDen << zeros) & 0x7FFFFFFF) >> 23); in WebRtcNsx_ComputeSpectralFlatness() 1061 assert(frac < 256); in WebRtcNsx_ComputeSpectralFlatness() [all …]
|
/external/speex/libspeex/ |
D | resample.c | 243 float y, frac; in compute_func() local 248 frac = (y-ind); in compute_func() 250 interp[3] = -0.1666666667*frac + 0.1666666667*(frac*frac*frac); in compute_func() 251 interp[2] = frac + 0.5*(frac*frac) - 0.5*(frac*frac*frac); in compute_func() 253 interp[0] = -0.3333333333*frac + 0.5*(frac*frac) - 0.1666666667*(frac*frac*frac); in compute_func() 319 static void cubic_coef(spx_word16_t frac, spx_word16_t interp[4]) in cubic_coef() argument 323 interp[0] = -0.16667f*frac + 0.16667f*frac*frac*frac; in cubic_coef() 324 interp[1] = frac + 0.5f*frac*frac - 0.5f*frac*frac*frac; in cubic_coef() 326 interp[3] = -0.33333f*frac + 0.5f*frac*frac - 0.16667f*frac*frac*frac; in cubic_coef() 452 …const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_r… in resampler_basic_interpolate_single() local [all …]
|
D | math_approx.h | 253 spx_word16_t frac; in spx_exp2() local 259 frac = SHL16(x-SHL16(integer,11),3); in spx_exp2() 260 …frac = ADD16(D0, MULT16_16_Q14(frac, ADD16(D1, MULT16_16_Q14(frac, ADD16(D2 , MULT16_16_Q14(D3,fra… in spx_exp2() 261 return VSHR32(EXTEND32(frac), -integer-2); in spx_exp2()
|
D | resample_sse.h | 57 …gle(const float *a, const float *b, unsigned int len, const spx_uint32_t oversample, float *frac) { in interpolate_product_single() argument 61 __m128 f = _mm_loadu_ps(frac); in interpolate_product_single() 100 …ble(const float *a, const float *b, unsigned int len, const spx_uint32_t oversample, float *frac) { in interpolate_product_double() argument 106 __m128 f = _mm_loadu_ps(frac); in interpolate_product_double()
|
/external/valgrind/none/tests/ppc64/ |
D | round.c | 53 unsigned int frac:23; member 59 unsigned int frac:23; 150 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); in print_single() 166 (R.layout.frac != E.layout.frac)) { in check_dbl_to_flt_round() 240 F.layout.frac = 1; in init() 278 (R.layout.frac != E.layout.frac)) { in check_int_to_flt_round() 538 int num, den, frac; in check_single_guarded_arithmetic_op() member 611 B.layout.frac = g; in check_single_guarded_arithmetic_op() 621 Z.layout.frac = 0x100000 | (g >> 3); in check_single_guarded_arithmetic_op() 627 A.layout.frac |= 0x2; in check_single_guarded_arithmetic_op() [all …]
|
/external/valgrind/none/tests/ppc32/ |
D | round.c | 53 unsigned int frac:23; member 59 unsigned int frac:23; 150 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); in print_single() 166 (R.layout.frac != E.layout.frac)) { in check_dbl_to_flt_round() 240 F.layout.frac = 1; in init() 278 (R.layout.frac != E.layout.frac)) { in check_int_to_flt_round() 538 int num, den, frac; in check_single_guarded_arithmetic_op() member 611 B.layout.frac = g; in check_single_guarded_arithmetic_op() 621 Z.layout.frac = 0x100000 | (g >> 3); in check_single_guarded_arithmetic_op() 627 A.layout.frac |= 0x2; in check_single_guarded_arithmetic_op() [all …]
|
/external/skia/src/ports/ |
D | SkFontMgr_android_parser.h | 177 T frac = 0; in parse_fixed() local 194 frac = (frac + (d << N)) / 10; // This requires four bits overhead. in parse_fixed() 207 frac = -frac; in parse_fixed() 209 *value = SkLeftShift(n, N) + frac; in parse_fixed()
|
/external/deqp/framework/common/ |
D | tcuFloatFormat.cpp | 101 const double frac = deFractExp(deAbs(x), &exp); in ulp() local 103 if (deIsNaN(frac)) in ulp() 105 else if (deIsInf(frac)) in ulp() 107 else if (frac == 1.0) in ulp() 113 else if (frac == 0.0) in ulp() 144 const double frac = deFractExp(d, &exp); in round() local 146 const double shiftFrac = deLdExp(frac, shift); in round() 237 const double frac = deFractExp(deAbs(x), &exp); in floatToHex() local 239 const deUint64 bits = deUint64(deLdExp(frac, shift)); in floatToHex()
|
/external/curl/src/ |
D | tool_cb_prg.c | 49 double frac; in tool_progress_cb() local 85 frac = (double)point / (double)total; in tool_progress_cb() 86 percent = frac * 100.0f; in tool_progress_cb() 88 num = (int) (((double)barwidth) * frac); in tool_progress_cb()
|
/external/webp/src/dsp/ |
D | rescaler_mips32.c | 39 int base, frac, sum; in ImportRowShrink() local 71 [sum]"=&r"(sum), [base]"=&r"(base), [frac]"=&r"(frac), in ImportRowShrink() 98 int frac; in ImportRowExpand() local 134 [x_out]"+r"(x_out), [frac]"=&r"(frac), [frow]"+r"(frow) in ImportRowExpand()
|
D | rescaler.c | 81 const rescaler_t frac = base * (-accum); in WebPRescalerImportRowShrinkC() local 82 wrk->frow[x_out] = sum * wrk->x_sub - frac; in WebPRescalerImportRowShrinkC() 84 sum = (int)MULT_FIX(frac, wrk->fx_scale); in WebPRescalerImportRowShrinkC() 138 const uint32_t frac = (uint32_t)MULT_FIX(frow[x_out], yscale); in WebPRescalerExportRowShrinkC() local 139 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in WebPRescalerExportRowShrinkC() 142 irow[x_out] = frac; // new fractional start in WebPRescalerExportRowShrinkC()
|
D | rescaler_sse2.c | 148 const __m128i frac = _mm_unpacklo_epi16(frac0, frac1); // frac is 32b in RescalerImportRowShrinkSSE2() local 152 const __m128i frow_out = _mm_sub_epi32(B0, frac); // sum * x_sub - frac in RescalerImportRowShrinkSSE2() 153 const __m128i D0 = _mm_srli_epi64(frac, 32); in RescalerImportRowShrinkSSE2() 154 const __m128i D1 = _mm_mul_epu32(frac, mult1); // 32b x 16b -> 64b in RescalerImportRowShrinkSSE2() 331 const uint32_t frac = (int)MULT_FIX(frow[x_out], yscale); in RescalerExportRowShrinkSSE2() local 332 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in RescalerExportRowShrinkSSE2() 335 irow[x_out] = frac; // new fractional start in RescalerExportRowShrinkSSE2()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | HebrewCalendar.java | 613 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # in startOfYear() local 614 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculation in startOfYear() 615 frac = frac % DAY_PARTS; // Time of day in startOfYear() 624 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { in startOfYear() 630 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) { in startOfYear()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | HebrewCalendar.java | 589 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # in startOfYear() local 590 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculation in startOfYear() 591 frac = frac % DAY_PARTS; // Time of day in startOfYear() 600 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { in startOfYear() 606 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) { in startOfYear()
|
/external/aac/libFDK/include/ |
D | fixpoint_math.h | 152 USHORT frac=(y>>10)&0xffff; in sqrtFixp_lookup() local 153 USHORT nfrac=0xffff^frac; in sqrtFixp_lookup() 154 UINT t=nfrac*sqrt_tab[idx]+frac*sqrt_tab[idx+1]; in sqrtFixp_lookup() 180 USHORT frac=(y>>10)&0xffff; in sqrtFixp_lookup() local 181 USHORT nfrac=0xffff^frac; in sqrtFixp_lookup() 182 UINT t=nfrac*sqrt_tab[idx]+frac*sqrt_tab[idx+1]; in sqrtFixp_lookup()
|
/external/python/cpython2/Lib/json/ |
D | scanner.py | 50 integer, frac, exp = m.groups() 51 if frac or exp: 52 res = parse_float(integer + (frac or '') + (exp or ''))
|
/external/icu/icu4c/source/i18n/ |
D | hebrwcal.cpp | 398 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # in startOfYear() local 399 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation in startOfYear() 400 frac = frac % DAY_PARTS; // Time of day in startOfYear() 409 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { in startOfYear() 415 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) { in startOfYear()
|
/external/libpcap/ |
D | sf-pcap-ng.c | 1032 u_int64_t t, sec, frac; in pcap_ng_next_packet() local 1292 frac = t % ps->ifaces[interface_id].tsresol; in pcap_ng_next_packet() 1321 frac *= ps->ifaces[interface_id].scale_factor; in pcap_ng_next_packet() 1344 frac *= ps->user_tsresol; in pcap_ng_next_packet() 1345 frac /= ps->ifaces[interface_id].tsresol; in pcap_ng_next_packet() 1364 frac /= ps->ifaces[interface_id].scale_factor; in pcap_ng_next_packet() 1391 frac *= ps->user_tsresol; in pcap_ng_next_packet() 1392 frac /= ps->ifaces[interface_id].tsresol; in pcap_ng_next_packet() 1401 hdr->ts.tv_usec = (long)frac; in pcap_ng_next_packet() 1410 hdr->ts.tv_usec = (int)frac; in pcap_ng_next_packet()
|
/external/syslinux/utils/ |
D | isohybrid.in | 183 $frac = $imgsize % $cylsize; 184 $padding = ($frac > 0) ? $cylsize - $frac : 0;
|