Home
last modified time | relevance | path

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

1234

/third_party/boost/boost/interprocess/detail/
Dwindows_intermodule_singleton.hpp64 boost::uint32_t max_count = 0; in windows_semaphore_based_map() local
91 max_count = caster.addr_uint32 >> 2; in windows_semaphore_based_map()
117 max_count = boost::uint32_t(caster.addr_uint64 >> 32); in windows_semaphore_based_map()
121 BOOST_ASSERT((max_count & boost::uint32_t(0xC0000000)) == 0); in windows_semaphore_based_map()
123 max_count |= boost::uint32_t(0x40000000); in windows_semaphore_based_map()
141 (name.c_str(), initial_count, max_count, perm, created); in windows_semaphore_based_map()
176 boost::uint32_t max_count(m_sem_map.limit()), initial_count(m_sem_map.value()); in get_map_unlocked() local
178 max_count &= boost::uint32_t(0xBFFFFFFF); in get_map_unlocked()
179 caster.addr_uint64 = max_count; in get_map_unlocked()
/third_party/boost/libs/thread/test/
Dtest_7720.cpp15 const int max_count = 100; variable
18 int count =max_count; in f()
27 int count =max_count; in g()
36 int count =max_count; in h()
/third_party/boost/libs/program_options/src/
Dpositional_options.cpp21 positional_options_description::add(const char* name, int max_count) in add() argument
23 assert(max_count != -1 || m_trailing.empty()); in add()
25 if (max_count == -1) in add()
28 m_names.resize(m_names.size() + max_count, name); in add()
/third_party/boost/libs/sort/example/
Dalrbreaker.cpp28 const unsigned max_count = ALR_THRESHOLD - 1; variable
29 const unsigned bit_shift = detail::rough_log_2_size(max_count) -
31 const unsigned radix_threshold = detail::rough_log_2_size(max_count) + 1;
47 for (unsigned u = 0; u < max_count; ++u) in fill_vector()
Dbinaryalrbreaker.cpp28 const unsigned max_count = ALR_THRESHOLD - 1; variable
29 const unsigned bit_shift = detail::rough_log_2_size(max_count) -
31 const unsigned radix_threshold = detail::rough_log_2_size(max_count) + 1;
41 for (unsigned u = 0; u < max_count; ++u) in fill_vector()
/third_party/boost/boost/geometry/algorithms/detail/sections/
Dsectionalize.hpp403 std::size_t max_count) in apply()
421 ring_id, max_count); in apply()
438 std::size_t max_count) in apply()
520 || section.count > max_count) in apply()
616 std::size_t max_count) in apply()
644 ring_id, max_count); in apply()
669 std::size_t max_count) in apply()
680 envelope_strategy, expand_strategy, ring_id, max_count); in apply()
689 envelope_strategy, expand_strategy, ring_id, max_count); in apply()
710 ring_identifier const& ring_id, std::size_t max_count) in apply()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/python/Lib/email/
Dheaderregistry.py262 max_count = None variable in UnstructuredHeader
273 max_count = 1 variable in UniqueUnstructuredHeader
287 max_count = None variable in DateHeader
324 max_count = 1 variable in UniqueDateHeader
329 max_count = None variable in AddressHeader
384 max_count = 1 variable in UniqueAddressHeader
399 max_count = 1 variable in UniqueSingleAddressHeader
404 max_count = 1 variable in MIMEVersionHeader
444 max_count = 1 variable in ParameterizedMIMEHeader
506 max_count = 1 variable in ContentTransferEncodingHeader
[all …]
/third_party/libwebsockets/lib/misc/
Dlws-ring.c157 lws_ring_insert(struct lws_ring *ring, const void *src, size_t max_count) in lws_ring_insert() argument
167 if ((uint32_t)n > max_count * ring->element_len) in lws_ring_insert()
168 n = (int)(max_count * ring->element_len); in lws_ring_insert()
200 size_t max_count) in lws_ring_consume() argument
217 if ((size_t)n > max_count * ring->element_len) in lws_ring_consume()
218 n = (int)(max_count * ring->element_len); in lws_ring_consume()
/third_party/skia/third_party/externals/expat/expat/tests/
Dstructdata.c70 storage->max_count = 0; in StructData_Init()
81 if (storage->count == storage->max_count) { in StructData_AddItem()
84 storage->max_count += STRUCT_EXTENSION_COUNT; in StructData_AddItem()
86 storage->max_count * sizeof(StructDataEntry)); in StructData_AddItem()
/third_party/expat/tests/
Dstructdata.c70 storage->max_count = 0; in StructData_Init()
81 if (storage->count == storage->max_count) { in StructData_AddItem()
84 storage->max_count += STRUCT_EXTENSION_COUNT; in StructData_AddItem()
86 storage->max_count * sizeof(StructDataEntry)); in StructData_AddItem()
/third_party/boost/boost/thread/win32/
Dthread_primitives.hpp121 inline handle create_anonymous_semaphore_nothrow(long initial_count,long max_count) in create_anonymous_semaphore_nothrow() argument
124 handle const res=::boost::winapi::CreateSemaphoreA(0,initial_count,max_count,0); in create_anonymous_semaphore_nothrow()
127 handle const res=::boost::winapi::CreateSemaphoreEx(0,initial_count,max_count,0,0); in create_anonymous_semaphore_nothrow()
129 …handle const res=::boost::winapi::CreateSemaphoreExW(0,initial_count,max_count,0,0,semaphore_all_a… in create_anonymous_semaphore_nothrow()
135 inline handle create_anonymous_semaphore(long initial_count,long max_count) in create_anonymous_semaphore() argument
137 handle const res=create_anonymous_semaphore_nothrow(initial_count,max_count); in create_anonymous_semaphore()
/third_party/boost/boost/sort/spreadsort/detail/
Dfloat_sort.hpp204 size_t max_count = get_min_count<float_log_mean_bin_size, in positive_float_sort_rec() local
213 if (count < max_count) in positive_float_sort_rec()
265 size_t max_count = get_min_count<float_log_mean_bin_size, in negative_float_sort_rec() local
274 if (count < max_count) in negative_float_sort_rec()
324 size_t max_count = get_min_count<float_log_mean_bin_size, in negative_float_sort_rec() local
333 if (count < max_count) in negative_float_sort_rec()
382 size_t max_count = get_min_count<float_log_mean_bin_size, in negative_float_sort_rec() local
391 if (count < max_count) in negative_float_sort_rec()
466 size_t max_count = get_min_count<float_log_mean_bin_size, in float_sort_rec() local
476 if (count < max_count) in float_sort_rec()
[all …]
/third_party/boost/libs/range/test/algorithm_ext_test/
Dfor_each_ext.cpp52 void test_for_each_impl(const int max_count) in test_for_each_impl() argument
55 for (int i = 0; i < max_count; ++i) in test_for_each_impl()
59 for (int i = 0; i < max_count; ++i) in test_for_each_impl()
/third_party/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()
/third_party/ffmpeg/libavfilter/
Daf_astats.c77 uint64_t min_count, max_count; member
206 p->max_count = 0; in reset_stats()
304 p->max_count = 1; in update_stat()
306 p->max_count++; in update_stat()
411 …uint64_t mask = 0, imask = 0xFFFFFFFFFFFFFFFF, min_count = 0, max_count = 0, nb_samples = 0, noise… in set_metadata() local
448 max_count += p->max_count; in set_metadata()
485 …1, "Flat_factor", "%f", LINEAR_TO_DB((p->min_runs + p->max_runs) / (p->min_count + p->max_count))); in set_metadata()
487 set_meta(metadata, c + 1, "Peak_count", "%f", (float)(p->min_count + p->max_count)); in set_metadata()
534 …ta, 0, "Overall.Flat_factor", "%f", LINEAR_TO_DB((min_runs + max_runs) / (min_count + max_count))); in set_metadata()
536 …set_meta(metadata, 0, "Overall.Peak_count", "%f", (float)(min_count + max_count) / (double)s->nb_c… in set_metadata()
[all …]
/third_party/boost/boost/geometry/index/detail/rtree/visitors/
Ddistance_query.hpp375 BOOST_GEOMETRY_INDEX_ASSERT(0 < max_count(), "k must be greather than 0"); in distance_query_incremental()
430 … BOOST_GEOMETRY_INDEX_ASSERT(neighbors.size() <= max_count(), "unexpected neighbours count"); in increment()
431 if ( max_count() <= neighbors.size() && in increment()
496 if ( max_count() <= neighbors.size() && in operator ()()
523 bool not_enough_neighbors = neighbors.size() < max_count(); in operator ()()
553 if ( max_count() < neighbors.size() ) in operator ()()
554 neighbors.resize(max_count()); in operator ()()
593 inline unsigned max_count() const in max_count() function in boost::geometry::index::detail::rtree::visitors::distance_query_incremental
/third_party/boost/libs/spirit/example/karma/
Dcustomize_counter.cpp28 counter(int max_count) in counter()
29 : counter_(0), max_count_(max_count) in counter()
/third_party/gstreamer/gstplugins_base/tests/icles/playback/
Dtest7.c28 static int max_count; variable
117 if (arg_count < max_count) { in about_to_finish_cb()
156 max_count = argc; in main()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_lower_uniforms.c137 uint32_t max_count = 0; in qir_lower_uniforms() local
142 if (count > max_count) { in qir_lower_uniforms()
143 max_count = count; in qir_lower_uniforms()
/third_party/boost/libs/geometry/test/algorithms/detail/sections/
Dsectionalize.cpp74 std::size_t max_count = 10) in test_sectionalize() argument
87 bg::detail::no_rescale_policy(), s, 0, max_count); in test_sectionalize()
201 std::size_t max_count = 10) in test_sectionalize() argument
209 test_sectionalize<dim2, Reverse>(caseid + "_d2", g, count2, s2, d2, max_count); in test_sectionalize()
210 test_sectionalize<dim1, Reverse>(caseid + "_d1", g, count1, s1, d1, max_count); in test_sectionalize()
/third_party/abseil-cpp/absl/container/internal/
Dbtree.h592 field_type max_count() const {
595 const field_type max_count = GetField<1>()[3];
596 return max_count == field_type{kInternalNodeMaxCount}
598 : max_count;
777 void init_leaf(btree_node *parent, int max_count) {
782 set_max_count(max_count);
784 start_slot(), max_count * sizeof(slot_type));
1033 field_type max_count = node_type::kInternalNodeMaxCount + 1;
1335 return sizeof(*this) + node_type::LeafSize(root()->max_count());
1410 node_type *new_leaf_root_node(const int max_count) {
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dbtree.h668 field_type max_count() const {
671 const field_type max_count = GetField<1>()[3];
672 return max_count == field_type{kInternalNodeMaxCount}
674 : max_count;
853 void init_leaf(btree_node *parent, int max_count) {
858 set_max_count(max_count);
860 start_slot(), max_count * sizeof(slot_type));
1101 field_type max_count = node_type::kInternalNodeMaxCount + 1;
1403 return sizeof(*this) + node_type::LeafSize(root()->max_count());
1480 node_type *new_leaf_root_node(const int max_count) {
[all …]
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/
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 …]
/third_party/libwebsockets/win32port/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 …]

1234