Home
last modified time | relevance | path

Searched refs:write_file (Results 1 – 2 of 2) sorted by relevance

/system/extras/tests/bionic/libc/common/
Dbench_stdio.c61 void write_file(FILE* fp, int chunkSize) in write_file() function
101 BENCH(write_file(fp,1)); in main()
102 BENCH(write_file(fp,2)); in main()
103 BENCH(write_file(fp,3)); in main()
104 BENCH(write_file(fp,4)); in main()
105 BENCH(write_file(fp,8)); in main()
106 BENCH(write_file(fp,16)); in main()
107 BENCH(write_file(fp,32)); in main()
108 BENCH(write_file(fp,64)); in main()
109 BENCH(write_file(fp,256)); in main()
[all …]
/system/core/init/
Dbuiltins.c55 static int write_file(const char *path, const char *value) in write_file() function
237 return write_file("/proc/sys/kernel/domainname", args[1]); in do_domainname()
253 return write_file("/proc/sys/kernel/hostname", args[1]); in do_hostname()
649 return write_file(path, prop_val); in do_write()