Home
last modified time | relevance | path

Searched refs:size_type (Results 1 – 25 of 397) sorted by relevance

12345678910>>...16

/openbsd/gnu/llvm/libcxx/include/__string.d/__string/
H A Dextern_template_lists.h46 …IS basic_string<_CharType>& basic_string<_CharType>::replace(size_type, size_type, size_type, valu…
57 …VIS void basic_string<_CharType>::__grow_by(size_type, size_type, size_type, size_type, size_type,…
58 …ic_string<_CharType>::__grow_by_and_replace(size_type, size_type, size_type, size_type, size_type,…
71 …UNC_VIS int basic_string<_CharType>::compare(size_type, size_type, basic_string const&, size_type,…
72 …BCPP_FUNC_VIS int basic_string<_CharType>::compare(size_type, size_type, value_type const*, size_t…
75 …_CharType>& basic_string<_CharType>::replace(size_type, size_type, basic_string const&, size_type,…
107 …VIS void basic_string<_CharType>::__grow_by(size_type, size_type, size_type, size_type, size_type,…
108 …ic_string<_CharType>::__grow_by_and_replace(size_type, size_type, size_type, size_type, size_type,…
122 …UNC_VIS int basic_string<_CharType>::compare(size_type, size_type, basic_string const&, size_type,…
123 …BCPP_FUNC_VIS int basic_string<_CharType>::compare(size_type, size_type, value_type const*, size_t…
[all …]
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/
H A Dhash_policy.hpp86 inline size_type
110 inline size_type
142 inline size_type
273 is_grow_needed(size_type size, size_type num_entries) const;
379 is_grow_needed(size_type size, size_type num_entries) const;
422 size_type
425 size_type
458 size_type
461 size_type
588 size_type
[all …]
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/hash_fn/
H A Dranged_probe_fn.hpp82 typedef typename Allocator::size_type size_type; typedef in pb_ds::detail::ranged_probe_fn
104 inline size_type
107 inline size_type
108 operator()(const_key_reference, size_type, size_type) const;
161 operator()(const_key_reference, size_type hash, size_type i) const in operator ()()
187 typedef typename Allocator::size_type size_type; typedef in pb_ds::detail::ranged_probe_fn
188 typedef std::pair<size_type, size_type> comp_hash;
214 inline size_type
215 operator()(const_key_reference, size_type, size_type) const;
274 operator()(const_key_reference, size_type hash, size_type i) const in operator ()()
[all …]
H A Dranged_hash_fn.hpp81 typedef typename Allocator::size_type size_type; typedef in pb_ds::detail::ranged_hash_fn
87 ranged_hash_fn(size_type);
97 notify_resized(size_type);
99 inline size_type
163 typedef typename Allocator::size_type size_type; typedef in pb_ds::detail::ranged_hash_fn
164 typedef std::pair<size_type, size_type> comp_hash;
170 ranged_hash_fn(size_type);
180 notify_resized(size_type);
265 typedef typename Allocator::size_type size_type; typedef in pb_ds::detail::ranged_hash_fn
268 ranged_hash_fn(size_type);
[all …]
H A Dmask_based_range_hashing.hpp61 typedef Size_Type size_type; typedef in pb_ds::detail::mask_based_range_hashing
68 notify_resized(size_type size);
70 inline size_type
71 range_hash(size_type hash) const in range_hash()
72 { return size_type(hash & m_mask); } in range_hash()
75 size_type m_mask;
76 const static size_type s_num_bits_in_size_type;
77 const static size_type s_highest_bit_1;
81 const typename PB_DS_CLASS_C_DEC::size_type
92 notify_resized(size_type size) in notify_resized()
[all …]
/openbsd/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dbasic_string.tcc84 size_type __i = 0; in _S_construct()
299 size_type __pos2, size_type __n) in insert()
312 insert(size_type __pos, const _CharT* __s, size_type __n) in insert()
348 replace(size_type __pos, size_type __n1, const _CharT* __s, in replace()
396 _M_mutate(size_type __pos, size_type __len1, size_type __len2) in _M_mutate()
658 size_type __pos2, size_type __n2) in replace()
693 size_type __len = std::min(size_type(__str.size() - __pos), in append()
771 copy(_CharT* __s, size_type __n, size_type __pos) const in copy()
976 size_type __pos2, size_type __n2) const in compare()
1030 compare(size_type __pos, size_type __n1, const _CharT* __s, in compare()
[all …]
H A Dbasic_string.h116 typedef typename _Alloc::size_type size_type; typedef
284 _M_fold(size_type __pos, size_type __off) const in _M_fold()
318 _M_mutate(size_type __pos, size_type __len1, size_type __len2);
407 size_type
410 size_type
534 size_type __pos2, size_type __n);
544 insert(size_type __pos, size_type __n, _CharT __c) in insert()
560 erase(size_type __pos = 0, size_type __n = npos)
590 size_type __pos2, size_type __n2);
601 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in replace()
[all …]
/openbsd/gnu/gcc/libstdc++-v3/include/bits/
H A Dbasic_string.h228 _S_create(size_type, size_type, const _Alloc&); in _GLIBCXX_BEGIN_NAMESPACE()
324 _M_limit(size_type __pos, size_type __off) const in _GLIBCXX_BEGIN_NAMESPACE()
394 _M_mutate(size_type __pos, size_type __len1, size_type __len2); in _GLIBCXX_BEGIN_NAMESPACE()
1016 size_type __pos2, size_type __n) in _GLIBCXX_BEGIN_NAMESPACE()
1079 insert(size_type __pos, size_type __n, _CharT __c) in _GLIBCXX_BEGIN_NAMESPACE()
1120 erase(size_type __pos = 0, size_type __n = npos) in _GLIBCXX_BEGIN_NAMESPACE()
1141 _M_mutate(__pos, size_type(1), size_type(0)); in _GLIBCXX_BEGIN_NAMESPACE()
1206 size_type __pos2, size_type __n2) in _GLIBCXX_BEGIN_NAMESPACE()
1271 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in _GLIBCXX_BEGIN_NAMESPACE()
1439 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
H A Dbasic_string.tcc148 const size_type __dnew = static_cast<size_type>(std::distance(__beg, in _S_construct()
365 insert(size_type __pos, const _CharT* __s, size_type __n) in insert()
396 replace(size_type __pos, size_type __n1, const _CharT* __s, in replace()
451 _M_mutate(size_type __pos, size_type __len1, size_type __len2) in _M_mutate()
528 _S_create(size_type __capacity, size_type __old_capacity, in _S_create()
650 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _M_replace_aux()
705 copy(_CharT* __s, size_type __n, size_type __pos) const in copy()
719 find(const _CharT* __s, size_type __pos, size_type __n) const in find()
760 rfind(const _CharT* __s, size_type __pos, size_type __n) const in rfind()
914 size_type __pos2, size_type __n2) const in compare()
[all …]
/openbsd/gnu/gcc/libstdc++-v3/include/ext/
H A Dvstring.h81 size_type in _GLIBCXX_BEGIN_NAMESPACE()
97 size_type in _GLIBCXX_BEGIN_NAMESPACE()
98 _M_limit(size_type __pos, size_type __off) const in _GLIBCXX_BEGIN_NAMESPACE()
779 size_type __pos2, size_type __n) in _GLIBCXX_BEGIN_NAMESPACE()
844 insert(size_type __pos, size_type __n, _CharT __c) in _GLIBCXX_BEGIN_NAMESPACE()
885 erase(size_type __pos = 0, size_type __n = npos) in _GLIBCXX_BEGIN_NAMESPACE()
971 size_type __pos2, size_type __n2) in _GLIBCXX_BEGIN_NAMESPACE()
1044 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in _GLIBCXX_BEGIN_NAMESPACE()
1212 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _GLIBCXX_BEGIN_NAMESPACE()
1700 compare(size_type __pos, size_type __n, in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
H A Dvstring.tcc99 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _M_replace_aux()
129 _M_replace(size_type __pos, size_type __len1, const _CharT* __s, in _M_replace()
256 copy(_CharT* __s, size_type __n, size_type __pos) const in copy()
271 find(const _CharT* __s, size_type __pos, size_type __n) const in find()
314 rfind(const _CharT* __s, size_type __pos, size_type __n) const in rfind()
354 find_first_of(const _CharT* __s, size_type __pos, size_type __n) const in find_first_of()
371 find_last_of(const _CharT* __s, size_type __pos, size_type __n) const in find_last_of()
478 compare(size_type __pos1, size_type __n1, const __versa_string& __str, in compare()
479 size_type __pos2, size_type __n2) const in compare()
513 compare(size_type __pos, size_type __n1, const _CharT* __s) const in compare()
[all …]
H A Dsso_string_base.h51 typedef typename _CharT_alloc_type::size_type size_type; in _GLIBCXX_BEGIN_NAMESPACE() typedef
85 _M_create(size_type&, size_type); in _GLIBCXX_BEGIN_NAMESPACE()
141 size_type in _GLIBCXX_BEGIN_NAMESPACE()
149 size_type in _GLIBCXX_BEGIN_NAMESPACE()
153 size_type in _GLIBCXX_BEGIN_NAMESPACE()
212 _M_mutate(size_type __pos, size_type __len1, const _CharT* __s, in _GLIBCXX_BEGIN_NAMESPACE()
216 _M_erase(size_type __pos, size_type __n); in _GLIBCXX_BEGIN_NAMESPACE()
304 _M_create(size_type& __capacity, size_type __old_capacity) in _M_create()
365 size_type __capacity = size_type(_S_local_capacity); in _M_construct()
508 _M_mutate(size_type __pos, size_type __len1, const _CharT* __s, in _M_mutate()
[all …]
H A Drc_string_base.h97 typedef typename _CharT_alloc_type::size_type size_type; in _GLIBCXX_BEGIN_NAMESPACE() typedef
153 _S_create(size_type, size_type, const _Alloc&); in _GLIBCXX_BEGIN_NAMESPACE()
266 size_type in _GLIBCXX_BEGIN_NAMESPACE()
274 size_type in _GLIBCXX_BEGIN_NAMESPACE()
278 size_type in _GLIBCXX_BEGIN_NAMESPACE()
335 _M_mutate(size_type __pos, size_type __len1, const _CharT* __s, in _GLIBCXX_BEGIN_NAMESPACE()
336 size_type __len2); in _GLIBCXX_BEGIN_NAMESPACE()
339 _M_erase(size_type __pos, size_type __n); in _GLIBCXX_BEGIN_NAMESPACE()
357 _S_create(size_type __capacity, size_type __old_capacity, in _S_create()
638 _M_mutate(size_type __pos, size_type __len1, const _CharT* __s, in _M_mutate()
[all …]
H A Ddebug_allocator.h68 typedef typename _Alloc::size_type size_type; typedef
79 size_type _M_extra;
87 _M_extra = (sizeof(size_type) + __obj_size - 1) / __obj_size; in debug_allocator()
91 allocate(size_type __n) in allocate()
94 size_type* __ps = reinterpret_cast<size_type*>(__res); in allocate()
100 allocate(size_type __n, const void* __hint) in allocate()
103 size_type* __ps = reinterpret_cast<size_type*>(__res); in allocate()
109 deallocate(pointer __p, size_type __n) in deallocate()
114 if (*reinterpret_cast<size_type*>(__real_p) != __n) in deallocate()
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/
H A Dresize_policy.hpp65 typedef Size_Type size_type; typedef in pb_ds::detail::resize_policy
86 grow_needed(size_type size) const;
89 shrink_needed(size_type size) const;
91 inline size_type
94 inline size_type
97 size_type
107 notify_arbitrary(size_type actual_size);
127 size_type m_next_shrink_size;
128 size_type m_next_grow_size;
186 size_type ret = min_size; in get_new_size_for_arbitrary()
[all …]
H A Dbinary_heap_.hpp133 typedef typename Allocator::size_type size_type; typedef in pb_ds::detail::binary_heap_
199 inline size_type
202 inline size_type
301 inline static size_type
302 left_child(size_type i);
304 inline static size_type
307 inline static size_type
308 parent(size_type i);
314 size_type
337 size_type m_size;
[all …]
H A Derase_fn_imps.hpp52 for (size_type i = 0; i < m_size; ++i) in clear()
90 erase_at(entry_pointer, size_type, true_type) in erase_at() argument
115 typename PB_DS_CLASS_C_DEC::size_type
129 const size_type left = partition(pred_t(pred)); in erase_if()
133 const size_type ersd = m_size - left; in erase_if()
135 for (size_type i = left; i < m_size; ++i) in erase_if()
140 const size_type actual_size = in erase_if()
202 const size_type new_actual_size = in resize_for_erase_if_needed()
224 typename PB_DS_CLASS_C_DEC::size_type
228 size_type left = 0; in partition()
[all …]
/openbsd/gnu/llvm/libcxx/include/
H A Dstring_view85 static constexpr size_type npos = size_type(-1);
128 size_type copy(charT* s, size_type n, size_type pos = 0) const; // constexpr in C++20
133 constexpr int compare(size_type pos1, size_type n1,
137 constexpr int compare(size_type pos1, size_type n1,
434 size_type copy(_CharT* __s, size_type __n, size_type __pos = 0) const
486 int compare(size_type __pos1, size_type __n1, const _CharT* __s, size_type __n2) const
508 size_type find(const _CharT* __s, size_type __pos, size_type __n) const _NOEXCEPT
540 size_type rfind(const _CharT* __s, size_type __pos, size_type __n) const _NOEXCEPT
569 size_type find_first_of(const _CharT* __s, size_type __pos, size_type __n) const _NOEXCEPT
598 size_type find_last_of(const _CharT* __s, size_type __pos, size_type __n) const _NOEXCEPT
[all …]
H A Dstring89 typedef typename allocator_type::size_type size_type;
1373 …basic_string& replace(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos…
1381 … replace(size_type __pos1, size_type __n1, const _Tp& __t, size_type __pos2, size_type __n2=npos);
1483 size_type find(const value_type* __s, size_type __pos, size_type __n) const _NOEXCEPT;
1500 size_type rfind(const value_type* __s, size_type __pos, size_type __n) const _NOEXCEPT;
1611 …compare(size_type __pos1, size_type __n1, const _Tp& __t, size_type __pos2, size_type __n2=npos) c…
1811 size_type __recommend(size_type __s) _NOEXCEPT
1859 void __grow_by(size_type __old_cap, size_type __delta_cap, size_type __old_sz,
1860 size_type __n_copy, size_type __n_del, size_type __n_add = 0);
2369 (size_type __old_cap, size_type __delta_cap, size_type __old_sz,
[all …]
/openbsd/gnu/gcc/libstdc++-v3/include/debug/
H A Dstring385 size_type __pos2, size_type __n)
411 insert(size_type __pos, size_type __n, _CharT __c)
483 size_type __pos2, size_type __n2)
510 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c)
567 size_type
602 size_type
606 size_type
613 size_type
620 size_type
745 compare(size_type __pos1, size_type __n1,
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DImmutableGraph.h45 using size_type = int; variable
81 size_type NodesSize, size_type EdgesSize) in ImmutableGraph()
165 size_type Current;
253 size_type Current;
290 size_type NodesSize;
291 size_type EdgesSize;
302 using size_type = typename GraphT::size_type; variable
313 using BuilderNodeRef = size_type;
335 size_type VI = 0, EI = 0; in get()
364 size_type NewNodeIndex = 0; in trim()
[all …]
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/
H A Dhash_exponential_size_policy_imp.hpp49 hash_exponential_size_policy(size_type start_size, size_type grow_factor) : in hash_exponential_size_policy()
64 typename PB_DS_CLASS_C_DEC::size_type
66 get_nearest_larger_size(size_type size) const in get_nearest_larger_size()
68 size_type ret = m_start_size; in get_nearest_larger_size()
71 const size_type next_ret = ret* m_grow_factor; in get_nearest_larger_size()
80 typename PB_DS_CLASS_C_DEC::size_type
82 get_nearest_smaller_size(size_type size) const in get_nearest_smaller_size()
84 size_type ret = m_start_size; in get_nearest_smaller_size()
87 const size_type next_ret = ret* m_grow_factor; in get_nearest_smaller_size()
H A Dhash_load_check_resize_trigger_imp.hpp114 notify_inserted(size_type num_entries) in notify_inserted()
124 notify_erased(size_type num_entries) in notify_erased()
143 is_grow_needed(size_type /*size*/, size_type num_entries) const in is_grow_needed() argument
156 notify_resized(size_type new_size) in notify_resized()
159 m_next_grow_size = size_type(m_load_max * new_size - 1); in notify_resized()
160 m_next_shrink_size = size_type(m_load_min * new_size); in notify_resized()
177 notify_externally_resized(size_type new_size) in notify_externally_resized()
180 size_type new_grow_size = size_type(m_load_max * new_size - 1); in notify_externally_resized()
181 size_type new_shrink_size = size_type(m_load_min * new_size ); in notify_externally_resized()
262 const size_type old_next_grow_size = m_next_grow_size; in set_loads()
[all …]
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/trie_policy/
H A Dorder_statistics_imp.hpp50 find_by_order(size_type order) in find_by_order()
66 const size_type num_children = nd_it.num_children(); in find_by_order()
71 for (size_type i = 0; i < num_children; ++i) in find_by_order()
90 find_by_order(size_type order) const in find_by_order()
96 inline typename PB_DS_CLASS_C_DEC::size_type
109 inline typename PB_DS_CLASS_C_DEC::size_type
123 size_type ord = 0; in order_of_prefix()
147 size_type i = num_children - 1; in order_of_prefix()
176 const size_type num_children = nd_it.num_children(); in operator ()()
178 size_type children_rank = 0; in operator ()()
[all …]
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/
H A Dstandard_policies.hpp89 typedef typename Comb_Hash_Fn::size_type size_type; typedef
95 size_type>,
98 size_type>,
108 size_type>,
110 size_type>
123 typedef typename Comb_Probe_Fn::size_type size_type; typedef
132 size_type>,
134 size_type> >::__type

12345678910>>...16