Home
last modified time | relevance | path

Searched refs:history_size (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator.c101 assert(self->history_size == self->farend->history_size); in UpdateRobustValidationStatistics()
134 for (i = 0; i < self->history_size; ++i) { in UpdateRobustValidationStatistics()
274 int history_size) { in WebRtc_CreateBinaryDelayEstimatorFarend() argument
277 if (history_size > 1) { in WebRtc_CreateBinaryDelayEstimatorFarend()
285 self->history_size = 0; in WebRtc_CreateBinaryDelayEstimatorFarend()
288 if (WebRtc_AllocateFarendBufferMemory(self, history_size) == 0) { in WebRtc_CreateBinaryDelayEstimatorFarend()
296 int history_size) { in WebRtc_AllocateFarendBufferMemory() argument
301 history_size * sizeof(*self->binary_far_history)); in WebRtc_AllocateFarendBufferMemory()
303 history_size * sizeof(*self->far_bit_counts)); in WebRtc_AllocateFarendBufferMemory()
305 history_size = 0; in WebRtc_AllocateFarendBufferMemory()
[all …]
Ddelay_estimator.h26 int history_size; member
39 int history_size; member
87 int history_size);
100 int history_size);
170 int history_size);
Ddelay_estimator_wrapper.c142 void* WebRtc_CreateDelayEstimatorFarend(int spectrum_size, int history_size) { in WebRtc_CreateDelayEstimatorFarend() argument
157 self->binary_farend = WebRtc_CreateBinaryDelayEstimatorFarend(history_size); in WebRtc_CreateDelayEstimatorFarend()
330 int WebRtc_set_history_size(void* handle, int history_size) { in WebRtc_set_history_size() argument
333 if ((self == NULL) || (history_size <= 1)) { in WebRtc_set_history_size()
336 return WebRtc_AllocateHistoryBufferMemory(self->binary_handle, history_size); in WebRtc_set_history_size()
345 if (self->binary_handle->farend->history_size != in WebRtc_history_size()
346 self->binary_handle->history_size) { in WebRtc_history_size()
350 return self->binary_handle->history_size; in WebRtc_history_size()
Ddelay_estimator_wrapper.h39 void* WebRtc_CreateDelayEstimatorFarend(int spectrum_size, int history_size);
142 int WebRtc_set_history_size(void* handle, int history_size);
/external/python/cpython3/Lib/test/
Dtest_readline.py247 history_size = 10
251 f.write(b"set history-size %d\n" % history_size)
257 for i in range(history_size * 2))
278 self.assertEqual(len(lines), history_size)
/external/compiler-rt/lib/tsan/rtl/
Dtsan_flags.cc118 if (f->history_size < 0 || f->history_size > 7) { in InitializeFlags()
Dtsan_flags.inc65 int, history_size, kGoMode ? 1 : 3, // There are a lot of goroutines in Go.
68 "history_size=0 amounts to 32K memory accesses. Each next value doubles "
69 "the amount of memory accesses, up to history_size=7 that amounts to "
Dtsan_rtl_thread.cc111 thr->fast_state.SetHistorySize(flags()->history_size); in OnStarted()
Dtsan_rtl.cc528 return (uptr)(1ull << (kTracePartSizeBits + flags()->history_size + 1)); in TraceSize()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_flags_test.cc105 EXPECT_EQ(f->history_size, 5); in VerifyOptions1()
130 EXPECT_EQ(f->history_size, 6); in VerifyOptions2()