Home
last modified time | relevance | path

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

12345678910>>...31

/external/libese/libese/tests/
Dsg_unittests.cpp40 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/
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;
Dany_helpers.h105 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 …]
Dexperimental_any_helpers.h80 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/python/cpython3/Lib/test/
Dtest_xml_dom_minicompat.py107 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/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dassign_rv_pair.pass.cpp39 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()
Dassign_pair.pass.cpp40 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/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc662 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/tensorflow/tensorflow/python/training/tracking/
Ddata_structures.py391 copied = super(_ListWrapper, self).__copy__()
392 copied._non_append_mutation = self._non_append_mutation
393 copied._external_modification = self._external_modification
394 return copied
397 copied = super(_ListWrapper, self).__deepcopy__(memo)
398 copied._non_append_mutation = self._non_append_mutation
399 copied._external_modification = self._external_modification
400 return copied
662 copied = super(_DictWrapper, self).__copy__()
663 copied._non_append_mutation = self._non_append_mutation
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_module_test.cc106 for (auto origin = post_order.begin(), copied = post_order_copied.begin(); in TEST_F() local
107 origin != post_order.end() && copied != post_order_copied.end(); in TEST_F()
108 ++origin, ++copied) { in TEST_F()
109 EXPECT_EQ((*origin)->name() + ".copy", (*copied)->name()); in TEST_F()
142 for (auto origin = post_order.begin(), copied = post_order_copied.begin(); in TEST_F() local
143 origin != post_order.end() && copied != post_order_copied.end(); in TEST_F()
144 ++origin, ++copied) { in TEST_F()
148 EXPECT_EQ((*origin)->name() + ".clone", (*copied)->name()); in TEST_F()
150 EXPECT_EQ((*origin)->name() + ".copy", (*copied)->name()); in TEST_F()
/external/libcxx/test/std/utilities/any/any.class/any.modifiers/
Dswap.pass.cpp54 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/libcxx/test/std/utilities/any/any.class/any.assign/
Dcopy.pass.cpp48 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()
Dvalue.pass.cpp49 assert(RHS::copied == 0); in test_assign_value()
53 assert(RHS::copied == 1); in test_assign_value()
75 assert(RHS::copied == 0); in test_assign_value()
96 assert(RHS::copied == 0); in test_assign_value_empty()
101 assert(RHS::copied == 1); in test_assign_value_empty()
116 assert(RHS::copied == 0); in test_assign_value_empty()
/external/libcxx/test/std/utilities/any/any.nonmembers/any.cast/
Dany_cast_reference.pass.cpp134 assert(Type::copied == 0); in test_cast_to_reference()
193 assert(Type::copied == 0); in test_cast_to_reference()
206 assert(Type::copied == 0); 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()
251 assert(Type::copied == 1); in test_cast_to_value()
266 assert(Type::copied == 0); in test_cast_to_value()
281 assert(Type::copied == 0); in test_cast_to_value()
297 assert(Type::copied == 1); in test_cast_to_value()
/external/guava/guava-tests/test/com/google/common/io/
DCharStreamsTest.java163 long copied = CharStreams.copy(new StringReader(ASCII), builder); in testCopy() local
165 assertEquals(ASCII.length(), copied); in testCopy() local
168 copied = CharStreams.copy(new StringReader(I18N), builder2); in testCopy()
170 assertEquals(I18N.length(), copied); in testCopy() local
188 long copied = CharStreams.copy(newNonBufferFillingReader(new StringReader(string)), b); in testCopyWithReaderThatDoesNotFillBuffer() local
190 assertEquals(string.length(), copied); in testCopyWithReaderThatDoesNotFillBuffer() local
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/
Dmove.pass.cpp41 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/squashfs-tools/kernel/fs/squashfs/
Dsymlink.c55 int bytes, copied; in squashfs_symlink_readpage() local
83 for (bytes = 0; bytes < length; offset = 0, bytes += copied) { in squashfs_symlink_readpage()
94 copied = squashfs_copy_data(pageaddr + bytes, entry, offset, in squashfs_symlink_readpage()
96 if (copied == length - bytes) in squashfs_symlink_readpage()
/external/swiftshader/third_party/LLVM/lib/Support/
DMemoryObject.cpp19 uint64_t* copied) const { in readBytes()
33 if (copied) in readBytes()
34 *copied = current - address; in readBytes()
/external/icu/icu4c/source/test/intltest/
Dquantityformattertest.cpp81 QuantityFormatter copied(fmt); in TestBasic() local
84 copied.getByVariant("other")->getTextWithNoArguments(), in TestBasic()
88 copied.getByVariant("one")->getTextWithNoArguments(), in TestBasic()
92 copied.getByVariant("few")->getTextWithNoArguments(), in TestBasic()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DREADME.txt1 The files in this directory are copied verbatim from the PNaCl repository. They
4 Individual files are copied from:
9 Only the files needed for compiling and linking pnacl-sz are copied.
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext4/ext4_journalled_write_end/
Dformat13 field:unsigned int copied; offset:36; size:4; signed:0;
15copied %u", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((1U << 20) - 1))),…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext4/ext4_da_write_end/
Dformat13 field:unsigned int copied; offset:36; size:4; signed:0;
15copied %u", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((1U << 20) - 1))),…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/ext4/ext4_da_write_end/
Dformat13 field:unsigned int copied; offset:36; size:4; signed:0;
15copied %u", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((1U << 20) - 1))),…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ext4/ext4_journalled_write_end/
Dformat13 field:unsigned int copied; offset:28; size:4; signed:0;
15copied %u", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((1U << 20) - 1))),…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext4/ext4_write_end/
Dformat13 field:unsigned int copied; offset:36; size:4; signed:0;
15copied %u", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int) ((REC->dev) & ((1U << 20) - 1))),…

12345678910>>...31