/external/valgrind/memcheck/tests/solaris/ |
H A D | strlcpy.c | 9 size_t copied; local 25 copied = strlcpy(dst, src, 10); 26 if (copied != 10) 27 fprintf(stderr, "Expected 10 but got %zu for test #1.\n", copied); 30 copied = strlcpy(dst, src, strlen(src) + 1); 31 if (copied != 10) 32 fprintf(stderr, "Expected 10 but got %zu for test #2.\n", copied); 36 copied = strlcpy(NULL, src, 0); 37 if (copied != 10) 38 fprintf(stderr, "Expected 10 but got %zu for test #3.\n", copied); [all...] |
/external/libcxx/test/support/ |
H A D | emplace_constructible.h | 16 int copied = 0; member in struct:EmplaceConstructibleAndMoveInsertable 22 : copied(Other.copied + 1), value(std::move(Other.value)) {} 27 int copied = 0; member in struct:EmplaceConstructibleAndMoveable 33 noexcept : copied(Other.copied + 1), 38 copied = Other.copied; 47 int copied = 0; member in struct:EmplaceConstructibleMoveableAndAssignable 55 : copied(Othe [all...] |
H A D | any_helpers.h | 102 static int copied; member in struct:small_type 108 small_type::copied = 0; member in class:small_type::small_type 129 ++copied; 136 ++copied; 161 int small_type<Dummy>::copied = 0; member in class:small_type 182 static int copied; member in struct:large_type 188 large_type::copied = 0; member in class:large_type::large_type 210 ++copied; 217 ++copied; 243 int large_type<Dummy>::copied member in class:large_type 275 static int copied; member in struct:small_throws_on_copy 304 int small_throws_on_copy::copied = 0; member in class:small_throws_on_copy 313 static int copied; member in struct:large_throws_on_copy 346 int large_throws_on_copy::copied = 0; member in class:large_throws_on_copy 354 static int copied; member in struct:throws_on_move 379 int throws_on_move::copied = 0; member in class:throws_on_move [all...] |
/external/libese/libese/tests/ |
H A D | sg_unittests.cpp | 40 uint32_t copied; local 41 copied = ese_sg_to_buf(&sg, 1, 0, sizeof(dst), dst); 42 EXPECT_EQ(copied, sizeof(sg_data)); 54 uint32_t copied; local 55 copied = ese_sg_from_buf(&sg, 1, 0, sizeof(src), src); 56 EXPECT_EQ(copied, sizeof(src)); 81 uint32_t copied; local 82 copied = ese_sg_to_buf(sg, 3, 0, sizeof(dst), dst); 83 EXPECT_EQ(copied, strlen("HELLO WORLD") + 1); 87 copied 115 uint32_t copied; local [all...] |
/external/libmojo/mojo/public/cpp/bindings/tests/ |
H A D | container_test_util.h | 21 bool copied() const { return copied_; } function in class:mojo::CopyableType
|
/external/squashfs-tools/kernel/fs/squashfs/ |
H A D | symlink.c | 55 int bytes, copied; local 83 for (bytes = 0; bytes < length; offset = 0, bytes += copied) { 94 copied = squashfs_copy_data(pageaddr + bytes, entry, offset, 96 if (copied == length - bytes)
|
H A D | cache.c | 292 * bytes available. In all cases return the number of bytes copied. 336 int bytes, copied = length; local 362 return copied;
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/ |
H A D | move.pass.cpp | 40 static int copied; member in struct:CountAssign 42 static void reset() { copied = moved = 0; } 44 CountAssign& operator=(CountAssign const&) { ++copied; return *this; } 47 int CountAssign::copied = 0; member in class:CountAssign 122 assert(CountAssign::copied == 1);
|
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
H A D | assign_pair.pass.cpp | 40 static int copied; member in struct:CountAssign 42 static void reset() { copied = moved = 0; } 44 CountAssign& operator=(CountAssign const&) { ++copied; return *this; } 47 int CountAssign::copied = 0; member in class:CountAssign 85 assert(CountAssign::copied == 1);
|
H A D | assign_rv_pair.pass.cpp | 39 static int copied; member in struct:CountAssign 41 static void reset() { copied = moved = 0; } 43 CountAssign& operator=(CountAssign const&) { ++copied; return *this; } 46 int CountAssign::copied = 0; member in class:CountAssign 84 assert(CountAssign::copied == 1); 94 assert(CountAssign::copied == 0);
|
/external/syslinux/memdisk/ |
H A D | msetup.c | 42 uint32_t copied; local 57 copied = (regs.eflags.l & 1) ? 0 : regs.ecx.l; 59 if (regs.eax.l != 0x534d4150 || copied < 20)
|
/external/libbrillo/brillo/streams/ |
H A D | stream_utils_unittest.cc | 171 uint64_t copied) { 172 EXPECT_EQ(expected, copied); 168 OnSuccess(uint64_t expected, StreamPtr , StreamPtr , uint64_t copied) argument
|
/external/skia/tests/ |
H A D | FontNamesTest.cpp | 173 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get()); local 174 if (copied != nameTableSize) {
|
/external/skqp/tests/ |
H A D | FontNamesTest.cpp | 173 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get()); local 174 if (copied != nameTableSize) {
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
H A D | Java7Compatibility.java | 177 private int copied = 0; field in class:Java7Compatibility.InlineOneMethod 200 checkState(copied == 0, "Found unexpected second method %s with descriptor %s", name, desc); 201 ++copied;
|
H A D | LambdaClassFixer.java | 225 checkState(copier.copied(), "Didn't find %s", rewritten); 369 private int copied = 0; field in class:LambdaClassFixer.CopyOneMethod 378 public boolean copied() { method in class:LambdaClassFixer.CopyOneMethod 379 return copied > 0; 397 checkState(copied == 0, "Found unexpected second method %s with descriptor %s", name, desc); 398 ++copied;
|
/external/libese/libese-teq1/ |
H A D | teq1.c | 189 uint32_t copied = 0; local 193 copied = ese_sg_to_buf(state->app_data.tx, state->app_data.tx_count, 195 if (copied != len) { 206 state->app_data.tx_offset += copied; 207 state->app_data.tx_total -= copied;
|
/external/mesa3d/src/mesa/vbo/ |
H A D | vbo_exec.h | 102 struct vbo_exec_copied_vtx copied; member in struct:vbo_exec_context::__anon17306
|
H A D | vbo_save.h | 78 GLuint wrap_count; /* number of copied vertices at start */ 158 struct vbo_save_copied_vtx copied; member in struct:vbo_save_context
|
/external/skia/src/sfnt/ |
H A D | SkOTUtils.cpp | 174 size_t copied = typeface.getTableData(nameTag, 0, nameTableSize, nameTableData.get()); local 175 if (copied != nameTableSize) {
|
/external/skqp/src/sfnt/ |
H A D | SkOTUtils.cpp | 174 size_t copied = typeface.getTableData(nameTag, 0, nameTableSize, nameTableData.get()); local 175 if (copied != nameTableSize) {
|
/external/syslinux/core/fs/ |
H A D | fs.c | 260 int new_len, copied; local 280 copied = this_fs->fs_ops->readlink(inode, new_path); 281 if (copied <= 0) 283 new_path[copied] = '\0'; 287 new_path[copied] = '/'; 288 strcpy(new_path + copied + 1, next_inode_name);
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | adjust_contrast_op.cc | 325 // This algorithm repeatedly increases the area to be copied, and leads to 346 // the elements that are copied are continuous, so it benefits from the 352 int64 copied = 1; local 353 while (copied < image_size) { 358 int64 to_copy = std::min({copied, image_size - copied, kMaxToCopy}); 359 memcpy(output_p + channels * copied, output_p, 361 copied += to_copy;
|
/external/vboot_reference/cgpt/ |
H A D | cgpt_nor.c | 118 uint64_t copied = 0; local 121 while (copied < size) { 122 size_t to_read = size - copied; 138 copied += nr_read;
|
/external/libchrome/crypto/ |
H A D | nss_util.cc | 76 PRInt32 copied = PR_GetErrorText(error_text.get()); local 77 result = std::string(error_text.get(), copied);
|