Home
last modified time | relevance | path

Searched refs:readfile (Results 1 - 19 of 19) sorted by relevance

/third_party/node/test/parallel/
H A Dtest-fs-readfile-error.js38 const filename = fixtures.path('test-fs-readfile-error.js');
51 assert.match(data, /test-fs-readfile-error/);
56 assert.match(data, /test-fs-readfile-error/);
/third_party/lame/misc/
H A Dmlame_corr.c168 void readfile ( const char* name, int fd ) in readfile() function
208 readfile ( "<stdin>", 0 ); in main()
212 readfile ( name, fd ); in main()
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dkill.c115 if (!readfile(toybuf, toybuf, sizeof(toybuf))) continue; in kill_main()
121 if (!readfile(toybuf, toybuf, sizeof(toybuf)) || !*toybuf) continue; in kill_main()
H A Dps.c1357 if (readfile("/proc/stat", pos = toybuf, sizeof(toybuf))) { in top_common()
1444 if (readfile("/proc/meminfo", toybuf+256, sizeof(toybuf)-256)) { in top_common()
/third_party/toybox/toys/other/
H A 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()
H A Dacpi.c121 if (readfile(TT.cpath, toybuf, 256) && !errno) { in cool_callback()
H A Dpmap.c40 line = readfile(toybuf, 0, 0); in pmap_main()
H A Dsysctl.c75 data = readfile(path, 0, 0); in do_show_keys()
/third_party/toybox/toys/posix/
H A Dkill.c121 if (!readfile(toybuf, toybuf, sizeof(toybuf))) continue; in kill_main()
127 if (!readfile(toybuf, toybuf, sizeof(toybuf)) || !*toybuf) continue; in kill_main()
H A Dps.c1500 if (readfile("/proc/stat", pos = toybuf, sizeof(toybuf))) { in top_common()
1588 if (readfile("/proc/meminfo", toybuf+256, sizeof(toybuf)-256)) { in top_common()
/third_party/skia/infra/bots/recipe_modules/run/examples/
H A Dfull.py37 api.run.readfile('myfile.txt')
/third_party/skia/infra/bots/recipe_modules/run/
H A Dapi.py40 def readfile(self, filename, *args, **kwargs): member in SkiaStepApi
/third_party/python/Lib/
H A Dimaplib.py1372 self.readfile = self.process.stdout
1376 return self.readfile.read(size)
1381 return self.readfile.readline()
1392 self.readfile.close()
/third_party/toybox/toys/net/
H A Dnetstat.c243 if (!(readfile(toybuf, toybuf, 256))) return 0; in scan_pids()
/third_party/toybox/toys/pending/
H A Dlsof.c392 if (!readfile(toybuf, toybuf, sizeof(toybuf)-1) || !(s = strchr(toybuf, '('))) in lsof_pid()
/third_party/toybox/lib/
H A Dlib.h220 char *readfile(char *name, char *buf, off_t len);
H A Dxwrap.c762 if (!(buf = readfile(name, buf, len))) perror_exit("Bad '%s'", name); in xreadfile()
H A Dlib.c597 char *readfile(char *name, char *ibuf, off_t len) in readfile() function
1135 // readfile only guarantees one null terminator and we need two in names_to_pid()
/third_party/toybox/porting/liteos_a/lib/
H A Dlib.h213 char *readfile(char *name, char *buf, off_t len);

Completed in 17 milliseconds