Home
last modified time | relevance | path

Searched refs:v_ (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/libcxx/test/support/
H A Dnasty_containers.h37 nasty_vector() : v_() {} in nasty_vector()
38 explicit nasty_vector(size_type n) : v_(n) {} in nasty_vector()
80 reference front() { return v_.front(); } in front()
81 const_reference front() const { return v_.front(); } in front()
82 reference back() { return v_.back(); } in back()
83 const_reference back() const { return v_.back(); } in back()
108 { return v_.insert(pos, first, last); } in insert()
117 void clear() TEST_NOEXCEPT { v_.clear(); } in clear()
128 { v_.swap(nv.v_); } in swap()
133 nested_container v_; variable
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
H A Dmove.fail.cpp32 constexpr S() : v_(0) {} in S()
33 S(int v) : v_(v) {} in S()
34 constexpr S(const S &rhs) : v_(rhs.v_) {} // not trivially moveable in S()
35 constexpr S( S &&rhs) : v_(rhs.v_) {} // not trivially moveable in S()
36 int v_; member
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.modifiers/
H A Derase_iter.pass.cpp24 Throws() : v_(0) {} in Throws()
25 Throws(int v) : v_(v) {} in Throws()
26 Throws(const Throws &rhs) : v_(rhs.v_) { if (sThrows) throw 1; } in Throws()
27 Throws( Throws &&rhs) : v_(rhs.v_) { if (sThrows) throw 1; } in Throws()
28 Throws& operator=(const Throws &rhs) { v_ = rhs.v_; return *this; } in operator =()
29 Throws& operator=( Throws &&rhs) { v_ = rhs.v_; return *this; } in operator =()
30 int v_; member
H A Derase_iter_iter.pass.cpp26 Throws() : v_(0) {} in Throws()
27 Throws(int v) : v_(v) {} in Throws()
28 Throws(const Throws &rhs) : v_(rhs.v_) { if (sThrows) throw 1; } in Throws()
29 Throws( Throws &&rhs) : v_(rhs.v_) { if (sThrows) throw 1; } in Throws()
30 Throws& operator=(const Throws &rhs) { v_ = rhs.v_; return *this; } in operator =()
31 Throws& operator=( Throws &&rhs) { v_ = rhs.v_; return *this; } in operator =()
32 int v_; member
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.modifiers/
H A Derase_iter.pass.cpp23 Throws() : v_(0) {} in Throws()
24 Throws(int v) : v_(v) {} in Throws()
25 Throws(const Throws &rhs) : v_(rhs.v_) { if (sThrows) throw 1; } in Throws()
26 Throws( Throws &&rhs) : v_(rhs.v_) { if (sThrows) throw 1; } in Throws()
27 Throws& operator=(const Throws &rhs) { v_ = rhs.v_; return *this; } in operator =()
28 Throws& operator=( Throws &&rhs) { v_ = rhs.v_; return *this; } in operator =()
29 int v_; member
H A Derase_iter_iter.pass.cpp23 Throws() : v_(0) {} in Throws()
24 Throws(int v) : v_(v) {} in Throws()
25 Throws(const Throws &rhs) : v_(rhs.v_) { if (sThrows) throw 1; } in Throws()
26 Throws( Throws &&rhs) : v_(rhs.v_) { if (sThrows) throw 1; } in Throws()
27 Throws& operator=(const Throws &rhs) { v_ = rhs.v_; return *this; } in operator =()
28 Throws& operator=( Throws &&rhs) { v_ = rhs.v_; return *this; } in operator =()
29 int v_; member
/llvm-project-15.0.7/libcxx/test/libcxx/containers/views/views.span/span.cons/
H A Drange.pass.cpp33 constexpr IsAContainer() : v_{} {} in IsAContainer()
35 constexpr T *data() {return &v_;} in data()
36 constexpr const T *data() const {return &v_;} in data()
37 constexpr T *begin() {return &v_;} in begin()
38 constexpr const T *begin() const {return &v_;} in begin()
39 constexpr T *end() {return &v_ + 1;} in end()
40 constexpr const T *end() const {return &v_ + 1;} in end()
42 constexpr T const *getV() const {return &v_;} // for checking in getV()
43 T v_; member
H A Drange.verify.cpp35 constexpr IsAContainer() : v_{} {} in IsAContainer()
37 constexpr T *data() {return &v_;} in data()
38 constexpr const T *data() const {return &v_;} in data()
40 constexpr const T *getV() const {return &v_;} // for checking in getV()
41 T v_; member
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.lazy.split/
H A Dbase.pass.cpp44 std::string_view v_; member
46 constexpr ViewWithInitTracking(std::string_view v) : v_(v) {} in ViewWithInitTracking()
48 constexpr auto begin() const { return v_.begin(); } in begin()
49 constexpr auto end() const { return v_.end(); } in end()
51 …constexpr ViewWithInitTracking(const ViewWithInitTracking& rhs) : v_(rhs.v_) { initialized_by = In… in ViewWithInitTracking()
52 …constexpr ViewWithInitTracking(ViewWithInitTracking&& rhs) : v_(rhs.v_) { initialized_by = Initial… in ViewWithInitTracking()
55 constexpr bool operator==(const ViewWithInitTracking& rhs) const { return v_ == rhs.v_; } in operator ==()
H A Dadaptor.pass.cpp31 const std::string_view* v_; member
32 constexpr SomeView(const std::string_view& v) : v_(&v) {} in SomeView()
33 constexpr auto begin() const { return v_->begin(); } in begin()
34 constexpr auto end() const { return v_->end(); } in end()
/llvm-project-15.0.7/libcxx/test/std/algorithms/
H A Drobust_against_proxy_iterators_lifetime_bugs.pass.cpp128 Reference(const Reference& rhs) : v_(rhs.v_) { in Reference()
148 v_ = rhs.v_; in operator =()
160 v_ = rhs.v_; in operator =()
187 return *lhs.v_ < *rhs.v_; in operator <()
194 return *lhs.v_ == *rhs.v_; in operator ==()
201 std::swap(*(lhs.v_), *(rhs.v_)); in swap()
369 v_ = rhs.v_; in operator =()
385 v_ = rhs.v_; in operator =()
403 return *lhs.v_ < *rhs.v_; in operator <()
408 return *lhs.v_ == *rhs.v_; in operator ==()
[all …]
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Windows/
H A Ddemangled_names.cpp30 A(T v) { v_ = v; } in A()
32 char *v_; member
38 baz<char*, true>(v_); in ~A()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcxx11-crashes.cpp43 T & v_; member
44 inline addr_impl_ref( T & v ): v_( v ) { in addr_impl_ref()
46 inline operator T& () const {return v_;} in operator T&()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Daccess.cpp53 int v_; member
55 … U() : v_(A::x) { } // expected-error {{'x' is a private member of 'PR15209::alias_templates::A'}} in U()
60 int v_; member
61 … U() : v_(A::y) { } // expected-error {{'y' is a private member of 'PR15209::alias_templates::A'}} in U()
H A Dtypo-correction.cpp10 int v_; member
11 operator int() const {return v_;} in operator int()
/llvm-project-15.0.7/clang/test/CXX/expr/expr.prim/expr.prim.general/
H A Dp3-0x.cpp95 T v_; member in PR15290::A
96 friend int add_to_v(A &t) noexcept(noexcept(v_ + 42)) in add_to_v()
98 return t.v_ + 42; in add_to_v()
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dllvm.amdgcn.ds.ordered.add.gfx10.ll5 ; GCN-DAG: v_{{(dual_)?}}mov_b32{{(_e32)?}} v[[INCR:[0-9]+]], 31
15 ; GCN-DAG: v_{{(dual_)?}}mov_b32{{(_e32)?}} v[[INCR:[0-9]+]], 31
H A Dllvm.amdgcn.init.exec.ll89 ; GCN-NOT: {{^}}v_
120 ; GCN-NOT: {{^}}v_
154 ; GCN-NOT: {{^}}v_
H A Dllvm.amdgcn.permlane.ll222 ; GFX10PLUS: v_{{(dual_)?}}mov_b32{{(_e32)?}} [[OLD:v[0-9]+]], 0x3039
280 ; GFX10PLUS: v_{{(dual_)?}}mov_b32{{(_e32)?}} [[OLD:v[0-9]+]], 0x3039
H A Dmad-mix.ll347 ; GCN-NEXT: v_{{mad|fma}}_f32 v0, v0, v1, v2
/llvm-project-15.0.7/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
H A DF.pass.cpp53 std::vector<int> v_; // so f's copy-ctor calls operator new member
54 explicit F() : v_(10) {} in F()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-param-util.h738 ValueArray(Ts... v) : v_{std::move(v)...} {} in ValueArray()
748 return std::vector<T>{static_cast<T>(v_.template Get<I>())...}; in MakeVector()
751 FlatTuple<Ts...> v_; variable
/llvm-project-15.0.7/polly/lib/External/isl/imath/
H A Dimath.c102 unsigned char *v_ = u_ + N - 1; in REV() local
103 while (u_ < v_) { in REV()
105 *u_++ = *v_; in REV()
106 *v_-- = xch; in REV()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIROps.td1340 // %r_{ij} = %f if (i,j) = (%i,%j), %v_{ij} otherwise