/external/libopus/celt/ |
D | mathops.h | 133 float frac; in celt_log2() local 141 frac = in.f - 1.5f; in celt_log2() 142 frac = -0.41445418f + frac*(0.95909232f in celt_log2() 143 + frac*(-0.33951290f + frac*0.16541097f)); in celt_log2() 144 return 1+integer+frac; in celt_log2() 151 float frac; in celt_exp2() local 159 frac = x-integer; in celt_exp2() 161 res.f = 0.99992522f + frac * (0.69583354f in celt_exp2() 162 + frac * (0.22606716f + 0.078024523f*frac)); in celt_exp2() 204 opus_val16 n, frac; in celt_log2() local [all …]
|
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/g3doc/ |
D | periodic_multires_derivation.md | 32 $$(\text{cycle_eigenvectors}^{-1})_{i, j} = \frac{1}{M} 39 $$w_j = e^{\frac{2 \pi j \sqrt{-1}}{M}}$$ 138 $$ = \frac{1}{M} \sum_{k=0}^{M - 143 $$ = \frac{1}{M} \sum_{k=0}^{M - 148 $$ = \frac{1}{M} \sum_{k=0}^{M - 154 $$ = \frac{1}{M} \sum_{k=0}^{M - 161 $$ = \frac{2}{M} \sum_{k=0}^{(M - 164 $$ = \frac{2}{M} \sum_{k=0}^{(M - 165 1) / 2 - 1} \left[ \text{cos}\left(\frac{2 \pi (i - j) (k + 166 1)}{M}\right) - \text{cos}\left(\frac{2 \pi (i + 1) (k + [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1GeneralizedTime.java | 374 String frac = d.substring(14); in getDate() local 376 for (index = 1; index < frac.length(); index++) in getDate() 378 char ch = frac.charAt(index); in getDate() 387 frac = frac.substring(0, 4) + frac.substring(index); in getDate() 388 d = d.substring(0, 14) + frac; in getDate() 392 frac = frac.substring(0, index) + "00" + frac.substring(index); in getDate() 393 d = d.substring(0, 14) + frac; in getDate() 397 frac = frac.substring(0, index) + "0" + frac.substring(index); in getDate() 398 d = d.substring(0, 14) + frac; in getDate()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
D | ASN1GeneralizedTime.java | 376 String frac = d.substring(14); in getDate() local 378 for (index = 1; index < frac.length(); index++) in getDate() 380 char ch = frac.charAt(index); in getDate() 389 frac = frac.substring(0, 4) + frac.substring(index); in getDate() 390 d = d.substring(0, 14) + frac; in getDate() 394 frac = frac.substring(0, index) + "00" + frac.substring(index); in getDate() 395 d = d.substring(0, 14) + frac; in getDate() 399 frac = frac.substring(0, index) + "0" + frac.substring(index); in getDate() 400 d = d.substring(0, 14) + frac; in getDate()
|
/external/tensorflow/tensorflow/contrib/linear_optimizer/kernels/g3doc/ |
D | readme.md | 7 $$ P(w) = \frac{1}{n}\sum_{i=1}^n \l_i(x_i^T w)+\lambda g(w) $$ 11 $$ D(\a) = \frac{1}{n} \left(\sum_{i=1}^n -\l_i^\star(-\a_i)\right) -\lambda g^\star\left(\tfrac{1}… 35 -\frac{1}{n} \sum_{i\in\P_k}\l_i^\star(-\a_i-(\d_{[k]})_i) -\frac{1}{n} w^T X 36 \d_{[k]}- \frac{\lambda}{2}\sigma \left\| \frac{1}{\lambda n} X \d_{[k]} 49 $$ \max_{\d} \left\{ D_i(\d) = -\l_i^\star(-(\a_i+\d)) - \bar{y}_i \d - \frac{A}{2} \d^2 \right\} $$ 54 To take into account example weights, it suffices to replace $$\frac{1}{n}$$ by 55 $$\frac{s_i}{S}$$ where $$s_i$$ is the weight of the i-th example and $$S=\sum 65 formulation, we replace $$\lambda$$ by $$\frac{\lambda}{\sigma}$$. This gives 67 $$ \d = \frac{y - \bar{y}}{A} $$ 79 \frac{(1-y_i u)^2}{2\gamma} & \text{otherwise} [all …]
|
/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()
|
/external/speex/libspeexdsp/ |
D | resample.c | 244 float y, frac; in compute_func() local 249 frac = (y-ind); in compute_func() 251 interp[3] = -0.1666666667*frac + 0.1666666667*(frac*frac*frac); in compute_func() 252 interp[2] = frac + 0.5*(frac*frac) - 0.5*(frac*frac*frac); in compute_func() 254 interp[0] = -0.3333333333*frac + 0.5*(frac*frac) - 0.1666666667*(frac*frac*frac); in compute_func() 320 static void cubic_coef(spx_word16_t frac, spx_word16_t interp[4]) in cubic_coef() argument 324 interp[0] = -0.16667f*frac + 0.16667f*frac*frac*frac; in cubic_coef() 325 interp[1] = frac + 0.5f*frac*frac - 0.5f*frac*frac*frac; in cubic_coef() 327 interp[3] = -0.33333f*frac + 0.5f*frac*frac - 0.16667f*frac*frac*frac; in cubic_coef() 458 …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()
|
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/ |
D | log_scale.c | 31 int32_t frac = x - (1LL << log2x); in Log2FractionPart() local 33 frac <<= kLogScaleLog2 - log2x; in Log2FractionPart() 35 frac >>= log2x - kLogScaleLog2; in Log2FractionPart() 38 const uint32_t base_seg = frac >> (kLogScaleLog2 - kLogSegmentsLog2); in Log2FractionPart() 45 const int32_t rel_pos = ((c1 - c0) * (frac - seg_base)) >> kLogScaleLog2; in Log2FractionPart() 46 return frac + c0 + rel_pos; in Log2FractionPart()
|
D | pcan_gain_control.c | 27 const int16_t frac = ((interval < 11) in WideDynamicFunction() local 32 int32_t result = ((int32_t) lut[2] * frac) >> 5; in WideDynamicFunction() 34 result *= frac; in WideDynamicFunction()
|
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/ |
D | log_scale.cc | 31 int32_t frac = x - (1LL << log2x); in Log2FractionPart() local 33 frac <<= kLogScaleLog2 - log2x; in Log2FractionPart() 35 frac >>= log2x - kLogScaleLog2; in Log2FractionPart() 38 const uint32_t base_seg = frac >> (kLogScaleLog2 - kLogSegmentsLog2); in Log2FractionPart() 45 const int32_t rel_pos = ((c1 - c0) * (frac - seg_base)) >> kLogScaleLog2; in Log2FractionPart() 46 return frac + c0 + rel_pos; in Log2FractionPart()
|
D | pcan_gain_control.cc | 27 const int16_t frac = in WideDynamicFunction() local 31 int32_t result = (static_cast<int32_t>(lut[2]) * frac) >> 5; in WideDynamicFunction() 33 result *= frac; in WideDynamicFunction()
|
/external/u-boot/drivers/phy/ |
D | phy-stm32-usbphyc.c | 48 u16 frac; member 66 unsigned long long fvco, ndiv, frac; in stm32_usbphyc_get_pll_params() local 83 frac = fvco * (1 << 16); in stm32_usbphyc_get_pll_params() 84 do_div(frac, (clk_rate * 2)); in stm32_usbphyc_get_pll_params() 85 frac = frac - (ndiv * (1 << 16)); in stm32_usbphyc_get_pll_params() 86 pll_params->frac = (u16)frac; in stm32_usbphyc_get_pll_params() 106 if (pll_params.frac) { in stm32_usbphyc_pll_init() 108 usbphyc_pll |= ((pll_params.frac << PLLFRACIN_SHIFT) in stm32_usbphyc_pll_init() 115 clk_rate, pll_params.ndiv, pll_params.frac); in stm32_usbphyc_pll_init()
|
/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/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
D | clock.c | 42 uint8_t clkfrac, frac; in mxs_get_pclk() local 63 frac = clkfrac & CLKCTRL_FRAC_FRAC_MASK; in mxs_get_pclk() 65 return (PLL_FREQ_MHZ * PLL_FREQ_COEF / frac) / div; in mxs_get_pclk() 92 uint8_t clkfrac, frac; in mxs_get_emiclk() local 106 frac = clkfrac & CLKCTRL_FRAC_FRAC_MASK; in mxs_get_emiclk() 108 return (PLL_FREQ_MHZ * PLL_FREQ_COEF / frac) / div; in mxs_get_emiclk() 123 uint8_t clkfrac, frac; in mxs_get_gpmiclk() local 136 frac = clkfrac & CLKCTRL_FRAC_FRAC_MASK; in mxs_get_gpmiclk() 138 return (PLL_FREQ_MHZ * PLL_FREQ_COEF / frac) / div; in mxs_get_gpmiclk()
|
/external/skqp/src/ports/ |
D | SkFontMgr_android_parser.h | 180 T frac = 0; in parse_fixed() local 197 frac = (frac + (d << N)) / 10; // This requires four bits overhead. in parse_fixed() 210 frac = -frac; in parse_fixed() 212 *value = SkLeftShift(n, N) + frac; in parse_fixed()
|
/external/skia/src/ports/ |
D | SkFontMgr_android_parser.h | 180 T frac = 0; in parse_fixed() local 197 frac = (frac + (d << N)) / 10; // This requires four bits overhead. in parse_fixed() 210 frac = -frac; in parse_fixed() 212 *value = SkLeftShift(n, N) + frac; in parse_fixed()
|
/external/webp/src/dsp/ |
D | rescaler_mips32.c | 40 int base, frac, sum; in ImportRowShrink_MIPS32() local 72 [sum]"=&r"(sum), [base]"=&r"(base), [frac]"=&r"(frac), in ImportRowShrink_MIPS32() 100 int frac; in ImportRowExpand_MIPS32() local 136 [x_out]"+r"(x_out), [frac]"=&r"(frac), [frow]"+r"(frow) in ImportRowExpand_MIPS32()
|
D | rescaler.c | 84 const rescaler_t frac = base * (-accum); in WebPRescalerImportRowShrink_C() local 85 wrk->frow[x_out] = sum * wrk->x_sub - frac; in WebPRescalerImportRowShrink_C() 87 sum = (int)MULT_FIX(frac, wrk->fx_scale); in WebPRescalerImportRowShrink_C() 139 const uint32_t frac = (uint32_t)MULT_FIX_FLOOR(frow[x_out], yscale); in WebPRescalerExportRowShrink_C() local 140 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in WebPRescalerExportRowShrink_C() 142 irow[x_out] = frac; // new fractional start in WebPRescalerExportRowShrink_C()
|
/external/u-boot/arch/arm/mach-imx/mx7/ |
D | clock.c | 184 u32 freq, div, frac; in mxc_get_pll_sys_derive() local 211 frac = (reg & CCM_ANALOG_PFD_480A_PFD0_FRAC_MASK) >> in mxc_get_pll_sys_derive() 218 frac = (reg & CCM_ANALOG_PFD_480A_PFD0_FRAC_MASK) >> in mxc_get_pll_sys_derive() 226 frac = (reg & CCM_ANALOG_PFD_480A_PFD1_FRAC_MASK) >> in mxc_get_pll_sys_derive() 233 frac = (reg & CCM_ANALOG_PFD_480A_PFD1_FRAC_MASK) >> in mxc_get_pll_sys_derive() 241 frac = (reg & CCM_ANALOG_PFD_480A_PFD2_FRAC_MASK) >> in mxc_get_pll_sys_derive() 248 frac = (reg & CCM_ANALOG_PFD_480A_PFD2_FRAC_MASK) >> in mxc_get_pll_sys_derive() 256 frac = (reg & CCM_ANALOG_PFD_480A_PFD3_FRAC_MASK) >> in mxc_get_pll_sys_derive() 263 frac = (reg & CCM_ANALOG_PFD_480B_PFD4_FRAC_MASK) >> in mxc_get_pll_sys_derive() 270 frac = (reg & CCM_ANALOG_PFD_480B_PFD5_FRAC_MASK) >> in mxc_get_pll_sys_derive() [all …]
|
/external/fonttools/Tests/feaLib/data/ |
D | feature_aalt.fea | 5 feature frac; 15 feature frac { 19 } frac;
|
/external/u-boot/arch/arm/mach-imx/mx7ulp/ |
D | pcc.c | 160 int pcc_clock_div_config(enum pcc_clk clk, bool frac, u8 div) in pcc_clock_div_config() argument 165 (div == 1 && frac != 0)) in pcc_clock_div_config() 183 if (frac) in pcc_clock_div_config() 255 u32 reg, val, rate, frac, div; in pcc_clock_get_rate() local 271 frac = (val & PCC_FRAC_MASK) >> PCC_FRAC_OFFSET; in pcc_clock_get_rate() 278 rate = rate * (frac + 1) / (div + 1); in pcc_clock_get_rate()
|
/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/u-boot/drivers/clk/ |
D | clk_pic32.c | 174 u64 frac; in pic32_set_refclk() local 186 frac = parent_rate; in pic32_set_refclk() 187 frac <<= 8; in pic32_set_refclk() 188 do_div(frac, rate); in pic32_set_refclk() 189 frac -= (u64)(div << 9); in pic32_set_refclk() 190 trim = (frac >= REFO_TRIM_MAX) ? REFO_TRIM_MAX : (u32)frac; in pic32_set_refclk()
|