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

1 2 3 4 5 6 7

  /external/e2fsprogs/lib/e2p/
percent.c 2 * percent.c - Take percentage of a number
20 unsigned int e2p_percent(int percent, unsigned int base)
24 if (!percent)
26 if (100 % percent == 0)
27 return base / (100 / percent);
29 return (base / 100) * percent;
30 return base * percent / 100;
40 int percent; local
45 fprintf(stderr, "Usage: %s percent base\n", argv[0]);
49 percent = strtoul(argv[1], &p, 0)
    [all...]
  /external/chromium_org/third_party/sqlite/src/tool/
spaceanal.tcl 181 proc percent {num denom {of {}}} { procedure
251 set total_pages_percent [percent $total_pages $file_pgcnt]
253 set payload_percent [percent $payload $storage {of storage consumed}]
270 set ovfl_cnt_percent [percent $ovfl_cnt $nleaf {of all entries}]
284 set fragmentation [percent $gap_cnt [expr {$total_pages-1}] {fragmentation}]
297 [percent $int_unused [expr {$int_pages*$pageSize}] {of index space}]
301 [percent $leaf_unused [expr {$leaf_pages*$pageSize}] {of primary space}]
303 [percent $ovfl_unused [expr {$ovfl_pages*$pageSize}] {of overflow space}]
305 [percent $total_unused $storage {of all space}]
364 set av_percent [percent $av_pgcnt $file_pgcnt
    [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/chromium_org/content/browser/download/
save_item.cc 103 int percent = 0; local
105 percent = static_cast<int>(received_bytes_ * 100.0 / total_bytes_);
106 return percent;
  /external/chromium_org/third_party/WebKit/Source/platform/
CalculationValue.h 50 float evaluate(float maxValue) const { return pixels() + percent() / 100 * maxValue; }
51 bool operator==(const CalculationValue& o) const { return pixels() == o.pixels() && percent() == o.percent(); }
54 float percent() const { return m_value.percent; } function in class:WebCore::CalculationValue
  /external/chromium_org/third_party/WebKit/Source/platform/scroll/
ScrollbarThemeNonMacCommon.cpp 114 const float percent = static_cast<float>(i->y()) / scrollbar->totalSize(); local
117 const int yPos = rect.y() + (rect.height() * percent);
  /external/chromium_org/ash/system/audio/
tray_audio.cc 100 float percent = local
106 volume_view_->SetVolumeLevel(percent);
  /external/chromium_org/pdf/
page_indicator.cc 122 double percent = static_cast<double>(vertical_scrollbar_y) / document_height; local
123 return (plugin_height - rect().height()) * percent;
  /external/chromium_org/third_party/icu/source/test/intltest/
tsdcfmsy.cpp 81 UnicodeString percent = en.getSymbol(DecimalFormatSymbols::kPercentSymbol); local
82 fr.setSymbol(DecimalFormatSymbols::kPercentSymbol, percent);
84 errln("ERROR: get/set Percent failed");
90 errln("ERROR: get/set Percent failed");
  /external/chromium_org/ui/base/models/
table_model.h 100 TableColumn(int id, Alignment alignment, int width, float percent);
114 // 2. As a percentage of the available width. If width is -1, and percent is
116 // available_width * percent / total_percent.
117 // 3. If the width == -1 and percent == 0, the column is autosized based on
125 float percent; member in struct:ui::TableColumn
  /external/chromium_org/ui/gfx/animation/
multi_animation.cc 59 double percent = static_cast<double>(delta + part.start_time_ms) / local
61 DCHECK(percent <= 1);
62 current_value_ = Tween::CalculateValue(part.type, percent);
  /external/icu/icu4c/source/test/intltest/
tsdcfmsy.cpp 77 UnicodeString percent = en.getSymbol(DecimalFormatSymbols::kPercentSymbol); local
78 fr.setSymbol(DecimalFormatSymbols::kPercentSymbol, percent);
80 errln("ERROR: get/set Percent failed");
86 errln("ERROR: get/set Percent failed");
  /external/libmtp/examples/
pathutils.c 118 int percent = (sent*100)/total; local
120 printf("Progress: %I64u of %I64u (%d%%)\r", sent, total, percent);
122 printf("Progress: %llu of %llu (%d%%)\r", sent, total, percent);
  /external/chromium_org/third_party/skia/debugger/
SkDebugger.cpp 108 double percent = 100.0*(*typeTimes)[i]/totTime; local
109 overview->appendf("%.2f", percent);
112 totPercent += percent;
  /external/e2fsprogs/resize/
online.c 60 double percent; local
182 percent = (ext2fs_r_blocks_count(sb) * 100.0) /
242 input.reserved_blocks = (blk_t) (percent * input.blocks_count
  /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/skia/debugger/
SkDebugger.cpp 108 double percent = 100.0*(*typeTimes)[i]/totTime; local
109 overview->appendf("%.2f", percent);
112 totPercent += percent;
  /frameworks/av/media/libstagefright/
XINGSeeker.cpp 51 float percent = (float)(*timeUs) * 100 / mDurationUs; local
53 if( percent <= 0.0f ) {
55 } else if( percent >= 100.0f ) {
58 int a = (int)percent;
70 fx = fa + (fb-fa)*(percent-a);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Gradient_Delegate.java 114 float percent = (currentPos - mPositions[prevPos]) / local
117 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent);
193 * Returns the color between c1, and c2, based on the percent of the distance
196 private int computeColor(int c1, int c2, float percent) {
197 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent);
198 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent);
199 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent);
200 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent);
205 * Returns the channel value between 2 values based on the percent of the distance between
208 private int computeChannel(int c1, int c2, float percent) {
    [all...]
  /external/chromium_org/ash/system/chromeos/brightness/
tray_brightness.cc 60 // |percent| is in the range [0.0, 100.0].
61 void SetBrightnessPercent(double percent);
129 void BrightnessView::SetBrightnessPercent(double percent) {
130 last_percent_ = percent;
132 slider_->SetValue(static_cast<float>(percent / 100.0));
157 double percent = std::max(value * 100.0, kMinBrightnessPercent); local
158 ac->brightness_control_delegate()->SetBrightnessPercent(percent, true);
208 void TrayBrightness::HandleInitialBrightness(double percent) {
210 HandleBrightnessChanged(percent, false);
258 double percent = static_cast<double>(level) local
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/xray/
report.c 52 " Address Ticks Percent Function [annotation...]\n");
69 float percent = 100.0f * (float)ticks / total; local
70 if (percent >= percent_cutoff && ticks >= ticks_cutoff) {
80 (unsigned int)addr, ticks, percent,
  /external/doclava/src/com/google/doclava/
TodoFile.java 62 public static String percent(int a, int b) { method in class:TodoFile
154 data.setValue(classBase + ".percentGood", percent(errors, total));
179 data.setValue("packages." + i + ".percentGood", percent(ps.errors, ps.total));
189 data.setValue("all.percentGood", percent(allErrors, allTotal));
  /external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/
annotate.c 26 double percent = 0.0; local
39 percent = 100.0 * symhist->addr[dl->offset] / symhist->sum;
41 markup = perf_gtk__get_percent_color(percent);
44 ret += scnprintf(buf + ret, size - ret, "%6.2f%%", percent);
  /external/linux-tools-perf/perf-3.12.0/tools/perf/ui/
hist.c 23 double percent = 0.0; local
26 percent = 100.0 * get_field(he) /
29 ret = print_fn(hpp->buf, hpp->size, fmt, percent);
  /external/oprofile/libpp/
profile_container.cpp 35 : filename(id), percent(percent_)
39 if (percent != lhs.percent)
40 return percent < lhs.percent;
46 double percent; member in struct:__anon32209::filename_by_samples
179 double const percent = local
182 if (percent >= threshold) {
239 if (cit->percent >= threshold)

Completed in 627 milliseconds

1 2 3 4 5 6 7