Searched refs:size_type (Results 1 - 25 of 135) sorted by relevance

123456

/freebsd-current/contrib/llvm-project/libcxx/include/__string/
H A Dextern_template_lists.h33 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(size_type, size_type, value_type const*, size_type)) \
34 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::rfind(value_type const*, size_type, size_type) const) \
35 _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::__init(value_type const*, size_type, size_type)) \
37 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(size_type, size_type, value_typ
[all...]
/freebsd-current/contrib/kyua/utils/format/
H A Dformatter.hpp90 std::string::size_type _last_pos;
93 std::string::size_type _placeholder_pos;
105 const std::string::size_type);
H A Dformatter.cpp64 static std::pair< std::string::size_type, std::string >
67 std::string::size_type begin)
77 std::string::size_type end = begin + 1;
138 const std::string::size_type dot = partial.find('.');
161 strip_double_percent(const std::string& in, const std::string::size_type begin,
162 std::string::size_type end)
167 std::string::size_type pos = part.find("%%");
188 const std::pair< std::string::size_type, std::string > placeholder =
211 const std::string::size_type last_pos) :
/freebsd-current/contrib/kyua/utils/text/
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,
H A Dtable.cpp63 for (text::widths_vector::size_type i = 0; i < user_widths.size(); ++i) {
86 static text::widths_vector::size_type
89 text::widths_vector::size_type i = 0;
123 const text::widths_vector::size_type refill_column =
128 for (text::widths_vector::size_type i = 0; i < widths.size(); ++i) {
172 const text::table_row::size_type column,
181 for (std::vector< std::string >::size_type i = 0; i < rows.size(); ++i) {
182 for (text::table_row::size_type j = 0; j < row.size(); ++j) {
212 for (text::table_row::size_type column = 0; column < row.size(); ++column) {
235 text::table::table(const table_row::size_type ncolumns
[all...]
/freebsd-current/contrib/llvm-project/libcxx/include/__memory/
H A Dallocator_destructor.h27 typedef _LIBCPP_NODEBUG typename __alloc_traits::size_type size_type; typedef in class:__allocator_destructor
31 size_type __s_;
34 _LIBCPP_HIDE_FROM_ABI __allocator_destructor(_Alloc& __a, size_type __s) _NOEXCEPT : __alloc_(__a), __s_(__s) {}
H A Dallocator.h106 typedef size_t size_type; typedef in class:allocator
167 _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI size_type max_size() const _NOEXCEPT {
168 return size_type(~0) / sizeof(_Tp);
186 typedef size_t size_type; typedef in class:allocator
244 _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI size_type max_size() const _NOEXCEPT {
245 return size_type(~0) / sizeof(_Tp);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/orc/
H A Dadt.h31 typedef std::size_t size_type; typedef in class:__orc_rt::span
43 constexpr span(T *first, size_type count) noexcept
52 constexpr reference operator[](size_type idx) const { return Data[idx]; }
53 constexpr size_type size() const noexcept { return Size; }
58 size_type Size = 0;
/freebsd-current/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(); }
/freebsd-current/contrib/llvm-project/libcxx/include/__iterator/
H A Derase_if_container.h25 _LIBCPP_HIDE_FROM_ABI typename _Container::size_type __libcpp_erase_if_container(_Container& __c, _Predicate& __pred) {
26 typename _Container::size_type __old_size = __c.size();
/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/
H A DImmutableGraph.h45 using size_type = int;
81 size_type NodesSize, size_type EdgesSize)
98 size_type nodes_size() const { return NodesSize; }
99 size_type edges_size() const { return EdgesSize; }
102 size_type getNodeIndex(const Node &N) const {
106 size_type getEdgeIndex(const Edge &E) const {
119 size_type Idx = G.getNodeIndex(N);
125 size_type Idx = G.getNodeIndex(N);
129 size_type Id
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/TargetParser/Unix/
H A DHost.inc41 std::string::size_type DarwinDashIdx = TargetTripleString.find("-darwin");
47 std::string::size_type MacOSDashIdx = TargetTripleString.find("-macos");
/freebsd-current/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 DIndexedMap.h57 void reserve(typename StorageT::size_type s) {
61 void resize(typename StorageT::size_type s) {
79 typename StorageT::size_type size() const {
H A DPriorityQueue.h49 typename Sequence::size_type i = find(this->c, t) - this->c.begin();
53 typename Sequence::size_type parent = (i - 1) / 2;
H A DPriorityWorklist.h61 using size_type = typename MapT::size_type;
72 size_type size() const {
78 size_type count(const key_type &key) const {
H A DSmallBitVector.h64 using size_type = uintptr_t;
100 void switchToSmall(uintptr_t NewSmallBits, size_type NewSize) {
124 size_type getSmallSize() const {
128 void setSmallSize(size_type Size) {
195 size_type size() const {
200 size_type count() const {
342 for (size_type I = 0, E = getSmallSize(); I != E; ++I)
352 size_type SmallSize = getSmallSize();
354 for (size_type I = 0; I < SmallSize; ++I)
509 for (size_type
[all...]
/freebsd-current/contrib/llvm-project/libcxx/src/include/
H A Dsso_allocator.h41 typedef size_t size_type; typedef in class:__sso_allocator
59 _LIBCPP_HIDE_FROM_ABI pointer allocate(size_type __n, typename __sso_allocator<void, _Np>::const_pointer = nullptr) {
66 _LIBCPP_HIDE_FROM_ABI void deallocate(pointer __p, size_type __n) {
72 _LIBCPP_HIDE_FROM_ABI size_type max_size() const throw() { return size_type(~0) / sizeof(_Tp); }
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStringLexer.h20 typedef std::string::size_type Position;
21 typedef std::string::size_type Size;
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DStringExtras.cpp23 StringRef::size_type llvm::StrInStrNoCase(StringRef s1, StringRef s2) {
42 StringRef::size_type Start = Source.find_first_not_of(Delimiters);
45 StringRef::size_type End = Source.find_first_of(Delimiters, Start);
/freebsd-current/contrib/kyua/utils/fs/
H A Dpath.cpp59 std::string::size_type pos = 0;
61 const std::string::size_type next_pos = in.find('/', pos);
124 const std::string::size_type end_pos = _repr.rfind('/');
140 const std::string::size_type beg_pos = _repr.rfind('/');
/freebsd-current/contrib/kyua/integration/helpers/
H A Ddump_env.cpp66 for (std::vector< std::string >::size_type i = 1;
/freebsd-current/sys/contrib/openzfs/cmd/zpool_influxdb/
H A Dzpool_influxdb.c486 struct size_lookup size_type[] = { local
513 for (int i = 0; size_type[i].name; i++) {
514 if (nvlist_lookup_uint64_array(nv_ex, size_type[i].name,
515 &size_type[i].array, &c) != 0) {
517 size_type[i].name);
527 for (int i = 0; size_type[i].name; i++) {
528 size_type[i].sum += size_type[i].array[bucket];
542 for (int i = 0; size_type[i].name; i++) {
544 size_type[
[all...]
/freebsd-current/contrib/llvm-project/llvm/utils/TableGen/
H A DAsmWriterInst.cpp57 std::string::size_type LastEmitted = 0;
59 std::string::size_type DollarPos =
107 std::string::size_type VarEnd = DollarPos+1;
147 std::string::size_type ModifierStart = VarEnd;
/freebsd-current/contrib/atf/atf-c++/detail/
H A Dtext.cpp94 std::string::size_type pos = 0, newpos = 0;
108 std::string::size_type pos1 = str.find_first_not_of(" \t");
109 std::string::size_type pos2 = str.find_last_not_of(" \t");

Completed in 328 milliseconds

123456