Home
last modified time | relevance | path

Searched refs:scaled (Results 1 – 25 of 139) sorted by relevance

123456

/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/
DNordsieckStepInterpolator.java61 private double[] scaled; field in NordsieckStepInterpolator
85 if (interpolator.scaled != null) { in NordsieckStepInterpolator()
86 scaled = interpolator.scaled.clone(); in NordsieckStepInterpolator()
130 this.scaled = scaledDerivative; in reinitialize()
146 for (int i = 0; i < scaled.length; ++i) { in rescale()
147 scaled[i] *= ratio; in rescale()
210 stateVariation[j] += scaled[j] * normalizedAbscissa; in computeInterpolatedStateAndDerivatives()
213 (interpolatedDerivatives[j] + scaled[j] * normalizedAbscissa) / x; in computeInterpolatedStateAndDerivatives()
231 if (scaled == null) { in writeExternal()
236 out.writeDouble(scaled[j]); in writeExternal()
[all …]
/external/mesa3d/src/amd/vulkan/
Dvk_format_parse.py56 def __init__(self, type, norm, pure, scaled, size, name = ''): argument
61 self.scaled = scaled
71 if self.scaled:
77 … other.norm and self.pure == other.pure and self.size == other.size and self.scaled == other.scaled
165 if channel.scaled != ref_channel.scaled:
186 if channel.scaled != ref_channel.scaled:
304 scaled = False
309 scaled = False
314 scaled = True
319 scaled = False
[all …]
/external/libcxx/utils/google-benchmark/src/
Dstring_util.cc51 double scaled = val; in ToExponentAndMantissa() local
53 scaled /= one_k; in ToExponentAndMantissa()
54 if (scaled <= big_threshold) { in ToExponentAndMantissa()
55 mantissa_stream << scaled; in ToExponentAndMantissa()
65 double scaled = val; in ToExponentAndMantissa() local
67 scaled *= one_k; in ToExponentAndMantissa()
68 if (scaled >= small_threshold) { in ToExponentAndMantissa()
69 mantissa_stream << scaled; in ToExponentAndMantissa()
/external/google-benchmark/src/
Dstring_util.cc53 double scaled = val; in ToExponentAndMantissa() local
55 scaled /= one_k; in ToExponentAndMantissa()
56 if (scaled <= big_threshold) { in ToExponentAndMantissa()
57 mantissa_stream << scaled; in ToExponentAndMantissa()
68 double scaled = val; in ToExponentAndMantissa() local
70 scaled *= one_k; in ToExponentAndMantissa()
71 if (scaled >= small_threshold) { in ToExponentAndMantissa()
72 mantissa_stream << scaled; in ToExponentAndMantissa()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
DAdamsMoultonIntegrator.java237 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck); in integrate()
264 updateHighOrderDerivativesPhase2(scaled, predictedScaled, nordsieckTmp); in integrate()
295 scaled = correctedScaled; in integrate()
307 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck); in integrate()
350 private final double[] scaled; field in AdamsMoultonIntegrator.Corrector
363 public Corrector(final double[] previous, final double[] scaled, final double[] state) { in Corrector() argument
365 this.scaled = scaled; in Corrector()
398 after[i] += previous[i] + scaled[i]; in end()
DAdamsBashforthIntegrator.java217 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck); in integrate()
270 updateHighOrderDerivativesPhase2(scaled, predictedScaled, nordsieckTmp); in integrate()
276 scaled = predictedScaled; in integrate()
278 interpolator.reinitialize(stepEnd, stepSize, scaled, nordsieck); in integrate()
289 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck); in integrate()
/external/webrtc/webrtc/examples/peerconnection/client/linux/
Dmain_wnd.cc405 uint32_t* scaled = reinterpret_cast<uint32_t*>(draw_buffer_.get()); in OnRedraw() local
409 scaled[x] = scaled[x + 1] = image[c]; in OnRedraw()
412 uint32_t* prev_line = scaled; in OnRedraw()
413 scaled += width * 2; in OnRedraw()
414 memcpy(scaled, prev_line, (width * 2) * 4); in OnRedraw()
417 scaled += width * 2; in OnRedraw()
423 scaled = reinterpret_cast<uint32_t*>(draw_buffer_.get()); in OnRedraw()
425 scaled += (width * 2) - (local_renderer->width() / 2); in OnRedraw()
427 scaled -= 10; in OnRedraw()
429 scaled += (height * width * 4) - in OnRedraw()
[all …]
/external/icu/icu4c/source/i18n/
Dprecision.cpp230 double scaled; in initVisibleDigits() local
232 scaled = value * gPower10[i]; in initVisibleDigits()
233 if (scaled > MAX_INT64_IN_DOUBLE || scaled < -MAX_INT64_IN_DOUBLE) { in initVisibleDigits()
236 if (scaled == floor(scaled)) { in initVisibleDigits()
242 if (n >= 0 && initVisibleDigits(scaled, -n, digits, status)) { in initVisibleDigits()
247 if (scaled == 0.0 && uprv_isNegative(scaled)) { in initVisibleDigits()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.c479 uint64_t scaled[brw->shader_time.num_entries]; in brw_report_shader_time() local
488 sorted[i] = &scaled[i]; in brw_report_shader_time()
513 scaled[i] = time / written * (written + reset); in brw_report_shader_time()
515 scaled[i] = time; in brw_report_shader_time()
526 total_by_type[type] += scaled[i]; in brw_report_shader_time()
532 total += scaled[i]; in brw_report_shader_time()
547 int i = sorted[s] - scaled; in brw_report_shader_time()
549 if (scaled[i] == 0) in brw_report_shader_time()
583 scaled[i], total); in brw_report_shader_time()
Dbrw_nir_attribute_workarounds.c66 nir_ssa_def *scaled = in apply_attr_wa_block() local
71 comps[i] = nir_channel(b, rescale ? scaled : val, i); in apply_attr_wa_block()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
DMultistepIntegrator.java65 protected double[] scaled; field in MultistepIntegrator
334 scaled = interpolator.getInterpolatedDerivatives().clone(); in handleStep()
336 scaled[j] *= stepSize; in handleStep()
349 nordsieck = initializeHighOrderDerivatives(scaled, multistep); in handleStep()
/external/drrickorang/LoopbackApp/app/src/main/jni/
Djni_sles.c105 double scaled = (double) result / ((double) NANOS_PER_MILLI * (double) NANOS_PER_MILLI); in Java_org_drrickorang_loopback_NativeAudioThread_slesGetRecorderVarianceBufferPeriod() local
106 return scaled; in Java_org_drrickorang_loopback_NativeAudioThread_slesGetRecorderVarianceBufferPeriod()
139 double scaled = (double) result / ((double) NANOS_PER_MILLI * (double) NANOS_PER_MILLI); in Java_org_drrickorang_loopback_NativeAudioThread_slesGetPlayerVarianceBufferPeriod() local
140 return scaled; in Java_org_drrickorang_loopback_NativeAudioThread_slesGetPlayerVarianceBufferPeriod()
/external/pdfium/third_party/freetype/src/cff/
Dcf2ft.c259 FT_Bool* scaled ) in cf2_getScaleAndHintFlag() argument
265 *scaled = decoder->builder.glyph->scaled; in cf2_getScaleAndHintFlag()
349 FT_Bool scaled; in cf2_decoder_parse_charstrings() local
367 &scaled ); in cf2_decoder_parse_charstrings()
372 if ( scaled && !driver->no_stem_darkening ) in cf2_decoder_parse_charstrings()
388 if ( scaled ) in cf2_decoder_parse_charstrings()
/external/skia/experimental/docs/
DanimationCommon.js176 var scaled = action.range[0] + (action.range[1] - action.range[0]) * value;
196 scaled = action.func(scaled, action.funcParams);
198 if (targetObject[targetField] != scaled) {
204 targetObject[targetField] = scaled;
/external/eigen/bench/btl/libs/gmm/
Dgmm_interface.hh106 gmm::add(gmm::scaled(X,coef), Y); in axpy()
110 gmm::add(gmm::scaled(X,a), gmm::scaled(Y,b), Y); in axpby()
/external/freetype/src/cff/
Dcf2ft.c260 FT_Bool* scaled ) in cf2_getScaleAndHintFlag() argument
266 *scaled = decoder->builder.glyph->scaled; in cf2_getScaleAndHintFlag()
350 FT_Bool scaled; in cf2_decoder_parse_charstrings() local
368 &scaled ); in cf2_decoder_parse_charstrings()
376 if ( scaled && !driver->no_stem_darkening ) in cf2_decoder_parse_charstrings()
392 if ( scaled ) in cf2_decoder_parse_charstrings()
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_state_sampler.c290 int scaled; in get_gen6_lod_bias() local
299 scaled = (int) (bias * scale); in get_gen6_lod_bias()
300 if (scaled > scaled_max) in get_gen6_lod_bias()
301 scaled = scaled_max; in get_gen6_lod_bias()
303 return (scaled & mask); in get_gen6_lod_bias()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_aos.c226 LLVMValueRef shifted, casted, scaled, masked; in lp_build_unpack_arith_rgba_aos() local
347 scaled = LLVMBuildFMul(builder, casted, LLVMConstVector(scales, 4), ""); in lp_build_unpack_arith_rgba_aos()
349 scaled = casted; in lp_build_unpack_arith_rgba_aos()
351 return scaled; in lp_build_unpack_arith_rgba_aos()
372 LLVMValueRef shifted, casted, scaled, unswizzled; in lp_build_pack_rgba_aos() local
427 scaled = LLVMBuildFMul(builder, unswizzled, LLVMConstVector(scales, 4), ""); in lp_build_pack_rgba_aos()
429 scaled = unswizzled; in lp_build_pack_rgba_aos()
431 …casted = LLVMBuildFPToSI(builder, scaled, LLVMVectorType(LLVMInt32TypeInContext(gallivm->context),… in lp_build_pack_rgba_aos()
/external/skia/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.cpp42 static SkScalar from_font_units(SkScalar scaled, uint16_t emSize) { in from_font_units() argument
44 return scaled; in from_font_units()
46 return scaled * 1000 / emSize; in from_font_units()
/external/openssh/openbsd-compat/
Dfmt_scaled.c76 scan_scaled(char *scaled, long long *result) in scan_scaled() argument
78 char *p = scaled; in scan_scaled()
/external/llvm/lib/Target/AArch64/
DAArch64Schedule.td49 def WriteLDIdx : SchedWrite; // Load from a register index (maybe scaled).
50 def WriteSTIdx : SchedWrite; // Store to a register index (maybe scaled).
60 // scaled. Subtargets can use this to dynamically select resources and
/external/skia/src/pathops/
DSkPathOpsCommon.cpp29 void ScalePath(const SkPath& path, SkScalar scale, SkPath* scaled) { in ScalePath() argument
32 *scaled = path; in ScalePath()
33 scaled->transform(matrix); in ScalePath()
/external/harfbuzz_ng/src/
Dhb-font-private.hh536 int64_t scaled = v * (int64_t) scale; in em_scale() local
537 scaled += scaled >= 0 ? upem/2 : -upem/2; /* Round. */ in em_scale()
538 return (hb_position_t) (scaled / upem); in em_scale()
/external/autotest/client/deps/glbench/src/
Dyuv2rgb_1.glslf122 * coordinate is scaled by 2/3 to map from the Y texels, scaled by 1/6
123 * and shifted down 2/3 to map from the U texels, and scaled by 1/6
125 * texels the 'x' coordinate is scaled by 1/2 always and shifted right
/external/skia/gm/
Daddarc.cpp56 fRotate = timer.scaled(1, 360); in onAnimate()
156 fRotate = timer.scaled(60, 360); in onAnimate()
209 fRotate = timer.scaled(60, 360); in onAnimate()

123456