Searched refs:test_buf (Results 1 - 8 of 8) sorted by relevance

/freebsd-current/lib/libbsnmp/tests/
H A Dbsnmpd_test.c35 char test_buf[] = { 0x25, 0x7f }; local
40 b.asn_cptr = test_buf;
41 b.asn_len = sizeof(test_buf);
/freebsd-current/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fixed.c26 const u_char test_buf[] = "\x01\x12\x34\x56\x78\x00\x00\x00\x05hello"; variable
38 p1 = sshbuf_from(test_buf, sizeof(test_buf));
46 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf); local
51 p1 = sshbuf_from(test_buf, sizeof(test_buf) - 1);
53 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf); local
55 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf + 1); local
58 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf + 5); local
73 ASSERT_INT_EQ(sshbuf_put(p1, test_buf, sizeo
117 ASSERT_MEM_EQ(sshbuf_ptr(p3), test_buf, sizeof(test_buf) - 1); local
[all...]
/freebsd-current/crypto/openssl/crypto/ui/
H A Dui_local.h81 const char *test_buf; /* Input: test string to verify against */ member in struct:ui_string_st::__anon4011::__anon4012
H A Dui_lib.c123 const char *test_buf)
133 s->_.string_data.test_buf = test_buf;
226 const char *test_buf)
230 maxsize, test_buf);
235 const char *test_buf)
249 maxsize, test_buf);
833 return uis->_.string_data.test_buf;
119 general_allocate_string(UI *ui, const char *prompt, int prompt_freeable, enum UI_string_types type, int input_flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
224 UI_add_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
233 UI_dup_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
/freebsd-current/lib/libsbuf/tests/
H A Dsbuf_string_test.c43 check_buffers_equal(const void *sb_buf, const void *test_buf, size_t len) argument
46 if (memcmp(sb_buf, test_buf, len) != 0) {
49 printf("test_buf:\n");
50 hexdump(test_buf, len, NULL, 0);
51 atf_tc_fail("contents of sbuf didn't match test_buf contents");
/freebsd-current/tests/sys/fs/fusefs/
H A Dio.cc312 char *test_buf, *control_buf; local
315 test_buf = new char[size];
319 r = pread(m_test_fd, test_buf, size, offs);
326 compare(test_buf, control_buf, offs, size);
329 delete[] test_buf;
/freebsd-current/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp367 } test_buf; local
370 support::endian::write16le(test_buf.c, test_val);
372 support::endian::write16be(test_buf.c, test_val);
374 bool endian_match = test_buf.s == test_val;
/freebsd-current/crypto/openssl/include/openssl/
H A Dui.h106 const char *test_buf);
109 const char *test_buf);

Completed in 89 milliseconds