Home
last modified time | relevance | path

Searched refs:copied (Results 1 – 25 of 263) sorted by relevance

1234567891011

/llvm-project-15.0.7/libcxx/test/support/
H A Demplace_constructible.h16 int copied = 0; member
22 : copied(Other.copied + 1), value(std::move(Other.value)) {} in EmplaceConstructibleAndMoveInsertable()
27 int copied = 0; member
33 noexcept : copied(Other.copied + 1), in EmplaceConstructibleAndMoveable()
38 copied = Other.copied;
47 int copied = 0; member
55 : copied(Other.copied + 1), in EmplaceConstructibleMoveableAndAssignable()
60 copied = Other.copied;
H A Dany_helpers.h101 static int copied; member
107 small_type::copied = 0; in reset()
128 ++copied; in small_type()
135 ++copied; in small_type()
181 static int copied; member
209 ++copied; in large_type()
216 ++copied; in large_type()
274 static int copied; member
312 static int copied; member
353 static int copied; member
[all …]
H A Dexperimental_any_helpers.h73 static int copied; member
79 small_type::copied = 0; in reset()
94 ++copied; in throw()
101 ++copied; in throw()
126 int small_type<Dummy>::copied = 0;
147 static int copied; member
153 large_type::copied = 0; in reset()
169 ++copied; in large_type()
176 ++copied; in large_type()
202 int large_type<Dummy>::copied = 0;
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_sort.c57 size_t copied = 0; in msort() local
89 if (copied == 0) { in msort()
103 copied += (lo - ls); in msort()
108 copied += (hi - hs); in msort()
110 } else if (copied) { in msort()
112 copied += (lo - ls); in msort()
116 memcpy (a1, buf, copied); in msort()
126 copied += (am - lo); in msort()
129 memcpy (a1, buf, copied); in msort()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.filter/
H A Dctor.view_pred.pass.cpp76 bool moved = false, copied = false; in test() local
77 TrackingRange range(&moved, &copied); in test()
81 assert(!copied); in test()
86 bool moved = false, copied = false; in test() local
88 TrackingPred pred(&moved, &copied); in test()
91 assert(!copied); in test()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dirtranslator-dilocation.ll6 ; CHECK: Checking DILocation from %retval = alloca i32, align 4 was copied to G_FRAME_INDEX
7 ; CHECK: Checking DILocation from %rv = alloca i32, align 4 was copied to G_FRAME_INDEX
8 ; CHECK: Checking DILocation from store i32 0, i32* %retval, align 4 was copied to G_CONSTANT
9 ; CHECK: Checking DILocation from store i32 0, i32* %retval, align 4 was copied to G_STORE
10 ; CHECK: Checking DILocation from store i32 0, i32* %rv, align 4, !dbg !12 was copied to G_STORE …
11 ; CHECK: Checking DILocation from %0 = load i32, i32* %rv, align 4, !dbg !13 was copied to G_LOAD…
12 ; CHECK: Checking DILocation from ret i32 %0, !dbg !14 was copied to COPY debug-location !14; t.c…
13 ; CHECK: Checking DILocation from ret i32 %0, !dbg !14 was copied to RET_ReallyLR implicit $w0, d…
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.pair/
H A Dassign_rv_pair.pass.cpp25 int copied = 0; member
29 ++copied; in operator =()
86 assert(p.first.copied == 1); in test()
88 assert(p2.first.copied == 0); in test()
97 assert(p.first.copied == 0); in test()
99 assert(p2.first.copied == 0); in test()
H A Dassign_pair.pass.cpp25 int copied = 0; member
29 ++copied; in operator =()
71 assert(p.first.copied == 1); in test()
73 assert(p2.first.copied == 0); in test()
H A Dassign_rv_pair_U_V.pass.cpp29 int copied = 0; member
34 ++copied; in operator =()
79 assert(p.second.copied == 0); in test()
81 assert(t.second.copied == 0); in test()
/llvm-project-15.0.7/libcxx/test/libcxx/algorithms/alg.sorting/alg.heap.operations/make.heap/
H A Dcomplexity.pass.cpp24 int copied = 0; member
31 MyInt(const MyInt& other) : value(other.value) { ++stats.copied; } in MyInt()
35 ++stats.copied; in operator =()
65 assert(stats.copied == 0); in main()
/llvm-project-15.0.7/libcxx/test/libcxx/algorithms/alg.sorting/alg.heap.operations/sort.heap/
H A Dcomplexity.pass.cpp24 int copied = 0; member
31 MyInt(const MyInt& other) : value(other.value) { ++stats.copied; } in MyInt()
35 ++stats.copied; in operator =()
66 assert(stats.copied == 0); in main()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/
H A Dsortable_helpers.h86 int copied = 0; member
91 constexpr TracedCopy(const TracedCopy& other) : copied(other.copied + 1), data(other.data) {} in TracedCopy()
97 copied = other.copied + 1;
102 constexpr bool copiedOnce() const { return copied == 1; } in copiedOnce()
/llvm-project-15.0.7/libcxx/test/std/utilities/any/any.class/any.modifiers/
H A Dswap.pass.cpp46 assert(LHS::copied == 0); in test_swap()
47 assert(RHS::copied == 0); in test_swap()
79 assert(Tp::copied == 0); in test_swap_empty()
103 assert(T::copied == 0); in test_self_swap()
114 assert(T::copied == 0); in test_self_swap()
/llvm-project-15.0.7/libcxx/test/std/utilities/any/any.class/any.assign/
H A Dcopy.pass.cpp39 assert(RHS::copied == 0); in test_copy_assign()
43 assert(RHS::copied == 1); in test_copy_assign()
63 assert(LHS::copied == 0); in test_copy_assign_empty()
67 assert(LHS::copied == 1); in test_copy_assign_empty()
80 assert(LHS::copied == 0); in test_copy_assign_empty()
84 assert(LHS::copied == 0); in test_copy_assign_empty()
H A Dvalue.pass.cpp40 assert(RHS::copied == 0); in test_assign_value()
44 assert(RHS::copied == 1); in test_assign_value()
66 assert(RHS::copied == 0); in test_assign_value()
87 assert(RHS::copied == 0); in test_assign_value_empty()
92 assert(RHS::copied == 1); in test_assign_value_empty()
107 assert(RHS::copied == 0); in test_assign_value_empty()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/
H A Dranges.fill_n.pass.cpp63 bool copied = false; in test() member
65 assert(!copied); in test()
66 copied = true; in test()
73 assert(std::all_of(a, a + 5, [](S& s) { return s.copied; })); in test()
H A Dranges.fill.pass.cpp90 bool copied = false; in test() member
92 copied = true; in test()
99 assert(std::all_of(a, a + 5, [](S& s) { return s.copied; })); in test()
104 assert(std::all_of(a, a + 5, [](S& s) { return s.copied; })); in test()
/llvm-project-15.0.7/libcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/
H A Dno_unique_address.pass.cpp19 bool copied = false; variable
24 Empty(Empty const&) noexcept { copied = true; } in Empty()
51 assert(copied); in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/any/any.nonmembers/any.cast/
H A Dany_cast_reference.pass.cpp120 assert(Type::copied == 0); in test_cast_to_reference()
179 assert(Type::copied == 0); in test_cast_to_reference()
192 assert(Type::copied == 0); in test_cast_to_value()
209 assert(Type::copied == 1); in test_cast_to_value()
223 assert(Type::copied == 1); in test_cast_to_value()
237 assert(Type::copied == 1); in test_cast_to_value()
252 assert(Type::copied == 0); in test_cast_to_value()
267 assert(Type::copied == 0); in test_cast_to_value()
283 assert(Type::copied == 1); in test_cast_to_value()
/llvm-project-15.0.7/flang/runtime/
H A Dio-error.cpp122 std::size_t copied{std::strlen(buffer)}; in GetIoMsg() local
123 if (copied < bufferLength) { in GetIoMsg()
124 std::memset(buffer + copied, ' ', bufferLength - copied); in GetIoMsg()
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/
H A Dmove.pass.cpp46 static int copied; member
48 static void reset() { copied = moved = 0; } in reset()
50 CountAssign& operator=(CountAssign const&) { ++copied; return *this; } in operator =()
53 int CountAssign::copied = 0; member in CountAssign
137 assert(CountAssign::copied == 1); in main()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/
H A Dranges.copy_n.pass.cpp96 bool copied = false; in test() member
100 assert(!other.copied); in test()
101 copied = true; in test()
110 assert(std::all_of(out.begin(), out.end(), [](const auto& e) { return e.copied; })); in test()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dconstant.cpp160 std::size_t copied{0}; in CopyFrom() local
162 while (copied < count) { in CopyFrom()
165 copied++; in CopyFrom()
169 return copied; in CopyFrom()
295 std::size_t copied{0}; in CopyFrom() local
298 while (copied < count) { in CopyFrom()
303 copied++; in CopyFrom()
307 return copied; in CopyFrom()
/llvm-project-15.0.7/libcxx/test/std/utilities/any/any.nonmembers/
H A Dmake_any.pass.cpp37 assert(Type::copied == 0); in test_make_any_type()
47 assert(Type::copied == 0); in test_make_any_type()
57 assert(Type::copied == 0); in test_make_any_type()
/llvm-project-15.0.7/libcxx/test/std/utilities/any/any.class/any.cons/
H A Din_place_type.pass.cpp45 assert(Type::copied == 0); in test_in_place_type()
55 assert(Type::copied == 0); in test_in_place_type()
65 assert(Type::copied == 0); in test_in_place_type()
75 assert(Type::copied == 0); in test_in_place_type()

1234567891011