Home
last modified time | relevance | path

Searched refs:percent (Results 1 - 25 of 113) sorted by relevance

12345

/third_party/mesa3d/src/freedreno/ds/
H A Dfd_pps_driver.cc29 percent(uint64_t a, uint64_t b) in percent() function
129 return percent(PERF_CP_BUSY_CYCLES / time, max_freq); in setup_a6xx_counters()
139 return percent(PERF_SP_BUSY_CYCLES / time, max_freq * info->num_sp_cores); in setup_a6xx_counters()
145 return percent(PERF_SP_STALL_CYCLES_TP / time, max_freq * info->num_sp_cores); in setup_a6xx_counters()
151 return percent(PERF_PC_STALL_CYCLES_VFD / time, max_freq * info->num_sp_cores); in setup_a6xx_counters()
161 return percent(PERF_TP_L1_CACHELINE_MISSES, PERF_TP_L1_CACHELINE_REQUESTS); in setup_a6xx_counters()
166 return percent(PERF_UCHE_VBIF_READ_BEATS_TP / 2, PERF_UCHE_READ_REQUESTS_TP); in setup_a6xx_counters()
172 return percent(PERF_UCHE_STALL_CYCLES_ARBITER / time, max_freq * info->num_sp_cores); in setup_a6xx_counters()
182 return percent(PERF_TSE_TRIVAL_REJ_PRIM, PERF_TSE_INPUT_PRIM); in setup_a6xx_counters()
187 return percent(PERF_TSE_CLIPPED_PRI in setup_a6xx_counters()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Dparser.h154 const char* percent = static_cast<const char*>(memchr(p, '%', end - p)); in ParseFormatString() local
155 if (!percent) { in ParseFormatString()
159 // We found a percent, so push the text run then process the percent. in ParseFormatString()
160 if (ABSL_PREDICT_FALSE(!consumer.Append(string_view(p, percent - p)))) { in ParseFormatString()
163 if (ABSL_PREDICT_FALSE(percent + 1 >= end)) return false; in ParseFormatString()
165 auto tag = GetTagForChar(percent[1]); in ParseFormatString()
174 p = percent + 2; in ParseFormatString()
183 !consumer.ConvertOne(conv, string_view(percent + 1, 1)))) { in ParseFormatString()
186 } else if (percent[ in ParseFormatString()
[all...]
/third_party/node/deps/npm/node_modules/gauge/lib/
H A Dtemplate-item.js13 function percent (num) {
41 this.length = Math.round(this.overallOutputLength * percent(this.length))
44 this.minLength = Math.round(this.overallOutputLength * percent(this.minLength))
47 this.maxLength = Math.round(this.overallOutputLength * percent(this.maxLength))
/third_party/toybox/toys/posix/
H A Ddf.c100 unsigned long long size, used, avail, percent, block; in show_mt() local
131 if (!(used+avail)) percent = 0; in show_mt()
133 percent = (used*100)/(used+avail); in show_mt()
134 if (used*100 != percent*(used+avail)) percent++; in show_mt()
158 w, size_str, w, used_str, w, avail_str, w-1, percent, mt->dir); in show_mt()
164 TT.column_widths[4], percent, in show_mt()
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsundelete.c643 opts.percent = -1; in parse_options()
738 if (opts.percent == -1) { in parse_options()
740 opts.percent = strtol(optarg, &end, 0); in parse_options()
828 ntfs_log_error("Scan can only be used with --percent, " in parse_options()
839 /*if ((opts.percent != -1) || (opts.size_begin > 0) || (opts.size_end > 0)) { in parse_options()
847 (opts.percent != -1) || in parse_options()
860 if ((opts.percent < -1) || (opts.percent > 100)) { in parse_options()
1446 int percent = 0; in calc_percentage() local
1481 percent in calc_percentage()
1693 int percent = 0; list_record() local
2228 int percent; scan_disk() local
[all...]
H A Dntfsundelete.h44 int percent; /* Minimum recoverability */ member
94 int percent; /* Amount potentially recoverable */ member
/third_party/ffmpeg/libavfilter/
H A Dvf_vaguedenoiser.c39 float percent; member
64 const float percent);
76 { "percent", "set percent of full denoising", OFFSET(percent),AV_OPT_TYPE_FLOAT, {.dbl=85}, 0,100, FLAGS },
333 const float percent) in hard_thresholding()
335 const float frac = 1.f - percent * 0.01f; in hard_thresholding()
348 const float threshold, const float percent) in soft_thresholding()
350 const float frac = 1.f - percent * 0.01f; in soft_thresholding()
351 const float shift = threshold * 0.01f * percent; in soft_thresholding()
331 hard_thresholding(float *block, const int width, const int height, const int stride, const float threshold, const float percent) hard_thresholding() argument
347 soft_thresholding(float *block, const int width, const int height, const int stride, const float threshold, const float percent) soft_thresholding() argument
366 qian_thresholding(float *block, const int width, const int height, const int stride, const float threshold, const float percent) qian_thresholding() argument
[all...]
/third_party/python/Lib/
H A Dlocale.py183 def _format(percent, value, grouping=False, monetary=False, *additional):
185 formatted = percent % ((value,) + additional)
187 formatted = percent % value
188 if percent[-1] in 'eEfFgGdiu':
250 def format(percent, value, grouping=False, monetary=False, *additional):
259 match = _percent_re.match(percent)
260 if not match or len(match.group())!= len(percent):
262 "format specifier, %s not valid") % repr(percent))
263 return _format(percent, value, grouping, monetary, *additional)
H A Dntpath.py391 percent = b'%'
402 percent = '%'
421 elif c == percent: # variable or '%'
422 if path[index + 1:index + 2] == percent:
429 index = path.index(percent)
431 res += percent + path
441 value = percent + var + percent
/third_party/icu/icu4j/perf-tests/perldriver/
H A DOutput.pm26 my $perc = 100; #for percent
51 my $percent = shift;
61 if($percent) {
68 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) {
74 if($percent) {
/third_party/lame/frontend/
H A Dtimestatus.c120 int percent; in timestatus() local
168 percent = (int) (100. * frameNum / totalframes + 0.5); in timestatus()
171 percent = 100; in timestatus()
175 console_printf(percent < 100 ? " (%2d%%)|" : "(%3.3d%%)|", percent); in timestatus()
/third_party/icu/icu4c/source/test/perf/perldriver/
H A DOutput.pm28 my $perc = 100; #for percent
53 my $percent = shift;
63 if($percent) {
70 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) {
76 if($percent) {
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDecimalFormatSymbols.java511 * Returns the character used for mille percent sign. Different for Arabic, etc.
512 * @return the mille percent character
521 * Sets the character used for mille percent sign. Different for Arabic, etc.
522 * @param perMill the mille percent character
566 * Returns the character used for percent sign. Different for Arabic, etc.
567 * @return the percent character
572 return percent; in getPercent()
576 * Sets the character used for percent sign. Different for Arabic, etc.
577 * @param percent the percent characte
580 setPercent(char percent) setPercent() argument
1741 private char percent; global() field in DecimalFormatSymbols
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DDecimalFormatSymbols.java487 * Returns the character used for mille percent sign. Different for Arabic, etc.
488 * @return the mille percent character
496 * Sets the character used for mille percent sign. Different for Arabic, etc.
497 * @param perMill the mille percent character
538 * Returns the character used for percent sign. Different for Arabic, etc.
539 * @return the percent character
543 return percent; in getPercent()
547 * Sets the character used for percent sign. Different for Arabic, etc.
548 * @param percent the percent characte
550 setPercent(char percent) setPercent() argument
1633 private char percent; global() field in DecimalFormatSymbols
[all...]
/third_party/libwebsockets/lib/misc/
H A Dprng.c77 lws_xos_percent(struct lws_xos *xos, int percent) in lws_xos_percent() argument
79 return (int)(lws_xos(xos) % 100) < percent; in lws_xos_percent()
/third_party/alsa-utils/bat/
H A Danalyze.c35 int i, percent; in check_amplitude() local
48 percent = amplitude * 100 / ((1 << ((bat->sample_size << 3) - 1)) - 1); in check_amplitude()
51 amplitude, percent); in check_amplitude()
52 if (percent < 0) in check_amplitude()
54 else if (percent < 1) in check_amplitude()
56 else if (percent > 100) in check_amplitude()
/third_party/curl/src/
H A Dtool_cb_prg.c195 double percent; in tool_progress_cb() local
203 percent = frac * 100.0; in tool_progress_cb()
215 fprintf(bar->out, format, line, percent); in tool_progress_cb()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DIntlTestDecimalFormatSymbolsC.java71 char percent = en.getPercent(); in TestSymbols()
72 fr.setPercent(percent); in TestSymbols()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DIntlTestDecimalFormatSymbolsC.java74 char percent = en.getPercent(); in TestSymbols()
75 fr.setPercent(percent); in TestSymbols()
/third_party/node/benchmark/
H A D_benchmark_progress.js99 const percent = pad(Math.floor(completedRate * 100), 3, ' ');
102 return `[${getTime(diff)}|% ${percent}| ` +
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
H A DBufferSizeView.java106 int percent = (int) (normalizedThreshold * 100); in setBufferSizeByPosition()
107 message.append("bufferSize = " + percent + "%"); in setBufferSizeByPosition()
/third_party/lzma/CPP/7zip/Compress/
H A DLzmaEncoder.cpp252 UInt64 percent = 0; in PrintTime() local
254 percent = val * 100 / total; in PrintTime()
256 PrintNum(percent, 4); in PrintTime()
/third_party/ninja/src/
H A Dstatus.cc328 int percent = 0; in FormatProgressStatus() local
330 percent = (100 * finished_edges_) / total_edges_; in FormatProgressStatus()
331 snprintf(buf, sizeof(buf), "%3i%%", percent); in FormatProgressStatus()
351 // and that is time_predicted_percentage_ percent. in FormatProgressStatus()
/third_party/toybox/kconfig/lxdialog/
H A Dtextbox.c384 int percent; in print_position() local
388 percent = (page - buf) * 100 / strlen(buf); in print_position()
390 wprintw(win, "(%3d%%)", percent); in print_position()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DDecimalFormatSymbolsICU.java196 public void setPercent(char percent) { in setPercent() argument
197 fIcuDecfs.setPercent(percent); in setPercent()

Completed in 19 milliseconds

12345