Searched refs:fmemopen (Results 1 - 8 of 8) sorted by relevance

/freebsd-current/lib/libc/tests/stdio/
H A Dfmemopen2_test.c28 * a FILE * retrieved using fmemopen()
51 /* Open a FILE * using fmemopen. */
52 fp = fmemopen(buf, sizeof(buf), "w");
64 fp = fmemopen(buf, sizeof(buf), "r");
73 * Since a write on a FILE * retrieved by fmemopen
84 fp = fmemopen(str, 4, "w");
104 /* Let fmemopen allocate the buffer. */
110 /* Open a FILE * using fmemopen. */
111 fp = fmemopen(NULL, 512, "w+");
133 fp = fmemopen(NUL
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fmemopen.c134 fp = fmemopen(&buf[0], sizeof(buf), *p);
136 * Upon successful completion, fmemopen() shall return a pointer to the
163 * If a null pointer is specified as the buf argument, fmemopen() shall
166 fp = fmemopen(NULL, BUFSIZ, *p);
193 fp = fmemopen(&buf[0], sizeof(buf), *p);
229 fp = fmemopen(&buf[0], sizeof(buf), *p);
266 fp = fmemopen(&buf[0], sizeof(buf), *p);
309 fp = fmemopen(NULL, (size_t)0, *p);
314 fp = fmemopen((void *)&buf[0], 0, *p);
335 fp = fmemopen(NUL
[all...]
/freebsd-current/lib/libc/stdio/
H A Dfmemopen.c52 fmemopen(void * __restrict buf, size_t size, const char * __restrict mode) function
H A DMakefile.inc9 fileno.c findfp.c flags.c fmemopen.c fopen.c \
61 fopen.3 fmemopen.3
/freebsd-current/tests/sys/audit/
H A Dutils.c65 ATF_REQUIRE((memstream = fmemopen(membuff, size, "w")) != NULL);
/freebsd-current/sbin/setkey/
H A Dsetkey.c143 fp = fmemopen(optarg, strlen(optarg), "r");
145 err(-1, "fmemopen");
/freebsd-current/include/
H A Dstdio.h370 FILE *fmemopen(void * __restrict, size_t, const char * __restrict);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc6206 INTERCEPTOR(__sanitizer_FILE *, fmemopen, void *buf, SIZE_T size,
6209 COMMON_INTERCEPTOR_ENTER(ctx, fmemopen, buf, size, mode);
6213 __sanitizer_FILE *res = REAL(fmemopen)(buf, size, mode);
6220 COMMON_INTERCEPT_FUNCTION(fmemopen);

Completed in 199 milliseconds