Home
last modified time | relevance | path

Searched refs:__j (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dnth_element.h33 _RandomAccessIterator& __i, _RandomAccessIterator& __j, _RandomAccessIterator __m, _Compare __comp) { in __nth_element_find_guard()
34 // manually guard downward moving __j against __i in __nth_element_find_guard()
36 if (__i == --__j) { in __nth_element_find_guard()
39 if (__comp(*__j, *__m)) { in __nth_element_find_guard()
40 return true; // found guard for downward moving __j, now use unguarded partition in __nth_element_find_guard()
85 _RandomAccessIterator __j = __lm1; in __nth_element()
92 if (std::__nth_element_find_guard<_Compare>(__i, __j, __m, __comp)) { in __nth_element()
93 _Ops::iter_swap(__i, __j); in __nth_element()
99 __j = __last; in __nth_element()
100 if (!__comp(*__first, *--__j)) { // w in __nth_element()
29 __nth_element_find_guard(_RandomAccessIterator & __i,_RandomAccessIterator & __j,_RandomAccessIterator __m,_Compare __comp) __nth_element_find_guard() argument
86 _RandomAccessIterator __j = __lm1; __nth_element() local
[all...]
H A Dsort.h292 _BidirectionalIterator __j = __i;
293 --__j;
294 if (__comp(*__i, *__j)) {
296 _BidirectionalIterator __k = __j;
297 __j = __i;
299 *__j = _Ops::__iter_move(__k);
300 __j = __k;
301 } while (__j != __first && __comp(__t, *--__k));
302 *__j = std::move(__t);
323 _RandomAccessIterator __j = __i - difference_type(1);
[all …]
H A Dfind_first_of.h31 for (_ForwardIterator2 __j = __first2; __j != __last2; ++__j) in __find_first_of_ce() local
32 if (__pred(*__first1, *__j)) in __find_first_of_ce()
H A Dis_permutation.h93 for (auto __j = __first2; __j != __last2; ++__j) {
94 if (std::__invoke(__pred, std::__invoke(__proj1, *__i), std::__invoke(__proj2, *__j)))
102 for (auto __j = _IterOps<_AlgPolicy>::next(__i); __j != __last1; ++__j) {
103 if (std::__invoke(__pred, std::__invoke(__proj1, *__i), std::__invoke(__proj1, *__j)))
H A Dranges_find_first_of.h47 for (auto __j = __first2; __j != __last2; ++__j) { in __find_first_of_impl() local
48 if (std::invoke(__pred, std::invoke(__proj1, *__first1), std::invoke(__proj2, *__j))) in __find_first_of_impl()
H A Dprev_permutation.h43 _BidirectionalIterator __j = __last_iter; in __prev_permutation()
44 while (!__comp(*--__j, *__i)) in __prev_permutation() local
46 _IterOps<_AlgPolicy>::iter_swap(__i, __j); in __prev_permutation()
H A Dnext_permutation.h43 _BidirectionalIterator __j = __last_iter; in __next_permutation() local
44 while (!__comp(*__i, *--__j)) in __next_permutation()
46 _IterOps<_AlgPolicy>::iter_swap(__i, __j); in __next_permutation()
/freebsd/contrib/llvm-project/libcxx/include/__pstl/cpu_algos/
H A Dtransform_reduce.h81 for (_Size __j = 0; __j < __block_size; ++__j) { in __simd_transform_reduce() local
82 __lane[__j] = __binary_op(std::move(__lane[__j]), __f(__i + __j)); in __simd_transform_reduce()
87 for (_Size __j = 0; __j < __n - __last_iteration; ++__j) { in __simd_transform_reduce() local
88 __lane[__j] = __binary_op(std::move(__lane[__j]), __f(__last_iteration + __j)); in __simd_transform_reduce()
91 for (_Size __j = 0; __j < __block_size; ++__j) { in __simd_transform_reduce() local
92 __init = __binary_op(std::move(__init), std::move(__lane[__j])); in __simd_transform_reduce()
96 for (_Size __j = 0; __j < __block_size; ++__j) { in __simd_transform_reduce() local
97 __lane[__j].~_Tp(); in __simd_transform_reduce()
H A Dfind_if.h46 …Backend>::__for_each(__first, __last, [__comp, __f, __first, &__extremum](_Index __i, _Index __j) { in __parallel_find()
50 _Index __result = __f(__i, __j); in __parallel_find()
52 if (__result != __j) { in __parallel_find()
H A Dany_of.h35 …ret = __cpu_traits<_Backend>::__for_each(__first, __last, [__f, &__found](_Index __i, _Index __j) { in __parallel_or()
36 if (!__found.load(std::memory_order_relaxed) && __f(__i, __j)) { in __parallel_or()
/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dboyer_moore_searcher.h156 difference_type __j = __pattern_length_;
157 while (__pred_(__first_[__j - 1], __current[__j - 1])) {
158 --__j;
159 if (__j == 0)
163 difference_type __k = __skip_table[__current[__j - 1]];
164 difference_type __m = __j - __k - 1; in __search()
165 if (__k < __j && __m > __suffix_[__j]) in __search()
168 __current += __suffix_[__j]; in __search()
170 difference_type __j = __pattern_length_; __search() local
222 const size_t __j = __count - __scratch[__i]; __build_suffix_table() local
301 difference_type __j = __pattern_length_; __search() local
[all...]
/freebsd/contrib/llvm-project/libcxx/include/__random/
H A Dsubtract_with_carry_engine.h208 size_t __j = std::min(_Rp - __x.__i_, _Rp - __y.__i_);
209 if (!std::equal(__x.__x_ + __x.__i_, __x.__x_ + __x.__i_ + __j, __y.__x_ + __y.__i_))
212 return std::equal(__x.__x_ + __j, __x.__x_ + _Rp, __y.__x_); in __seed()
213 return std::equal(__x.__x_, __x.__x_ + (_Rp - __j), __y.__x_ + __j); in __seed()
216 size_t __j = _Rp - __y.__i_; in __seed()
217 if (!std::equal(__x.__x_ + __x.__i_, __x.__x_ + (__x.__i_ + __j), __y.__x_ + __y.__i_)) in __seed()
219 if (!std::equal(__x.__x_ + (__x.__i_ + __j), __x.__x_ + _Rp, __y.__x_)) in __seed()
221 return std::equal(__x.__x_, __x.__x_ + __x.__i_, __y.__x_ + (_Rp - (__x.__i_ + __j))); in __seed()
223 size_t __j
264 size_t __j = _VSTD::min(_Rp - __x.__i_, _Rp - __y.__i_); global() variable
274 size_t __j = _Rp - __y.__i_; global() variable
284 size_t __j = _Rp - __x.__i_; global() variable
317 for (size_t __j = __x.__i_ + 1; __j < _Rp; ++__j) global() variable
319 for (size_t __j = 0; __j < __x.__i_; ++__j) global() variable
[all...]
H A Dmersenne_twister_engine.h737 const size_t __j = (__i_ + 1) % __n;
739 const result_type __yp = (__x_[__i_] & ~__mask) | (__x_[__j] & __mask);
743 __i_ = __j;
769 size_t __j = std::min(_Np - __x.__i_, _Np - __y.__i_);
770 if (!std::equal(__x.__x_ + __x.__i_, __x.__x_ + __x.__i_ + __j, __y.__x_ + __y.__i_))
773 return std::equal(__x.__x_ + __j, __x.__x_ + _Np, __y.__x_);
774 return std::equal(__x.__x_, __x.__x_ + (_Np - __j), __y.__x_ + __j);
777 size_t __j = _Np - __y.__i_;
778 if (!std::equal(__x.__x_ + __x.__i_, __x.__x_ + (__x.__i_ + __j), __
402 const size_t __j = (__i_ + 1) % __n; operator() local
428 size_t __j = _VSTD::min(_Np - __x.__i_, _Np - __y.__i_); global() variable
438 size_t __j = _Np - __y.__i_; global() variable
448 size_t __j = _Np - __x.__i_; global() variable
487 for (size_t __j = __x.__i_ + 1; __j < _Np; ++__j) global() variable
489 for (size_t __j = 0; __j < __x.__i_; ++__j) global() variable
[all...]
H A Dshuffle_order_engine.h160 const size_t __j = static_cast<size_t>(__uratio<_Np, _Dp>::num * (__y_ - _Min) / __uratio<_Np, _Dp>::den);
161 __y_ = __v_[__j];
162 __v_[__j] = __e_();
169 const size_t __j = static_cast<size_t>(__fp * (__y_ - _Min));
170 __y_ = __v_[__j];
171 __v_[__j] = __e_();
/freebsd/contrib/llvm-project/libcxx/src/
H A Dvalarray.cpp36 for (size_t __j = __i + 1; __j != __indices.size(); ++__j) in __init()
37 __1d_[__k] -= __stride_[__j] * (__size_[__j] - 1); in __init()
42 for (size_t __j = __i + 1; __j != __indices.size(); ++__j) __init() local
/freebsd/contrib/llvm-project/libcxx/src/ryu/
H A Dd2fixed.cpp91 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline uint32_t __mulShift_mod1e9(const uint64_t __m, const uint64_t* const __mul, const int32_t __j) { in __mulShift_mod1e9() argument
105 _LIBCPP_ASSERT_INTERNAL(__j >= 128, ""); in __mulShift_mod1e9()
106 _LIBCPP_ASSERT_INTERNAL(__j <= 180, ""); in __mulShift_mod1e9()
108 const uint32_t __dist = static_cast<uint32_t>(__j - 128); // __dist: [0, 52] in __mulShift_mod1e9()
113 if (__j < 160) { // __j: [128, 160) in __mulShift_mod1e9()
117 return __mod1e9(__r2 >> (__j - 128)); in __mulShift_mod1e9()
118 } else { // __j: [160, 192) in __mulShift_mod1e9()
121 return __mod1e9(__r1 >> (__j - 160)); in __mulShift_mod1e9()
279 const uint32_t __j in __d2fixed_buffered_n() local
335 const int32_t __j = __ADDITIONAL_BITS_2 + (-__e2 - 16 * __idx); __d2fixed_buffered_n() local
475 const uint32_t __j = __p10bits - __e2; __d2exp_buffered_n() local
518 const int32_t __j = __ADDITIONAL_BITS_2 + (-__e2 - 16 * __idx); __d2exp_buffered_n() local
[all...]
H A Dd2s.cpp65 // represent. However, we then shift this value to the right by __j, which is
66 // at least __j >= 115, so the result is guaranteed to fit into 179 - 115 = 64
73 // lower result to the higher result, and shift by __j - 64 bits.
95 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline uint64_t __mulShift(const uint64_t __m, const uint64_t* const __mul, const int32_t __j) { in __mulShift() argument
105 return __ryu_shiftright128(__sum, __high1, static_cast<uint32_t>(__j - 64)); in __mulShift()
108 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline uint64_t __mulShiftAll(const uint64_t __m, const uint64_t* const __mul, const int32_t __j, in __mulShiftAll() argument
110 *__vp = __mulShift(4 * __m + 2, __mul, __j); in __mulShiftAll()
111 *__vm = __mulShift(4 * __m - 1 - __mmShift, __mul, __j); in __mulShiftAll()
112 return __mulShift(4 * __m, __mul, __j); in __mulShiftAll()
117 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline _LIBCPP_ALWAYS_INLINE uint64_t __mulShiftAll(uint64_t __m, const uint64_t* const __mul, const int32_t __j,
241 const int32_t __j = static_cast<int32_t>(__q) - __k; __d2d() local
[all...]
H A Df2s.cpp142 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline uint32_t __mulPow5InvDivPow2(const uint32_t __m, const uint32_t __q, const int32_t __j) { in __mulPow5InvDivPow2() argument
143 return __mulShift(__m, __FLOAT_POW5_INV_SPLIT[__q], __j); in __mulPow5InvDivPow2()
146 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline uint32_t __mulPow5divPow2(const uint32_t __m, const uint32_t __i, const int32_t __j) { in __mulPow5divPow2() argument
147 return __mulShift(__m, __FLOAT_POW5_SPLIT[__i], __j); in __mulPow5divPow2()
215 int32_t __j = static_cast<int32_t>(__q) - __k; in __f2d() local
216 __vr = __mulPow5divPow2(__mv, static_cast<uint32_t>(__i), __j); in __f2d()
217 __vp = __mulPow5divPow2(__mp, static_cast<uint32_t>(__i), __j); in __f2d()
218 __vm = __mulPow5divPow2(__mm, static_cast<uint32_t>(__i), __j); in __f2d()
220 __j = static_cast<int32_t>(__q) - 1 - (__pow5bits(__i + 1) - __FLOAT_POW5_BITCOUNT); in __f2d()
221 __lastRemovedDigit = static_cast<uint8_t>(__mulPow5divPow2(__mv, static_cast<uint32_t>(__i + 1), __j) in __f2d()
[all...]
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dalgorithm_impl.h
H A Dparallel_backend_utils.h
/freebsd/contrib/llvm-project/libcxx/include/__charconv/
H A Dtraits.h163 int __j = digits - 1;
171 __a = __inner_product(__cprod + __i + 1, __cprod + __j, __pow() + 1, __cprod[__i]);
172 if (__itoa::__mul_overflowed(__cprod[__j], __pow()[__j - __i], __b))
/freebsd/contrib/llvm-project/libcxx/include/
H A Dforward_list1024 iterator __j = std::next(__i);
1026 for (; __j != __e && __f != __l; ++__i, (void)++__j, ++__f)
1027 *__j = *__f;
1028 if (__j == __e)
1037 iterator __j = std::next(__i);
1039 for (; __j != __e && __n > 0; --__n, ++__i, ++__j)
1040 *__j = __v;
1041 if (__j == __e)
1322 iterator __j = std::next(__i, 2);
1323 for (; __j != __e && *__j == __v; ++__j)
[all …]
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_proc.c248 unsigned int __j; \
250 for (__j = 0; __j < hist_len; __j++) { \
251 sum[__j] += h[__j]; \
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Diota_view.h85 requires(_Iter __i, const _Iter __j, const _IotaDiffT<_Iter> __n) { in requires() argument
88 _Iter(__j + __n); in requires()
89 _Iter(__n + __j); in requires()
90 _Iter(__j - __n); in requires()
91 { __j - __j } -> convertible_to<_IotaDiffT<_Iter>>; in requires()
/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Dconcepts.h156 requires(_Ip __i, const _Ip __j, const iter_difference_t<_Ip> __n) { in requires() argument
158 { __j + __n } -> same_as<_Ip>; in requires()
159 { __n + __j } -> same_as<_Ip>; in requires()
161 { __j - __n } -> same_as<_Ip>; in requires()
162 { __j[__n] } -> same_as<iter_reference_t<_Ip>>; in requires()

12