Home
last modified time | relevance | path

Searched refs:readfile (Results 1 – 24 of 24) sorted by relevance

/external/compiler-rt/test/BlocksRuntime/
Dfail.c22 bool readfile(char *buffer, const char *from) { in readfile() function
84 bool gotErrorFile = readfile(desired, errorfile); in main()
85 bool gotOutput = readfile(got, buffer); in main()
/external/toybox/toys/posix/
Dkill.c121 if (!readfile(toybuf, toybuf, sizeof(toybuf))) continue;
127 if (!readfile(toybuf, toybuf, sizeof(toybuf)) || !*toybuf) continue;
Dps.c1501 if (readfile("/proc/stat", pos = toybuf, sizeof(toybuf))) { in top_common()
1588 if (readfile("/proc/meminfo", toybuf+256, sizeof(toybuf)-256)) { in top_common()
/external/toybox/toys/other/
Dlogin.c111 ss = readfile("/etc/nologin", toybuf, sizeof(toybuf)); in login_main()
125 if ((ss = readfile("/etc/motd", 0, 0))) puts(ss); in login_main()
Dpmap.c40 line = readfile(toybuf, 0, 0); in pmap_main()
Dsysctl.c75 data = readfile(path, 0, 0); in do_show_keys()
Dacpi.c121 if (readfile(TT.cpath, toybuf, 256) && !errno) { in cool_callback()
/external/mesa3d/src/freedreno/perfcntrs/
Dfdperf.c112 readfile(const char *path, int *sz) in readfile() function
176 buf = readfile(path, &sz); in readdt()
189 uint32_t *buf = readfile(fpath, &sz); in find_freqs_fn()
255 char *str = readfile(fpath, &sz); in find_device_fn()
266 val = readfile(buf, &sz); in find_device_fn()
271 val = readfile(buf, &sz); in find_device_fn()
/external/wpa_supplicant_8/hs20/server/www/
Dterms.php36 readfile($t_c_file);
Dest.php116 readfile("$osu_root/est/est-attrs.b64");
/external/skqp/infra/bots/recipe_modules/run/examples/
Dfull.py35 api.run.readfile('myfile.txt')
/external/skia/infra/bots/recipe_modules/run/examples/
Dfull.py36 api.run.readfile('myfile.txt')
/external/skia/infra/bots/recipe_modules/run/
Dapi.py40 def readfile(self, filename, *args, **kwargs): member in SkiaStepApi
/external/skqp/infra/bots/recipe_modules/run/
Dapi.py40 def readfile(self, filename, *args, **kwargs): member in SkiaStepApi
/external/python/cpython2/Lib/
Dimaplib.py1260 self.readfile = self.process.stdout
1265 return self.readfile.read(size)
1270 return self.readfile.readline()
1281 self.readfile.close()
/external/skia/infra/bots/recipe_modules/flavor/
Dwin_ssh.py82 return self.m.run.readfile(host_path)
/external/python/cpython3/Lib/
Dimaplib.py1346 self.readfile = self.process.stdout
1350 return self.readfile.read(size)
1355 return self.readfile.readline()
1366 self.readfile.close()
/external/mesa3d/src/freedreno/afuc/
Ddisasm.c778 static char * readfile(const char *path, int *sz) in readfile() function
889 buf = (uint32_t *)readfile(file, &sz); in main()
/external/ppp/pppd/
Doptions.c154 static int readfile __P((char **));
232 { "file", o_special, (void *)readfile,
1429 readfile(argv) in readfile() function
/external/toybox/toys/net/
Dnetstat.c243 if (!(readfile(toybuf, toybuf, 256))) return 0; in scan_pids()
/external/toybox/toys/pending/
Dlsof.c394 if (!readfile(toybuf, toybuf, sizeof(toybuf)-1) || !(s = strchr(toybuf, '('))) in lsof_pid()
/external/toybox/lib/
Dlib.h214 char *readfile(char *name, char *buf, off_t len);
Dxwrap.c765 if (!(buf = readfile(name, buf, len))) perror_exit("Bad '%s'", name); in xreadfile()
Dlib.c562 char *readfile(char *name, char *ibuf, off_t len) in readfile() function