/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Support/ |
Chrono.h | 82 template <> struct unit<std::ratio<3600>> { static const char value[]; }; 83 template <> struct unit<std::ratio<60>> { static const char value[]; }; 84 template <> struct unit<std::ratio<1>> { static const char value[]; }; 113 return {getAs<std::ratio<1>>(D), "s"}; 115 return {getAs<std::ratio<60>>(D), "m"}; 117 return {getAs<std::ratio<3600>>(D), "h"};
|
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Support/ |
Chrono.h | 82 template <> struct unit<std::ratio<3600>> { static const char value[]; }; 83 template <> struct unit<std::ratio<60>> { static const char value[]; }; 84 template <> struct unit<std::ratio<1>> { static const char value[]; }; 113 return {getAs<std::ratio<1>>(D), "s"}; 115 return {getAs<std::ratio<60>>(D), "m"}; 117 return {getAs<std::ratio<3600>>(D), "h"};
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/compress/ |
MultiCompressorTest.java | 102 double ratio = bestSize / (double) defaultSize; 103 assertTrue(ratio < 1.0); 111 MoreExecutors.directExecutor(), resultOptions.getTracker(), ratio + 0.001)); 132 double ratio = bestSize / (double) defaultSize; 133 assertTrue(ratio < 1.0); 141 MoreExecutors.directExecutor(), resultOptions.getTracker(), ratio - 0.001));
|
/prebuilts/abi-dumps/vndk/28/32/arm_armv7-a-neon/source-based/ |
libstagefright_soft_vpxenc.so.lsdump.gz | |
/prebuilts/abi-dumps/vndk/28/32/x86/source-based/ |
libstagefright_soft_vpxenc.so.lsdump.gz | |
android.hidl.memory@1.0-impl.so.lsdump.gz | |
/prebuilts/abi-dumps/vndk/28/64/arm_armv8-a/source-based/ |
libstagefright_soft_vpxenc.so.lsdump.gz | |
/prebuilts/abi-dumps/vndk/28/64/x86/source-based/ |
libstagefright_soft_vpxenc.so.lsdump.gz | |
android.hidl.memory@1.0-impl.so.lsdump.gz | |
/prebuilts/abi-dumps/vndk/28/64/x86_x86_64/source-based/ |
libstagefright_soft_vpxenc.so.lsdump.gz | |
android.hidl.memory@1.0-impl.so.lsdump.gz | |
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
ColorUtils.java | 152 * Returns the contrast ratio between {@code foreground} and {@code background}. 182 * @param minContrastRatio the minimum contrast ratio 599 * Blend between two ARGB colors using the given ratio. 601 * <p>A blend ratio of 0.0 will result in {@code color1}, 0.5 will give an even blend, 606 * @param ratio the blend ratio of {@code color1} to {@code color2} 610 @FloatRange(from = 0.0, to = 1.0) float ratio) { 611 final float inverseRatio = 1 - ratio; 612 float a = Color.alpha(color1) * inverseRatio + Color.alpha(color2) * ratio; 613 float r = Color.red(color1) * inverseRatio + Color.red(color2) * ratio; [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
AdaptiveStepsizeIntegrator.java | 232 double ratio; local 236 ratio = y0[j] / scale[j]; 237 yOnScale2 += ratio * ratio; 238 ratio = yDot0[j] / scale[j]; 239 yDotOnScale2 += ratio * ratio; 257 ratio = (yDot1[j] - yDot0[j]) / scale[j]; 258 yDDotOnScale += ratio * ratio; [all...] |
/external/ltp/testcases/kernel/syscalls/perf_event_open/ |
perf_event_open02.c | 33 computes the ratio of that total to the overall execution time from 36 That ratio should be equal to the number of actual hardware counters 38 don't stop when their group gets taken off the PMU, the ratio will 40 if the ratio is greater than N (actually, N + 0.0001 to allow for FP 288 double ratio; local 330 ratio = (double)vtsum / vt0; 331 tst_resm(TINFO, "ratio: %lf", ratio); 332 if (ratio > nhw + 0.0001) { 333 tst_resm(TFAIL, "test failed (ratio was greater than )") [all...] |
/external/icu/icu4c/source/test/perf/perldriver/ |
Output.pm | 118 print HTML "<th class=\"source\" colspan=2><a href=\"#mean_op_$i\">ratio $i<br>/op</a></th>\n"; 119 printLeg("<a name=\"mean_op_$i\">ratio $i /op</a> - ratio and error of per $operationIs time, calculated as: (($headers[0] - $headers[$i])/$headers[$i])*100%, mean value"); 131 print HTML "<th class=\"source\" colspan=2><a href=\"#mean_ev_$i\">ratio $i<br>/ev</a></th>\n"; 132 printLeg("<a name=\"mean_ev_$i\">ratio $i /ev</a> - ratio and error of per $eventIs time, calculated as: (($headers[0] - $headers[$i])/$headers[$i])*100%, mean value"); 366 my $ratio = $baseLinePO->subtract($perOperation); 367 $ratio = $ratio->divide($perOperation); 368 outputDist($ratio, "%") [all...] |
/external/icu/icu4j/perf-tests/perldriver/ |
Output.pm | 116 print HTML "<th class=\"source\" colspan=2><a href=\"#mean_op_$i\">ratio $i<br>/op</a></th>\n"; 117 printLeg("<a name=\"mean_op_$i\">ratio $i /op</a> - ratio and error of per $operationIs time, calculated as: (($headers[0] - $headers[$i])/$headers[$i])*100%, mean value"); 129 print HTML "<th class=\"source\" colspan=2><a href=\"#mean_ev_$i\">ratio $i<br>/ev</a></th>\n"; 130 printLeg("<a name=\"mean_ev_$i\">ratio $i /ev</a> - ratio and error of per $eventIs time, calculated as: (($headers[0] - $headers[$i])/$headers[$i])*100%, mean value"); 364 my $ratio = $baseLinePO->subtract($perOperation); 365 $ratio = $ratio->divide($perOperation); 366 outputDist($ratio, "%") [all...] |
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/ |
LimitTest.java | 80 "instructions missed ratio is 0, but expected maximum is -1", 94 "instructions covered ratio is 0, but expected maximum is -1", 215 "instructions covered ratio is 0.3400, but expected minimum is 0.3500", 228 "instructions covered ratio is 0.34, but expected minimum is 0.35", 256 "instructions covered ratio is 0, but expected minimum is 12345", 314 "instructions covered ratio is 1.000, but expected maximum is 0.999", 327 "instructions covered ratio is 1.000, but expected maximum is 0.999",
|
BundleCheckerTest.java | 58 assertMessage("Rule violated for bundle Test: instructions covered ratio is 0.50, but expected minimum is 0.75"); 66 assertMessage("Rule violated for package org.jacoco.example: instructions covered ratio is 0.50, but expected minimum is 0.75"); 74 assertMessage("Rule violated for source file org/jacoco/example/FooClass.java: instructions covered ratio is 0.50, but expected minimum is 0.75"); 82 assertMessage("Rule violated for class org.jacoco.example.FooClass: instructions covered ratio is 0.50, but expected minimum is 0.75"); 90 assertMessage("Rule violated for method org.jacoco.example.FooClass.fooMethod(): instructions covered ratio is 0.50, but expected minimum is 0.75");
|
/external/tensorflow/tensorflow/core/kernels/ |
adjust_hue_op.cc | 146 auto ratio = (v_mid - *v_min) / (*v_max - *v_min); local 148 *h = h_category + (increase ? ratio : (1 - ratio)); 155 float ratio = h - h_category; local 158 ratio = 1 - ratio; 160 float v_mid = v_min + ratio * (v_max - v_min);
|
/frameworks/base/core/java/android/app/ |
PictureInPictureArgs.java | 47 * Sets the aspect ratio. This aspect ratio is defined as the desired width / height, and 50 * @param aspectRatio the new aspect ratio for the activity in picture-in-picture, must be 85 * these bounds should also match the aspect ratio in the arguments. 110 * The expected aspect ratio of the picture-in-picture. 223 * @return the aspect ratio. If none is set, return 0. 239 * @return whether the aspect ratio is set.
|
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
LevenbergMarquardt.h | 127 Scalar ratio; member in class:Eigen::LevenbergMarquardt 305 /* compute the ratio of the actual to the predicted */ 307 ratio = 0.; 309 ratio = actred / prered; 312 if (ratio <= Scalar(.25)) { 322 } else if (!(par != 0. && ratio < Scalar(.75))) { 328 if (ratio >= Scalar(1e-4)) { 339 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && delta <= parameters.xtol * xnorm) 341 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.) 349 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1. [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/ |
BaseRenderer.java | 126 // while the width will vary as per aspect ratio. 129 final float ratio = (float) width / height; local 130 float left = -ratio; 131 float right = ratio; 146 // Invert aspect ratio. 148 bottom = -ratio; 149 top = ratio; 208 // Normal aspect ratio. 219 // Inverted aspect ratio.
|
/external/speex/include/speex/ |
speex_resampler.h | 130 * rate ratio is an arbitrary rational number with both the numerator and 133 * @param ratio_num Numerator of the sampling rate ratio 134 * @param ratio_den Denominator of the sampling rate ratio 237 /** Set (change) the input/output sampling rates and resampling ratio 240 * @param ratio_num Numerator of the sampling rate ratio 241 * @param ratio_den Denominator of the sampling rate ratio 251 /** Get the current resampling ratio. This will be reduced to the least 254 * @param ratio_num Numerator of the sampling rate ratio copied 255 * @param ratio_den Denominator of the sampling rate ratio copied
|
/external/autotest/server/site_tests/audio_AudioVolume/ |
audio_AudioVolume.py | 165 ratio = low_coeff / high_coeff 167 channel, low_volume, high_volume, ratio) 168 if ratio > highest_ratio: 170 'Channel %d volume ratio: %f is incorrect.' % ( 171 channel, ratio))
|
/external/deqp/modules/glshared/ |
glsShaderPerformanceCase.cpp | 77 float ratio = (float)numFrag / (float)numVert; local 79 if (de::abs(ratio - fragmentsPerVertices) < eps) 81 else if (ratio < fragmentsPerVertices) 110 m_testCtx.getLog() << TestLog::Message << "Requested fragment/vertex-ratio: " << de::floatToString(fragmentsPerVertices, 2) << "\n" 111 << "Computed fragment/vertex-ratio: " << de::floatToString(finalRatio, 2)
|