Searched refs:BUF_LEN (Results 1 - 5 of 5) sorted by relevance
/netbsd-current/crypto/external/bsd/openssl/dist/test/ |
H A D | packettest.c | 13 #define BUF_LEN 255 macro 15 static unsigned char smbuf[BUF_LEN + 1]; 21 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) 22 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN) 23 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 1)) 36 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) 37 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN) 38 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN) 39 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 1)) 40 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN) [all...] |
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/ |
H A D | packettest.c | 13 #define BUF_LEN 255 macro 15 static unsigned char smbuf[BUF_LEN]; 22 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN) 23 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 1)) 37 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN) 38 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN) 39 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 1)) 40 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN) 42 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN)) 53 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) [all...] |
/netbsd-current/external/ibm-public/postfix/dist/src/util/ |
H A D | fifo_listen.c | 50 #define BUF_LEN 100 macro 56 char buf[BUF_LEN]; 110 && read(fd, buf, BUF_LEN < count ? BUF_LEN : count) > 0)
|
/netbsd-current/external/mpl/bind/dist/contrib/dlz/modules/perl/ |
H A D | dlz_perl_driver.c | 42 #define BUF_LEN 64 /* Should be big enough, right? hah */ macro 488 char full_name[BUF_LEN]; 493 snprintf(full_name, BUF_LEN, "%s::%s", perl_class_name,
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/display/ |
H A D | intel_sdvo.c | 422 #define BUF_LEN 256 macro 423 char buffer[BUF_LEN]; 426 pos += snprintf(buffer + pos, max_t(int, BUF_LEN - pos, 0), args) 441 BUG_ON(pos >= BUF_LEN - 1); 443 #undef BUF_LEN macro 548 #define BUF_LEN 256 macro 549 char buffer[BUF_LEN]; 589 pos += snprintf(buffer + pos, max_t(int, BUF_LEN - pos, 0), args) 608 BUG_ON(pos >= BUF_LEN - 1); 610 #undef BUF_LEN macro [all...] |
Completed in 102 milliseconds