/third_party/musl/Benchmark/musl/ |
D | libc_stdio.cpp | 65 FILE *fp = fopen("/dev/zero", "r"); in Bm_function_Fopen_read() 82 FILE *fp = fopen("/dev/zero", "w"); in Bm_function_Fopen_write() 99 FILE *fp = fopen("/dev/zero", "a"); in Bm_function_Fopen_append() 116 FILE *fp = fopen("/dev/zero", "r+"); in Bm_function_Fopen_rplus() 133 FILE *fp = fopen("/dev/zero", "w+"); in Bm_function_Fopen_wplus() 150 FILE *fp = fopen("/dev/zero", "a+"); in Bm_function_Fopen_append_plus() 167 FILE *fp = fopen("/dev/zero", "rb"); in Bm_function_Fopen_rb() 184 FILE *fp = fopen("/dev/zero", "wb"); in Bm_function_Fopen_wb() 201 FILE *fp = fopen("/dev/zero", "ab"); in Bm_function_Fopen_ab() 218 FILE *fp = fopen("/dev/zero", "rb+"); in Bm_function_Fopen_rb_plus() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
D | fopen.c | 42 FILE *fptr = fopen("tempory_test.txt", "w"); in fopen_0100() 50 fptr = fopen("tempory_test.txt", "r"); in fopen_0100() 81 FILE *fptr = fopen("tempory_test1.txt", "r"); in fopen_0200() 95 FILE *fptr = fopen("tempory_test3.txt", "w"); in fopen_0300() 125 FILE *fptr = fopen("tempory_test2.txt", "w"); in fopen_0400() 161 FILE *fptr = fopen("tempory_test5.txt", "w"); in fopen_0500() 170 fptr = fopen("tempory_test5.txt", "a"); in fopen_0500() 184 fptr = fopen("tempory_test5.txt", "r"); in fopen_0500() 211 FILE *fptr = fopen("tempory_test6.txt", "w"); in fopen_0600() 239 FILE *fptr = fopen("./tempory_test.txt", "b"); in fopen_0700() [all …]
|
D | __freading.c | 30 FILE *fp = fopen(path, "w"); in __freading_0100() 33 FILE *ffp = fopen(path, "r"); in __freading_0100() 49 FILE *fp = fopen(path, "w"); in __freading_0200() 52 FILE *ffp = fopen(path, "r"); in __freading_0200() 70 FILE *fp = fopen(path, "w"); in __freading_0300()
|
D | fseeko.c | 30 FILE *fp = fopen(path, "w+"); in fseeko_0100() 60 FILE *fp = fopen(path, "w+"); in fseeko_0200() 90 FILE *fp = fopen(path, "w+"); in fseeko_0300() 126 FILE *fp = fopen(path, "w+"); in fseeko_0400() 156 FILE *fp = fopen(path, "w+"); in fseeko_0500() 182 FILE *fp = fopen(path, "w+"); in fseeko_0600()
|
D | fgets.c | 30 FILE *fptr = fopen(ptr, "wr+"); in fgets_0100() 57 FILE *fptr = fopen(ptr, "wr+"); in fgets_0200() 83 FILE *fptr = fopen(ptr, "wr+"); in fgets_0300() 109 FILE *fptr = fopen(ptr, "wr+"); in fgets_0400() 135 FILE *fptr = fopen(ptr, "wr+"); in fgets_0500() 161 FILE *fptr = fopen(ptr, "wr+"); in fgets_0600()
|
D | fputs.c | 27 FILE *fptr = fopen(path, "w+"); in fputs_0100() 43 FILE *fptr = fopen(path, "w+"); in fputs_0200() 59 FILE *p = fopen(path, "w"); in fputs_0300() 61 p = fopen(path, "r"); in fputs_0300()
|
D | fread.c | 36 FILE *fptr = fopen(ptr, "w+"); in fread_0100() 61 FILE *fptr = fopen(ptr, "w+"); in fread_0200() 86 FILE *fptr = fopen(ptr, "w+"); in fread_0300() 108 FILE *fptr = fopen(ptr, "w+"); in fread_0400() 144 FILE *fStatus = fopen(buf, "rb"); in fread_0500()
|
D | __fpending.c | 30 FILE *fp = fopen(path, "w"); in __fpending_0100() 51 FILE *fp = fopen(path, "w"); in __fpending_0200() 72 FILE *fp = fopen(path, "w"); in __fpending_0300() 78 FILE *ffp = fopen(path, "r"); in __fpending_0300()
|
D | fputwc.c | 38 FILE *fp = fopen("file.txt", "w+"); in fputwc_0100() 51 FILE *ffp = fopen("file.txt", "r"); in fputwc_0100() 73 FILE *fp = fopen("file.txt", "w+"); in fputwc_0200() 85 FILE *ffp = fopen("file.txt", "r"); in fputwc_0200()
|
/third_party/ltp/testcases/kernel/fs/stream/ |
D | stream05.c | 76 if ((stream = fopen(tempfile, "a+")) == NULL) { in main() 84 if ((stream = fopen(tempfile, "r+")) == NULL) { in main() 135 if ((stream = fopen(tempfile, "r+")) == NULL) { in main() 182 if ((stream = fopen(tempfile, "rb")) == NULL) { in main() 189 if ((stream = fopen(tempfile, "wb")) == NULL) { in main() 196 if ((stream = fopen(tempfile, "ab")) == NULL) { in main() 203 if ((stream = fopen(tempfile, "rb+")) == NULL) { in main() 210 if ((stream = fopen(tempfile, "wb+")) == NULL) { in main() 217 if ((stream = fopen(tempfile, "ab+")) == NULL) { in main()
|
/third_party/curl/ |
D | backport-after-CVE-2022-32207-to-fix-build-error-when-user-don-t-use-glibc.patch | 4 Subject: [PATCH] fopen: add Curl_fopen() for better overwriting of files 10 lib/fopen.c | 19 +++++++++++++------ 11 lib/fopen.h | 2 ++ 52 diff --git a/lib/fopen.c b/lib/fopen.c 54 --- a/lib/fopen.c 55 +++ b/lib/fopen.c 97 diff --git a/lib/fopen.h b/lib/fopen.h 99 --- a/lib/fopen.h 100 +++ b/lib/fopen.h
|
D | backport-CVE-2022-32207.patch | 4 Subject: [PATCH 1/3] fopen: add Curl_fopen() for better overwriting of files 9 lib/fopen.c | 106 +++++++++++++++++++++++++++++++++++++++++++++++ 10 lib/fopen.h | 28 +++++++++++++ 12 create mode 100644 lib/fopen.c 13 create mode 100644 lib/fopen.h 23 + fopen.c \ 31 + fopen.h \ 45 +#include "fopen.h" 62 - out = fopen(tempstore, FOPEN_WRITETEXT); 81 Index: curl-7.81.0/lib/fopen.c [all …]
|
/third_party/ltp/testcases/kernel/security/tomoyo/ |
D | include.h | 89 FILE *fp = fopen(path, "w"); in write_sysctl() 100 FILE *fp = fopen(path, "r"); in read_sysctl() 163 FILE *fp = fopen(proc_policy_profile, "r"); in clear_status() 211 profile_fp = fopen(proc_policy_profile, "w"); in tomoyo_test_init() 217 domain_fp = fopen(proc_policy_domain_policy, "w"); in tomoyo_test_init() 224 exception_fp = fopen(proc_policy_exception_policy, "w"); in tomoyo_test_init() 238 FILE *fp = fopen(proc_policy_self_domain, "r"); in tomoyo_test_init() 275 FILE *fp = fopen(proc_policy_domain_policy, "r"); in write_domain_policy() 314 FILE *fp = fopen(proc_policy_exception_policy, "r"); in write_exception_policy() 349 FILE *fp = fopen(proc_policy_profile, "r"); in set_profile()
|
D | tomoyo_policy_memory_test.c | 46 FILE *fp = fopen("/sys/kernel/security/tomoyo/meminfo", "r"); in get_meminfo() 53 FILE *fp = fopen(policy_file, "r"); in check_policy_common() 187 FILE *fp = fopen(policy_file, "w"); in domain_policy_test() 219 FILE *fp = fopen(policy_file, "w"); in domain_policy_test() 297 FILE *fp = fopen(policy_file, "w"); in exception_policy_test() 328 FILE *fp = fopen(policy_file, "w"); in exception_policy_test()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | access.c | 34 FILE *fptr = fopen(ptr, "w"); in access_0100() 54 FILE *fptr = fopen(ptr, "w"); in access_0200() 102 FILE *fptr = fopen(ptr, "w"); in access_0500() 121 FILE *fptr = fopen(ptr, "w"); in access_0600() 140 FILE *fptr = fopen(ptr, "w"); in access_0700() 160 FILE *fptr = fopen(ptr, "w"); in access_0800()
|
/third_party/lz4/examples/ |
D | blockStreaming_ringBuffer.c | 155 { FILE* const inpFp = fopen(inpFilename, "rb"); in main() 156 FILE* const outFp = fopen(lz4Filename, "wb"); in main() 165 { FILE* const inpFp = fopen(lz4Filename, "rb"); in main() 166 FILE* const outFp = fopen(decFilename, "wb"); in main() 175 { FILE* const inpFp = fopen(inpFilename, "rb"); in main() 176 FILE* const decFp = fopen(decFilename, "rb"); in main()
|
D | fileCompress.c | 174 { FILE* const inpFp = fopen(inpFilename, "rb"); in main() 175 FILE* const outFp = fopen(lz4Filename, "wb"); in main() 197 FILE* const inpFp = fopen(lz4Filename, "rb"); in main() 198 FILE* const outFp = fopen(decFilename, "wb"); in main() 215 { FILE* const inpFp = fopen(inpFilename, "rb"); in main() 216 FILE* const decFp = fopen(decFilename, "rb"); in main()
|
D | blockStreaming_doubleBuffer.c | 160 FILE* inpFp = fopen(inpFilename, "rb"); in main() 161 FILE* outFp = fopen(lz4Filename, "wb"); in main() 173 FILE* inpFp = fopen(lz4Filename, "rb"); in main() 174 FILE* outFp = fopen(decFilename, "wb"); in main() 186 FILE* inpFp = fopen(inpFilename, "rb"); in main() 187 FILE* decFp = fopen(decFilename, "rb"); in main()
|
D | blockStreaming_lineByLine.c | 175 FILE* inpFp = fopen(inpFilename, "rb"); in main() 176 FILE* outFp = fopen(lz4Filename, "wb"); in main() 186 FILE* inpFp = fopen(lz4Filename, "rb"); in main() 187 FILE* outFp = fopen(decFilename, "wb"); in main() 197 FILE* inpFp = fopen(inpFilename, "rb"); in main() 198 FILE* decFp = fopen(decFilename, "rb"); in main()
|
D | HCStreaming_ringBuffer.c | 191 { FILE* const inpFp = fopen(inpFilename, "rb"); in main() 192 FILE* const outFp = fopen(lz4Filename, "wb"); in main() 201 { FILE* const inpFp = fopen(lz4Filename, "rb"); in main() 202 FILE* const outFp = fopen(decFilename, "wb"); in main() 211 { FILE* const inpFp = fopen(inpFilename, "rb"); in main() 212 FILE* const decFp = fopen(decFilename, "rb"); in main()
|
D | dictionaryRandomAccess.c | 230 FILE* dictFp = fopen(dictFilename, "rb"); in main() 237 FILE* inpFp = fopen(inpFilename, "rb"); in main() 238 FILE* outFp = fopen(lz4Filename, "wb"); in main() 250 FILE* inpFp = fopen(lz4Filename, "rb"); in main() 251 FILE* outFp = fopen(decFilename, "wb"); in main() 263 FILE* inpFp = fopen(inpFilename, "rb"); in main() 264 FILE* decFp = fopen(decFilename, "rb"); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/process/ |
D | fork.c | 39 fp = fopen("test1.txt", "w+"); in fork_0100() 43 fp = fopen("test2.txt", "w+"); in fork_0100() 48 FILE *fp1 = fopen("test1.txt", "r"); in fork_0100() 49 FILE *fp2 = fopen("test2.txt", "r"); in fork_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | forkpty.c | 40 fp = fopen("test1.txt", "w+"); in forkpty_0100() 44 fp = fopen("test2.txt", "w+"); in forkpty_0100() 49 FILE *fp1 = fopen("test1.txt", "r"); in forkpty_0100() 50 FILE *fp2 = fopen("test2.txt", "r"); in forkpty_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
D | mmap.c | 40 FILE *fptr = fopen(ptr, "w+"); in mmap_0100() 77 FILE *fptr = fopen(ptr, "w+"); in mmap_0200() 131 FILE *fptr = fopen(ptr, "w+"); in mmap_0400() 168 FILE *fptr = fopen(ptr, "w+"); in mmap_0500() 206 FILE *fptr = fopen(ptr, "w+"); in mmap_0600() 241 FILE *fptr = fopen(ptr, "w+"); in mmap_0700() 277 FILE *fptr = fopen(ptr, "w+"); in mmap_0800() 308 FILE *fptr = fopen(ptr, "w+"); in mmap_0900() 340 FILE *fptr = fopen(ptr, "w+"); in mmap_1000() 376 FILE *fptr = fopen(ptr, "w+"); in mmap_1100()
|
/third_party/cups-filters/cupsfilters/ |
D | testrgb.c | 116 in = fopen("image.pgm", "rb"); in test_gray() 138 out[i] = fopen(filename, "wb"); in test_gray() 144 comp = fopen(filename, "wb"); in test_gray() 246 in = fopen("image.ppm", "rb"); in test_rgb() 268 out[i] = fopen(filename, "wb"); in test_rgb() 274 comp = fopen(filename, "wb"); in test_rgb()
|