/third_party/ffmpeg/libswresample/ |
D | resample_template.c | 96 int frac= c->frac; in RENAME() local 122 frac += c->dst_incr_mod; in RENAME() 124 if (frac >= c->src_incr) { in RENAME() 125 frac -= c->src_incr; in RENAME() 136 c->frac= frac; in RENAME() 151 int frac= c->frac; in RENAME() local 172 val += (v2 - val) * (FELEML) frac / c->src_incr; in RENAME() 175 val += (v2 - val) * inv_src_incr * frac; in RENAME() 177 val += (v2 - val) / c->src_incr * frac; in RENAME() 182 frac += c->dst_incr_mod; in RENAME() [all …]
|
/third_party/lwip/src/apps/sntp/ |
D | sntp.c | 170 SNTP_SEC_FRAC_TO_S64(lwip_ntohl((t).sec), lwip_ntohl((t).frac)) 178 u32_t frac; member 289 u32_t frac; in sntp_process() local 292 frac = lwip_ntohl(timestamps->xmit.frac); in sntp_process() 296 if (timestamps->recv.sec != 0 || timestamps->recv.frac != 0) in sntp_process() 314 t3 = SNTP_SEC_FRAC_TO_S64(sec, frac); in sntp_process() 321 frac = (u32_t)((u64_t)t4); in sntp_process() 326 SNTP_SET_SYSTEM_TIME_NTP(sec, frac); in sntp_process() 327 LWIP_UNUSED_ARG(frac); /* might be unused if only seconds are set */ in sntp_process() 329 sntp_format_time(sec), SNTP_FRAC_TO_US(frac))); in sntp_process() [all …]
|
/third_party/ffmpeg/libswresample/aarch64/ |
D | resample_init.c | 46 int frac = c->frac; \ 76 frac += c->dst_incr_mod; \ 78 if (frac >= c->src_incr) { \ 79 frac -= c->src_incr; \ 90 c->frac = frac; \
|
/third_party/ffmpeg/libswresample/arm/ |
D | resample_init.c | 46 int frac = c->frac; \ 76 frac += c->dst_incr_mod; \ 78 if (frac >= c->src_incr) { \ 79 frac -= c->src_incr; \ 90 c->frac = frac; \
|
/third_party/openssl/test/ |
D | bioprinttest.c | 224 const double frac = 2.0 / 3.0; in test_fp() local 231 && TEST_true(dofptest(i, t++, frac, pwp->w, pwp->p)) in test_fp() 232 && TEST_true(dofptest(i, t++, frac / 1000, pwp->w, pwp->p)) in test_fp() 233 && TEST_true(dofptest(i, t++, frac / 10000, pwp->w, pwp->p)) in test_fp() 234 && TEST_true(dofptest(i, t++, 6.0 + frac, pwp->w, pwp->p)) in test_fp() 235 && TEST_true(dofptest(i, t++, 66.0 + frac, pwp->w, pwp->p)) in test_fp() 236 && TEST_true(dofptest(i, t++, 666.0 + frac, pwp->w, pwp->p)) in test_fp() 237 && TEST_true(dofptest(i, t++, 6666.0 + frac, pwp->w, pwp->p)) in test_fp() 238 && TEST_true(dofptest(i, t++, 66666.0 + frac, pwp->w, pwp->p)); in test_fp()
|
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/fract/ |
D | fa5c71.wgsl.expected.glsl | 7 float res = frac(1.0f); 34 ERROR: 0:5: 'frac' : no matching overloaded function found 44 float res = frac(1.0f); 61 ERROR: 0:5: 'frac' : no matching overloaded function found 71 float res = frac(1.0f); 89 ERROR: 0:5: 'frac' : no matching overloaded function found
|
D | 943cb1.wgsl.expected.glsl | 7 vec2 res = frac(vec2(0.0f, 0.0f)); 34 ERROR: 0:5: 'frac' : no matching overloaded function found 45 vec2 res = frac(vec2(0.0f, 0.0f)); 62 ERROR: 0:5: 'frac' : no matching overloaded function found 73 vec2 res = frac(vec2(0.0f, 0.0f)); 91 ERROR: 0:5: 'frac' : no matching overloaded function found
|
D | a49758.wgsl.expected.glsl | 7 vec3 res = frac(vec3(0.0f, 0.0f, 0.0f)); 34 ERROR: 0:5: 'frac' : no matching overloaded function found 45 vec3 res = frac(vec3(0.0f, 0.0f, 0.0f)); 62 ERROR: 0:5: 'frac' : no matching overloaded function found 73 vec3 res = frac(vec3(0.0f, 0.0f, 0.0f)); 91 ERROR: 0:5: 'frac' : no matching overloaded function found
|
D | 8bc1e9.wgsl.expected.glsl | 7 vec4 res = frac(vec4(0.0f, 0.0f, 0.0f, 0.0f)); 34 ERROR: 0:5: 'frac' : no matching overloaded function found 45 vec4 res = frac(vec4(0.0f, 0.0f, 0.0f, 0.0f)); 62 ERROR: 0:5: 'frac' : no matching overloaded function found 73 vec4 res = frac(vec4(0.0f, 0.0f, 0.0f, 0.0f)); 91 ERROR: 0:5: 'frac' : no matching overloaded function found
|
/third_party/pulseaudio/src/pulsecore/ffmpeg/ |
D | resample2.c | 64 int frac; member 213 int frac= c->frac; in av_resample() local 227 frac += dst_index * dst_incr_frac; in av_resample() 229 index += frac / c->src_incr; in av_resample() 230 frac %= c->src_incr; in av_resample() 248 val+=(v2-val)*(FELEML)frac / c->src_incr; in av_resample() 262 frac += dst_incr_frac; in av_resample() 264 if(frac >= c->src_incr){ in av_resample() 265 frac -= c->src_incr; in av_resample() 284 c->frac= frac; in av_resample()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_io_to_vector.c | 168 for (unsigned frac = 0; frac < 4; frac++) { in get_flat_type() local 169 nir_variable *var = old_vars[*loc][frac]; in get_flat_type() 219 unsigned frac = var->data.location_frac; in create_new_io_vars() local 220 old_vars[get_slot(var)][frac] = var; in create_new_io_vars() 230 unsigned frac = 0; in create_new_io_vars() local 231 while (frac < 4) { in create_new_io_vars() 232 nir_variable *first_var = old_vars[loc][frac]; in create_new_io_vars() 234 frac++; in create_new_io_vars() 238 int first = frac; in create_new_io_vars() 241 while (frac < 4) { in create_new_io_vars() [all …]
|
/third_party/ffmpeg/libswresample/x86/ |
D | resample.asm | 41 .frac: resd 1 label 261 mov [ctxq+ResampleContext.frac ], fracd 276 cglobal resample_linear_%1, 0, 15, 5, ctx, dst, phase_mask, phase_count, index, frac, \ 283 cglobal resample_linear_%1, 0, 15, 5, ctx, phase_mask, src, phase_count, index, frac, \ 308 mov fracd, [ctxq+ResampleContext.frac] 329 DEFINE_ARGS filter_alloc, dst, filter2, phase_count, index, frac, filter1, \ 336 DEFINE_ARGS phase_count, filter2, src, filter_alloc, index, frac, filter1, \ 347 frac, index, dst, filter_bank 377 mov fracd, [ctxq+ResampleContext.frac] 386 DEFINE_ARGS filter1, min_filter_count_x4, filter2, frac, index, dst, src [all …]
|
/third_party/libcoap/src/ |
D | coap_time.c | 70 #define Q(frac,fval) ((1 << (frac)) * (fval)) argument 76 #define SHR_FP(val,frac) (((coap_tick_t)((val) + (1 << ((frac) - 1)))) >> (frac)) argument
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-number-parser.hh | 125 double frac = 0; in strtod_rl() local 185 if (likely (frac <= MAX_FRACT / 10)) in strtod_rl() 187 frac = frac * 10. + ((*p) - '0'); in strtod_rl() 218 if (frac_count) value += frac / _pow10 (frac_count); in strtod_rl()
|
/third_party/harfbuzz/src/ |
D | hb-number-parser.hh | 125 double frac = 0; in strtod_rl() local 185 if (likely (frac <= MAX_FRACT / 10)) in strtod_rl() 187 frac = frac * 10. + ((*p) - '0'); in strtod_rl() 218 if (frac_count) value += frac / _pow10 (frac_count); in strtod_rl()
|
/third_party/ffmpeg/libavresample/aarch64/ |
D | resample_init.c | 37 unsigned int index, int frac); 40 unsigned int index, int frac); 43 unsigned int index, int frac); 46 unsigned int index, int frac);
|
/third_party/ffmpeg/libavresample/arm/ |
D | resample_init.c | 40 unsigned int index, int frac); 43 unsigned int index, int frac); 46 unsigned int index, int frac); 50 unsigned int index, int frac);
|
/third_party/flutter/skia/src/ports/ |
D | SkFontMgr_config_parser.h | 192 T frac = 0; in parse_fixed() local 209 frac = (frac + (d << N)) / 10; // This requires four bits overhead. in parse_fixed() 222 frac = -frac; in parse_fixed() 224 *value = SkLeftShift(n, N) + frac; in parse_fixed()
|
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()
|
/third_party/skia/src/ports/ |
D | SkFontMgr_config_parser.h | 192 T frac = 0; in parse_fixed() local 209 frac = (frac + (d << N)) / 10; // This requires four bits overhead. in parse_fixed() 222 frac = -frac; in parse_fixed() 224 *value = SkLeftShift(n, N) + frac; in parse_fixed()
|
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()
|
/third_party/ffmpeg/libavresample/ |
D | resample.c | 200 c->frac = 0; in ff_audio_resample_init() 265 int frac = c->frac; in resample() local 289 index += (frac + dst_index * (int64_t)dst_incr_frac) / c->src_incr; in resample() 290 frac = (frac + dst_index * (int64_t)dst_incr_frac) % c->src_incr; in resample() 299 c->resample_one(c, dst, dst_index, src, index, frac); in resample() 301 frac += dst_incr_frac; in resample() 303 if (frac >= c->src_incr) { in resample() 304 frac -= c->src_incr; in resample() 325 c->frac = frac; in resample()
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | floatscan.c | 77 long double frac=0; in decfloat() local 275 frac = fmodl(y, scalbn(1, LDBL_MANT_DIG-bits)); in decfloat() 276 y -= frac; in decfloat() 284 frac += 0.25*sign; in decfloat() 286 frac += 0.75*sign; in decfloat() 289 frac += 0.5*sign; in decfloat() 291 frac += 0.75*sign; in decfloat() 293 if (LDBL_MANT_DIG-bits >= 2 && !fmodl(frac, 1)) in decfloat() 294 frac++; in decfloat() 297 y += frac; in decfloat() [all …]
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | floatscan.c | 77 long double frac=0; in decfloat() local 275 frac = fmodl(y, scalbn(1, LDBL_MANT_DIG-bits)); in decfloat() 276 y -= frac; in decfloat() 284 frac += 0.25*sign; in decfloat() 286 frac += 0.75*sign; in decfloat() 289 frac += 0.5*sign; in decfloat() 291 frac += 0.75*sign; in decfloat() 293 if (LDBL_MANT_DIG-bits >= 2 && !fmodl(frac, 1)) in decfloat() 294 frac++; in decfloat() 297 y += frac; in decfloat() [all …]
|
/third_party/musl/src/internal/ |
D | floatscan.c | 77 long double frac=0; in decfloat() local 275 frac = fmodl(y, scalbn(1, LDBL_MANT_DIG-bits)); in decfloat() 276 y -= frac; in decfloat() 284 frac += 0.25*sign; in decfloat() 286 frac += 0.75*sign; in decfloat() 289 frac += 0.5*sign; in decfloat() 291 frac += 0.75*sign; in decfloat() 293 if (LDBL_MANT_DIG-bits >= 2 && !fmodl(frac, 1)) in decfloat() 294 frac++; in decfloat() 297 y += frac; in decfloat() [all …]
|