| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/iterator.cust/ |
| H A D | unqualified_lookup_wrapper.h | 21 constexpr explicit unqualified_lookup_wrapper(I i) noexcept : base_(std::move(i)) {} in unqualified_lookup_wrapper() 23 constexpr decltype(auto) operator*() const noexcept { return *base_; } in decltype() 26 ++base_; 30 constexpr void operator++(int) noexcept { ++base_; } 33 return base_ == other.base_; 39 return std::ranges::iter_move(i.base_); in decltype() 43 I base_ = I{};
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | test_iterators.h | 789 return It(x.base_) < It(y.base_); 795 return It(x.base_) > It(y.base_); 801 return It(x.base_) <= It(y.base_); 1126 return x.base_ == y.base_; 1171 return x.base_ < y.base_; 1176 return x.base_ > y.base_; 1181 return x.base_ <= y.base_; 1186 return x.base_ >= y.base_; 1191 return x.base_ <=> y.base_; 1211 return x.base_ - y.base_; [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | variable.h | 79 : base_{std::move(b)}, symbol_{c} {} in Component() 82 DataRef &base() { return base_.value(); } in base() 91 common::CopyableIndirection<DataRef> base_; 136 : base_{std::move(x)}, parameter_{param} {} in TypeParamInquiry() 149 std::optional<NamedEntity> base_; 210 NamedEntity &base() { return base_; } in base() 230 NamedEntity base_; 253 SymbolVector &base() { return base_; } in base() 278 SymbolVector base_; 414 NamedEntity &base() { return base_; } in base() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.utility/range.subrange/ |
| H A D | types.h | 71 : base_(ptr), minusWasCalled_(minusWasCalled) in SizedSentinelForwardIter() 74 …iend constexpr bool operator==(const self& lhs, const self& rhs) { return lhs.base_ == rhs.base_; } 89 return a.base_ - b.base_; 93 int *base_ = nullptr; 106 int *base_ = nullptr; member 109 constexpr explicit ConvertibleForwardIter(int *ptr) : base_(ptr) { } in ConvertibleForwardIter() 120 constexpr operator pointer() const { return base_; } in pointer() 140 int *base_ = nullptr; member 143 constexpr explicit ConditionallyConvertibleBase(int *ptr) : base_(ptr) {} in ConditionallyConvertibleBase() 145 constexpr int *base() const { return base_; } in base() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/ |
| H A D | types.h | 49 constexpr explicit assignable_sentinel(const It& it) : base_(base(it)) {} in assignable_sentinel() 50 constexpr operator It() const { return It(base_); } in It() 51 constexpr bool operator==(const It& other) const { return base_ == base(other); } 52 friend constexpr It base(const assignable_sentinel& s) { return It(s.base_); } in base() 54 decltype(base(std::declval<It>())) base_;
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | variable.cpp | 84 CHECK(!base_.empty()); 246 const Symbol &last{base_.GetLastSymbol()}; 307 return base_.LEN(); in LEN() 427 return base_.back()->Rank(); in Rank() 460 return base_.value().GetFirstSymbol(); in GetFirstSymbol() 501 return base_.GetFirstSymbol(); in GetFirstSymbol() 645 return base_ == that.base_ && &*symbol_ == &*that.symbol_; in operator ==() 656 return &*parameter_ == &*that.parameter_ && base_ == that.base_; in operator ==() 664 return base_ == that.base_ && subscript_ == that.subscript_; in operator ==() 667 return base_ == that.base_ && subscript_ == that.subscript_ && in operator ==() [all …]
|
| H A D | formatting.cpp | 620 if (base_) { in AsFortran() 621 base_.value().AsFortran(o) << '%'; in AsFortran() 627 base_.value().AsFortran(o); in AsFortran() 652 base_.AsFortran(o); in AsFortran() 663 for (const Symbol &part : base_) { in AsFortran() 741 base_.AsFortran(o); in AsFortran()
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/predef.iterators/iterators.common/ |
| H A D | types.h | 162 T base_; member 165 …friend constexpr bool operator==(const sentinel_type& lhs, const U& rhs) { return lhs.base_ == bas… 167 …onstexpr bool operator==(const U& lhs, const sentinel_type& rhs) { return base(lhs) == rhs.base_; } 172 T base_; member 175 …friend constexpr bool operator==(const sized_sentinel_type& lhs, const U& rhs) { return lhs.base_ … 177 …xpr bool operator==(const U& lhs, const sized_sentinel_type& rhs) { return base(lhs) - rhs.base_; } 179 …friend constexpr auto operator- (const sized_sentinel_type& lhs, const U& rhs) { return lhs.base_ … 181 …xpr auto operator- (const U& lhs, const sized_sentinel_type& rhs) { return base(lhs) - rhs.base_; } 224 T base_; member 227 … operator==(const sentinel_throws_on_convert& lhs, const U& rhs) { return lhs.base_ == base(rhs); } [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Syntax/ |
| H A D | Syntax.td | 48 class External<NodeType base_> : NodeType { let base = base_; } 60 class Alternatives<NodeType base_ = Tree> : NodeType { let base = base_; } 64 class Unconstrained<NodeType base_ = Tree> : NodeType { let base = base_; } 79 class Sequence<NodeType base_ = Tree> : NodeType { 80 let base = base_;
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/ |
| H A D | iter_move.pass.cpp | 32 constexpr explicit iterator_wrapper(I i) noexcept : base_(std::move(i)) {} in iterator_wrapper() 35 constexpr decltype(auto) operator*() const& noexcept(false) { return *base_; } in operator *() 38 constexpr auto&& operator*() && noexcept { return std::move(*base_); } in operator *() 41 ++base_; in operator ++() 45 constexpr void operator++(int) noexcept { ++base_; } in operator ++() 47 …expr bool operator==(iterator_wrapper const& other) const noexcept { return base_ == other.base_; } in operator ==() 50 I base_ = I{};
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/ |
| H A D | minus.pass.cpp | 66 Base base_; member 68 constexpr convertible_sized_sentinel(const Base& it) : base_(it) {} in convertible_sized_sentinel() 71 …expr convertible_sized_sentinel(const convertible_sized_sentinel<U>& other) : base_(other.base_) {} in convertible_sized_sentinel() 76 return s.base_ == base; in operator ==() 81 return s.base_ - i; in operator -() 87 return i - s.base_; in operator -()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/ |
| H A D | gtest-param-util.h | 228 : base_(base), value_(value), index_(index), step_(step) {} in Iterator() 232 return base_; in BaseGenerator() 256 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator() 262 const ParamGeneratorInterface<T>* const base_; variable 315 : base_(base), iterator_(iterator) {} in Iterator() 319 return base_; in BaseGenerator() 354 base_(other.base_), in Iterator() 357 const ParamGeneratorInterface<T>* const base_; variable 780 : base_(base), in IteratorImpl() 789 return base_; in BaseGenerator() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.utility/view.interface/ |
| H A D | view.interface.pass.cpp | 135 int *base_; member 137 constexpr explicit SentinelType(int *base) : base_(base) {} in SentinelType() 138 …(ForwardIter const& iter, SentinelType const& sent) noexcept { return {base(iter) == sent.base_}; } in operator ==() 139 …(SentinelType const& sent, ForwardIter const& iter) noexcept { return {base(iter) == sent.base_}; } in operator ==() 140 …(ForwardIter const& iter, SentinelType const& sent) noexcept { return {base(iter) != sent.base_}; } in operator !=() 141 …(SentinelType const& sent, ForwardIter const& iter) noexcept { return {base(iter) != sent.base_}; } in operator !=() 304 struct V2 : std::ranges::view_interface<V2> { V1 base_; }; member
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_fuchsia.cpp | 190 base_ = reinterpret_cast<void *>(base); in Init() 195 return reinterpret_cast<uptr>(base_); in Init() 229 return DoMmapFixedOrDie(os_handle_, fixed_addr, map_size, base_, name_, in Map() 235 return DoMmapFixedOrDie(os_handle_, fixed_addr, map_size, base_, name_, true); in MapOrDie() 257 if (addr == reinterpret_cast<uptr>(base_)) { in Unmap() 267 CHECK_EQ(addr + size, reinterpret_cast<uptr>(base_) + size_); in Unmap()
|
| H A D | sanitizer_posix_libcdep.cpp | 338 base_ = fixed_addr ? MmapFixedNoAccess(fixed_addr, size, name) in Init() 343 return reinterpret_cast<uptr>(base_); in Init() 360 if (addr == reinterpret_cast<uptr>(base_)) in Unmap() 362 base_ = (size == size_) ? nullptr : reinterpret_cast<void*>(addr + size); in Unmap() 364 CHECK_EQ(addr + size, reinterpret_cast<uptr>(base_) + size_); in Unmap()
|
| H A D | sanitizer_win.cpp | 302 CHECK((addr == reinterpret_cast<uptr>(base_)) && (size == size_)); in Unmap() 304 base_ = nullptr; in Unmap() 327 base_ = fixed_addr ? MmapFixedNoAccess(fixed_addr, size) : MmapNoAccess(size); in Init() 331 return reinterpret_cast<uptr>(base_); in Init()
|
| H A D | sanitizer_common.h | 188 void *base() const { return base_; } in base() 192 void* base_;
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | arm_mve_defs.td | 364 class IB_EltBit<int base_, Type type_ = Scalar> : ImmediateBounds { 365 int base = base_;
|
| H A D | arm_sve.td | 572 def SVST1_SCATTER_BASES_U : MInst<"svst1_scatter[_{2}base_{d}]", "vPud", "ilUiUlfd", [IsScatt… 573 def SVST1B_SCATTER_BASES_U : MInst<"svst1b_scatter[_{2}base_{d}]", "vPud", "ilUiUl", [IsScatt… 574 def SVST1H_SCATTER_BASES_U : MInst<"svst1h_scatter[_{2}base_{d}]", "vPud", "ilUiUl", [IsScatt… 575 def SVST1W_SCATTER_BASES_U : MInst<"svst1w_scatter[_{2}base_{d}]", "vPud", "lUl", [IsScatt… 1893 def SVSTNT1_SCATTER_BASES_U : MInst<"svstnt1_scatter[_{2}base_{d}]", "vPud", "ilUiUlfd", [IsScatt… 1894 def SVSTNT1B_SCATTER_BASES_U : MInst<"svstnt1b_scatter[_{2}base_{d}]", "vPud", "ilUiUl", [IsScatt… 1895 def SVSTNT1H_SCATTER_BASES_U : MInst<"svstnt1h_scatter[_{2}base_{d}]", "vPud", "ilUiUl", [IsScatt… 1896 def SVSTNT1W_SCATTER_BASES_U : MInst<"svstnt1w_scatter[_{2}base_{d}]", "vPud", "lUl", [IsScatt…
|