| /llvm-project-15.0.7/libcxx/test/std/ranges/range.factories/range.iota.view/ |
| H A D | types.h | 23 lhs.value_ += rhs.value_; return lhs; 26 lhs.value_ -= rhs.value_; return lhs; 37 return SomeInt{lhs.value_ + rhs.value_}; 40 return lhs.value_ - rhs.value_; 71 return lhs.value_ == rhs.value_; 84 return lhs.value_ - rhs.value_; 100 return lhs.value_ == rhs.value_; 113 return lhs.value_ - rhs.value_; 146 return lhs.value_ - rhs.value_; 174 return lhs.value_ - rhs.value_; [all …]
|
| H A D | ctor.value.pass.cpp | 23 SomeInt value_; member 24 constexpr SomeIntComparable() : value_(SomeInt(10)) {} in SomeIntComparable() 27 return lhs.value_ == rhs.value_; in operator ==() 30 return lhs.value_ == rhs; in operator ==() 33 return lhs == rhs.value_; in operator ==() 37 return lhs.value_ - rhs.value_; in operator -() 40 constexpr SomeIntComparable& operator++() { ++value_; return *this; } in operator ++() 41 constexpr SomeIntComparable operator++(int) { auto tmp = *this; ++value_; return tmp; } in operator ++() 42 constexpr SomeIntComparable operator--() { --value_; return *this; } in operator --() 48 assert((*io.begin()).value_ == 42); in test()
|
| H A D | ctor.default.pass.cpp | 23 assert((*io.begin()).value_ == 42); in test()
|
| /llvm-project-15.0.7/libcxx/test/support/type_classification/ |
| H A D | swappable.h | 28 : value_(other.value_), in lvalue_adl_swappable() 33 value_ = other.value_; 64 : value_(other.value_), in lvalue_rvalue_adl_swappable() 69 value_ = other.value_; 101 : value_(other.value_), in rvalue_lvalue_adl_swappable() 106 value_ = other.value_; 136 : value_(other.value_), in rvalue_adl_swappable() 141 value_ = other.value_; 173 : value_(other.value_), in non_move_constructible_adl_swappable() 178 value_ = other.value_; [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
| H A D | construct_piecewise_pair_evil.pass.cpp | 51 WidgetV0(int v) : value_(v) {} in WidgetV0() 54 return value_ == v; in holds() 57 int value_; member 63 WidgetV1(int v) : value_(v), alloc_() {} in WidgetV1() 67 return value_ == v && alloc_.inner_ == a; in holds() 70 int value_; member 77 WidgetV2(int v) : value_(v), alloc_() {} in WidgetV2() 81 return value_ == v && alloc_.inner_ == a; in holds() 84 int value_; member 91 WidgetV3(int v) : value_(v), alloc_() {} in WidgetV3() [all …]
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | boolean_testable.h | 19 return value_; 23 return lhs.value_ == rhs.value_; 31 return BooleanTestable{!value_}; 35 constexpr BooleanTestable(bool value) : value_{value} {} in BooleanTestable() 40 bool value_; 47 constexpr StrictComparable(T value) : value_{value} {} in StrictComparable() 50 return (lhs.value_ == rhs.value_); 58 T value_;
|
| H A D | test_transparent_unordered.h | 49 explicit SearchedType(T value, int *counter) : value_(value), conversions_(counter) { } in SearchedType() 55 return StoredType<T>{value_}; 59 return value_; in get_value() 63 T value_; 70 StoredType(T value) : value_(value) { } in StoredType() 73 return lhs.value_ == rhs.value_; 82 return lhs.value_ == rhs.get_value(); 86 return value_; in get_value() 90 T value_;
|
| H A D | hexfloat.h | 23 T value_; variable 43 value_ = std::ldexp(m1 + s * std::ldexp(T(m0), exp2), exp); in hexfloat() 46 operator T() const {return value_;} in T()
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.factories/range.iota.view/iterator/ |
| H A D | star.pass.cpp | 28 int value_; member 29 constexpr explicit NotNoexceptCopy(int value = 0) : value_(value) {} in NotNoexceptCopy() 35 lhs.value_ += rhs.value_; return lhs; in operator +=() 38 lhs.value_ -= rhs.value_; return lhs; in operator -=() 42 return NotNoexceptCopy{lhs.value_ + rhs.value_}; in operator +() 45 return lhs.value_ - rhs.value_; in operator -() 48 constexpr NotNoexceptCopy& operator++() { ++value_; return *this; } in operator ++() 49 constexpr void operator++(int) { ++value_; } in operator ++()
|
| H A D | ctor.default.pass.cpp | 23 assert((*iter).value_ == 42); in test()
|
| /llvm-project-15.0.7/flang/include/flang/Common/ |
| H A D | fast-int-set.h | 37 const int *value() const { return &value_[0]; } in value() 48 value_[j] = index_[j] = 0; in InitializeState() 57 return j >= 0 && j < size_ && value_[j] == n; in Contains() 66 value_[index_[n] = size_++] = n; in Add() 77 int last{value_[--size_]}; in Remove() 78 value_[index_[last] = index_[n]] = last; in Remove() 90 return value_[--size_]; in PopValue() 97 return j >= 0 && j < size_ && value_[j] == n; in UncheckedContains() 100 int value_[N]; variable
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
| H A D | PR23256_constrain_UTypes_ctor.pass.cpp | 33 int value_; member 35 UnconstrainedCtor() : value_(0) {} in UnconstrainedCtor() 42 constexpr UnconstrainedCtor(T value) noexcept(noexcept(value_ = value)) in UnconstrainedCtor() 43 : value_(static_cast<int>(value)) in UnconstrainedCtor() 50 int value_; member 52 ExplicitUnconstrainedCtor() : value_(0) {} in ExplicitUnconstrainedCtor() 56 noexcept(noexcept(value_ = value)) in ExplicitUnconstrainedCtor() 57 : value_(static_cast<int>(value)) in ExplicitUnconstrainedCtor()
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/ |
| H A D | iter_swap.pass.cpp | 25 int &value_; member 26 constexpr explicit HasIterSwap(int &value) : value_(value) { assert(value == 0); } in HasIterSwap() 29 a.value_ = 1; in iter_swap() 30 b.value_ = 1; in iter_swap() 33 a.value_ = 2; in iter_swap() 57 int &value_; member 61 a.value_ = 1; in swap() 62 b.value_ = 1; in swap() 65 a.value_ = 2; in swap() 73 HasRangesSwap &value_; member [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
| H A D | types.h | 26 : count_(count), value_(*count) in DestroyInReverseOrder() 30 : count_(other.count_), value_(*other.count_) in DestroyInReverseOrder() 33 constexpr int value() const { return value_; } in value() 38 assert(*count_ == value_); in ~DestroyInReverseOrder() 43 int value_; member
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Darwin/ |
| H A D | asan-symbolize-templated-cxx.cpp | 15 int value_; member in IntWrapper 19 IntWrapper(int value, std::function<CallBackTy> callback) : value_(value), callback_(callback) {} in IntWrapper() 21 value_ = new_value; in operator =() 22 callback_(value_); in operator =()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/ |
| H A D | gtest-port.h | 1573 ValueHolder() : value_() {} 1576 T* pointer() { return &value_; } 1579 T value_; 1616 return new ValueHolder(value_); 1770 ValueHolder() : value_() {} 1773 T* pointer() { return &value_; } 1776 T value_; 1825 return new ValueHolder(value_); 1878 ThreadLocal() : value_() {} 1880 T* pointer() { return &value_; } [all …]
|
| H A D | gtest-param-util.h | 228 : base_(base), value_(value), index_(index), step_(step) {} in Iterator() 235 value_ = static_cast<T>(value_ + step_); in Advance() 241 const T* Current() const override { return &value_; } in Current() 256 base_(other.base_), value_(other.value_), index_(other.index_), in Iterator() 263 T value_; variable 323 value_.reset(); in Advance() 336 if (value_.get() == nullptr) value_.reset(new T(*iterator_)); in Current() 337 return value_.get(); in Current() 364 mutable std::unique_ptr<const T> value_; variable
|
| /llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/ |
| H A D | gmock-actions.h | 247 explicit FixedValueProducer(T value) : value_(value) {} 248 T Produce() override { return value_; } 251 const T value_; 549 return Action<F>(new Impl<R, F>(value_)); 579 Result value_; 609 const std::shared_ptr<R> value_; 702 return Action<F>(new Impl<F>(value_)); 718 T value_; 723 const T value_; 746 *ptr_ = value_; [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | warn-thread-safety-analysis.mm | 8 int value_; field 20 value_ += 1; 25 value_ -= 1;
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.friend/ |
| H A D | p1.cpp | 5 T value_; member 8 Num(T value) : value_(value) {} in Num() 9 T get() const { return value_; } in get() 24 return a.value_ + b.value_; in operator +() 28 value_ += b.value_; in operator +=()
|
| /llvm-project-15.0.7/flang/lib/Decimal/ |
| H A D | decimal-to-binary.cpp | 201 value_ = n; in SetTo() 207 value_ = n; in SetTo() 211 value_ = n >> shift; in SetTo() 220 void ShiftIn(int bit = 0) { value_ = value_ + value_ + bit; } in ShiftIn() 221 bool IsFull() const { return value_ >= topBit; } in IsFull() 235 IntType value_{0}; member in Fortran::decimal::IntermediateFloat 246 IntType fraction{value_}; in ToBinary()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | builtin-constant-p.cpp | 16 : value_(static_cast<T>(value)) {} in numeric() 19 const T value_; member in numeric
|
| /llvm-project-15.0.7/libcxx/test/std/language.support/cmp/cmp.alg/ |
| H A D | compare_partial_order_fallback.pass.cpp | 250 double value_; member 251 constexpr explicit A(Stats *stats, double value) : stats_(stats), value_(value) {} in A() 252 … friend constexpr bool operator==(A a, A b) { a.stats_->eq += 1; return a.value_ == b.value_; } in operator ==() 253 friend constexpr bool operator<(A a, A b) { a.stats_->lt += 1; return a.value_ < b.value_; } in operator <()
|
| /llvm-project-15.0.7/pstl/test/std/algorithms/alg.nonmodifying/ |
| H A D | count.pass.cpp | 52 IsEqual(T value_, OddTag) : value(value_) {} in IsEqual() argument
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/ |
| H A D | gtest-typed-test.h | 55 T value_; 74 TypeParam n = this->value_;
|