Home
last modified time | relevance | path

Searched refs:fopen (Results 1 – 25 of 48) sorted by relevance

12

/bionic/tests/
Dstdio_ext_test.cpp37 FILE* fp = fopen("/proc/version", "r"); in TEST()
57 FILE* fp = fopen("/proc/version", "r"); in TEST()
70 FILE* fp = fopen("/dev/null", "w"); in TEST()
104 FILE* fp = fopen("/dev/null", "w"); in TEST()
123 fp = fopen("/dev/null", "r"); in TEST()
129 fp = fopen("/dev/null", "w"); in TEST()
135 fp = fopen("/dev/null", "a"); in TEST()
142 fp = fopen("/dev/null", read_write_mode); in TEST()
153 fp = fopen("/dev/zero", "a"); in TEST()
162 fp = fopen("/dev/zero", "w"); in TEST()
[all …]
Dfdsan_test.cpp123 TEST_F(fdsan_DeathTest, fopen) { in TEST_F() argument
125 FILE* f = fopen("/dev/null", "r"); in TEST_F()
Dstdio_test.cpp64 ASSERT_NE(nullptr, fp = fopen(path, "w")); in SetFileTo()
71 ASSERT_NE(nullptr, fp = fopen(path, "r")); in AssertFileIs()
108 FILE* fp = fopen("/dev/null", "w"); in TEST()
210 FILE* fp = fopen("/proc", "r"); in TEST()
1010 FILE* fp = fopen("/proc/version", "r"); in TEST()
1021 FILE* fp = fopen("/proc/version", "r"); in TEST()
1344 FILE* fp = fopen("/proc/version", "r"); in TEST()
1471 fp = fopen(tf.path, "r"); in TEST()
1981 FILE* fp = fopen("/proc/version", "r"); in TEST()
1992 FILE* fp = fopen("/proc/version", "re"); in TEST()
[all …]
Dutils.h113 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen("/proc/self/maps", "re"), fclose); in parse_maps()
Dfcntl_test.cpp222 FILE* expected_fp = fopen("/proc/version", "r"); in TEST()
Dfortify_test.cpp648 FILE* fp = fopen("/dev/null", "r"); in TEST_F()
656 FILE* fp = fopen("/dev/null", "w"); in TEST_F()
/bionic/benchmarks/
Dstdio_benchmark.cpp32 FILE* fp = fopen(tf.path, "we"); in FillFile()
41 FILE* fp = fopen("/dev/zero", "r+e"); in ReadWriteTest()
85 FILE* fp = fopen(tf.path, "re"); in FopenFgetlnFclose()
110 FILE* fp = fopen(tf.path, "re"); in FopenFgetsFclose()
132 FILE* fp = fopen(tf.path, "re"); in FopenGetlineFclose()
156 FILE* fp = fopen("/dev/zero", "re"); in FopenFgetcFclose()
/bionic/libc/bionic/
Dsysinfo.cpp67 FILE* fp = fopen("/sys/devices/system/cpu/online", "re"); in get_nprocs()
Dpthread_attr.cpp158 FILE* fp = fopen("/proc/self/stat", "re"); in __get_main_stack_startstack()
205 FILE* fp = fopen("/proc/self/maps", "re"); in __pthread_attr_getstack_main_thread()
Dmntent.cpp67 return fopen(path, mode); in setmntent()
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_150.S22 CALL(fopen)
Dliblinker_reloc_bench_065.S196 CALL(fopen)
Dliblinker_reloc_bench_027.S316 CALL(fopen)
Dliblinker_reloc_bench_081.S303 CALL(fopen)
Dliblinker_reloc_bench_144.S206 CALL(fopen)
Dliblinker_reloc_bench_031.S350 CALL(fopen)
Dliblinker_reloc_bench_076.S249 CALL(fopen)
/bionic/tests/libs/
Dbionic_tests_zipalign.cpp146 FILE* zip_dst = fopen(argv[3], "we"); in main()
/bionic/tests/headers/posix/
Dstdio_h.c92 FUNCTION(fopen, FILE* (*f)(const char*, const char*)); in stdio_h()
/bionic/libc/malloc_debug/
DMapData.cpp148 FILE* fp = fopen("/proc/self/maps", "re"); in ReadMaps()
/bionic/libc/system_properties/
Dcontexts_split.cpp212 FILE* file = fopen(filename, "re"); in InitializePropertiesFromFile()
/bionic/libc/dns/net/
Dsethostent.c83 *hf = fopen(_PATH_HOSTS, "re"); in sethostent_r()
/bionic/libc/include/
Dstdio.h256 FILE* fopen(const char* __path, const char* __mode);
/bionic/
DREADME.md18 The C library. Stuff like `fopen(3)` and `kill(2)`.
46 jump to `fopen(3)`, say, it lands in the right place).
/bionic/libc/stdio/
Dstdio.cpp247 FILE* fopen(const char* file, const char* mode) { in fopen() function
269 __strong_alias(fopen64, fopen);

12