Home
last modified time | relevance | path

Searched refs:statbuf (Results 1 – 9 of 9) sorted by relevance

/picolibc-latest/semihost/machine/arc/
Darc_fstat.c70 fstat(int fd, struct stat *restrict statbuf) in fstat() argument
78 statbuf->st_dev = arc_stat.my_dev; in fstat()
79 statbuf->st_ino = arc_stat.my_ino; in fstat()
80 statbuf->st_mode = arc_stat.my_mode; in fstat()
81 statbuf->st_nlink = arc_stat.my_nlink; in fstat()
82 statbuf->st_uid = arc_stat.my_uid; in fstat()
83 statbuf->st_gid = arc_stat.my_gid; in fstat()
84 statbuf->st_rdev = arc_stat.my_rdev; in fstat()
85 statbuf->st_size = arc_stat.my_size; in fstat()
86 statbuf->st_blksize = arc_stat.my_blksize; in fstat()
[all …]
Darc_stat.c70 stat(const char *pathname, struct stat *restrict statbuf) in stat() argument
78 statbuf->st_dev = arc_stat.my_dev; in stat()
79 statbuf->st_ino = arc_stat.my_ino; in stat()
80 statbuf->st_mode = arc_stat.my_mode; in stat()
81 statbuf->st_nlink = arc_stat.my_nlink; in stat()
82 statbuf->st_uid = arc_stat.my_uid; in stat()
83 statbuf->st_gid = arc_stat.my_gid; in stat()
84 statbuf->st_rdev = arc_stat.my_rdev; in stat()
85 statbuf->st_size = arc_stat.my_size; in stat()
86 statbuf->st_blksize = arc_stat.my_blksize; in stat()
[all …]
/picolibc-latest/semihost/machine/m68k/
Dm68k_semihost.h89 copy_stat(struct stat *restrict statbuf, struct m68k_stat *m68k_stat) in copy_stat() argument
91 statbuf->st_dev = be32toh(m68k_stat->my_dev); in copy_stat()
92 statbuf->st_ino = be32toh(m68k_stat->my_ino); in copy_stat()
93 statbuf->st_mode = be32toh(m68k_stat->my_mode); in copy_stat()
94 statbuf->st_nlink = be32toh(m68k_stat->my_nlink); in copy_stat()
95 statbuf->st_uid = be32toh(m68k_stat->my_uid); in copy_stat()
96 statbuf->st_gid = be32toh(m68k_stat->my_gid); in copy_stat()
97 statbuf->st_rdev = be32toh(m68k_stat->my_rdev); in copy_stat()
98 statbuf->st_size = be32toh(m68k_stat->my_size); in copy_stat()
99 statbuf->st_blksize = be32toh(m68k_stat->my_blksize); in copy_stat()
[all …]
Dm68k_fstat.c46 fstat(int fd, struct stat *restrict statbuf) in fstat() argument
52 copy_stat(statbuf, &m68k_stat); in fstat()
Dm68k_stat.c44 stat(const char *pathname, struct stat *restrict statbuf) in stat() argument
50 copy_stat(statbuf, &m68k_stat); in stat()
/picolibc-latest/semihost/machine/nios2/
Dnios2_semihost.h89 copy_stat(struct stat *restrict statbuf, struct nios2_stat *nios2_stat) in copy_stat() argument
91 statbuf->st_dev = be32toh(nios2_stat->my_dev); in copy_stat()
92 statbuf->st_ino = be32toh(nios2_stat->my_ino); in copy_stat()
93 statbuf->st_mode = be32toh(nios2_stat->my_mode); in copy_stat()
94 statbuf->st_nlink = be32toh(nios2_stat->my_nlink); in copy_stat()
95 statbuf->st_uid = be32toh(nios2_stat->my_uid); in copy_stat()
96 statbuf->st_gid = be32toh(nios2_stat->my_gid); in copy_stat()
97 statbuf->st_rdev = be32toh(nios2_stat->my_rdev); in copy_stat()
98 statbuf->st_size = be32toh(nios2_stat->my_size); in copy_stat()
99 statbuf->st_blksize = be32toh(nios2_stat->my_blksize); in copy_stat()
[all …]
Dnios2_fstat.c46 fstat(int fd, struct stat *restrict statbuf) in fstat() argument
52 copy_stat(statbuf, &nios2_stat); in fstat()
Dnios2_stat.c44 stat(const char *pathname, struct stat *restrict statbuf) in stat() argument
50 copy_stat(statbuf, &nios2_stat); in stat()
/picolibc-latest/newlib/libc/search/
Dhash.c108 struct stat64 statbuf; local
110 struct stat statbuf; local
135 (stat64(file, &statbuf) && (errno == ENOENT))) {
137 (stat(file, &statbuf) && (errno == ENOENT))) {
151 fstat64(hashp->fp, &statbuf) == 0 && statbuf.st_size == 0)
153 fstat(hashp->fp, &statbuf) == 0 && statbuf.st_size == 0)
311 struct stat64 statbuf; local
313 struct stat statbuf;
333 if (stat64(file, &statbuf))
335 if (stat(file, &statbuf))
[all …]