/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | DERGeneralizedTime.java | 258 String frac = d.substring(14); in getDate() local 260 for (index = 1; index < frac.length(); index++) in getDate() 262 char ch = frac.charAt(index); in getDate() 271 frac = frac.substring(0, 4) + frac.substring(index); in getDate() 272 d = d.substring(0, 14) + frac; in getDate() 276 frac = frac.substring(0, index) + "00" + frac.substring(index); in getDate() 277 d = d.substring(0, 14) + frac; in getDate() 281 frac = frac.substring(0, index) + "0" + frac.substring(index); in getDate() 282 d = d.substring(0, 14) + frac; in getDate()
|
/external/quake/quake/src/WinQuake/ |
D | gl_rmisc.cpp | 254 unsigned frac, fracstep; in R_TranslatePlayerSkin() local 345 frac = fracstep >> 1; in R_TranslatePlayerSkin() 348 out2[j] = translate[inrow[frac>>16]]; in R_TranslatePlayerSkin() 349 frac += fracstep; in R_TranslatePlayerSkin() 350 out2[j+1] = translate[inrow[frac>>16]]; in R_TranslatePlayerSkin() 351 frac += fracstep; in R_TranslatePlayerSkin() 352 out2[j+2] = translate[inrow[frac>>16]]; in R_TranslatePlayerSkin() 353 frac += fracstep; in R_TranslatePlayerSkin() 354 out2[j+3] = translate[inrow[frac>>16]]; in R_TranslatePlayerSkin() 355 frac += fracstep; in R_TranslatePlayerSkin() [all …]
|
D | cl_main.cpp | 393 float f, frac; in CL_LerpPoint() local 408 frac = (cl.time - cl.mtime[1]) / f; in CL_LerpPoint() 410 if (frac < 0) in CL_LerpPoint() 412 if (frac < -0.01) in CL_LerpPoint() 418 frac = 0; in CL_LerpPoint() 420 else if (frac > 1) in CL_LerpPoint() 422 if (frac > 1.01) in CL_LerpPoint() 428 frac = 1; in CL_LerpPoint() 433 return frac; in CL_LerpPoint() 446 float frac, f, d; in CL_RelinkEntities() local [all …]
|
D | r_sprite.cpp | 62 float frac, clipdist, *pclipnormal; in R_ClipSpriteFace() local 113 frac = dists[i] / (dists[i] - dists[i+1]); in R_ClipSpriteFace() 117 outstep[0] = instep[0] + frac*(vert2[0] - instep[0]); in R_ClipSpriteFace() 118 outstep[1] = instep[1] + frac*(vert2[1] - instep[1]); in R_ClipSpriteFace() 119 outstep[2] = instep[2] + frac*(vert2[2] - instep[2]); in R_ClipSpriteFace() 120 outstep[3] = instep[3] + frac*(vert2[3] - instep[3]); in R_ClipSpriteFace() 121 outstep[4] = instep[4] + frac*(vert2[4] - instep[4]); in R_ClipSpriteFace()
|
D | r_light.cpp | 144 float front, back, frac; in RecursiveLightPoint() local 170 frac = front / (front-back); in RecursiveLightPoint() 171 mid[0] = start[0] + (end[0] - start[0])*frac; in RecursiveLightPoint() 172 mid[1] = start[1] + (end[1] - start[1])*frac; in RecursiveLightPoint() 173 mid[2] = start[2] + (end[2] - start[2])*frac; in RecursiveLightPoint()
|
D | world.cpp | 586 float frac; in SV_RecursiveHullCheck() local 642 frac = (t1 + DIST_EPSILON)/(t1-t2); in SV_RecursiveHullCheck() 644 frac = (t1 - DIST_EPSILON)/(t1-t2); in SV_RecursiveHullCheck() 645 if (frac < 0) in SV_RecursiveHullCheck() 646 frac = 0; in SV_RecursiveHullCheck() 647 if (frac > 1) in SV_RecursiveHullCheck() 648 frac = 1; in SV_RecursiveHullCheck() 650 midf = p1f + (p2f - p1f)*frac; in SV_RecursiveHullCheck() 652 mid[i] = p1[i] + frac*(p2[i] - p1[i]); in SV_RecursiveHullCheck() 694 frac -= 0.1; in SV_RecursiveHullCheck() [all …]
|
D | gl_rlight.cpp | 273 float front, back, frac; in RecursiveLightPoint() local 299 frac = front / (front-back); in RecursiveLightPoint() 300 mid[0] = start[0] + (end[0] - start[0])*frac; in RecursiveLightPoint() 301 mid[1] = start[1] + (end[1] - start[1])*frac; in RecursiveLightPoint() 302 mid[2] = start[2] + (end[2] - start[2])*frac; in RecursiveLightPoint()
|
D | gl_draw.cpp | 1274 unsigned frac, fracstep; in GL_ResampleTexture() local 1280 frac = fracstep >> 1; in GL_ResampleTexture() 1283 out[j] = inrow[frac>>16]; in GL_ResampleTexture() 1284 frac += fracstep; in GL_ResampleTexture() 1285 out[j+1] = inrow[frac>>16]; in GL_ResampleTexture() 1286 frac += fracstep; in GL_ResampleTexture() 1287 out[j+2] = inrow[frac>>16]; in GL_ResampleTexture() 1288 frac += fracstep; in GL_ResampleTexture() 1289 out[j+3] = inrow[frac>>16]; in GL_ResampleTexture() 1290 frac += fracstep; in GL_ResampleTexture() [all …]
|
/external/quake/quake/src/QW/client/ |
D | gl_rmisc.c | 246 unsigned frac, fracstep; in R_TranslatePlayerSkin() local 347 frac = fracstep >> 1; in R_TranslatePlayerSkin() 350 out2[j] = translate[inrow[frac>>16]]; in R_TranslatePlayerSkin() 351 frac += fracstep; in R_TranslatePlayerSkin() 352 out2[j+1] = translate[inrow[frac>>16]]; in R_TranslatePlayerSkin() 353 frac += fracstep; in R_TranslatePlayerSkin() 354 out2[j+2] = translate[inrow[frac>>16]]; in R_TranslatePlayerSkin() 355 frac += fracstep; in R_TranslatePlayerSkin() 356 out2[j+3] = translate[inrow[frac>>16]]; in R_TranslatePlayerSkin() 357 frac += fracstep; in R_TranslatePlayerSkin() [all …]
|
D | pmovetst.c | 181 float frac; in PM_RecursiveHullCheck() local 237 frac = (t1 + DIST_EPSILON)/(t1-t2); in PM_RecursiveHullCheck() 239 frac = (t1 - DIST_EPSILON)/(t1-t2); in PM_RecursiveHullCheck() 240 if (frac < 0) in PM_RecursiveHullCheck() 241 frac = 0; in PM_RecursiveHullCheck() 242 if (frac > 1) in PM_RecursiveHullCheck() 243 frac = 1; in PM_RecursiveHullCheck() 245 midf = p1f + (p2f - p1f)*frac; in PM_RecursiveHullCheck() 247 mid[i] = p1[i] + frac*(p2[i] - p1[i]); in PM_RecursiveHullCheck() 289 frac -= 0.1; in PM_RecursiveHullCheck() [all …]
|
D | r_sprite.c | 62 float frac, clipdist, *pclipnormal; in R_ClipSpriteFace() local 113 frac = dists[i] / (dists[i] - dists[i+1]); in R_ClipSpriteFace() 117 outstep[0] = instep[0] + frac*(vert2[0] - instep[0]); in R_ClipSpriteFace() 118 outstep[1] = instep[1] + frac*(vert2[1] - instep[1]); in R_ClipSpriteFace() 119 outstep[2] = instep[2] + frac*(vert2[2] - instep[2]); in R_ClipSpriteFace() 120 outstep[3] = instep[3] + frac*(vert2[3] - instep[3]); in R_ClipSpriteFace() 121 outstep[4] = instep[4] + frac*(vert2[4] - instep[4]); in R_ClipSpriteFace()
|
D | r_light.c | 144 float front, back, frac; in RecursiveLightPoint() local 170 frac = front / (front-back); in RecursiveLightPoint() 171 mid[0] = start[0] + (end[0] - start[0])*frac; in RecursiveLightPoint() 172 mid[1] = start[1] + (end[1] - start[1])*frac; in RecursiveLightPoint() 173 mid[2] = start[2] + (end[2] - start[2])*frac; in RecursiveLightPoint()
|
D | gl_draw.c | 1015 unsigned frac, fracstep; in GL_ResampleTexture() local 1021 frac = fracstep >> 1; in GL_ResampleTexture() 1024 out[j] = inrow[frac>>16]; in GL_ResampleTexture() 1025 frac += fracstep; in GL_ResampleTexture() 1026 out[j+1] = inrow[frac>>16]; in GL_ResampleTexture() 1027 frac += fracstep; in GL_ResampleTexture() 1028 out[j+2] = inrow[frac>>16]; in GL_ResampleTexture() 1029 frac += fracstep; in GL_ResampleTexture() 1030 out[j+3] = inrow[frac>>16]; in GL_ResampleTexture() 1031 frac += fracstep; in GL_ResampleTexture() [all …]
|
D | gl_rlight.c | 270 float front, back, frac; in RecursiveLightPoint() local 296 frac = front / (front-back); in RecursiveLightPoint() 297 mid[0] = start[0] + (end[0] - start[0])*frac; in RecursiveLightPoint() 298 mid[1] = start[1] + (end[1] - start[1])*frac; in RecursiveLightPoint() 299 mid[2] = start[2] + (end[2] - start[2])*frac; in RecursiveLightPoint()
|
/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/main/none/tests/ppc64/ |
D | round.c | 54 unsigned int frac:23; member 137 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); in print_single() 154 (R.layout.frac != E.layout.frac)) { in check_dbl_to_flt_round() 230 F.layout.frac = 1; in init() 268 (R.layout.frac != E.layout.frac)) { in check_int_to_flt_round() 528 int num, den, frac; in check_single_guarded_arithmetic_op() member 601 B.layout.frac = g; in check_single_guarded_arithmetic_op() 611 Z.layout.frac = 0x100000 | (g >> 3); in check_single_guarded_arithmetic_op() 617 A.layout.frac |= 0x2; in check_single_guarded_arithmetic_op() 620 B.layout.frac = g; in check_single_guarded_arithmetic_op() [all …]
|
/external/valgrind/main/none/tests/ppc32/ |
D | round.c | 54 unsigned int frac:23; member 137 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); in print_single() 154 (R.layout.frac != E.layout.frac)) { in check_dbl_to_flt_round() 230 F.layout.frac = 1; in init() 268 (R.layout.frac != E.layout.frac)) { in check_int_to_flt_round() 528 int num, den, frac; in check_single_guarded_arithmetic_op() member 601 B.layout.frac = g; in check_single_guarded_arithmetic_op() 611 Z.layout.frac = 0x100000 | (g >> 3); in check_single_guarded_arithmetic_op() 617 A.layout.frac |= 0x2; in check_single_guarded_arithmetic_op() 620 B.layout.frac = g; in check_single_guarded_arithmetic_op() [all …]
|
/external/webp/src/utils/ |
D | rescaler.c | 69 const int32_t frac = base * (-accum); in WebPRescalerImportRow() local 71 wrk->frow[x_out] = (sum + base) * wrk->x_sub - frac; in WebPRescalerImportRow() 73 sum = (int)MULT_FIX(frac, wrk->fx_scale); in WebPRescalerImportRow() 105 const int frac = (int)MULT_FIX(frow[x_out], yscale); in WebPRescalerExportRow() local 106 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in WebPRescalerExportRow() 108 irow[x_out] = frac; // new fractional start in WebPRescalerExportRow()
|
/external/aac/libFDK/include/ |
D | fixpoint_math.h | 123 USHORT frac=(y>>10)&0xffff; in sqrtFixp_lookup() local 124 USHORT nfrac=0xffff^frac; in sqrtFixp_lookup() 125 UINT t=nfrac*sqrt_tab[idx]+frac*sqrt_tab[idx+1]; in sqrtFixp_lookup() 151 USHORT frac=(y>>10)&0xffff; in sqrtFixp_lookup() local 152 USHORT nfrac=0xffff^frac; in sqrtFixp_lookup() 153 UINT t=nfrac*sqrt_tab[idx]+frac*sqrt_tab[idx+1]; in sqrtFixp_lookup()
|
/external/libvorbis/doc/ |
D | 06-floor0.tex | 135 …\mathrm{bark}\left(\frac{\mathtt{floor0\_rate} \cdot i}{2n}\right) \cdot \frac{\mathtt{floor0\_bar… 157 …p & = & (1 - \cos^2\omega)\prod_{j=0}^{\frac{\mathtt{floor0\_order}-3}{2}} 4 (\cos([\mathtt{coeffi… 158 …q & = & \frac{1}{4} \prod_{j=0}^{\frac{\mathtt{floor0\_order}-1}{2}} 4 (\cos([\mathtt{coefficients… 166 …p & = & \frac{(1 - \cos^2\omega)}{2} \prod_{j=0}^{\frac{\mathtt{floor0\_order}-2}{2}} 4 (\cos([\ma… 167 …q & = & \frac{(1 + \cos^2\omega)}{2} \prod_{j=0}^{\frac{\mathtt{floor0\_order}-2}{2}} 4 (\cos([\ma… 175 …\exp \left( .11512925 \left(\frac{\mathtt{amplitude} \cdot \mathtt{floor0\_amplitute\_offset}}{(2^…
|
/external/quake/quake/src/QW/server/ |
D | world.c | 538 float frac; in SV_RecursiveHullCheck() local 594 frac = (t1 + DIST_EPSILON)/(t1-t2); in SV_RecursiveHullCheck() 596 frac = (t1 - DIST_EPSILON)/(t1-t2); in SV_RecursiveHullCheck() 597 if (frac < 0) in SV_RecursiveHullCheck() 598 frac = 0; in SV_RecursiveHullCheck() 599 if (frac > 1) in SV_RecursiveHullCheck() 600 frac = 1; in SV_RecursiveHullCheck() 602 midf = p1f + (p2f - p1f)*frac; in SV_RecursiveHullCheck() 604 mid[i] = p1[i] + frac*(p2[i] - p1[i]); in SV_RecursiveHullCheck() 646 frac -= 0.1; in SV_RecursiveHullCheck() [all …]
|
/external/webrtc/src/modules/audio_processing/ns/ |
D | nsx_core.c | 476 WebRtc_Word16 countProd, delta, zeros, frac; in NoiseEstimationC() local 499 frac = (WebRtc_Word16)((((WebRtc_UWord32)magn[i] << zeros) in NoiseEstimationC() 502 assert(frac < 256); in NoiseEstimationC() 504 + WebRtcNsx_kLogTableFrac[frac]); in NoiseEstimationC() 1134 WebRtc_Word16 zeros, frac, intPart; in WebRtcNsx_ComputeSpectralFlatness() local 1150 frac = (WebRtc_Word16)(((WebRtc_UWord32)((WebRtc_UWord32)(magn[i]) << zeros) in WebRtcNsx_ComputeSpectralFlatness() 1153 assert(frac < 256); in WebRtcNsx_ComputeSpectralFlatness() 1155 + WebRtcNsx_kLogTableFrac[frac]); // Q8 in WebRtcNsx_ComputeSpectralFlatness() 1166 frac = (WebRtc_Word16)(((avgSpectralFlatnessDen << zeros) & 0x7FFFFFFF) >> 23); in WebRtcNsx_ComputeSpectralFlatness() 1168 assert(frac < 256); in WebRtcNsx_ComputeSpectralFlatness() [all …]
|
/external/icu4c/i18n/ |
D | hebrwcal.cpp | 395 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # in startOfYear() local 396 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation in startOfYear() 397 frac = frac % DAY_PARTS; // Time of day in startOfYear() 406 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { in startOfYear() 412 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) { in startOfYear()
|