HomeSort by relevance Sort by last modified time
    Searched refs:percent (Results 1 - 25 of 208) sorted by null

1 2 3 4 5 6 7 8 9

  /external/e2fsprogs/lib/e2p/
percent.c 2 * percent.c - Take percentage of a number
21 unsigned int e2p_percent(int percent, unsigned int base)
25 if (!percent)
27 if (100 % percent == 0)
28 return base / (100 / percent);
30 return (base / 100) * percent;
31 return base * percent / 100;
41 int percent; local
46 fprintf(stderr, "Usage: %s percent base\n", argv[0]);
50 percent = strtoul(argv[1], &p, 0)
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
Lerp.java 27 final float percent = timeSinceStart / duration; local
28 value = start + (range * percent);
43 final float percent = timeSinceStart / (duration / 2.0f); local
44 if (percent < 1.0f)
46 value = start + ((range / 2.0f) * percent * percent * percent);
50 final float shiftedPercent = percent - 2.0f;
  /external/u-boot/include/
video_bridge.h 51 * @percent: brightness percentage (0=off, 100=full brightness)
54 int (*set_backlight)(struct udevice *dev, int percent);
80 * @percent: brightness percentage (0=off, 100=full brightness)
83 int video_bridge_set_backlight(struct udevice *dev, int percent);
  /development/tools/bugreport/src/com/android/bugreport/cpuinfo/
CpuUsage.java 25 public int percent; field in class:CpuUsage
  /external/icu/icu4c/source/i18n/unicode/
nounit.h 21 * \brief C++ API: units for percent and permille
28 * Dimensionless unit for percent and permille.
43 * Returns an instance for percent, or 1/100 of a base unit.
48 static NoUnit U_EXPORT2 percent();
  /art/tools/ahat/src/main/com/android/ahat/
AsciiProgress.java 32 private static void display(String description, long percent) {
33 System.out.print(String.format("\r[ %3d%% ] %s ...", percent, description));
  /external/autotest/client/tools/
oprofile_diff 8 (samples, percent, symbol) = line.split()
9 data[symbol] = float(percent)
  /external/icu/icu4c/source/i18n/
nounit.cpp 17 NoUnit U_EXPORT2 NoUnit::percent() { function in class:NoUnit
18 return NoUnit("percent");
  /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
CpuMonitor.java 52 * since then deltas would be small and the percent values would fluctuate and
206 int percent = allTime == 0 ? 0 : (int) Math.round(percentFreq * diffRunTime / allTime); local
207 percent = Math.max(0, Math.min(percent, 100));
210 sum3 += percent - percentVec[2];
212 sum10 += percent - percentVec[SAMPLE_SAVE_NUMBER - 1];
214 // Rotate saved percent values, save new measurement in vacated spot.
218 percentVec[0] = percent;
220 cpuCurrent = percent;
  /frameworks/av/media/extractors/mp3/
XINGSeeker.cpp 53 float percent = (float)(*timeUs) * 100 / mDurationUs; local
55 if( percent <= 0.0f ) {
57 } else if( percent >= 100.0f ) {
60 int a = (int)percent;
72 fx = fa + (fb-fa)*(percent-a);
74 fx = percent * 2.56f;
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageCache.java 39 * @param memCacheSizePercent The cache size as a percent of available app memory.
50 * @param memCacheSizePercent The cache size as a percent of available app memory.
74 * @param memCacheSizePercent The cache size as a percent of available app memory.
148 * Eg. setting percent to 0.2 would set the memory cache to one fifth of the available
149 * memory. Throws {@link IllegalArgumentException} if percent is < 0.05 or > .8.
157 * @param percent Percent of available app memory to use to size memory cache.
159 public static int calculateMemCacheSize(float percent) {
160 if (percent < 0.05f || percent > 0.8f)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AsmParser/
altmacro_expression.s 16 # The altmacro percent '%' must be located before the first argument
17 # If a percent is located in the middle of the estimated argument without any
19 # The second percent '%' after the first altmacro percent '%' is a regular operator.
  /external/autotest/client/site_tests/policy_ScreenBrightnessPercent/
policy_ScreenBrightnessPercent.py 28 def _convert_power_percent(self, percent):
34 @param percent: int or float, UI brightness settings.
50 fract = (percent - 6.25) / (100 - 6.25)
62 of this, a half percent tolerace is added.
  /external/strace/
count.c 137 double percent; local
172 percent = (100.0 * float_syscall_time);
173 if (percent != 0.0)
174 percent /= float_tv_cum;
177 percent, float_syscall_time,
  /external/llvm/tools/llvm-diff/
DiffConsumer.cpp 168 size_t percent = format.find('%'); local
169 if (percent == StringRef::npos) {
173 assert(format[percent] == '%');
175 if (percent > 0) out << format.substr(0, percent);
177 switch (format[percent+1]) {
184 format = format.substr(percent+2);
  /external/swiftshader/third_party/LLVM/tools/llvm-diff/
DiffConsumer.cpp 163 size_t percent = format.find('%'); local
164 if (percent == StringRef::npos) {
168 assert(format[percent] == '%');
170 if (percent > 0) out << format.substr(0, percent);
172 switch (format[percent+1]) {
179 format = format.substr(percent+2);
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-diff/
DiffConsumer.cpp 168 size_t percent = format.find('%'); local
169 if (percent == StringRef::npos) {
173 assert(format[percent] == '%');
175 if (percent > 0) out << format.substr(0, percent);
177 switch (format[percent+1]) {
184 format = format.substr(percent+2);
  /external/toybox/toys/posix/
df.c 100 unsigned long long size, used, avail, percent, block; local
131 if (!(used+avail)) percent = 0;
133 percent = (used*100)/(used+avail);
134 if (used*100 != percent*(used+avail)) percent++;
158 w, size_str, w, used_str, w, avail_str, w-1, percent, mt->dir);
164 TT.column_widths[4], percent,
  /external/cldr/tools/java/org/unicode/cldr/draft/
GapStringTest.java 63 static DecimalFormat percent = (DecimalFormat) NumberFormat.getPercentInstance(); field in class:GapStringTest
66 percent.setMaximumFractionDigits(6);
67 percent.setPositivePrefix("+");
143 System.out.println("\tGap - Builder% =\t" + percent.format(gapDuration * 1.0 / builderDuration - 1.0));
  /external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
AffixTokenMatcherFactory.java 31 public PercentMatcher percent() { method in class:AffixTokenMatcherFactory
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
AffixTokenMatcherFactory.java 29 public PercentMatcher percent() { method in class:AffixTokenMatcherFactory
  /external/ipsec-tools/src/libipsec/
policy_token.l 83 percent \%
  /external/u-boot/drivers/video/bridge/
ps862x.c 59 static int ps8622_set_backlight(struct udevice *dev, int percent)
61 int level = percent * 255 / 100;
  /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) {

Completed in 1044 milliseconds

1 2 3 4 5 6 7 8 9