Home
last modified time | relevance | path

Searched refs:repetitions (Results 1 - 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/utils/
H A 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 > in CodeRepeatedZeros()
[all...]
/third_party/node/deps/brotli/c/enc/
H A Dentropy_encode.c166 size_t repetitions, in BrotliWriteHuffmanTreeRepetitions()
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 >> in BrotliWriteHuffmanTreeRepetitions()
163 BrotliWriteHuffmanTreeRepetitions( const uint8_t previous_value, const uint8_t value, size_t repetitions, size_t* tree_size, uint8_t* tree, uint8_t* extra_bits_data) BrotliWriteHuffmanTreeRepetitions() argument
208 BrotliWriteHuffmanTreeRepetitionsZeros( size_t repetitions, size_t* tree_size, uint8_t* tree, uint8_t* extra_bits_data) BrotliWriteHuffmanTreeRepetitionsZeros() argument
[all...]
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dentropy_encode.c166 size_t repetitions, in BrotliWriteHuffmanTreeRepetitions()
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 >> in BrotliWriteHuffmanTreeRepetitions()
163 BrotliWriteHuffmanTreeRepetitions( const uint8_t previous_value, const uint8_t value, size_t repetitions, size_t* tree_size, uint8_t* tree, uint8_t* extra_bits_data) BrotliWriteHuffmanTreeRepetitions() argument
208 BrotliWriteHuffmanTreeRepetitionsZeros( size_t repetitions, size_t* tree_size, uint8_t* tree, uint8_t* extra_bits_data) BrotliWriteHuffmanTreeRepetitionsZeros() argument
[all...]
/third_party/icu/icu4c/source/test/iotest/
H A 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 log_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()
608 int32_t repetitions; TestFileReadBuffering() local
633 int32_t repetitions; TestfgetsLineCount() local
765 int32_t repetitions; TestLineCount() local
829 int32_t repetitions; TestFgetsLineBuffering() local
[all...]
/third_party/benchmark/test/
H A Dbenchmark_setup_teardown_test.cc108 // Testing repetitions.
109 namespace repetitions { namespace
114 repetitions::setup++; in DoSetupWithRepetitions()
154 assert(repetitions::setup == 16); in main()
H A Dbenchmark_name_gtest.cc55 name.repetitions = "repetitions:24"; in TEST()
56 EXPECT_EQ(name.str(), "function_name/min_time:3.4s/repetitions:24"); in TEST()
/third_party/benchmark/src/
H A Dcomplexity.cc199 big_o.repetitions = reports[0].repetitions;
229 rms.repetitions = reports[0].repetitions;
H A Dstatistics.cc107 // All repetitions should be run with the same number of iterations so we in ComputeStats()
166 data.repetitions = reports[0].repetitions; in ComputeStats()
174 // Similarly, if there are N repetitions with 1 iterations each, in ComputeStats()
186 // And if we want to say that the stats are over N repetitions and not in ComputeStats()
H A Dbenchmark_name.cc57 repetitions, time_type, threads); in str()
H A Dbenchmark_runner.cc91 report.repetitions = repeats; in CreateRunReport()
232 repeats(b.repetitions() != 0 ? b.repetitions() in BenchmarkRunner()
404 assert(HasRepeatsRemaining() && "Already done all repetitions?"); in DoOneRepetition()
419 // Please do note that the if there are repetitions, the iteration count in DoOneRepetition()
420 // is *only* calculated for the *first* repetition, and other repetitions in DoOneRepetition()
428 // If we are doing repetitions, and the first repetition was already done, in DoOneRepetition()
487 assert(!HasRepeatsRemaining() && "Did not run all repetitions yet?"); in GetResults()
489 // Calculate additional statistics over the repetitions of this instance. in GetResults()
H A Dbenchmark_api_internal.h37 int repetitions() const { return repetitions_; } in repetitions() function in benchmark::internal::BenchmarkInstance
H A Dbenchmark_api_internal.cc65 name_.repetitions = StrFormat("repeats:%d", benchmark_.repetitions_); in BenchmarkInstance()
H A Djson_reporter.cc239 out << indent << FormatKV("repetitions", run.repetitions) << ",\n";
H A Dbenchmark.cc95 // If set, enable random interleaving of repetitions of all benchmarks.
99 // Report the result of each benchmark repetitions. When 'true' is specified
104 // Display the result of each benchmark repetitions. When 'true' is specified
359 might_have_aggregates |= benchmark.repetitions() > 1; in RunBenchmarks()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dnanobenchmark.cc465 Ticks repetitions[Params::kTimerSamples]; in TimerResolution() local
473 repetitions[rep] = robust_statistics::Mode(samples); in TimerResolution()
475 return robust_statistics::Mode(repetitions); in TimerResolution()
583 // Number of repetitions required to reach the target resolution. in NumSkip()
585 // Number of repetitions given the estimated duration. in NumSkip()
/third_party/python/Lib/test/
H A Dtest_mailbox.py219 def test_discard(self, repetitions=10):
333 def _check_iteration(self, method, do_keys, do_values, repetitions=10):
337 for i in range(repetitions):
356 self.assertLess(int(value.get_payload()), repetitions)
379 def test_len(self, repetitions=10):
382 for i in range(repetitions):
386 for i in range(repetitions):
387 self.assertEqual(len(self._box), repetitions - i)
389 self.assertEqual(len(self._box), repetitions - i - 1)
746 def test_create_tmp(self, repetitions
[all...]
/third_party/lwip/src/apps/snmp/
H A Dsnmp_msg.c560 s32_t repetitions; in snmp_process_getbulk_request() local
567 repetitions = LWIP_MIN(request->max_repetitions, SNMP_LWIP_GETBULK_MAX_REPETITIONS); in snmp_process_getbulk_request()
569 repetitions = request->max_repetitions; in snmp_process_getbulk_request()
579 if (repetitions == 0) { in snmp_process_getbulk_request()
580 /* do not resolve repeaters when repetitions is set to 0 */ in snmp_process_getbulk_request()
583 repetitions--; in snmp_process_getbulk_request()
601 /* process repetitions > 1 */ in snmp_process_getbulk_request()
602 while ((request->error_status == SNMP_ERR_NOERROR) && (repetitions > 0) && (request->outbound_pbuf_stream.offset != repetition_offset)) { in snmp_process_getbulk_request()
637 repetitions--; in snmp_process_getbulk_request()
1237 /* decode error index / max-repetitions */ in snmp_parse_inbound_frame()
[all...]
/third_party/ltp/testcases/kernel/fs/read_all/
H A Dread_all.c500 const char *path, int repetitions) in sched_work()
506 for (i = 0, j = first_worker; i < repetitions; j++) { in sched_work()
499 sched_work(const int first_worker, const char *path, int repetitions) sched_work() argument
/third_party/python/Lib/test/libregrtest/
H A Dmain.py204 warmup, repetitions, _ = ns.huntrleaks
205 if warmup < 1 or repetitions < 1:
207 "number of warmups and repetitions must be at least 1 "
557 warmup, repetitions, _ = self.ns.huntrleaks
560 "3 warmup repetitions can give false positives!")
/third_party/benchmark/include/benchmark/
H A Dbenchmark.h1712 std::string repetitions; member
1773 int64_t repetitions; member
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cShadingLanguage420PackTests.hpp762 const glw::GLchar* repetitionsToStr(REPETITIONS repetitions) const;
H A Dgl4cShadingLanguage420PackTests.cpp3174 /** String describing number of repetitions
3176 * @param repetitions Repetitions enum
3180 const GLchar* LineContinuationTest::repetitionsToStr(REPETITIONS repetitions) const in repetitionsToStr()
3184 if (ONCE == repetitions) in repetitionsToStr()

Completed in 39 milliseconds