Home
last modified time | relevance | path

Searched refs:repetitions (Results 1 – 25 of 97) sorted by relevance

1234

/external/linux-kselftest/tools/testing/selftests/powerpc/security/
Drfi_flush.c23 int repetitions = 10; in rfi_flush_test() local
67 iter = repetitions; in rfi_flush_test()
92 if (passes < repetitions) { in rfi_flush_test()
95 rfi_flush ? repetitions * l1d_misses_expected : in rfi_flush_test()
96 repetitions * l1d_misses_expected / 2, in rfi_flush_test()
97 repetitions - passes, repetitions); in rfi_flush_test()
102 rfi_flush ? repetitions * l1d_misses_expected : in rfi_flush_test()
103 repetitions * l1d_misses_expected / 2, in rfi_flush_test()
104 passes, repetitions); in rfi_flush_test()
112 iter = repetitions; in rfi_flush_test()
Dentry_flush.c23 int repetitions = 10; in entry_flush_test() local
66 iter = repetitions; in entry_flush_test()
91 if (passes < repetitions) { in entry_flush_test()
94 entry_flush ? repetitions * l1d_misses_expected : in entry_flush_test()
95 repetitions * l1d_misses_expected / 2, in entry_flush_test()
96 repetitions - passes, repetitions); in entry_flush_test()
101 entry_flush ? repetitions * l1d_misses_expected : in entry_flush_test()
102 repetitions * l1d_misses_expected / 2, in entry_flush_test()
103 passes, repetitions); in entry_flush_test()
112 iter = repetitions; in entry_flush_test()
Duaccess_flush.c24 int repetitions = 10; in uaccess_flush_test() local
80 iter = repetitions; in uaccess_flush_test()
105 if (passes < repetitions) { in uaccess_flush_test()
108 uaccess_flush ? repetitions * l1d_misses_expected : in uaccess_flush_test()
109 repetitions * l1d_misses_expected / 2, in uaccess_flush_test()
110 repetitions - passes, repetitions); in uaccess_flush_test()
115 uaccess_flush ? repetitions * l1d_misses_expected : in uaccess_flush_test()
116 repetitions * l1d_misses_expected / 2, in uaccess_flush_test()
117 passes, repetitions); in uaccess_flush_test()
126 iter = repetitions; in uaccess_flush_test()
/external/cronet/third_party/brotli/enc/
Dentropy_encode.c166 size_t repetitions, in BrotliWriteHuffmanTreeRepetitions() argument
170 BROTLI_DCHECK(repetitions > 0); in BrotliWriteHuffmanTreeRepetitions()
175 --repetitions; in BrotliWriteHuffmanTreeRepetitions()
177 if (repetitions == 7) { in BrotliWriteHuffmanTreeRepetitions()
181 --repetitions; in BrotliWriteHuffmanTreeRepetitions()
183 if (repetitions < 3) { in BrotliWriteHuffmanTreeRepetitions()
185 for (i = 0; i < repetitions; ++i) { in BrotliWriteHuffmanTreeRepetitions()
192 repetitions -= 3; in BrotliWriteHuffmanTreeRepetitions()
195 extra_bits_data[*tree_size] = repetitions & 0x3; in BrotliWriteHuffmanTreeRepetitions()
197 repetitions >>= 2; in BrotliWriteHuffmanTreeRepetitions()
[all …]
/external/brotli/c/enc/
Dentropy_encode.c166 size_t repetitions, in BrotliWriteHuffmanTreeRepetitions() argument
170 BROTLI_DCHECK(repetitions > 0); in BrotliWriteHuffmanTreeRepetitions()
175 --repetitions; in BrotliWriteHuffmanTreeRepetitions()
177 if (repetitions == 7) { in BrotliWriteHuffmanTreeRepetitions()
181 --repetitions; in BrotliWriteHuffmanTreeRepetitions()
183 if (repetitions < 3) { in BrotliWriteHuffmanTreeRepetitions()
185 for (i = 0; i < repetitions; ++i) { in BrotliWriteHuffmanTreeRepetitions()
192 repetitions -= 3; in BrotliWriteHuffmanTreeRepetitions()
195 extra_bits_data[*tree_size] = repetitions & 0x3; in BrotliWriteHuffmanTreeRepetitions()
197 repetitions >>= 2; in BrotliWriteHuffmanTreeRepetitions()
[all …]
/external/webp/src/utils/
Dhuffman_encode_utils.c261 static HuffmanTreeToken* CodeRepeatedValues(int repetitions, in CodeRepeatedValues() argument
269 --repetitions; in CodeRepeatedValues()
271 while (repetitions >= 1) { in CodeRepeatedValues()
272 if (repetitions < 3) { in CodeRepeatedValues()
274 for (i = 0; i < repetitions; ++i) { in CodeRepeatedValues()
280 } else if (repetitions < 7) { in CodeRepeatedValues()
282 tokens->extra_bits = repetitions - 3; in CodeRepeatedValues()
289 repetitions -= 6; in CodeRepeatedValues()
295 static HuffmanTreeToken* CodeRepeatedZeros(int repetitions, in CodeRepeatedZeros() argument
297 while (repetitions >= 1) { in CodeRepeatedZeros()
[all …]
/external/gemmlowp/meta/
Dtest_transform_benchmark.cc49 void run_benchmark(const std::string& name, int repetitions, int elements, in run_benchmark() argument
62 for (int i = 0; i < repetitions; ++i) { in run_benchmark()
67 double ops = static_cast<double>(elements) * repetitions; in run_benchmark()
68 std::cout << "Avg: " << (wall_time / repetitions) << std::endl; in run_benchmark()
82 for (int i = 0; i < repetitions; ++i) { in run_benchmark()
87 ops = static_cast<double>(elements) * repetitions; in run_benchmark()
88 std::cout << "Avg: " << (wall_time / repetitions) << std::endl; in run_benchmark()
94 const int repetitions = 500; in main() local
120 run_benchmark("Requantize", repetitions, elements, &context, in main()
134 run_benchmark("Dequantize", repetitions, elements, &context, in main()
[all …]
/external/rappor/analysis/R/
Ddecode_test.R66 RunMultipleTests <- function(title, fun, repetitions, ...) { argument
71 if(repetitions == 1) {
77 pb <- txtProgressBar(min = 0, max = repetitions,
80 results <- vector(mode = "list", repetitions)
81 for(i in 1:repetitions) {
100 CheckEstimatesAndStds <- function(repetitions, title, params, map, pdf, total) { argument
114 results <- RunMultipleTests(title, CheckEstimatesAndStdsHelper, repetitions,
127 (ave_stds / repetitions^.5) * 5),
130 checkTrue(!any(observed_stds > ave_stds * (1 + 5 * repetitions^.5)),
133 checkTrue(!any(observed_stds < ave_stds * (1 - 5 * repetitions^.5)),
[all …]
/external/cronet/third_party/icu/source/test/iotest/
Dfiletst.c476 int32_t repetitions; in TestfgetsBuffers() local
494 for (repetitions = 0; repetitions < 16; repetitions++) { in TestfgetsBuffers()
513 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
514 …_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions); in TestfgetsBuffers()
516 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { in TestfgetsBuffers()
536 for (repetitions = 0; repetitions < 16; repetitions++) { in TestfgetsBuffers()
558 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
559 …_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions); in TestfgetsBuffers()
561 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { in TestfgetsBuffers()
578 for (repetitions = 0; repetitions < 1; repetitions++) { in TestfgetsBuffers()
[all …]
/external/icu/icu4c/source/test/iotest/
Dfiletst.c476 int32_t repetitions; in TestfgetsBuffers() local
494 for (repetitions = 0; repetitions < 16; repetitions++) { in TestfgetsBuffers()
513 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
514 …_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions); in TestfgetsBuffers()
516 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { in TestfgetsBuffers()
536 for (repetitions = 0; repetitions < 16; repetitions++) { in TestfgetsBuffers()
558 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
559 …_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions); in TestfgetsBuffers()
561 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { in TestfgetsBuffers()
578 for (repetitions = 0; repetitions < 1; repetitions++) { in TestfgetsBuffers()
[all …]
/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/
DMacTest.java292 public byte[] macRepeatedMessage(String algorithm, Key key, byte[] message, long repetitions) in macRepeatedMessage() argument
305 while (repetitions >= repetitionsPerChunk) { in macRepeatedMessage()
307 repetitions -= repetitionsPerChunk; in macRepeatedMessage()
311 for (int i = 0; i < repetitions; i++) { in macRepeatedMessage()
328 String algorithm, String keyhex, String message, long repetitions, String expected) in testLongMac() argument
330 testLongMac(algorithm, keyhex, message, repetitions, expected, false); in testLongMac()
333 String algorithm, String keyhex, String message, long repetitions, String expected, in testLongMac() argument
340 mac = macRepeatedMessage(algorithm, key, bytes, repetitions); in testLongMac()
/external/gemmlowp/test/
Dbenchmark_meta_gemm.cc69 std::int32_t repetitions; member
74 : n(n), m(m), k(k), repetitions(1), current_set(0), working_sets() {} in Shape()
86 repetitions = MIN_OPS / ops + 20; in init()
159 void time_all(std::vector<Shape>* shapes, std::int32_t repetitions, in time_all() argument
168 for (int i = 0; i < repetitions; ++i) { in time_all()
172 times.push_back(delta_time / repetitions); in time_all()
190 for (int i = 0; i < shape->repetitions; ++i) { in time_one()
196 times.push_back(delta_time / shape->repetitions); in time_one()
Dcorrectness_meta_gemm.cc282 for (int repetitions = 0; repetitions < max_repetitions; ++repetitions) { in main() local
283 int t = std::min(repetitions + 1, 4); in main()
/external/google-benchmark/src/
Dcomplexity.cc197 big_o.repetitions = reports[0].repetitions; in ComputeBigO()
223 rms.repetitions = reports[0].repetitions; in ComputeBigO()
Dbenchmark_runner.cc82 report.repetitions = b.repetitions; in CreateRunReport()
142 repeats(b.repetitions != 0 ? b.repetitions in BenchmarkRunner()
Dstatistics.cc153 data.repetitions = reports[0].repetitions; in ComputeStats()
Dbenchmark_api_internal.h33 int repetitions; member
Dbenchmark_name.cc55 return join('/', function_name, args, min_time, iterations, repetitions, in str()
/external/crosvm/tools/
Drun_tests2172 repetitions: int = 1,
317 for i in range(repetitions):
318 if repetitions > 1:
364 for i in range(repetitions):
365 if repetitions > 1:
Drun_tests172 repetitions: int = 1,
317 for i in range(repetitions):
318 if repetitions > 1:
364 for i in range(repetitions):
365 if repetitions > 1:
/external/ImageMagick/PerlMagick/demo/
Dlsys.pl66 my ($string, $repetitions, $filename, %rule) = @_;
71 for (1..$repetitions)
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DMidiTest.java77 void setInputRepetitions(int repetitions) { in setInputRepetitions() argument
78 inputRepetitions = repetitions; in setInputRepetitions()
81 void setOutputRepetitions(int repetitions) { in setOutputRepetitions() argument
82 outputRepetitions = repetitions; in setOutputRepetitions()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/service/
Dfault_tolerance_test.py97 repetitions = 5
100 ds = ds.repeat(repetitions)
111 self.assertCountEqual(repetitions * list(range(num_elements)), results)
/external/libcxx/utils/google-benchmark/src/
Dbenchmark_api_internal.h32 int repetitions; member
/external/perfetto/src/protozero/filtering/
Dmessage_filter_unittest.cc96 for (int repetitions = 0; repetitions < 3; ++repetitions) { in TEST() local

1234