Home
last modified time | relevance | path

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

123

/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.cpp113 TEST_F(FdsanTest, fopen) { in TEST_F() argument
115 FILE* f = fopen("/dev/null", "r"); in TEST_F()
Dstdio_test.cpp63 ASSERT_NE(nullptr, fp = fopen(path, "w")); in SetFileTo()
70 ASSERT_NE(nullptr, fp = fopen(path, "r")); in AssertFileIs()
107 FILE* fp = fopen("/dev/null", "w"); in TEST()
209 FILE* fp = fopen("/proc", "r"); in TEST()
1004 FILE* fp = fopen("/proc/version", "r"); in TEST()
1015 FILE* fp = fopen("/proc/version", "r"); in TEST()
1340 FILE* fp = fopen("/proc/version", "r"); in TEST()
1467 fp = fopen(tf.path, "r"); in TEST()
1972 FILE* fp = fopen("/proc/version", "r"); in TEST()
1997 FILE* fp = fopen("/dev/zero", "r"); in TEST()
[all …]
Dutils.h117 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.cpp645 FILE* fp = fopen("/dev/null", "r"); in TEST_F()
653 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/
Dpututline.c39 if (!(f = fopen(_PATH_UTMP, "w+e"))) in pututline()
58 if (!(f = fopen(_PATH_UTMP, "w+e"))) in pututline()
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()
Dsysinfo.cpp67 FILE* fp = fopen("/sys/devices/system/cpu/online", "re"); in get_nprocs()
Dmntent.cpp67 return fopen(path, mode); in setmntent()
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_150.S22 CALL(fopen)
Dliblinker_reloc_bench_027.S316 CALL(fopen)
Dliblinker_reloc_bench_065.S196 CALL(fopen)
Dliblinker_reloc_bench_081.S303 CALL(fopen)
Dliblinker_reloc_bench_144.S206 CALL(fopen)
Dliblinker_reloc_bench_076.S249 CALL(fopen)
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dutmp.c64 if ((ut = fopen(utfile, "re")) == NULL) in getutent()
/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.cpp145 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.c86 *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).

123