/third_party/flutter/skia/third_party/externals/sdl/src/power/ |
D | SDL_power.c | 30 int *percent); 48 SDL_GetPowerInfo_Hardwired(SDL_PowerState * state, int *seconds, int *percent) in SDL_GetPowerInfo_Hardwired() argument 51 *percent = -1; in SDL_GetPowerInfo_Hardwired() 98 SDL_GetPowerInfo(int *seconds, int *percent) in SDL_GetPowerInfo() argument 110 if (percent == NULL) { in SDL_GetPowerInfo() 111 percent = &_percent; in SDL_GetPowerInfo() 115 if (implementations[i](&retval, seconds, percent)) { in SDL_GetPowerInfo() 122 *percent = -1; in SDL_GetPowerInfo()
|
/third_party/flutter/skia/third_party/externals/sdl/src/power/psp/ |
D | SDL_syspower.c | 33 int *percent) in SDL_GetPowerInfo_PSP() argument 41 *percent = -1; in SDL_GetPowerInfo_PSP() 46 *percent = -1; in SDL_GetPowerInfo_PSP() 49 *percent = scePowerGetBatteryLifePercent(); in SDL_GetPowerInfo_PSP() 53 *percent = scePowerGetBatteryLifePercent(); in SDL_GetPowerInfo_PSP() 57 *percent = scePowerGetBatteryLifePercent(); in SDL_GetPowerInfo_PSP()
|
/third_party/mesa3d/src/freedreno/ds/ |
D | fd_pps_driver.cc | 29 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_PRIM, PERF_TSE_INPUT_PRIM); in setup_a6xx_counters() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/power/linux/ |
D | SDL_syspower.c | 123 SDL_bool * charging, int *seconds, int *percent) in check_proc_acpi_battery() argument 193 if ((pct < 0) && (*percent < 0)) { in check_proc_acpi_battery() 196 if (pct > *percent) { in check_proc_acpi_battery() 205 *percent = pct; in check_proc_acpi_battery() 236 int *seconds, int *percent) in SDL_GetPowerInfo_Linux_proc_acpi() argument 245 *percent = -1; in SDL_GetPowerInfo_Linux_proc_acpi() 255 seconds, percent); in SDL_GetPowerInfo_Linux_proc_acpi() 322 int *seconds, int *percent) in SDL_GetPowerInfo_Linux_proc_apm() argument 411 *percent = -1; in SDL_GetPowerInfo_Linux_proc_apm() 418 *percent = (pct > 100) ? 100 : pct; /* clamp between 0%, 100% */ in SDL_GetPowerInfo_Linux_proc_apm() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
D | parser.h | 154 const char* percent = static_cast<const char*>(memchr(p, '%', end - p)); in ParseFormatString() local 155 if (!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[1] != '%') { in ParseFormatString() 188 p = ConsumeUnboundConversion(percent + 1, end, &conv, &next_arg); in ParseFormatString() 191 conv, string_view(percent + 1, p - (percent + 1))))) { in ParseFormatString() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/power/macosx/ |
D | SDL_syspower.c | 40 SDL_bool * charging, int *seconds, int *percent) in checkps() argument 122 if ((pct < 0) && (*percent < 0)) { in checkps() 125 if (pct > *percent) { in checkps() 134 *percent = pct; in checkps() 144 SDL_GetPowerInfo_MacOSX(SDL_PowerState * state, int *seconds, int *percent) in SDL_GetPowerInfo_MacOSX() argument 149 *percent = -1; in SDL_GetPowerInfo_MacOSX() 167 seconds, percent); in SDL_GetPowerInfo_MacOSX()
|
/third_party/flutter/skia/third_party/externals/sdl/src/power/android/ |
D | SDL_syspower.c | 31 SDL_GetPowerInfo_Android(SDL_PowerState * state, int *seconds, int *percent) in SDL_GetPowerInfo_Android() argument 37 if (Android_JNI_GetPowerInfo(&plugged, &charged, &battery, seconds, percent) != -1) { in SDL_GetPowerInfo_Android() 46 *percent = -1; in SDL_GetPowerInfo_Android() 54 *percent = -1; in SDL_GetPowerInfo_Android()
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testpower.c | 20 int seconds, percent; in report_power() local 21 const SDL_PowerState state = SDL_GetPowerInfo(&seconds, &percent); in report_power() 48 if (percent == -1) { in report_power() 51 SDL_Log("Percent left: %d%%\n", percent); in report_power()
|
/third_party/node/deps/npm/node_modules/gauge/ |
D | template-item.js | 11 function percent (num) { function 37 this.length = Math.round(this.overallOutputLength * percent(this.length)) 40 this.minLength = Math.round(this.overallOutputLength * percent(this.minLength)) 43 this.maxLength = Math.round(this.overallOutputLength * percent(this.maxLength))
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfsundelete.c | 643 opts.percent = -1; in parse_options() 738 if (opts.percent == -1) { in parse_options() 740 opts.percent = strtol(optarg, &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 = 100; in calc_percentage() 1482 data->percent = 100; in calc_percentage() 1538 data->percent = (clusters_free * 100) / in calc_percentage() 1541 percent = max(percent, data->percent); in calc_percentage() [all …]
|
/third_party/toybox/toys/posix/ |
D | df.c | 100 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/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/ |
D | numberpermutationtest.txt | 4 compact-short percent unit-width-narrow 18 compact-short percent unit-width-full-name 88 scientific/+ee/sign-always percent unit-width-narrow 102 scientific/+ee/sign-always percent unit-width-full-name 172 compact-short percent precision-integer 186 compact-short percent .000 200 compact-short percent .##/@@@+ 214 compact-short percent @@ 340 scientific/+ee/sign-always percent precision-integer 354 scientific/+ee/sign-always percent .000 [all …]
|
/third_party/icu/icu4c/source/test/testdata/ |
D | numberpermutationtest.txt | 4 compact-short percent unit-width-narrow 18 compact-short percent unit-width-full-name 88 scientific/+ee/sign-always percent unit-width-narrow 102 scientific/+ee/sign-always percent unit-width-full-name 172 compact-short percent precision-integer 186 compact-short percent .000 200 compact-short percent .##/@@@+ 214 compact-short percent @@ 340 scientific/+ee/sign-always percent precision-integer 354 scientific/+ee/sign-always percent .000 [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/ |
D | numberpermutationtest.txt | 4 compact-short percent unit-width-narrow 18 compact-short percent unit-width-full-name 88 scientific/+ee/sign-always percent unit-width-narrow 102 scientific/+ee/sign-always percent unit-width-full-name 172 compact-short percent precision-integer 186 compact-short percent .000 200 compact-short percent .##/@@@+ 214 compact-short percent @@ 340 scientific/+ee/sign-always percent precision-integer 354 scientific/+ee/sign-always percent .000 [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/power/emscripten/ |
D | SDL_syspower.c | 31 SDL_GetPowerInfo_Emscripten(SDL_PowerState *state, int *seconds, int *percent) in SDL_GetPowerInfo_Emscripten() argument 44 *percent = -1; in SDL_GetPowerInfo_Emscripten() 54 *percent = batteryState.level * 100; in SDL_GetPowerInfo_Emscripten()
|
/third_party/flutter/skia/third_party/externals/sdl/src/power/windows/ |
D | SDL_syspower.c | 31 SDL_GetPowerInfo_Windows(SDL_PowerState * state, int *seconds, int *percent) in SDL_GetPowerInfo_Windows() argument 56 *percent = -1; in SDL_GetPowerInfo_Windows() 63 *percent = (pct > 100) ? 100 : pct; /* clamp between 0%, 100% */ in SDL_GetPowerInfo_Windows()
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | rtpjitterbuffer.c | 429 update_buffer_level (RTPJitterBuffer * jbuf, gint * percent) in update_buffer_level() argument 465 if (percent) in update_buffer_level() 466 *percent = perc; in update_buffer_level() 1003 gboolean * head, gint * percent) in rtp_jitter_buffer_insert() argument 1062 update_buffer_level (jbuf, percent); in rtp_jitter_buffer_insert() 1063 else if (percent) in rtp_jitter_buffer_insert() 1064 *percent = -1; in rtp_jitter_buffer_insert() 1079 if (percent) in rtp_jitter_buffer_insert() 1080 *percent = -1; in rtp_jitter_buffer_insert() 1211 gboolean * duplicate, gint * percent) in rtp_jitter_buffer_append_buffer() argument [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_vaguedenoiser.c | 39 float percent; member 64 const float percent); 76 …{ "percent", "set percent of full denoising", OFFSET(percent),AV_OPT_TYPE_FLOAT, {.dbl=85}, 0,100… 340 const float percent) in hard_thresholding() argument 342 const float frac = 1.f - percent * 0.01f; in hard_thresholding() 355 const float threshold, const float percent) in soft_thresholding() argument 357 const float frac = 1.f - percent * 0.01f; in soft_thresholding() 358 const float shift = threshold * 0.01f * percent; in soft_thresholding() 375 const float percent) in qian_thresholding() argument 377 const float percent01 = percent * 0.01f; in qian_thresholding() [all …]
|
/third_party/python/Lib/ |
D | locale.py | 183 def _format(percent, value, grouping=False, monetary=False, *additional): argument 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): argument 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)
|
/third_party/flutter/skia/third_party/externals/sdl/src/power/haiku/ |
D | SDL_syspower.c | 44 SDL_GetPowerInfo_Haiku(SDL_PowerState * state, int *seconds, int *percent) in SDL_GetPowerInfo_Haiku() argument 106 *percent = -1; in SDL_GetPowerInfo_Haiku() 113 *percent = (pct > 100) ? 100 : pct; /* clamp between 0%, 100% */ in SDL_GetPowerInfo_Haiku()
|
/third_party/icu/icu4j/perf-tests/perldriver/ |
D | Output.pm | 51 my $percent = shift; 61 if($percent) { 68 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) { 74 if($percent) {
|
/third_party/icu/icu4c/source/test/perf/perldriver/ |
D | Output.pm | 53 my $percent = shift; 63 if($percent) { 70 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) { 76 if($percent) {
|
/third_party/node/doc/api/ |
D | querystring.md | 42 The `querystring.escape()` method performs URL percent-encoding on the given 48 application code to provide a replacement percent-encoding implementation if 75 percent-encoded characters in the query string. **Default:** 98 By default, percent-encoded characters within the query string will be assumed 121 URL-unsafe characters to percent-encoding in the query string. **Default:** 140 By default, characters requiring percent-encoding within the query string will 158 The `querystring.unescape()` method performs decoding of URL percent-encoded
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | DecimalFormatSymbols.java | 543 return percent; in getPercent() 550 public void setPercent(char percent) { in setPercent() argument 551 this.percent = percent; in setPercent() 552 this.percentString = String.valueOf(percent); in setPercent() 581 this.percent = percentString.charAt(0); in setPercentString() 584 this.percent = DEF_PERCENT; in setPercentString() 1181 percent == other.percent && in equals() 1528 percentString = String.valueOf(percent); in readObject() 1633 private char percent; field in DecimalFormatSymbols
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormatSymbols.java | 572 return percent; in getPercent() 580 public void setPercent(char percent) { in setPercent() argument 581 this.percent = percent; in setPercent() 582 this.percentString = String.valueOf(percent); in setPercent() 613 this.percent = percentString.charAt(0); in setPercentString() 616 this.percent = DEF_PERCENT; in setPercentString() 1259 percent == other.percent && in equals() 1607 percentString = String.valueOf(percent); in readObject() 1712 private char percent; field in DecimalFormatSymbols
|