/external/libese/libese/tests/ |
D | sg_unittests.cpp | 40 uint32_t copied; in TEST_F() local 41 copied = ese_sg_to_buf(&sg, 1, 0, sizeof(dst), dst); in TEST_F() 42 EXPECT_EQ(copied, sizeof(sg_data)); in TEST_F() 54 uint32_t copied; in TEST_F() local 55 copied = ese_sg_from_buf(&sg, 1, 0, sizeof(src), src); in TEST_F() 56 EXPECT_EQ(copied, sizeof(src)); in TEST_F() 81 uint32_t copied; in TEST_F() local 82 copied = ese_sg_to_buf(sg, 3, 0, sizeof(dst), dst); in TEST_F() 83 EXPECT_EQ(copied, strlen("HELLO WORLD") + 1); in TEST_F() 87 copied = ese_sg_to_buf(sg, 3, sizeof(one) + sizeof(two) - 2, sizeof(dst), in TEST_F() [all …]
|
/external/libcxx/test/support/ |
D | emplace_constructible.h | 16 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;
|
D | any_helpers.h | 105 static int copied; member 111 small_type::copied = 0; in reset() 132 ++copied; in small_type() 139 ++copied; in small_type() 164 int small_type<Dummy>::copied = 0; 185 static int copied; member 191 large_type::copied = 0; in reset() 213 ++copied; in large_type() 220 ++copied; in large_type() 246 int large_type<Dummy>::copied = 0; [all …]
|
D | experimental_any_helpers.h | 80 static int copied; member 86 small_type::copied = 0; in reset() 101 ++copied; in throw() 108 ++copied; in throw() 133 int small_type<Dummy>::copied = 0; 154 static int copied; member 160 large_type::copied = 0; in reset() 176 ++copied; in large_type() 183 ++copied; in large_type() 209 int large_type<Dummy>::copied = 0;
|
/external/llvm-project/libcxx/test/support/ |
D | emplace_constructible.h | 16 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;
|
D | any_helpers.h | 104 static int copied; member 110 small_type::copied = 0; in reset() 131 ++copied; in small_type() 138 ++copied; in small_type() 163 int small_type<Dummy>::copied = 0; 184 static int copied; member 190 large_type::copied = 0; in reset() 212 ++copied; in large_type() 219 ++copied; in large_type() 245 int large_type<Dummy>::copied = 0; [all …]
|
D | experimental_any_helpers.h | 73 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;
|
/external/libfuse/lib/ |
D | buffer.c | 47 size_t copied = 0; in fuse_buf_write() local 57 if (!copied) in fuse_buf_write() 64 copied += res; in fuse_buf_write() 73 return copied; in fuse_buf_write() 81 size_t copied = 0; in fuse_buf_read() local 91 if (!copied) in fuse_buf_read() 98 copied += res; in fuse_buf_read() 107 return copied; in fuse_buf_read() 120 size_t copied = 0; in fuse_buf_fd_to_fd() local 130 if (!copied) in fuse_buf_fd_to_fd() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_xml_dom_minicompat.py | 107 copied = copy.copy(node_list) 108 self.assertIsNot(copied, node_list) 109 self.assertEqual(copied, node_list) 114 copied = copy.copy(node_list) 115 self.assertIsNot(copied, node_list) 116 self.assertEqual(copied, node_list) 117 for x, y in zip(copied, node_list): 123 copied = copy.deepcopy(node_list) 124 self.assertIsNot(copied, node_list) 125 self.assertEqual(copied, node_list) [all …]
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CharStreamsTest.java | 158 long copied = in testCopy() local 162 assertEquals(ASCII.length(), copied); in testCopy() local 165 copied = in testCopy() 169 assertEquals(I18N.length(), copied); in testCopy() local 174 long copied = CharStreams.copy(new StringReader(ASCII), builder); in testCopy_toStringBuilder_fromReader() local 176 assertEquals(ASCII.length(), copied); in testCopy_toStringBuilder_fromReader() local 179 copied = CharStreams.copy(new StringReader(I18N), builder2); in testCopy_toStringBuilder_fromReader() 181 assertEquals(I18N.length(), copied); in testCopy_toStringBuilder_fromReader() local 186 long copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(ASCII)), builder); in testCopy_toStringBuilder_fromReadable() local 188 assertEquals(ASCII.length(), copied); in testCopy_toStringBuilder_fromReadable() local [all …]
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | CharStreamsTest.java | 158 long copied = in testCopy() local 162 assertEquals(ASCII.length(), copied); in testCopy() local 165 copied = in testCopy() 169 assertEquals(I18N.length(), copied); in testCopy() local 174 long copied = CharStreams.copy(new StringReader(ASCII), builder); in testCopy_toStringBuilder_fromReader() local 176 assertEquals(ASCII.length(), copied); in testCopy_toStringBuilder_fromReader() local 179 copied = CharStreams.copy(new StringReader(I18N), builder2); in testCopy_toStringBuilder_fromReader() 181 assertEquals(I18N.length(), copied); in testCopy_toStringBuilder_fromReader() local 186 long copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(ASCII)), builder); in testCopy_toStringBuilder_fromReadable() local 188 assertEquals(ASCII.length(), copied); in testCopy_toStringBuilder_fromReadable() local [all …]
|
/external/llvm-project/polly/lib/External/isl/ |
D | isl_sort.c | 57 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()
|
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
D | assign_rv_pair.pass.cpp | 39 static int copied; member 41 static void reset() { copied = moved = 0; } in reset() 43 CountAssign& operator=(CountAssign const&) { ++copied; return *this; } in operator =() 46 int CountAssign::copied = 0; member in CountAssign 84 assert(CountAssign::copied == 1); in main() 94 assert(CountAssign::copied == 0); in main()
|
D | assign_pair.pass.cpp | 40 static int copied; member 42 static void reset() { copied = moved = 0; } in reset() 44 CountAssign& operator=(CountAssign const&) { ++copied; return *this; } in operator =() 47 int CountAssign::copied = 0; member in CountAssign 85 assert(CountAssign::copied == 1); in main()
|
/external/llvm-project/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
D | assign_rv_pair.pass.cpp | 25 int copied = 0; member 29 ++copied; in operator =() 71 assert(p.first.copied == 1); in test() 73 assert(p2.first.copied == 0); in test() 82 assert(p.first.copied == 0); in test() 84 assert(p2.first.copied == 0); in test()
|
D | assign_rv_pair_U_V.pass.cpp | 29 int copied = 0; member 34 ++copied; in operator =() 60 assert(p.second.copied == 0); in test() 62 assert(t.second.copied == 0); in test()
|
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ |
D | irtranslator-dilocation.ll | 6 ; 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…
|
/external/libcxx/test/std/utilities/any/any.class/any.modifiers/ |
D | swap.pass.cpp | 54 assert(LHS::copied == 0); in test_swap() 55 assert(RHS::copied == 0); in test_swap() 87 assert(Tp::copied == 0); in test_swap_empty() 114 assert(T::copied == 0); in test_self_swap() 125 assert(T::copied == 0); in test_self_swap()
|
/external/llvm-project/libcxx/test/std/utilities/any/any.class/any.modifiers/ |
D | swap.pass.cpp | 52 assert(LHS::copied == 0); in test_swap() 53 assert(RHS::copied == 0); in test_swap() 85 assert(Tp::copied == 0); in test_swap_empty() 112 assert(T::copied == 0); in test_self_swap() 123 assert(T::copied == 0); in test_self_swap()
|
/external/libcxx/test/std/utilities/any/any.class/any.assign/ |
D | copy.pass.cpp | 48 assert(RHS::copied == 0); in test_copy_assign() 52 assert(RHS::copied == 1); in test_copy_assign() 72 assert(LHS::copied == 0); in test_copy_assign_empty() 76 assert(LHS::copied == 1); in test_copy_assign_empty() 89 assert(LHS::copied == 0); in test_copy_assign_empty() 93 assert(LHS::copied == 0); in test_copy_assign_empty()
|
/external/llvm-project/libcxx/test/std/utilities/any/any.class/any.assign/ |
D | copy.pass.cpp | 45 assert(RHS::copied == 0); in test_copy_assign() 49 assert(RHS::copied == 1); in test_copy_assign() 69 assert(LHS::copied == 0); in test_copy_assign_empty() 73 assert(LHS::copied == 1); in test_copy_assign_empty() 86 assert(LHS::copied == 0); in test_copy_assign_empty() 90 assert(LHS::copied == 0); in test_copy_assign_empty()
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_parser.cc | 662 if (!str->copied) { in take_string() 669 str->copied = true; in take_string() 673 str->data.copied.str, str->data.copied.length)); in take_string() 675 s = grpc_slice_from_copied_buffer(str->data.copied.str, in take_string() 676 str->data.copied.length); in take_string() 678 str->data.copied.length = 0; in take_string() 1230 if (length + str->data.copied.length > str->data.copied.capacity) { in append_bytes() 1231 GPR_ASSERT(str->data.copied.length + length <= UINT32_MAX); in append_bytes() 1232 str->data.copied.capacity = in append_bytes() 1233 static_cast<uint32_t>(str->data.copied.length + length); in append_bytes() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_parser.cc | 666 if (!str->copied) { in take_string_extern() 669 str->copied = true; in take_string_extern() 672 s = grpc_core::UnmanagedMemorySlice(str->data.copied.str, in take_string_extern() 673 str->data.copied.length); in take_string_extern() 675 str->data.copied.length = 0; in take_string_extern() 682 if (!str->copied) { in take_string_intern() 685 str->copied = true; in take_string_intern() 688 s = grpc_core::ManagedMemorySlice(str->data.copied.str, in take_string_intern() 689 str->data.copied.length); in take_string_intern() 691 str->data.copied.length = 0; in take_string_intern() [all …]
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/ |
D | move.pass.cpp | 41 static int copied; member 43 static void reset() { copied = moved = 0; } in reset() 45 CountAssign& operator=(CountAssign const&) { ++copied; return *this; } in operator =() 48 int CountAssign::copied = 0; member in CountAssign 123 assert(CountAssign::copied == 1); in main()
|
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/ |
D | move.pass.cpp | 41 static int copied; member 43 static void reset() { copied = moved = 0; } in reset() 45 CountAssign& operator=(CountAssign const&) { ++copied; return *this; } in operator =() 48 int CountAssign::copied = 0; member in CountAssign 123 assert(CountAssign::copied == 1); in main()
|