/external/valgrind/memcheck/tests/solaris/ |
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/std/utilities/utility/pairs/pairs.pair/ |
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);
|
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);
|
/external/libcxx/test/support/ |
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(Other.copied + 1) [all...] |
/external/libese/libese/tests/ |
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 = ese_sg_to_buf(sg, 3, sizeof(one) + sizeof(two) - 2, sizeof(dst) 115 uint32_t copied; local [all...] |
/external/libmojo/mojo/public/cpp/bindings/tests/ |
container_test_util.h | 21 bool copied() const { return copied_; } function in class:mojo::CopyableType
|
/external/squashfs-tools/kernel/fs/squashfs/ |
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)
|
cache.c | 292 * bytes available. In all cases return the number of bytes copied. 336 int bytes, copied = length; local 362 return copied;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/utility/pairs/pairs.pair/ |
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);
|
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);
|
/frameworks/base/core/tests/coretests/src/android/service/euicc/ |
EuiccProfileInfoTest.java | 148 EuiccProfileInfo copied = new EuiccProfileInfo.Builder(p).build(); local 150 assertEquals(p, copied); 151 assertEquals(p.hashCode(), copied.hashCode());
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/ |
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/syslinux/memdisk/ |
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)
|
/hardware/nxp/secure_element/libese-spi/p73/utils/ |
ringbuffer.cpp | 98 for (size_t copied = 0; copied < bytes_to_copy; ++copied) { 110 const size_t copied = ringbuffer_peek(rb, 0, p, length); local 111 rb->head += copied; 114 rb->available += copied; 115 return copied;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.assign/ |
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);
|
/system/bt/osi/src/ |
ringbuffer.cc | 98 for (size_t copied = 0; copied < bytes_to_copy; ++copied) { 110 const size_t copied = ringbuffer_peek(rb, 0, p, length); local 111 rb->head += copied; 114 rb->available += copied; 115 return copied;
|
/system/nfc/utils/ |
ringbuffer.cc | 98 for (size_t copied = 0; copied < bytes_to_copy; ++copied) { 110 const size_t copied = ringbuffer_peek(rb, 0, p, length); local 111 rb->head += copied; 114 rb->available += copied; 115 return copied;
|
/art/dex2oat/linker/ |
image_test.cc | 97 // a default method of an interface and in a copied method 99 // only if the copied method and the origin method are located in the 113 // and in the copied method form the same oat file. 127 ArtMethod* copied = FindCopiedMethod(origin, impl_klass); local 128 ASSERT_NE(nullptr, copied); 129 // the copied method should have pointer to the same quick code as the origin method 130 ASSERT_EQ(code, copied->GetEntryPointFromQuickCompiledCodePtrSize(pointer_size)); 133 // but the copied method has pointer to interpreter 150 copied = FindCopiedMethod(origin, iterablebase_klass); 151 ASSERT_NE(nullptr, copied); [all...] |
/frameworks/av/media/libstagefright/ |
SkipCutBuffer.cpp | 87 size_t copied = read(dst, buffer->size()); local 88 buffer->set_range(0, copied); 120 size_t copied = read(dst, buffer->capacity()); local 121 buffer->setRange(0, copied);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
SpannableStringNoCopyTest.java | 43 final SpannedString copied = new SpannedString(first); local 44 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); 57 final SpannedString copied = new SpannedString(first, true /* ignoreNoCopySpan */); local 58 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); 75 final SpannedString copied = new SpannedString(new CustomSpannable(first)); local 76 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); 89 final SpannedString copied = new SpannedString local [all...] |
SpannedStringNoCopyTest.java | 43 final SpannedString copied = new SpannedString(first); local 44 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); 57 final SpannedString copied = new SpannedString(first, true /* ignoreNoCopySpan */); local 58 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); 75 final SpannedString copied = new SpannedString(new CustomSpanned(first)); local 76 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); 89 final SpannedString copied = new SpannedString local [all...] |
/hardware/google/av/media/sfplugin/ |
SkipCutBuffer.cpp | 87 size_t copied = read(dst, buffer->size()); local 88 buffer->set_range(0, copied); 120 size_t copied = read(dst, buffer->capacity()); local 121 buffer->setRange(0, copied);
|
/external/libese/libese-teq1/ |
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/skia/tests/ |
FontNamesTest.cpp | 173 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get()); local 174 if (copied != nameTableSize) {
|
/external/skqp/tests/ |
FontNamesTest.cpp | 173 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get()); local 174 if (copied != nameTableSize) {
|