Searched refs:test_buf (Results 1 – 6 of 6) sorted by relevance
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_format_interceptor_test.cpp | 62 static const char test_buf[] = "Test string."; variable 63 static const size_t test_buf_size = sizeof(test_buf); 84 test_buf, test_buf, test_buf, test_buf, test_buf, test_buf, in testScanf2() 85 test_buf, test_buf, test_buf, test_buf, test_buf, test_buf, in testScanf2() 86 test_buf, test_buf, test_buf, test_buf); in testScanf2() 242 test_buf, test_buf, test_buf, test_buf, test_buf, test_buf, in testPrintf2() 243 test_buf, test_buf, test_buf, test_buf, test_buf, test_buf, in testPrintf2() 244 test_buf, test_buf, test_buf, test_buf); in testPrintf2()
|
| /openbsd-src/regress/usr.bin/ssh/unittests/sshbuf/ |
| H A D | test_sshbuf_fixed.c | 22 const u_char test_buf[] = "\x01\x12\x34\x56\x78\x00\x00\x00\x05hello"; variable 34 p1 = sshbuf_from(test_buf, sizeof(test_buf)); in sshbuf_fixed() 42 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf); in sshbuf_fixed() 47 p1 = sshbuf_from(test_buf, sizeof(test_buf) - 1); in sshbuf_fixed() 49 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf); in sshbuf_fixed() 51 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf + 1); in sshbuf_fixed() 54 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf + 5); in sshbuf_fixed() 69 ASSERT_INT_EQ(sshbuf_put(p1, test_buf, sizeof(test_buf) - 1), 0); in sshbuf_fixed() 105 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(test_buf) - 1); in sshbuf_fixed() 107 ASSERT_SIZE_T_EQ(sshbuf_len(p2), sizeof(test_buf) + 4 - 1); in sshbuf_fixed() [all …]
|
| /openbsd-src/lib/libcrypto/ui/ |
| H A D | ui_lib.c | 181 int maxsize, const char *test_buf) in general_allocate_string() argument 191 s->_.string_data.test_buf = test_buf; in general_allocate_string() 286 int minsize, int maxsize, const char *test_buf) in UI_add_verify_string() argument 289 result_buf, minsize, maxsize, test_buf); in UI_add_verify_string() 295 char *result_buf, int minsize, int maxsize, const char *test_buf) in UI_dup_verify_string() argument 298 result_buf, minsize, maxsize, test_buf); in UI_dup_verify_string() 806 return uis->_.string_data.test_buf; in UI_get0_test_string()
|
| H A D | ui.h | 138 char *result_buf, int minsize, int maxsize, const char *test_buf); 140 char *result_buf, int minsize, int maxsize, const char *test_buf);
|
| H A D | ui_local.h | 123 const char *test_buf; /* Input: test string to verify member
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 379 } test_buf; in getConstantFieldValue() local 382 support::endian::write16le(test_buf.c, test_val); in getConstantFieldValue() 384 support::endian::write16be(test_buf.c, test_val); in getConstantFieldValue() 386 bool endian_match = test_buf.s == test_val; in getConstantFieldValue()
|