/external/bart/bart/sched/ |
SchedAssert.py | 131 def getResidency(self, level, node, window=None, percent=False): 148 percent is specified it will be normalized to the total runtime 162 :param percent: If true the result is normalized to the total runtime 164 :type percent: bool 181 if percent: 195 percent=False): 233 :param percent: If true the result is normalized to the total runtime 235 :type percent: bool 239 node_value = self.getResidency(level, node, window, percent) 368 def getRuntime(self, window=None, percent=False) [all...] |
/libcore/ojluni/src/main/java/java/text/ |
DecimalFormatSymbols.java | 241 * Gets the character used for percent sign. Different for Arabic, etc. 243 * @return the character used for percent sign 246 return percent; 249 // Android-added: getPercentString() for percent signs longer than one char. 251 * Gets the string used for percent sign. Different for Arabic, etc. 256 return String.valueOf(percent); 260 * Sets the character used for percent sign. Different for Arabic, etc. 262 * @param percent the character used for percent sign 264 public void setPercent(char percent) { 1011 private char percent; field in class:DecimalFormatSymbols [all...] |
/external/llvm/utils/lit/lit/ |
ProgressBar.py | 182 def update(self, percent, message): 187 next = int(percent*50) 246 def update(self, percent, message): 250 prefix = '%3d%% ' % (percent*100,) 254 if percent > .0001 and elapsed > 1: 255 total = elapsed / percent 262 n = int(barWidth*percent)
|
/external/pdfium/testing/image_diff/ |
image_diff.cpp | 216 float percent = HistogramPercentageDifferent(actual_image, baseline_image); local 217 const char* passed = percent > 0.0 ? "failed" : "passed"; 218 printf("histogram diff: %01.2f%% %s\n", percent, passed); 222 float percent = PercentageDifferent(actual_image, baseline_image); local 223 const char* const passed = percent > 0.0 ? "failed" : "passed"; 224 printf("%s: %01.2f%% %s\n", diff_name, percent, passed); 226 if (percent > 0.0) {
|
/external/swiftshader/third_party/LLVM/utils/lit/lit/ |
ProgressBar.py | 170 def update(self, percent, message): 175 next = int(percent*50) 234 def update(self, percent, message): 238 prefix = '%3d%% ' % (percent*100,) 242 if percent > .0001 and elapsed > 1: 243 total = elapsed / percent 250 n = int(barWidth*percent)
|
/external/strace/ |
count.c | 166 double percent; local 203 percent = (100.0 * float_syscall_time); 204 if (percent != 0.0) 205 percent /= float_tv_cum; 208 percent, float_syscall_time,
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
WindowAlignment.java | 120 public final void setWindowAlignmentOffsetPercent(float percent) { 121 if ((percent < 0 || percent > 100) 122 && percent != WINDOW_ALIGN_OFFSET_PERCENT_DISABLED) { 125 mWindowAlignmentOffsetPercent = percent;
|
GuidanceStylingRelativeLayout.java | 14 * Relative layout implementation that lays out child views based on provided keyline percent( 39 float percent = ta.getFloat(R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline, 40); local 41 return percent;
|
/external/curl/src/ |
tool_cb_prg.c | 113 double percent; local 156 percent = frac * 100.0; 164 fprintf(bar->out, format, line, percent);
|
/external/skia/debugger/ |
SkDebugger.cpp | 91 double percent = 100.0*(*typeTimes)[i]/totTime; local 92 overview->appendf("%.2f", percent); 95 totPercent += percent;
|
/external/skqp/debugger/ |
SkDebugger.cpp | 91 double percent = 100.0*(*typeTimes)[i]/totTime; local 92 overview->appendf("%.2f", percent); 95 totPercent += percent;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiObject.java | [all...] |
/art/test/950-redefine-intrinsic/src/ |
Main.java | 460 double percent = 100.0d*((double)failures/(double)iters); 462 + " (" + Double.toString(percent) + "%) tests failed!");
|
/external/autotest/frontend/client/src/autotest/moblab/rpc/ |
VersionInfo.java | 124 int percent = (int)(moblabUpdateProgress * 100.0); local 126 + " (" + percent + "%)";
|
/external/bart/tests/ |
test_sched_assert.py | 107 # percent calculation 109 busy_pct= sma.getCPUBusyTime("all", self.all_cpus, percent=True, 113 # percent without a window 115 busy_pct= sma.getCPUBusyTime("cluster", self.little, percent=True)
|
/external/clang/lib/Basic/ |
OperatorPrecedence.cpp | 69 case tok::percent:
|
/external/doclava/src/com/google/doclava/ |
TodoFile.java | 63 public static String percent(int a, int b) { method in class:TodoFile 155 data.setValue(classBase + ".percentGood", percent(errors, total)); 180 data.setValue("packages." + i + ".percentGood", percent(ps.errors, ps.total)); 190 data.setValue("all.percentGood", percent(allErrors, allTotal));
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
CharMatcherBenchmark.java | 48 // Percent of string that the CharMatcher matches 49 @Param({"0", "10", "50", "100"}) int percent; field in class:CharMatcherBenchmark 80 this.string = checkString(length, percent, config.matchingChars, 105 private static String checkString(int length, int percent, 125 // Move zero index to front to force a matching character (if percent > 0) 130 // zero percent values result in a non-zero threshold (so we always have at 132 int threshold = ((percent * length) + 99) / 100; [all...] |
/external/lisa/libs/utils/android/workloads/ |
camera_preview.py | 73 Screen.set_brightness(self._target, auto=False, percent=0)
|
/frameworks/support/media/src/main/java/android/support/v4/media/ |
RatingCompat.java | 231 * @param percent the value of the rating 234 public static RatingCompat newPercentageRating(float percent) { 235 if ((percent < 0.0f) || (percent > 100.0f)) { 239 return new RatingCompat(RATING_PERCENTAGE, percent);
|
/frameworks/support/scripts/ |
support-deps-license.sh | 37 rundeps frameworks/support/percent
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
locale.py | 185 def format(percent, value, grouping=False, monetary=False, *additional):
187 (percent).
191 # this is only for one-percent-specifier strings and this should be checked
192 match = _percent_re.match(percent)
193 if not match or len(match.group())!= len(percent):
195 "format specifier, %s not valid") % repr(percent))
196 return _format(percent, value, grouping, monetary, *additional)
198 def _format(percent, value, grouping=False, monetary=False, *additional):
200 formatted = percent % ((value,) + additional)
202 formatted = percent % value [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
locale.py | 179 def format(percent, value, grouping=False, monetary=False, *additional):
181 (percent).
185 # this is only for one-percent-specifier strings and this should be checked
186 match = _percent_re.match(percent)
187 if not match or len(match.group())!= len(percent):
189 "format specifier, %s not valid") % repr(percent))
190 return _format(percent, value, grouping, monetary, *additional)
192 def _format(percent, value, grouping=False, monetary=False, *additional):
194 formatted = percent % ((value,) + additional)
196 formatted = percent % value [all...] |
/external/python/cpython2/Lib/ |
locale.py | 187 def format(percent, value, grouping=False, monetary=False, *additional): 189 (percent). 193 # this is only for one-percent-specifier strings and this should be checked 194 match = _percent_re.match(percent) 195 if not match or len(match.group())!= len(percent): 197 "format specifier, %s not valid") % repr(percent)) 198 return _format(percent, value, grouping, monetary, *additional) 200 def _format(percent, value, grouping=False, monetary=False, *additional): 202 formatted = percent % ((value,) + additional) 204 formatted = percent % valu [all...] |
/external/python/cpython3/Lib/ |
locale.py | 183 def format(percent, value, grouping=False, monetary=False, *additional): 185 (percent). 189 # this is only for one-percent-specifier strings and this should be checked 190 match = _percent_re.match(percent) 191 if not match or len(match.group())!= len(percent): 193 "format specifier, %s not valid") % repr(percent)) 194 return _format(percent, value, grouping, monetary, *additional) 196 def _format(percent, value, grouping=False, monetary=False, *additional): 198 formatted = percent % ((value,) + additional) 200 formatted = percent % valu [all...] |