Home
last modified time | relevance | path

Searched refs:__bits_per_word (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/
H A D__bit_reference183 const int __bits_per_word = _In::__bits_per_word;
188 unsigned __clz = __bits_per_word - __first.__ctz_;
195 __result.__seg_ += (__dn + __result.__ctz_) / __bits_per_word;
196 __result.__ctz_ = static_cast<unsigned>((__dn + __result.__ctz_) % __bits_per_word);
202 __storage_type __nw = __n / __bits_per_word;
204 __n -= __nw * __bits_per_word;
209 __storage_type __m = ~__storage_type(0) >> (__bits_per_word - __n);
226 const int __bits_per_word = _In::__bits_per_word;
231 unsigned __clz_f = __bits_per_word - __first.__ctz_;
236 unsigned __clz_r = __bits_per_word - __result.__ctz_;
[all …]
H A Dbitset177 static const unsigned __bits_per_word = static_cast<unsigned>(sizeof(__storage_type) * CHAR_BIT);
196 …return reference(__first_ + __pos / __bits_per_word, __storage_type(1) << __pos % __bits_per_word);
199 …return const_reference(__first_ + __pos / __bits_per_word, __storage_type(1) << __pos % __bits_per…
202 return iterator(__first_ + __pos / __bits_per_word, __pos % __bits_per_word);
205 return const_iterator(__first_ + __pos / __bits_per_word, __pos % __bits_per_word);
254 …i = 0; __i < sizeof(__t) / sizeof(__t[0]); ++__i, __v >>= __bits_per_word, __sz -= __bits_per_word)
255 if (__sz < __bits_per_word)
268 if (_Size < __bits_per_word)
283 _Size >= 2 * __bits_per_word
284 ? static_cast<__storage_type>(__v >> __bits_per_word)
[all …]
H A Dvector1905 static const unsigned __bits_per_word = static_cast<unsigned>(sizeof(__storage_type) * CHAR_BIT);
1909 return __n * __bits_per_word;
1913 return (__n - 1) / __bits_per_word + 1;
2239 return (__new_size + (__bits_per_word - 1)) & ~((size_type)__bits_per_word - 1);
2248 …return reference(__begin_ + __pos / __bits_per_word, __storage_type(1) << __pos % __bits_per_word);
2252 __begin_ + __pos / __bits_per_word, __storage_type(1) << __pos % __bits_per_word);
2255 …return iterator(__begin_ + __pos / __bits_per_word, static_cast<unsigned>(__pos % __bits_per_word)…
2258 …return const_iterator(__begin_ + __pos / __bits_per_word, static_cast<unsigned>(__pos % __bits_per…
2316 if (__nmax / __bits_per_word <= __amax)
2343 …if (__old_size == 0 || ((__old_size - 1) / __bits_per_word) != ((this->__size_ - 1) / __bits_per_w…
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dfill_n.h40 const int __bits_per_word = _It::__bits_per_word; in __fill_n_bool() local
43 __storage_type __clz_f = static_cast<__storage_type>(__bits_per_word - __first.__ctz_); in __fill_n_bool()
54 __storage_type __nw = __n / __bits_per_word; in __fill_n_bool()
56 __n -= __nw * __bits_per_word; in __fill_n_bool()
60 __storage_type __m = ~__storage_type(0) >> (__bits_per_word - __n); in __fill_n_bool()
H A Dcount.h51 const int __bits_per_word = _It::__bits_per_word; in __count_bool() local
55 __storage_type __clz_f = static_cast<__storage_type>(__bits_per_word - __first.__ctz_); in __count_bool()
63 for (; __n >= __bits_per_word; ++__first.__seg_, __n -= __bits_per_word) in __count_bool()
67 __storage_type __m = ~__storage_type(0) >> (__bits_per_word - __n); in __count_bool()
H A Dfind.h103 const int __bits_per_word = _It::__bits_per_word; in __find_bool() local
106 __storage_type __clz_f = static_cast<__storage_type>(__bits_per_word - __first.__ctz_); in __find_bool()
118 for (; __n >= __bits_per_word; ++__first.__seg_, __n -= __bits_per_word) { in __find_bool()
125 __storage_type __m = ~__storage_type(0) >> (__bits_per_word - __n); in __find_bool()