Home
last modified time | relevance | path

Searched refs:percent (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/external/e2fsprogs/lib/e2p/
Dpercent.c21 unsigned int e2p_percent(int percent, unsigned int base) in e2p_percent() argument
25 if (!percent) in e2p_percent()
27 if (100 % percent == 0) in e2p_percent()
28 return base / (100 / percent); in e2p_percent()
30 return (base / 100) * percent; in e2p_percent()
31 return base * percent / 100; in e2p_percent()
41 int percent; in main() local
50 percent = strtoul(argv[1], &p, 0); in main()
62 printf("%d percent of %u is %u.\n", percent, base, in main()
63 e2p_percent(percent, base)); in main()
/external/replicaisland/src/com/replica/replicaisland/
DLerp.java27 final float percent = timeSinceStart / duration; in lerp() local
28 value = start + (range * percent); in lerp()
43 final float percent = timeSinceStart / (duration / 2.0f); in ease() local
44 if (percent < 1.0f) in ease()
46 value = start + ((range / 2.0f) * percent * percent * percent); in ease()
50 final float shiftedPercent = percent - 2.0f; in ease()
/external/fmtlib/doc/bootstrap/mixins/
Dgradients.less9 .horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
10 …nd-image: -webkit-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // …
11 …background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); …
12 …ground-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // …
21 .vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
22 …und-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); //…
23 …background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); …
24 …round-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // …
/external/lisa/libs/utils/android/
Dscreen.py67 def set_brightness(target, auto=True, percent=None): argument
74 if percent:
81 if percent<0 or percent>100:
83 .format(percent)
85 value = 255 * percent / 100
90 log.info('Set brightness: %d%%', percent)
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCpuMonitor.java206 int percent = allTime == 0 ? 0 : (int) Math.round(percentFreq * diffRunTime / allTime); in sampleCpuUtilization() local
207 percent = Math.max(0, Math.min(percent, 100)); in sampleCpuUtilization()
210 sum3 += percent - percentVec[2]; in sampleCpuUtilization()
212 sum10 += percent - percentVec[SAMPLE_SAVE_NUMBER - 1]; in sampleCpuUtilization()
218 percentVec[0] = percent; in sampleCpuUtilization()
220 cpuCurrent = percent; in sampleCpuUtilization()
/external/swiftshader/third_party/LLVM/tools/llvm-diff/
DDiffConsumer.cpp163 size_t percent = format.find('%'); in logf() local
164 if (percent == StringRef::npos) { in logf()
168 assert(format[percent] == '%'); in logf()
170 if (percent > 0) out << format.substr(0, percent); in logf()
172 switch (format[percent+1]) { in logf()
179 format = format.substr(percent+2); in logf()
/external/llvm/tools/llvm-diff/
DDiffConsumer.cpp168 size_t percent = format.find('%'); in logf() local
169 if (percent == StringRef::npos) { in logf()
173 assert(format[percent] == '%'); in logf()
175 if (percent > 0) out << format.substr(0, percent); in logf()
177 switch (format[percent+1]) { in logf()
184 format = format.substr(percent+2); in logf()
/external/toybox/toys/posix/
Ddf.c86 long long size, used, avail, percent, block; in show_mt() local
111 if (!(used+avail)) percent = 0; in show_mt()
113 percent = (used*100)/(used+avail); in show_mt()
114 if (used*100 != percent*(used+avail)) percent++; in show_mt()
137 size_str, used_str, avail_str, percent, mt->dir); in show_mt()
143 TT.column_widths[4], percent, in show_mt()
/external/bart/bart/thermal/
DThermalAssert.py40 def getThermalResidency(self, temp_range, window, percent=False): argument
79 if percent:
91 percent=False): argument
134 residency = self.getThermalResidency(temp_range, window, percent)
/external/bart/bart/sched/
DSchedAssert.py131 def getResidency(self, level, node, window=None, percent=False): argument
181 if percent:
195 percent=False): argument
239 node_value = self.getResidency(level, node, window, percent)
368 def getRuntime(self, window=None, percent=False): argument
386 if percent:
404 percent=False): argument
444 run_time = self.getRuntime(window, percent)
546 return self.getRuntime(window, percent=True)
581 percent=True)
/external/python/cpython2/Lib/
Dlocale.py187 def format(percent, value, grouping=False, monetary=False, *additional): argument
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): argument
202 formatted = percent % ((value,) + additional)
204 formatted = percent % value
206 if percent[-1] in 'eEfFgG':
216 elif percent[-1] in 'diu':
/external/llvm/utils/lit/lit/
DProgressBar.py182 def update(self, percent, message): argument
187 next = int(percent*50)
246 def update(self, percent, message): argument
250 prefix = '%3d%% ' % (percent*100,)
254 if percent > .0001 and elapsed > 1:
255 total = elapsed / percent
262 n = int(barWidth*percent)
/external/swiftshader/third_party/LLVM/utils/lit/lit/
DProgressBar.py170 def update(self, percent, message): argument
175 next = int(percent*50)
234 def update(self, percent, message): argument
238 prefix = '%3d%% ' % (percent*100,)
242 if percent > .0001 and elapsed > 1:
243 total = elapsed / percent
250 n = int(barWidth*percent)
/external/llvm/test/Transforms/LoopUnroll/
Dfull-unroll-heuristics.ll4 ; 3) -unroll-percent-dynamic-cost-saved-threshold and
14 ; specify the minimal percent of such instructions).
20 …unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-save…
21 …unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-save…
22 …unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-save…
23 …unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=100 -unroll-percent-dynamic-cost-save…
26 ; percent of instructions, we shouldn't unroll:
/external/pdfium/samples/
Dimage_diff.cc234 float percent = HistogramPercentageDifferent(actual_image, baseline_image); in CompareImages() local
235 const char* passed = percent > 0.0 ? "failed" : "passed"; in CompareImages()
236 printf("histogram diff: %01.2f%% %s\n", percent, passed); in CompareImages()
240 float percent = PercentageDifferent(actual_image, baseline_image); in CompareImages() local
241 const char* const passed = percent > 0.0 ? "failed" : "passed"; in CompareImages()
242 printf("%s: %01.2f%% %s\n", diff_name, percent, passed); in CompareImages()
244 if (percent > 0.0) { in CompareImages()
/external/strace/
Dcount.c161 double percent; in call_summary_pers() local
203 percent = (100.0 * float_syscall_time); in call_summary_pers()
204 if (percent != 0.0) in call_summary_pers()
205 percent /= float_tv_cum; in call_summary_pers()
208 percent, float_syscall_time, in call_summary_pers()
/external/icu/icu4c/source/test/perf/perldriver/
DOutput.pm53 my $percent = shift;
63 if($percent) {
70 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) {
76 if($percent) {
/external/icu/icu4j/perf-tests/perldriver/
DOutput.pm51 my $percent = shift;
61 if($percent) {
68 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) {
74 if($percent) {
/external/curl/src/
Dtool_cb_prg.c50 double percent; in tool_progress_cb() local
86 percent = frac * 100.0f; in tool_progress_cb()
94 fprintf(bar->out, format, line, percent); in tool_progress_cb()
/external/libxml2/result/valid/
Dt4a.dtd.err2 <!ENTITY % percent "&#x25;">
5 <!ENTITY % percent "&#x25;">
Dt4.dtd.err2 <!ENTITY % percent "&#x25;">
5 <!ENTITY % percent "&#x25;">
Dt4.dtd.err.rdr2 <!ENTITY % percent "&#x25;">
5 <!ENTITY % percent "&#x25;">
Dt4a.dtd.err.rdr2 <!ENTITY % percent "&#x25;">
5 <!ENTITY % percent "&#x25;">
/external/testng/src/main/resources/
Dtestng.css2 .invocation-percent, .test-percent { background-color: #006600; }
/external/openssh/
Dprogressmeter.c125 int percent; in refresh_progress_meter() local
175 percent = 100; in refresh_progress_meter()
177 percent = ((float)cur_pos / end_pos) * 100; in refresh_progress_meter()
179 " %3d%% ", percent); in refresh_progress_meter()

12345678910>>...17