/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_format_interceptor_test.cc | 63 static const char test_buf[] = "Test string."; variable 64 static const size_t test_buf_size = sizeof(test_buf); 82 test_buf, test_buf, test_buf, test_buf, test_buf, test_buf, in testScanf2() 83 test_buf, test_buf, test_buf, test_buf, test_buf, test_buf, in testScanf2() 84 test_buf, test_buf, test_buf, test_buf); in testScanf2() 218 test_buf, test_buf, test_buf, test_buf, test_buf, test_buf, in testPrintf2() 219 test_buf, test_buf, test_buf, test_buf, test_buf, test_buf, in testPrintf2() 220 test_buf, test_buf, test_buf, test_buf); in testPrintf2()
|
/external/openssh/regress/unittests/sshbuf/ |
D | test_sshbuf_fixed.c | 27 const u_char test_buf[] = "\x01\x12\x34\x56\x78\x00\x00\x00\x05hello"; variable 39 p1 = sshbuf_from(test_buf, sizeof(test_buf)); in sshbuf_fixed() 47 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf); in sshbuf_fixed() 52 p1 = sshbuf_from(test_buf, sizeof(test_buf) - 1); in sshbuf_fixed() 54 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf); in sshbuf_fixed() 56 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf + 1); in sshbuf_fixed() 59 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf + 5); in sshbuf_fixed() 74 ASSERT_INT_EQ(sshbuf_put(p1, test_buf, sizeof(test_buf) - 1), 0); in sshbuf_fixed() 110 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(test_buf) - 1); in sshbuf_fixed() 112 ASSERT_SIZE_T_EQ(sshbuf_len(p2), sizeof(test_buf) + 4 - 1); in sshbuf_fixed() [all …]
|
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/ |
D | overflow.pass.cpp | 24 struct test_buf struct 43 test_buf<char> f; in main() argument 55 test_buf<char> f; in main() 62 test_buf<char> f; in main() 75 test_buf<char> f; in main() 82 test_buf<wchar_t> f; in main() 94 test_buf<wchar_t> f; in main() 101 test_buf<wchar_t> f; in main() 114 test_buf<wchar_t> f; in main() 121 test_buf<wchar_t> f; in main() [all …]
|
D | pbackfail.pass.cpp | 20 struct test_buf struct 39 test_buf<char> f; in main() argument 44 typename test_buf<char>::int_type pbackResult = f.pbackfail('a'); in main() 52 test_buf<char> f; in main() 57 typename test_buf<char>::int_type pbackResult = f.pbackfail('a'); in main()
|
D | underflow.pass.cpp | 25 struct test_buf struct 43 test_buf<char> f; in main() argument 56 test_buf<char> f; in main() 79 test_buf<wchar_t> f; in main() 92 test_buf<wchar_t> f; in main() 116 test_buf<wchar_t> f; in main()
|
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ |
D | pbackfail.pass.cpp | 23 struct test_buf struct 31 explicit test_buf(std::streambuf* sb) : base(sb) {} in test_buf() argument 45 test_buf f(bs.rdbuf()); in main() argument 48 assert(f.pbackfail(L'a') == test_buf::traits_type::eof()); in main() 52 test_buf f(bs.rdbuf()); in main() 55 assert(f.pbackfail(L'a') == test_buf::traits_type::eof()); in main()
|
D | overflow.pass.cpp | 23 struct test_buf struct 31 explicit test_buf(std::streambuf* sb) : base(sb) {} in test_buf() argument 45 test_buf f(bs.rdbuf()); in main() argument 56 test_buf f(bs.rdbuf()); in main() 62 test_buf f(bs.rdbuf()); in main() 74 test_buf f(bs.rdbuf()); in main() 80 test_buf f(bs.rdbuf()); in main()
|
D | underflow.pass.cpp | 23 struct test_buf struct 31 explicit test_buf(std::streambuf* sb) : base(sb) {} in test_buf() argument 45 test_buf f(bs.rdbuf()); in main() argument 57 test_buf f(bs.rdbuf()); in main() 78 test_buf f(bs.rdbuf()); in main() 82 assert(f.sbumpc() == test_buf::traits_type::eof()); in main()
|
D | seekoff.pass.cpp | 39 typedef std::wbuffer_convert<test_codecvt> test_buf; in main() typedef 40 typedef test_buf::pos_type pos_type; in main() 43 test_buf f(bs.rdbuf()); in main()
|
/external/e2fsprogs/lib/ext2fs/ |
D | crc32c.c | 244 static uint8_t test_buf[] = { variable 904 le = ext2fs_crc32c_le(t->crc, test_buf + t->start, t->length); in test_crc32c() 905 be = ext2fs_crc32_be(t->crc, test_buf + t->start, t->length); in test_crc32c()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/ |
D | BPFISelDAGToDAG.cpp | 406 } test_buf; in getConstantFieldValue() local 409 support::endian::write16le(test_buf.c, test_val); in getConstantFieldValue() 411 support::endian::write16be(test_buf.c, test_val); in getConstantFieldValue() 413 bool endian_match = test_buf.s == test_val; in getConstantFieldValue()
|