/external/skia/src/views/ |
H A D | SkWidget.cpp | 294 SkFixed percent = SkFixedDiv(value, fMax); 297 r.fRight = r.fLeft + SkScalarMul(r.width(), SkFixedToScalar(percent)); 321 SkScalar percent = SkScalarDiv(click->fCurr.fX + SK_Scalar1, this->width() - SK_Scalar1*2); 322 percent = SkMaxScalar(0, SkMinScalar(percent, SK_Scalar1)); 323 this->setValue(SkScalarRound(percent * fMax));
|
/external/e2fsprogs/lib/e2p/ |
H A D | Android.mk | 23 percent.c
|
H A D | e2p.h | 73 unsigned int e2p_percent(int percent, unsigned int base);
|
/external/tinyalsa/ |
H A D | mixer.c | 246 static int percent_to_int(struct snd_ctl_elem_info *ei, int percent) argument 250 if (percent > 100) 251 percent = 100; 252 else if (percent < 0) 253 percent = 0; 257 return ei->value.integer.min + (range * percent) / 100; 278 int mixer_ctl_set_percent(struct mixer_ctl *ctl, unsigned int id, int percent) argument 283 return mixer_ctl_set_value(ctl, id, percent_to_int(ctl->info, percent));
|
/external/webkit/Source/WebCore/platform/chromium/ |
H A D | ScrollbarThemeChromium.cpp | 128 const float percent = static_cast<float>(i->y()) / scrollbar->totalSize(); local 131 const int yPos = rect.y() + (rect.height() * percent);
|
/external/webkit/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/ |
H A D | LeaksViewer.css | 79 .percent-time-status-bar-item {
|
/external/dropbear/ |
H A D | progressmeter.c | 115 int percent; local 163 /* percent of transfer done */ 165 percent = ((float)cur_pos / end_pos) * 100; 167 percent = 100; 169 " %3d%% ", percent);
|
/external/linux-tools-perf/util/ui/ |
H A D | browser.h | 29 double percent, bool current);
|
H A D | browser.c | 14 static int ui_browser__percent_color(double percent, bool current) argument 18 if (percent >= MIN_RED) 20 if (percent >= MIN_GREEN) 31 double percent, bool current) 33 int color = ui_browser__percent_color(percent, current); 30 ui_browser__set_percent_color(struct ui_browser *self, double percent, bool current) argument
|
/external/openssh/ |
H A D | progressmeter.c | 125 int percent; local 173 /* percent of transfer done */ 175 percent = ((float)cur_pos / end_pos) * 100; 177 percent = 100; 179 " %3d%% ", percent);
|
/external/webkit/Source/WebCore/rendering/ |
H A D | AutoTableLayout.cpp | 233 // We substitute 0 percent by (epsilon / percentScaleFactor) percent in two places below to avoid division by zero. 243 float percent = min(static_cast<float>(m_layoutStruct[i].effectiveLogicalWidth.percent()), remainingPercent); local 244 float logicalWidth = static_cast<float>(m_layoutStruct[i].effectiveMaxLogicalWidth) * 100 / max(percent, epsilon); 246 remainingPercent -= percent; 269 // if there was no remaining percent, maxWidth is invalid. 318 totalPercent += columnLayout.logicalWidth.percent(); 345 totalPercent += columnLayout.effectiveLogicalWidth.percent(); 360 if (totalPercent > cellLogicalWidth.percent() || allColsArePercen 376 float percent = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) / totalWidth; local [all...] |
/external/icu4c/test/perf/perldriver/ |
H A D | Output.pm | 24 my $perc = 100; #for percent 49 my $percent = shift; 59 if($percent) { 66 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) { 72 if($percent) {
|
/external/chromium/chrome/browser/diagnostics/ |
H A D | diagnostics_model_unittest.cc | 43 virtual void OnProgress(int id, int percent, DiagnosticsModel* model) { argument
|
/external/webp/src/enc/ |
H A D | webpenc.c | 321 int percent, int* const percent_store) { 322 if (percent_store != NULL && percent != *percent_store) { 323 *percent_store = percent; 324 if (pic->progress_hook && !pic->progress_hook(percent, pic)) { 320 WebPReportProgress(const WebPPicture* const pic, int percent, int* const percent_store) argument
|
/external/libmtp/examples/ |
H A D | 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/strace/ |
H A D | count.c | 163 double percent; local 210 percent = (100.0 * tv_float(&counts[j].time) 213 percent, tv_float(&counts[j].time),
|
/external/clang/lib/Lex/ |
H A D | TokenConcatenation.cpp | 84 TokenInfo[tok::percent ] |= aci_custom_firstchar; 110 TokenInfo[tok::percent ] |= aci_avoid_equal; // %= 263 case tok::percent: // %>, %:
|
/external/icu4c/test/perf/collationperf/ |
H A D | CollPerf.pl | 113 #percent 115 my $percent = 0; 119 $percent = substr(((( 123 @resultPER[$n] = @resultPER[$n].$percent."%,";
|
/external/webkit/Tools/CodeCoverage/ |
H A D | regenerate-coverage-display | 161 def coverage_icon(percent): 162 if percent < level_LOW: 164 elif percent < level_MEDIUM:
|
/external/chromium/chrome/browser/download/ |
H A D | download_util.h | 161 // clipping the foreground to 'percent' full. If percent is -1, then we don't 176 int percent,
|
/external/linux-tools-perf/util/ |
H A D | annotate.h | 37 double percent; member in struct:source_line
|
/external/quake/quake/src/QW/client/ |
H A D | cl_parse.c | 336 int size, percent; local 343 percent = MSG_ReadByte (); 387 if (percent != 100) 393 if (10*(percent/10) != cls.downloadpercent) 395 cls.downloadpercent = 10*(percent/10); 399 cls.downloadpercent = percent; 446 int percent; local 463 percent = upload_pos*100/size; 464 MSG_WriteByte (&cls.netchan.message, percent);
|
/external/tinyalsa/include/tinyalsa/ |
H A D | asoundlib.h | 198 int mixer_ctl_set_percent(struct mixer_ctl *ctl, unsigned int id, int percent);
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
H A D | MediaPlayerPrivateAndroid.h | 97 void onBuffering(int percent);
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
H A D | PathQt.cpp | 413 qreal percent = m_path.percentAtLength(length); local 414 QPointF point = m_path.pointAtPercent(percent); 423 qreal percent = m_path.percentAtLength(length); local 424 qreal angle = m_path.angleAtPercent(percent);
|