Home
last modified time | relevance | path

Searched refs:percentage (Results 1 - 25 of 26) sorted by relevance

12

/third_party/libuv/docs/code/progress/
H A Dmain.c10 double percentage; variable
16 percentage = downloaded*100.0/size; in fake_download()
17 async.data = (void*) &percentage; in fake_download()
32 double percentage = *((double*) handle->data); in print_progress() local
33 fprintf(stderr, "Downloaded %.2f%%\n", percentage); in print_progress()
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/
H A Dprobability_context.h42 /// @param percentage - likelihood of true being returned
43 /// @returns true |percentage|% of the time, and false (100 - |percentage|)%
45 bool ChoosePercentage(uint32_t percentage) { in ChoosePercentage() argument
46 return generator_->GetWeightedBool(percentage); in ChoosePercentage()
/third_party/skia/third_party/externals/tint/fuzzers/
H A Drandom_generator.cc95 bool RandomGenerator::GetWeightedBool(uint32_t percentage) { in GetWeightedBool() argument
97 assert(percentage <= kMaxPercentage && in GetWeightedBool()
98 "|percentage| needs to be within [0, 100]"); in GetWeightedBool()
99 return engine_->RandomUInt32(0u, kMaxPercentage) < percentage; in GetWeightedBool()
H A Drandom_generator.h83 /// @param percentage - likelihood of true being returned
84 /// @returns true |percentage|% of the time, and false (100 - |percentage|)%
86 bool GetWeightedBool(uint32_t percentage);
/third_party/node/deps/v8/tools/ignition/
H A Dlinux_perf_bytecode_annotate.py106 percentage = 100.0 * count / total
107 print("{:>8d} ({:>5.1f}%) ".format(count, percentage), end=' ')
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/tool/locale/
H A DLocaleDistanceBuilder.java291 int percentage) { in addSubtables()
306 value.addSubtable(desiredScript, supportedScript, percentage); in addSubtables()
313 dt.addSubtable(desiredScript, supportedScript, percentage); in addSubtables()
321 int percentage) { in addSubtables()
336 value.addSubtables(desiredScript, supportedScript, desiredRegion, supportedRegion, percentage); in addSubtables()
344 dt.addSubtable(desiredRegion, supportedRegion, percentage); in addSubtables()
630 List<String> desired, List<String> supported, int percentage) { in add()
638 languageDesired2Supported.addSubtable(desiredLang, supportedLang, percentage); in add()
643 languageDesired2Supported.addSubtables(desiredLang, supportedLang, desiredScript, supportedScript, percentage); in add()
647 languageDesired2Supported.addSubtables(desiredLang, supportedLang, desiredScript, supportedScript, desiredRegion, supportedRegion, percentage); in add()
289 addSubtables(String desiredLang, String supportedLang, String desiredScript, String supportedScript, int percentage) addSubtables() argument
318 addSubtables(String desiredLang, String supportedLang, String desiredScript, String supportedScript, String desiredRegion, String supportedRegion, int percentage) addSubtables() argument
629 add(DistanceTable languageDesired2Supported, List<String> desired, List<String> supported, int percentage) add() argument
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
H A DLocaleDistanceBuilder.java291 int percentage) { in addSubtables()
306 value.addSubtable(desiredScript, supportedScript, percentage); in addSubtables()
313 dt.addSubtable(desiredScript, supportedScript, percentage); in addSubtables()
321 int percentage) { in addSubtables()
336 value.addSubtables(desiredScript, supportedScript, desiredRegion, supportedRegion, percentage); in addSubtables()
344 dt.addSubtable(desiredRegion, supportedRegion, percentage); in addSubtables()
630 List<String> desired, List<String> supported, int percentage) { in add()
638 languageDesired2Supported.addSubtable(desiredLang, supportedLang, percentage); in add()
643 languageDesired2Supported.addSubtables(desiredLang, supportedLang, desiredScript, supportedScript, percentage); in add()
647 languageDesired2Supported.addSubtables(desiredLang, supportedLang, desiredScript, supportedScript, desiredRegion, supportedRegion, percentage); in add()
289 addSubtables(String desiredLang, String supportedLang, String desiredScript, String supportedScript, int percentage) addSubtables() argument
318 addSubtables(String desiredLang, String supportedLang, String desiredScript, String supportedScript, String desiredRegion, String supportedRegion, int percentage) addSubtables() argument
629 add(DistanceTable languageDesired2Supported, List<String> desired, List<String> supported, int percentage) add() argument
[all...]
/third_party/libabigail/tests/data/test-abicompat/
H A Dtest7-fn-changed-libapp-v1.h7 float percentage; member
H A Dtest7-fn-changed-libapp-v1.c13 printf ("Usn = %d \t Name = %s\t Percentage = %f\n", s.usn, s.name, s.percentage); in print()
/third_party/node/deps/v8/tools/testrunner/
H A Dstandard_runner.py327 percentage = float(results.total) / tests.test_count_estimate * 100
329 percentage = 0
333 tests.test_count_estimate, results.total, percentage, '%'))
/third_party/node/deps/v8/src/logging/
H A Dcounters.cc185 for (const auto& percentage : kHistogramPercentages) { in Counters()
186 (this->*percentage.member) in Counters()
187 .Initialize(percentage.caption, 0, 101, 100, this); in Counters()
/third_party/skia/third_party/externals/expat/expat/tests/
H A Dminicheck.c204 double percentage = ((double)passed) / runner->nchecks; in srunner_run_all() local
205 int display = (int)(percentage * 100); in srunner_run_all()
/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/run-cts/
H A Dmain.go705 numByStatus[pass], percentage(numByStatus[pass], numTests),
706 numByStatus[fail], percentage(numByStatus[fail], numTests),
707 numByStatus[skip], percentage(numByStatus[skip], numTests),
708 numByStatus[timeout], percentage(numByStatus[timeout], numTests),
804 // percentage returns the percentage of n out of total as a string
805 func percentage(n, total int) string {
885 fmt.Print("] ", percentage(numFinished, numTests))
/third_party/ffmpeg/libavutil/
H A Dhdr_dynamic_metadata.h36 * Represents the percentile at a specific percentage in
41 * The percentage value corresponding to a specific percentile linearized
45 uint8_t percentage; member
/third_party/skia/tools/calmbench/
H A Dab.py289 def percentage(x): function
294 return ('%6.2f' % percentage(r)) + "%"
/third_party/ffmpeg/libavcodec/
H A Ddynamic_hdr10_plus.c125 params->distribution_maxrgb[i].percentage = get_bits(gb, 7); in ff_parse_itu_t_t35_to_dynamic_hdr10_plus()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
H A Dlto.h859 * percentage of the available space on the disk. Set to 100 to indicate
871 thinlto_code_gen_t cg, unsigned percentage);
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/
H A Dserialization.go164 percentage := 1.0 - (float64(uncoveredLines) / float64(totalLines))
166 sb.WriteString(fmt.Sprintf("%v", percentage))
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
H A DFontInfo.java547 double percentage = instrSize * 100.0 / glyfTable.headerLength(); in hintingSize()
549 "%d bytes (%s%% of glyf table)", instrSize, twoDecimalPlaces.format(percentage)); in hintingSize()
/third_party/skia/third_party/externals/tint/tools/src/cmd/test-runner/
H A Dmain.go387 percent := percentage(count, stats.numTests)
696 // percentage returns the percentage of n out of total as a string
697 func percentage(n, total int) string {
/third_party/icu/icu4c/source/test/perf/collationperf/
H A DCollPerf.pl178 is repeated 1000 times. The percentage values in the final column are the most
/third_party/ffmpeg/libavfilter/
H A Dvf_showinfo.c277 params->distribution_maxrgb[i].percentage, in dump_dynamic_hdr_plus()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DNumberFormatTest.java5236 // NOTE: Since ICU 61, division no longer occurs with percentage parsing. in TestSetMathContext()
5998 assertEquals("Should parse as percentage", new BigDecimal("0.42"), result); in testParseIgnorables()
6398 Number percentage = numberFormat.parse("8\u00A0%", ppos); in test13684_FrenchPercentParsing()
6399 assertEquals("Should parse successfully", 0.08, percentage.doubleValue()); in test13684_FrenchPercentParsing()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTest.java5236 // NOTE: Since ICU 61, division no longer occurs with percentage parsing. in TestSetMathContext()
5998 assertEquals("Should parse as percentage", new BigDecimal("0.42"), result); in testParseIgnorables()
6433 Number percentage = numberFormat.parse("8\u00A0%", ppos); in test13684_FrenchPercentParsing()
6434 assertEquals("Should parse successfully", 0.08, percentage.doubleValue()); in test13684_FrenchPercentParsing()
/third_party/ffmpeg/fftools/
H A Dffprobe.c2161 params->distribution_maxrgb[i].percentage); in print_dynamic_hdr10_plus()

Completed in 38 milliseconds

12