Home
last modified time | relevance | path

Searched refs:BUF_LEN (Results 1 – 6 of 6) sorted by relevance

/third_party/openssl/test/
Dpackettest.c13 #define BUF_LEN 255 macro
15 static unsigned char smbuf[BUF_LEN + 1];
21 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_remaining()
22 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN) in test_PACKET_remaining()
23 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 1)) in test_PACKET_remaining()
36 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_end()
37 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN) in test_PACKET_end()
38 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN) in test_PACKET_end()
39 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 1)) in test_PACKET_end()
40 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN) in test_PACKET_end()
[all …]
/third_party/rust/crates/regex/bench/src/ffi/
Dpcre2.rs125 const BUF_LEN: size_t = 256; in fmt() constant
126 let mut buf = [0; BUF_LEN]; in fmt()
128 pcre2_get_error_message_8(self.code, buf.as_mut_ptr(), BUF_LEN) in fmt()
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
Dthread_pthrd_test.cpp21 constexpr size_t BUF_LEN = 16; variable
54 EXPECT_EQ(0, pthread_getname_np(pthread_self(), name, BUF_LEN)); in PthreadNameNp()
55 EXPECT_EQ(ERANGE, pthread_getname_np(pthread_self(), name, BUF_LEN - 1)); in PthreadNameNp()
/third_party/musl/porting/linux/user/src/stdio/
Dvfscanf.c21 #define BUF_LEN 513 macro
64 char buf[BUF_LEN]; in vfscanf()
/third_party/libabigail/src/
Dabg-tools-utils.cc1479 const unsigned BUF_LEN = 264; in guess_file_type() local
1482 char buf[BUF_LEN]; in guess_file_type()
1483 memset(buf, 0, BUF_LEN); in guess_file_type()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c3201 #define BUF_LEN ((10 * (sizeof(struct inotify_event) + NAME_MAX + 1))) macro
3208 char buf[BUF_LEN]; in radv_notifier_thread_run()
3215 length = read(notifier->fd, buf, BUF_LEN); in radv_notifier_thread_run()