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

/freebsd-12-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-12-stable/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::__anon8212::__anon8213
H A Dui_lib.c123 const char *test_buf)
133 s->_.string_data.test_buf = test_buf;
227 const char *test_buf)
231 maxsize, test_buf);
236 const char *test_buf)
250 maxsize, test_buf);
834 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
225 UI_add_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
234 UI_dup_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
/freebsd-12-stable/tests/sys/fs/fusefs/
H A Dio.cc259 void *test_buf, *control_buf; local
262 test_buf = malloc(size);
263 ASSERT_NE(nullptr, test_buf) << strerror(errno);
268 r = pread(m_test_fd, test_buf, size, offs);
275 compare(test_buf, control_buf, offs, size);
278 free(test_buf);
/freebsd-12-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-12-stable/crypto/openssl/include/openssl/
H A Dui.h95 const char *test_buf);
98 const char *test_buf);
/freebsd-12-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 274 milliseconds