Home
last modified time | relevance | path

Searched refs:fmemopen (Results 1 – 25 of 27) sorted by relevance

12

/src/lib/libc/tests/stdio/
H A Dfmemopen2_test.c52 fp = fmemopen(buf, sizeof(buf), "w"); in ATF_TC_BODY()
64 fp = fmemopen(buf, sizeof(buf), "r"); in ATF_TC_BODY()
84 fp = fmemopen(str, 4, "w"); in ATF_TC_BODY()
111 fp = fmemopen(NULL, 512, "w+"); in ATF_TC_BODY()
133 fp = fmemopen(NULL, 512, "r"); in ATF_TC_BODY()
137 fp = fmemopen(NULL, 512, "w"); in ATF_TC_BODY()
160 fp = fmemopen(buf, sizeof(buf), "w+"); in ATF_TC_BODY()
178 fp = fmemopen(buf, sizeof(buf), "a+"); in ATF_TC_BODY()
224 fp = fmemopen(buf, sizeof(buf), "w+b"); in ATF_TC_BODY()
251 fp = fmemopen(NULL, 16, "ab+"); in ATF_TC_BODY()
[all …]
/src/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fmemopen.c134 fp = fmemopen(&buf[0], sizeof(buf), *p); in ATF_TC_BODY()
166 fp = fmemopen(NULL, BUFSIZ, *p); in ATF_TC_BODY()
193 fp = fmemopen(&buf[0], sizeof(buf), *p); in ATF_TC_BODY()
229 fp = fmemopen(&buf[0], sizeof(buf), *p); in ATF_TC_BODY()
266 fp = fmemopen(&buf[0], sizeof(buf), *p); in ATF_TC_BODY()
309 fp = fmemopen(NULL, (size_t)0, *p); in ATF_TC_BODY()
314 fp = fmemopen((void *)&buf[0], 0, *p); in ATF_TC_BODY()
335 fp = fmemopen(NULL, 1, *p); in ATF_TC_BODY()
365 fp = fmemopen(NULL, 1, *p); in ATF_TC_BODY()
394 fp = fmemopen(NULL, SIZE_MAX, *p); in ATF_TC_BODY()
[all …]
/src/lib/libc/stdio/
H A DMakefile.inc8 fileno.c findfp.c flags.c fmemopen.c fopen.c \
60 fopen.3 fmemopen.3
H A DSymbol.map152 fmemopen;
H A Dfmemopen.c52 fmemopen(void * __restrict buf, size_t size, const char * __restrict mode) in fmemopen() function
/src/tests/sys/audit/
H A Dutils.c65 ATF_REQUIRE((memstream = fmemopen(membuff, size, "w")) != NULL); in get_records()
/src/contrib/libder/tests/
H A Dfuzz_stream.c122 fp = fmemopen(__DECONST(void *, data), sz, "rb"); in fuzz_file()
/src/lib/libc/tests/secure/
H A Dfortify_signal_test.c41 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_random_test.c41 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_stdlib_test.c41 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_strings_test.c41 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_poll_test.c41 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_select_test.c41 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_uio_test.c41 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_stdio_test.c41 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_socket_test.c41 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_wchar_test.c41 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_unistd_test.c41 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
H A Dfortify_string_test.c41 fp = fmemopen(fpbuf, sizeof(fpbuf), "rb"); in new_fp()
/src/lib/libc/tests/net/getaddrinfo/
H A Dgetaddrinfo.c61 return (fmemopen(resconf, strlen(resconf), mode)); in fopen()
/src/tests/sys/file/
H A Dclosefrom_test.c68 fp = fmemopen(shared_page, PAGE_SIZE - 1, "w"); in child_fail_require()
/src/include/
H A Dstdio.h379 FILE *fmemopen(void * __restrict, size_t, const char * __restrict);
/src/sbin/setkey/
H A Dsetkey.c144 fp = fmemopen(optarg, strlen(optarg), "r"); in main()
/src/contrib/file/src/
H A Dcompress.c862 in = fmemopen(RCAST(void *, old), bytes_max, "r"); in uncompresslrzip()
876 out = fmemopen(*newch, *n, "w"); in uncompresslrzip()
/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc6217 INTERCEPTOR(__sanitizer_FILE *, fmemopen, void *buf, SIZE_T size,
6220 COMMON_INTERCEPTOR_ENTER(ctx, fmemopen, buf, size, mode);
6224 __sanitizer_FILE *res = REAL(fmemopen)(buf, size, mode);
6231 COMMON_INTERCEPT_FUNCTION(fmemopen);

12