Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/libcxx/include/__string/
H A Dextern_template_lists.h33 …tring<_CharType>& basic_string<_CharType>::replace(size_type, size_type, value_type const*, size_t…
48 …BI basic_string<_CharType>& basic_string<_CharType>::replace(size_type, size_type, size_type, valu…
59 …ABI void basic_string<_CharType>::__grow_by(size_type, size_type, size_type, size_type, size_type,…
60 …ic_string<_CharType>::__grow_by_and_replace(size_type, size_type, size_type, size_type, size_type,…
73 …ROM_ABI int basic_string<_CharType>::compare(size_type, size_type, basic_string const&, size_type,…
74 …RTED_FROM_ABI int basic_string<_CharType>::compare(size_type, size_type, value_type const*, size_t…
77 …_CharType>& basic_string<_CharType>::replace(size_type, size_type, basic_string const&, size_type,…
109 …ic_string<_CharType>::__grow_by_and_replace(size_type, size_type, size_type, size_type, size_type,…
123 …ROM_ABI int basic_string<_CharType>::compare(size_type, size_type, basic_string const&, size_type,…
124 …RTED_FROM_ABI int basic_string<_CharType>::compare(size_type, size_type, value_type const*, size_t…
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dstring_view87 static constexpr size_type npos = size_type(-1);
130 size_type copy(charT* s, size_type n, size_type pos = 0) const; // constexpr in C++20
135 constexpr int compare(size_type pos1, size_type n1,
139 constexpr int compare(size_type pos1, size_type n1,
143 …constexpr size_type find(const charT* s, size_type pos, size_type n) const noexcept; // noexcept a…
147 …constexpr size_type rfind(const charT* s, size_type pos, size_type n) const noexcept; // noexcept …
291 static _LIBCPP_CONSTEXPR const size_type npos = -1; // size_type(-1);
439 copy(_CharT* __s, size_type __n, size_type __pos = 0) const {
466 …compare(size_type __pos1, size_type __n1, basic_string_view __sv, size_type __pos2, size_type __n2…
475 compare(size_type __pos1, size_type __n1, const _CharT* __s) const {
[all …]
H A Dstring1447 insert(size_type __pos1, const _Tp& __t, size_type __pos2, size_type __n = npos);
1509 …replace(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type _…
1516 …replace(size_type __pos1, size_type __n1, const _Tp& __t, size_type __pos2, size_type __n2 = npos);
1519 replace(size_type __pos, size_type __n1, const value_type* __s, size_type __n2);
1702 …compare(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type _…
1709 …compare(size_type __pos1, size_type __n1, const _Tp& __t, size_type __pos2, size_type __n2 = npos)…
2998 size_type __pos, size_type __n1, const value_type* __s, size_type __n2)
3078 size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2) {
3092 size_type __pos1, size_type __n1, const _Tp& __t, size_type __pos2, size_type __n2) {
3635 size_type __pos1, size_type __n1, const _Tp& __t, size_type __pos2, size_type __n2) const {
[all …]
H A Dunordered_set39 typedef typename allocator_traits<allocator_type>::size_type size_type;
182 size_type bucket_size(size_type n) const;
430 size_type bucket_size(size_type n) const;
607 typedef typename __table::size_type size_type;
649 size_type __n,
707 size_type __n,
1055 size_type __n,
1113 size_type __n,
1207 typedef typename __table::size_type size_type;
1663 size_type __n,
[all …]
H A Dvector31 typedef typename allocator_type::size_type size_type;
145 typedef typename allocator_type::size_type size_type;
398 typedef typename __alloc_traits::size_type size_type;
1176 size_type __n = static_cast<size_type>(std::distance(__first, __last));
1188 size_type __n = static_cast<size_type>(std::distance(__first, __last));
1333 size_type __new_size = static_cast<size_type>(__n);
1819 typedef typename __alloc_traits::size_type size_type;
1836 size_type __size_;
2412 size_type __n = static_cast<size_type>(__il.size());
2423 size_type __n = static_cast<size_type>(__il.size());
[all …]
H A Dunordered_map38 typedef typename allocator_traits<allocator_type>::size_type size_type;
215 size_type bucket_size(size_type n) const;
478 size_type bucket_size(size_type n) const;
1073 typedef typename __table::size_type size_type;
1109 size_type __n,
1145 size_type __n,
1646 size_type __n,
1702 size_type __n,
1881 typedef typename __table::size_type size_type;
2395 size_type __n,
[all …]
H A D__split_buffer61 using size_type = typename __alloc_traits::size_type;
90 __split_buffer(size_type __cap, size_type __start, __alloc_rr& __a);
205 pointer* __p, size_type __n) _NOEXCEPT
282 size_type __old_cap = __end_cap() - __first_;
283 size_type __new_cap = std::max<size_type>(2 * __old_cap, 8);
338 __split_buffer<_Tp, _Allocator>::__split_buffer(size_type __cap, size_type __start, __alloc_rr& __a)
462 size_type __c = std::max<size_type>(2 * static_cast<size_t>(__end_cap() - __first_), 1);
484 size_type __c = std::max<size_type>(2 * static_cast<size_t>(__end_cap() - __first_), 1);
507 size_type __c = std::max<size_type>(2 * static_cast<size_t>(__end_cap() - __first_), 1);
529 size_type __c = std::max<size_type>(2 * static_cast<size_t>(__end_cap() - __first_), 1);
[all …]
H A Ddeque31 typedef typename allocator_type::size_type size_type;
42 explicit deque(size_type n);
94 size_type size() const noexcept;
96 void resize(size_type n);
104 reference at(size_type i);
459 using size_type = typename __alloc_traits::size_type;
554 size_type __start_;
848 _LIBCPP_HIDE_FROM_ABI static size_type __recommend_blocks(size_type __n) {
897 size_type __beg,
898 size_type __end,
[all …]
H A Dspan47 using size_type = size_t;
55 static constexpr size_type extent = Extent;
87 …constexpr span<element_type, dynamic_extent> subspan(size_type offset, size_type count = dynamic_e…
90 constexpr size_type size() const noexcept;
109 size_type size_; // exposition only
212 using size_type = size_t;
225 static constexpr size_type extent = _Extent;
318 subspan(size_type __offset, size_type __count = dynamic_extent) const noexcept {
392 using size_type = size_t;
480 subspan(size_type __offset, size_type __count = dynamic_extent) const noexcept {
[all …]
H A D__hash_table228 typedef size_t size_type;
526 typedef typename __alloc_traits::size_type size_type;
651 typedef typename __alloc_traits::size_type size_type;
653 typedef typename _NodeTypes::size_type size_type;
912 _LIBCPP_HIDE_FROM_ABI size_type bucket_size(size_type __n) const;
1121 size_type __bc = bucket_count();
1306 size_type __bc = bucket_count();
1665 __n = std::max<size_type>(
1834 size_type __r = 0;
1888 size_type __r = 0;
[all …]
/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/libcxx/include/ext/
H A Dhash_set35 typedef typename allocator_traits<allocator_type>::size_type size_type;
56 size_type size() const;
87 size_type elems_in_bucket(size_type n) const;
121 typedef typename allocator_traits<allocator_type>::size_type size_type;
173 size_type elems_in_bucket(size_type n) const;
239 typedef typename __table::size_type size_type;
255 size_type __n,
347 size_type __n,
418 typedef typename __table::size_type size_type;
442 size_type __n,
[all …]
H A Dhash_map36 typedef typename allocator_traits<allocator_type>::size_type size_type;
60 size_type size() const;
93 size_type elems_in_bucket(size_type n) const;
128 typedef typename allocator_traits<allocator_type>::size_type size_type;
181 size_type elems_in_bucket(size_type n) const;
480 typedef typename __alloc_traits::size_type size_type;
496 size_type __n,
595 size_type __n,
704 typedef typename __alloc_traits::size_type size_type;
728 size_type __n,
[all …]
/freebsd/contrib/kyua/utils/text/
H A Dtable.cpp63 for (text::widths_vector::size_type i = 0; i < user_widths.size(); ++i) { in override_column_widths()
86 static text::widths_vector::size_type
89 text::widths_vector::size_type i = 0; in find_refill_column()
123 const text::widths_vector::size_type refill_column = in refill_widths()
128 for (text::widths_vector::size_type i = 0; i < widths.size(); ++i) { in refill_widths()
172 const text::table_row::size_type column, in refill_cell()
182 for (text::table_row::size_type j = 0; j < row.size(); ++j) { in refill_cell()
235 text::table::table(const table_row::size_type ncolumns_) in table()
245 text::widths_vector::size_type
262 text::table::column_width(const widths_vector::size_type column) const in column_width()
[all …]
H A Doperations.cpp74 quoted << "&amp;#" << static_cast< std::string::size_type >(*it) in escape_xml()
96 std::string::size_type start_pos = 0; in quote()
97 std::string::size_type last_pos = text.find(quote); in quote()
126 std::string::size_type start = 0; in refill()
128 std::string::size_type width; in refill()
135 const std::string::size_type pos = input.find_last_of( in refill()
193 std::string::size_type pos, lastpos = 0; in replace_all()
217 std::string::size_type pos = str.find(delimiter); in split()
221 const std::string::size_type next = str.find(delimiter, pos); in split()
H A Dtable.hpp68 table(const table_row::size_type);
70 widths_vector::size_type ncolumns(void) const;
71 widths_vector::value_type column_width(const widths_vector::size_type)
113 table_formatter& set_column_width(const table_row::size_type,
/freebsd/contrib/kyua/utils/format/
H A Dformatter.cpp64 static std::pair< std::string::size_type, std::string >
67 std::string::size_type begin) in find_next_placeholder()
77 std::string::size_type end = begin + 1; in find_next_placeholder()
138 const std::string::size_type dot = partial.find('.'); in new_ostringstream()
161 strip_double_percent(const std::string& in, const std::string::size_type begin, in strip_double_percent()
162 std::string::size_type end) in strip_double_percent()
167 std::string::size_type pos = part.find("%%"); in strip_double_percent()
188 const std::pair< std::string::size_type, std::string > placeholder = in init()
211 const std::string::size_type last_pos) : in formatter()
H A Dformatter.hpp90 std::string::size_type _last_pos;
93 std::string::size_type _placeholder_pos;
105 const std::string::size_type);
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dadt.h31 typedef std::size_t size_type; typedef
43 constexpr span(T *first, size_type count) noexcept in span()
52 constexpr reference operator[](size_type idx) const { return Data[idx]; }
53 constexpr size_type size() const noexcept { return Size; } in size()
58 size_type Size = 0;
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dallocator_destructor.h27 typedef _LIBCPP_NODEBUG typename __alloc_traits::size_type size_type; typedef
31 size_type __s_;
34 …_LIBCPP_HIDE_FROM_ABI __allocator_destructor(_Alloc& __a, size_type __s) _NOEXCEPT : __alloc_(__a)… in __allocator_destructor()
/freebsd/contrib/llvm-project/libcxx/src/include/
H A Dsso_allocator.h41 typedef size_t size_type; typedef
59 …_LIBCPP_HIDE_FROM_ABI pointer allocate(size_type __n, typename __sso_allocator<void, _Np>::const_p…
66 _LIBCPP_HIDE_FROM_ABI void deallocate(pointer __p, size_type __n) { in deallocate()
72 _LIBCPP_HIDE_FROM_ABI size_type max_size() const throw() { return size_type(~0) / sizeof(_Tp); } in max_size()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dedit_distance.h60 typename ArrayRef<T>::size_type m = FromArray.size();
61 typename ArrayRef<T>::size_type n = ToArray.size();
67 typename ArrayRef<T>::size_type AbsDiff = m > n ? m - n : n - m;
76 for (typename ArrayRef<T>::size_type y = 1; y <= m; ++y) {
82 for (typename ArrayRef<T>::size_type x = 1; x <= n; ++x) {
H A DSmallBitVector.h64 using size_type = uintptr_t;
124 size_type getSmallSize() const { in getSmallSize()
128 void setSmallSize(size_type Size) { in setSmallSize()
195 size_type size() const { in size()
200 size_type count() const { in count()
352 size_type SmallSize = getSmallSize(); in reserve()
354 for (size_type I = 0; I < SmallSize; ++I) in reserve()
509 for (size_type I = 0, E = size(); I != E; ++I) {
530 size_type I, E;
579 for (size_type I = 0, E = RHS.size(); I != E; ++I)
[all …]
/freebsd/sys/contrib/openzfs/cmd/zpool_influxdb/
H A Dzpool_influxdb.c486 struct size_lookup size_type[] = { in print_vdev_size_stats() local
513 for (int i = 0; size_type[i].name; i++) { in print_vdev_size_stats()
515 &size_type[i].array, &c) != 0) { in print_vdev_size_stats()
517 size_type[i].name); in print_vdev_size_stats()
527 for (int i = 0; size_type[i].name; i++) { in print_vdev_size_stats()
528 size_type[i].sum += size_type[i].array[bucket]; in print_vdev_size_stats()
542 for (int i = 0; size_type[i].name; i++) { in print_vdev_size_stats()
544 size_type[i].sum += size_type[i].array[bucket]; in print_vdev_size_stats()
546 size_type[i].sum = size_type[i].array[bucket]; in print_vdev_size_stats()
548 print_kv(size_type[i].short_name, size_type[i].sum); in print_vdev_size_stats()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/XRay/
H A DTrace.h56 using size_type = RecordVector::size_type;
66 size_type size() const { return Records.size(); } in size()

1234567