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

/freebsd-11-stable/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fixed.c27 const u_char test_buf[] = "\x01\x12\x34\x56\x78\x00\x00\x00\x05hello"; variable
39 p1 = sshbuf_from(test_buf, sizeof(test_buf));
47 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf); local
52 p1 = sshbuf_from(test_buf, sizeof(test_buf) - 1);
54 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf); local
56 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf + 1); local
59 ASSERT_PTR_EQ(sshbuf_ptr(p1), test_buf + 5); local
74 ASSERT_INT_EQ(sshbuf_put(p1, test_buf, sizeo
118 ASSERT_MEM_EQ(sshbuf_ptr(p3), test_buf, sizeof(test_buf) - 1); local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/ui/
H A Dui_locl.h120 const char *test_buf; /* Input: test string to verify against */ member in struct:ui_string_st::__anon6436::__anon6437
H A Dui.h138 const char *test_buf);
141 const char *test_buf);
H A Dui_lib.c161 const char *test_buf)
171 s->_.string_data.test_buf = test_buf;
261 const char *test_buf)
265 maxsize, test_buf);
270 const char *test_buf)
284 maxsize, test_buf);
777 return uis->_.string_data.test_buf;
157 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
259 UI_add_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
268 UI_dup_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
/freebsd-11-stable/lib/libsbuf/tests/
H A Dsbuf_string_test.c46 check_buffers_equal(const void *sb_buf, const void *test_buf, size_t len) argument
49 if (memcmp(sb_buf, test_buf, len) != 0) {
52 printf("test_buf:\n");
53 hexdump(test_buf, len, NULL, 0);
54 atf_tc_fail("contents of sbuf didn't match test_buf contents");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp377 } test_buf; local
380 support::endian::write16le(test_buf.c, test_val);
382 support::endian::write16be(test_buf.c, test_val);
384 bool endian_match = test_buf.s == test_val;

Completed in 195 milliseconds