Searched refs:readfileat (Results 1 – 6 of 6) sorted by relevance
/third_party/toybox/toys/other/ |
D | insmod.c | 45 char *buf = readfileat(AT_FDCWD, path, NULL, &len); in insmod_main()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | ps.c | 698 if (!readfileat(fd, buf, buf, &len)) return 0; in get_ps() 744 if (!readfileat(fd, buf, buf, &temp)) *buf = 0; in get_ps() 758 if (!readfileat(fd, buf, buf, &temp)) *buf = 0; in get_ps() 785 if (!readfileat(fd, buf, buf, &temp)) *buf = 0; in get_ps() 797 if (readfileat(fd, buf, buf, &temp) && !memcmp(buf, "\177ELF", 4)) { in get_ps() 911 if (readfileat(fd, buf, buf, &len) && len>0) { in get_ps()
|
/third_party/toybox/lib/ |
D | lib.c | 536 char *readfileat(int dirfd, char *name, char *ibuf, off_t *plen) in readfileat() function 579 return readfileat(AT_FDCWD, name, ibuf, &len); in readfile() 1085 if (!(comm = readfileat(AT_FDCWD, libbuf, libbuf, &len)) || !len) in names_to_pid() 1114 if (!(cmd = readfileat(AT_FDCWD, cmd, cmd, &len))) continue; in names_to_pid()
|
D | lib.h | 219 char *readfileat(int dirfd, char *name, char *buf, off_t *len);
|
/third_party/toybox/toys/posix/ |
D | ps.c | 741 if (!readfileat(fd, buf, buf, &len)) return 0; in get_ps() 787 if (!readfileat(fd, buf, buf, &temp)) *buf = 0; in get_ps() 801 if (!readfileat(fd, buf, buf, &temp)) *buf = 0; in get_ps() 828 if (!readfileat(fd, buf, buf, &temp)) *buf = 0; in get_ps() 840 if (readfileat(fd, buf, buf, &temp) && !memcmp(buf, "\177ELF", 4)) { in get_ps() 954 if (readfileat(fd, buf, buf, &len) && len>0) { in get_ps()
|
/third_party/toybox/porting/liteos_a/lib/ |
D | lib.h | 212 char *readfileat(int dirfd, char *name, char *buf, off_t *len);
|