Home
last modified time | relevance | path

Searched refs:fpbuf (Results 1 – 11 of 11) sorted by relevance

/freebsd/lib/libc/tests/secure/
H A Dfortify_random_test.c32 static char fpbuf[LINE_MAX]; in new_fp() local
35 ATF_REQUIRE(__len <= sizeof(fpbuf)); in new_fp()
37 memset(fpbuf, 'A', sizeof(fpbuf) - 1); in new_fp()
38 fpbuf[sizeof(fpbuf) - 1] = '\0'; in new_fp()
40 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_stdlib_test.c32 static char fpbuf[LINE_MAX]; in new_fp() local
35 ATF_REQUIRE(__len <= sizeof(fpbuf)); in new_fp()
37 memset(fpbuf, 'A', sizeof(fpbuf) - 1); in new_fp()
38 fpbuf[sizeof(fpbuf) - 1] = '\0'; in new_fp()
40 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_strings_test.c32 static char fpbuf[LINE_MAX]; in new_fp() local
35 ATF_REQUIRE(__len <= sizeof(fpbuf)); in new_fp()
37 memset(fpbuf, 'A', sizeof(fpbuf) - 1); in new_fp()
38 fpbuf[sizeof(fpbuf) - 1] = '\0'; in new_fp()
40 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_poll_test.c32 static char fpbuf[LINE_MAX]; in new_fp() local
35 ATF_REQUIRE(__len <= sizeof(fpbuf)); in new_fp()
37 memset(fpbuf, 'A', sizeof(fpbuf) - 1); in new_fp()
38 fpbuf[sizeof(fpbuf) - 1] = '\0'; in new_fp()
40 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_select_test.c32 static char fpbuf[LINE_MAX]; in new_fp() local
35 ATF_REQUIRE(__len <= sizeof(fpbuf)); in new_fp()
37 memset(fpbuf, 'A', sizeof(fpbuf) - 1); in new_fp()
38 fpbuf[sizeof(fpbuf) - 1] = '\0'; in new_fp()
40 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_uio_test.c32 static char fpbuf[LINE_MAX]; in new_fp() local
35 ATF_REQUIRE(__len <= sizeof(fpbuf)); in new_fp()
37 memset(fpbuf, 'A', sizeof(fpbuf) - 1); in new_fp()
38 fpbuf[sizeof(fpbuf) - 1] = '\0'; in new_fp()
40 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_stdio_test.c32 static char fpbuf[LINE_MAX]; in new_fp() local
35 ATF_REQUIRE(__len <= sizeof(fpbuf)); in new_fp()
37 memset(fpbuf, 'A', sizeof(fpbuf) - 1); in new_fp()
38 fpbuf[sizeof(fpbuf) - 1] = '\0'; in new_fp()
40 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_socket_test.c32 static char fpbuf[LINE_MAX]; in new_fp() local
35 ATF_REQUIRE(__len <= sizeof(fpbuf)); in new_fp()
37 memset(fpbuf, 'A', sizeof(fpbuf) - 1); in new_fp()
38 fpbuf[sizeof(fpbuf) - 1] = '\0'; in new_fp()
40 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_unistd_test.c32 static char fpbuf[LINE_MAX]; in new_fp() local
35 ATF_REQUIRE(__len <= sizeof(fpbuf)); in new_fp()
37 memset(fpbuf, 'A', sizeof(fpbuf) - 1); in new_fp()
38 fpbuf[sizeof(fpbuf) - 1] = '\0'; in new_fp()
40 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_wchar_test.c32 static char fpbuf[LINE_MAX]; in new_fp() local
35 ATF_REQUIRE(__len <= sizeof(fpbuf)); in new_fp()
37 memset(fpbuf, 'A', sizeof(fpbuf) - 1); in new_fp()
38 fpbuf[sizeof(fpbuf) - 1] = '\0'; in new_fp()
40 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_string_test.c32 static char fpbuf[LINE_MAX]; in new_fp() local
35 ATF_REQUIRE(__len <= sizeof(fpbuf)); in new_fp()
37 memset(fpbuf, 'A', sizeof(fpbuf) - 1); in new_fp()
38 fpbuf[sizeof(fpbuf) - 1] = '\0'; in new_fp()
40 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()