Home
last modified time | relevance | path

Searched refs:max_count (Results 1 – 25 of 83) sorted by relevance

1234

/external/webrtc/webrtc/base/
Drollingaccumulator.h28 explicit RollingAccumulator(size_t max_count) in RollingAccumulator() argument
29 : samples_(max_count) { in RollingAccumulator()
35 size_t max_count() const { in max_count() function
55 if (count_ == max_count()) { in AddSample()
83 next_index_ = (next_index_ + 1) % max_count(); in AddSample()
103 max_ = std::max(max_, samples_[(next_index_ + i) % max_count()]); in ComputeMax()
116 min_ = std::min(min_, samples_[(next_index_ + i) % max_count()]); in ComputeMin()
133 const size_t max_size = max_count(); in ComputeWeightedMean()
/external/libxcam/modules/isp/
Daiq3a_utils.cpp80 XCam3aResultHead *results[], uint32_t max_count) in translate_atomisp_parameters() argument
86 XCAM_ASSERT (result_count < max_count); in translate_atomisp_parameters()
102 XCAM_ASSERT (result_count < max_count); in translate_atomisp_parameters()
119 XCAM_ASSERT (result_count < max_count); in translate_atomisp_parameters()
150 XCAM_ASSERT (result_count < max_count); in translate_atomisp_parameters()
164 XCAM_ASSERT (result_count < max_count); in translate_atomisp_parameters()
179 XCAM_ASSERT (result_count < max_count); in translate_atomisp_parameters()
197 XCAM_ASSERT (result_count < max_count); in translate_atomisp_parameters()
215 XCam3aResultHead *results[], uint32_t max_count) in translate_3a_results_to_xcam() argument
241 …+= translate_atomisp_parameters (atomisp_params, &results[result_count], max_count - result_count); in translate_3a_results_to_xcam()
/external/libxcam/xcore/
Dbuffer_pool.cpp100 BufferPool::reserve (uint32_t max_count) in reserve() argument
104 XCAM_ASSERT (max_count); in reserve()
108 for (i = _allocated_num; i < max_count; ++i) { in reserve()
121 if (i != max_count) { in reserve()
122 … XCAM_LOG_WARNING ("BufferPool expect to reserve %d data but only reserved %d", max_count, i); in reserve()
/external/python/cpython3/Lib/email/
Dheaderregistry.py264 max_count = None variable in UnstructuredHeader
275 max_count = 1 variable in UniqueUnstructuredHeader
289 max_count = None variable in DateHeader
319 max_count = 1 variable in UniqueDateHeader
324 max_count = None variable in AddressHeader
379 max_count = 1 variable in UniqueAddressHeader
394 max_count = 1 variable in UniqueSingleAddressHeader
399 max_count = 1 variable in MIMEVersionHeader
439 max_count = 1 variable in ParameterizedMIMEHeader
501 max_count = 1 variable in ContentTransferEncodingHeader
/external/wpa_supplicant_8/wpa_supplicant/
Dblacklist.c126 int max_count = 0; in wpa_blacklist_clear() local
131 if (e->count > max_count) in wpa_blacklist_clear()
132 max_count = e->count; in wpa_blacklist_clear()
140 wpa_s->extra_blacklist_count += max_count; in wpa_blacklist_clear()
/external/toybox/toys/posix/
Dod.c32 long max_count;
205 if (!TT.max_count) break; in do_od()
206 if (TT.max_count < len) len = TT.max_count; in do_od()
214 if (TT.max_count) TT.max_count -= len; in do_od()
/external/expat/tests/
Dstructdata.c77 storage->max_count = 0; in StructData_Init()
92 if (storage->count == storage->max_count) { in StructData_AddItem()
95 storage->max_count += STRUCT_EXTENSION_COUNT; in StructData_AddItem()
97 storage->max_count * sizeof(StructDataEntry)); in StructData_AddItem()
/external/curl/tests/libtest/
Dlib582.c36 int max_count; /* max number of sockets that fit in allocated array */ member
82 sockets->max_count = 20; in addFd()
84 else if(sockets->count + 1 > sockets->max_count) { in addFd()
87 (sockets->max_count + 20)); in addFd()
93 sockets->max_count += 20; in addFd()
/external/opencv/cv/src/
Dcvfeatureselect.cpp62 int max_count = 0; in CV_IMPLEMENT_QSORT() local
87 max_count = *corner_count; in CV_IMPLEMENT_QSORT()
136 if( max_count <= 0 ) in CV_IMPLEMENT_QSORT()
211 if( ++count >= max_count ) in CV_IMPLEMENT_QSORT()
/external/webrtc/webrtc/system_wrappers/source/spreadsortlib/
Dspreadsort.hpp192 size_t max_count = get_max_count(log_divisor, last - first); in spread_sort_rec() local
200 if(count < max_count) in spread_sort_rec()
279 size_t max_count = get_max_count(log_divisor, last - first); in spread_sort_rec() local
285 if(count < max_count) in spread_sort_rec()
327 size_t max_count = get_max_count(log_divisor, last - first); in spread_sort_rec() local
333 if(count < max_count) in spread_sort_rec()
520 size_t max_count = get_max_count(log_divisor, last - first); in positive_float_sort_rec() local
526 if(count < max_count) in positive_float_sort_rec()
571 size_t max_count = get_max_count(log_divisor, last - first); in negative_float_sort_rec() local
577 if(count < max_count) in negative_float_sort_rec()
[all …]
/external/zlib/src/
Dtrees.c713 int max_count = 7; /* max repeat count */ local
716 if (nextlen == 0) max_count = 138, min_count = 3;
721 if (++count < max_count && curlen == nextlen) {
735 max_count = 138, min_count = 3;
737 max_count = 6, min_count = 3;
739 max_count = 7, min_count = 4;
758 int max_count = 7; /* max repeat count */ local
762 if (nextlen == 0) max_count = 138, min_count = 3;
766 if (++count < max_count && curlen == nextlen) {
786 max_count = 138, min_count = 3;
[all …]
/external/python/cpython3/Modules/zlib/
Dtrees.c713 int max_count = 7; /* max repeat count */ local
716 if (nextlen == 0) max_count = 138, min_count = 3;
721 if (++count < max_count && curlen == nextlen) {
735 max_count = 138, min_count = 3;
737 max_count = 6, min_count = 3;
739 max_count = 7, min_count = 4;
758 int max_count = 7; /* max repeat count */ local
762 if (nextlen == 0) max_count = 138, min_count = 3;
766 if (++count < max_count && curlen == nextlen) {
786 max_count = 138, min_count = 3;
[all …]
/external/syslinux/com32/lib/zlib/
Dtrees.c721 int max_count = 7; /* max repeat count */ local
724 if (nextlen == 0) max_count = 138, min_count = 3;
729 if (++count < max_count && curlen == nextlen) {
743 max_count = 138, min_count = 3;
745 max_count = 6, min_count = 3;
747 max_count = 7, min_count = 4;
766 int max_count = 7; /* max repeat count */ local
770 if (nextlen == 0) max_count = 138, min_count = 3;
774 if (++count < max_count && curlen == nextlen) {
794 max_count = 138, min_count = 3;
[all …]
/external/python/cpython2/Modules/zlib/
Dtrees.c715 int max_count = 7; /* max repeat count */ local
718 if (nextlen == 0) max_count = 138, min_count = 3;
723 if (++count < max_count && curlen == nextlen) {
737 max_count = 138, min_count = 3;
739 max_count = 6, min_count = 3;
741 max_count = 7, min_count = 4;
760 int max_count = 7; /* max repeat count */ local
764 if (nextlen == 0) max_count = 138, min_count = 3;
768 if (++count < max_count && curlen == nextlen) {
788 max_count = 138, min_count = 3;
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_lower_uniforms.c137 uint32_t max_count = 0; in qir_lower_uniforms() local
143 if (count > max_count) { in qir_lower_uniforms()
144 max_count = count; in qir_lower_uniforms()
/external/nanopb-c/tests/common/
Dunittestproto.proto4 repeated int32 data = 1 [(nanopb).max_count = 10];
8 repeated float data = 1 [(nanopb).max_count = 10];
/external/autotest/server/site_tests/firmware_Cr50DeviceState/
Dfirmware_Cr50DeviceState.py137 max_count = cr50_time * (self.SLEEP_RATE + 1)
138 return [min_count, max_count]
155 min_count, max_count = expected_range
156 if min_count > increase or max_count < increase:
/external/opencv/otherlibs/highgui/
Dgrfmt_sunras.cpp227 int max_count = (int)(line_end - tsrc); in ReadData() local
240 while( ++len1 < max_count ); in ReadData()
295 int max_count = (int)(line_end - data); in ReadData() local
309 while( (max_count -= nch) > 0 ); in ReadData()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c741 unsigned size, max_count, value; in r300_max_vertex_count() local
774 max_count = 1 + size / vb->stride; in r300_max_vertex_count()
775 result = MIN2(result, max_count); in r300_max_vertex_count()
796 unsigned max_count = r300_max_vertex_count(r300); in r300_draw_vbo() local
798 if (!max_count) { in r300_draw_vbo()
804 if (max_count == ~0) { in r300_draw_vbo()
806 max_count = 0xffffff; in r300_draw_vbo()
809 info.max_index = max_count - 1; in r300_draw_vbo()
/external/nanopb-c/generator/
Dnanopb_generator.py169 self.max_count = None
179 self.max_count = field_options.max_count
192 if self.max_count is None:
195 self.array_decl = '[%d]' % self.max_count
370 return max(self.tag, self.max_size, self.max_count)
413 encsize *= self.max_count
435 self.max_count = 0
/external/libcxx/test/std/experimental/func/func.searchers/func.searchers.default/
Ddefault.pred.pass.cpp52 void do_search(Iter1 b1, Iter1 e1, Iter2 b2, Iter2 e2, Iter1 result, unsigned max_count) { in do_search() argument
56 assert(count_equal::count <= max_count); in do_search()
/external/libcxx/test/std/experimental/func/func.searchers/func.searchers.default/func.searchers.default.creation/
Dmake_default_searcher.pred.pass.cpp37 void do_search(Iter1 b1, Iter1 e1, Iter2 b2, Iter2 e2, Iter1 result, unsigned max_count) { in do_search() argument
41 assert(count_equal::count <= max_count); in do_search()
/external/libcxx/test/std/utilities/function.objects/func.search/func.search.default/
Ddefault.pred.pass.cpp52 void do_search(Iter1 b1, Iter1 e1, Iter2 b2, Iter2 e2, Iter1 result, unsigned max_count) { in do_search() argument
56 assert(count_equal::count <= max_count); in do_search()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h899 uptr max_count = SizeClassMap::MaxCached(class_id); in PopulateFreeList() local
910 if (b->count == max_count) { in PopulateFreeList()
966 CHECK_NE(c->max_count, 0UL); in Deallocate()
967 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
985 uptr max_count; member
992 if (per_class_[1].max_count) in InitCache()
996 c->max_count = 2 * SizeClassMap::MaxCached(i); in InitCache()
1020 uptr cnt = Min(c->max_count / 2, c->count); in Drain()
1023 c->batch[i] = c->batch[i + c->max_count / 2]; in Drain()
/external/nanopb-c/tests/field_size_16/
Dalltypes.options2 * max_count:5

1234