Home
last modified time | relevance | path

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

123

/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()
Dbandwidthsmoother.cc44 accumulator_.max_count() * min_sample_count_percent_)) { in Sample()
/external/strace/
Dipc_sem.c59 unsigned long max_count; in tprint_sembuf_array() local
63 max_count = (max_strlen < count) ? max_strlen : count; in tprint_sembuf_array()
65 max_count = count; in tprint_sembuf_array()
67 if (!max_count) in tprint_sembuf_array()
75 for (i = 1; i < max_count; ++i) { in tprint_sembuf_array()
83 if (i < max_count || max_count < count) in tprint_sembuf_array()
/external/v8/tools/gyp/test/actions/src/subdir1/
Dcounter.py21 max_count = int(sys.argv[2]) variable
22 if count > max_count:
23 count = max_count
/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.c31 long max_count;
204 if (!TT.max_count) break; in do_od()
205 if (TT.max_count < len) len = TT.max_count; in do_od()
213 if (TT.max_count) TT.max_count -= len; in do_od()
/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/nanopb-c/tests/common/
Dunittestproto.proto4 repeated int32 data = 1 [(nanopb).max_count = 10];
8 repeated float data = 1 [(nanopb).max_count = 10];
Dperson.proto19 repeated PhoneNumber phone = 4 [(nanopb).max_count = 5];
/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.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/pdfium/third_party/zlib_v128/
Dtrees.c715 int max_count = 7; /* max repeat count */ in scan_tree() local
718 if (nextlen == 0) max_count = 138, min_count = 3; in scan_tree()
723 if (++count < max_count && curlen == nextlen) { in scan_tree()
737 max_count = 138, min_count = 3; in scan_tree()
739 max_count = 6, min_count = 3; in scan_tree()
741 max_count = 7, min_count = 4; in scan_tree()
760 int max_count = 7; /* max repeat count */ in send_tree() local
764 if (nextlen == 0) max_count = 138, min_count = 3; in send_tree()
768 if (++count < max_count && curlen == nextlen) { in send_tree()
788 max_count = 138, min_count = 3; in send_tree()
[all …]
/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/gemmlowp/internal/
Dmulti_thread_gemm.h504 int max_count = context->max_num_threads(); in HowManyThreads() local
505 if (!max_count) { in HowManyThreads()
514 max_count = hardware_threads_count; in HowManyThreads()
529 int thread_count = std::min(max_count, CeilQuotient(rows, MinRowsPerThread)); in HowManyThreads()
551 assert(thread_count > 0 && thread_count <= max_count); in HowManyThreads()
/external/nanopb-c/tests/alltypes/
Dalltypes.options2 * max_count:5
/external/nanopb-c/tests/field_size_32/
Dalltypes.options2 * max_count:5
/external/nanopb-c/tests/field_size_16/
Dalltypes.options2 * max_count:5
/external/e2fsprogs/e2fsck/
DproblemP.h19 int max_count; member
/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/experimental/func/func.searchers/func.searchers.default/
Ddefault.pred.pass.cpp51 void do_search(Iter1 b1, Iter1 e1, Iter2 b2, Iter2 e2, Iter1 result, unsigned max_count) { in do_search() argument
55 assert(count_equal::count <= max_count); in do_search()
/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/mesa3d/src/gallium/drivers/r300/
Dr300_render.c752 unsigned size, max_count, value; in r300_max_vertex_count() local
785 max_count = 1 + size / vb->stride; in r300_max_vertex_count()
786 result = MIN2(result, max_count); in r300_max_vertex_count()
809 unsigned max_count = r300_max_vertex_count(r300); in r300_draw_vbo() local
811 if (!max_count) { in r300_draw_vbo()
817 if (max_count == ~0) { in r300_draw_vbo()
819 max_count = 0xffffff; in r300_draw_vbo()
822 info.max_index = max_count - 1; in r300_draw_vbo()
/external/lldb/examples/synthetic/
Dlibcxx.py383 if steps > self.max_count:
411 if steps > self.max_count:
417 def __init__(self,node,max_count=0): argument
420 self.max_count = max_count
541 iterator = stdmap_iterator(self.root_node,max_count=self.num_children())
/external/squashfs-tools/squashfs-tools/
Dcaches-queues-lists.c412 if(cache->count > cache->max_count) in _cache_get()
413 cache->max_count = cache->count; in _cache_get()
519 cache->max_count); in dump_cache()

123