Home
last modified time | relevance | path

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

12345678910>>...16

/external/valgrind/memcheck/tests/solaris/
Dstrlcpy.c9 size_t copied; in main() local
25 copied = strlcpy(dst, src, 10); in main()
26 if (copied != 10) in main()
27 fprintf(stderr, "Expected 10 but got %zu for test #1.\n", copied); in main()
30 copied = strlcpy(dst, src, strlen(src) + 1); in main()
31 if (copied != 10) in main()
32 fprintf(stderr, "Expected 10 but got %zu for test #2.\n", copied); in main()
36 copied = strlcpy(NULL, src, 0); in main()
37 if (copied != 10) in main()
38 fprintf(stderr, "Expected 10 but got %zu for test #3.\n", copied); in main()
/external/libcxx/test/support/
Dany_helpers.h102 static int copied; member
108 small_type::copied = 0; in reset()
129 ++copied; in small_type()
136 ++copied; in small_type()
161 int small_type<Dummy>::copied = 0;
182 static int copied; member
188 large_type::copied = 0; in reset()
210 ++copied; in large_type()
217 ++copied; in large_type()
243 int large_type<Dummy>::copied = 0;
[all …]
Dexperimental_any_helpers.h78 static int copied; member
84 small_type::copied = 0; in reset()
99 ++copied; in throw()
106 ++copied; in throw()
131 int small_type<Dummy>::copied = 0;
152 static int copied; member
158 large_type::copied = 0; in reset()
174 ++copied; in large_type()
181 ++copied; in large_type()
207 int large_type<Dummy>::copied = 0;
/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/libcxx/test/std/experimental/any/any.nonmembers/any.cast/
Dany_cast_reference.pass.cpp121 assert(Type::copied == 0); in test_cast_to_reference()
169 assert(Type::copied == 0); in test_cast_to_reference()
182 assert(Type::copied == 0); in test_cast_to_value()
199 assert(Type::copied == 1); in test_cast_to_value()
213 assert(Type::copied == 1); in test_cast_to_value()
227 assert(Type::copied == 1); in test_cast_to_value()
241 assert(Type::copied == 1); in test_cast_to_value()
255 assert(Type::copied == 1); in test_cast_to_value()
269 assert(Type::copied == 1); in test_cast_to_value()
/external/libcxx/test/std/experimental/any/any.class/any.assign/
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()
85 assert(RHS::copied == 0); in test_assign_value_empty()
90 assert(RHS::copied == 1); in test_assign_value_empty()
105 assert(RHS::copied == 0); in test_assign_value_empty()
Dcopy.pass.cpp40 assert(RHS::copied == 0); in test_copy_assign()
44 assert(RHS::copied == 1); in test_copy_assign()
64 assert(LHS::copied == 0); in test_copy_assign_empty()
68 assert(LHS::copied == 1); in test_copy_assign_empty()
81 assert(LHS::copied == 0); in test_copy_assign_empty()
85 assert(LHS::copied == 0); in test_copy_assign_empty()
/external/libcxx/test/std/utilities/any/any.class/any.modifiers/
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()
106 assert(T::copied == 0); in test_self_swap()
117 assert(T::copied == 0); in test_self_swap()
/external/libcxx/test/std/utilities/any/any.class/any.assign/
Dcopy.pass.cpp40 assert(RHS::copied == 0); in test_copy_assign()
44 assert(RHS::copied == 1); in test_copy_assign()
64 assert(LHS::copied == 0); in test_copy_assign_empty()
68 assert(LHS::copied == 1); in test_copy_assign_empty()
81 assert(LHS::copied == 0); in test_copy_assign_empty()
85 assert(LHS::copied == 0); in test_copy_assign_empty()
Dvalue.pass.cpp41 assert(RHS::copied == 0); in test_assign_value()
45 assert(RHS::copied == 1); in test_assign_value()
67 assert(RHS::copied == 0); in test_assign_value()
88 assert(RHS::copied == 0); in test_assign_value_empty()
93 assert(RHS::copied == 1); in test_assign_value_empty()
108 assert(RHS::copied == 0); in test_assign_value_empty()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/
Dmove.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
122 assert(CountAssign::copied == 1); in main()
/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/any/any.nonmembers/any.cast/
Dany_cast_reference.pass.cpp126 assert(Type::copied == 0); in test_cast_to_reference()
185 assert(Type::copied == 0); in test_cast_to_reference()
198 assert(Type::copied == 0); in test_cast_to_value()
215 assert(Type::copied == 1); in test_cast_to_value()
229 assert(Type::copied == 1); in test_cast_to_value()
243 assert(Type::copied == 1); in test_cast_to_value()
258 assert(Type::copied == 0); in test_cast_to_value()
273 assert(Type::copied == 0); in test_cast_to_value()
289 assert(Type::copied == 1); in test_cast_to_value()
/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/libmojo/mojo/public/cpp/bindings/tests/
Dstl_converters_unittest.cc27 ASSERT_FALSE(stl_vector[0].copied()); in TEST_F()
30 ASSERT_FALSE(mojo_array2[0].copied()); in TEST_F()
38 ASSERT_FALSE(stl_map[42].copied()); in TEST_F()
41 ASSERT_FALSE(mojo_map2[42].copied()); in TEST_F()
Dwtf_map_unittest.cc33 ASSERT_FALSE(map1.find(123)->value.copied()); in MAP_COMMON_TEST()
38 ASSERT_FALSE(mojo_map[123].copied()); in MAP_COMMON_TEST()
43 ASSERT_FALSE(map2.find(123)->value.copied()); in MAP_COMMON_TEST()
Darray_unittest.cc45 EXPECT_TRUE(array[i].copied()); in ARRAY_COMMON_TEST()
60 EXPECT_TRUE(array[i].copied()); in ARRAY_COMMON_TEST()
106 ASSERT_FALSE(arr[0].copied()); in TEST_F()
110 ASSERT_FALSE(vec2[0].copied()); in TEST_F()
/external/libcxx/test/std/experimental/any/any.class/any.modifiers/
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()
/external/syslinux/core/fs/
Dfs.c260 int new_len, copied; in searchdir() local
280 copied = this_fs->fs_ops->readlink(inode, new_path); in searchdir()
281 if (copied <= 0) in searchdir()
283 new_path[copied] = '\0'; in searchdir()
287 new_path[copied] = '/'; in searchdir()
288 strcpy(new_path + copied + 1, next_inode_name); in searchdir()
/external/libcxx/test/std/utilities/any/any.nonmembers/
Dmake_any.pass.cpp39 assert(Type::copied == 0); in test_make_any_type()
49 assert(Type::copied == 0); in test_make_any_type()
59 assert(Type::copied == 0); in test_make_any_type()
/external/vboot_reference/cgpt/
Dcgpt_nor.c118 uint64_t copied = 0; in read_write() local
121 while (copied < size) { in read_write()
122 size_t to_read = size - copied; in read_write()
138 copied += nr_read; in read_write()
/external/vulkan-validation-layers/cmake/
DREADME.txt1 The following files are copied out of CMake 2.8.
4 I have also copied the Copyright.txt file out of cmake and renamed it:

12345678910>>...16