Home
last modified time | relevance | path

Searched refs:st (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/kernel/uapi/asm-x86/asm/
Dstat.h50 #define INIT_STRUCT_STAT_PADDING(st) do { st.__unused4 = 0; st.__unused5 = 0; } while (0) argument
79 …efine INIT_STRUCT_STAT64_PADDING(st) do { memset(&st.__pad0, 0, sizeof(st.__pad0)); memset(&st argument
106 #define INIT_STRUCT_STAT_PADDING(st) do { st.__pad0 = 0; st.__linux_unused[0] = 0; st.__linux… argument
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dftok.c36 struct stat st; in ftok() local
38 if (stat(path, &st) < 0) in ftok()
42 ((id & 0xff) << 24 | (st.st_dev & 0xff) << 16 | (st.st_ino & 0xffff)); in ftok()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dremove.c42 struct stat st; in remove() local
44 if (lstat(file, &st) < 0) in remove()
46 if (S_ISDIR(st.st_mode)) in remove()
Dmakebuf.c83 struct stat st; in __swhatbuf() local
85 if (fp->_file < 0 || fstat(fp->_file, &st) < 0) { in __swhatbuf()
92 *couldbetty = S_ISCHR(st.st_mode); in __swhatbuf()
93 if (st.st_blksize == 0) { in __swhatbuf()
103 *bufsize = st.st_blksize; in __swhatbuf()
104 fp->_blksize = st.st_blksize; in __swhatbuf()
105 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ? in __swhatbuf()
Dfgetwc.c41 mbstate_t *st; in __fgetwc_unlock() local
59 st = &wcio->wcio_mbstate_in; in __fgetwc_unlock()
70 size = mbrtowc(&wc, &c, 1, st); in __fgetwc_unlock()
Dfputwc.c43 mbstate_t *st; in __fputwc_unlock() local
62 st = &wcio->wcio_mbstate_out; in __fputwc_unlock()
64 size = wcrtomb(buf, wc, st); in __fputwc_unlock()
Dfseek.c54 struct stat st; in fseeko() local
130 fp->_file < 0 || fstat(fp->_file, &st) || in fseeko()
131 (st.st_mode & S_IFMT) != S_IFREG) { in fseeko()
135 fp->_blksize = st.st_blksize; in fseeko()
146 if (fstat(fp->_file, &st)) in fseeko()
148 target = st.st_size + offset; in fseeko()
/bionic/libc/upstream-openbsd/lib/libc/locale/
D_wcstod.h102 mbstate_t st; in FUNCNAME() local
111 memset(&st, 0, sizeof(st)); in FUNCNAME()
112 bufsize = wcsnrtombs(NULL, &s, size, 0, &st); in FUNCNAME()
121 memset(&st, 0, sizeof(st)); in FUNCNAME()
122 size_converted = wcsnrtombs(buf, &s, size, bufsize, &st); in FUNCNAME()
135 memset(&st, 0, sizeof(st)); in FUNCNAME()
136 size = mbsnrtowcs(NULL, &s, end - buf, 0, &st); in FUNCNAME()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dutmp.c62 struct stat st; in getutent() local
66 if (fstat(fileno(ut), &st) == -1) in getutent()
71 numentries = st.st_size / sizeof(utmp); in getutent()
72 if ((off_t)(numentries * sizeof(utmp)) != st.st_size) in getutent()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dengine.c117 states st; /* current states */ member
145 static void print(struct match *m, char *caption, states st, int ch, FILE *d);
231 SETUP(m->st); in matcher()
779 states st = m->st; in fast() local
793 CLEAR(st); in fast()
794 SET1(st, startst); in fast()
795 st = step(m->g, startst, stopst, st, NOTHING, st); in fast()
796 ASSIGN(fresh, st); in fast()
797 SP("start", st, *p); in fast()
803 if (EQ(st, fresh)) in fast()
[all …]
/bionic/libc/bionic/
Dgetentropy_linux.c230 struct stat st; in getentropy_urandom() local
255 if (fstat(fd, &st) == -1 || !S_ISCHR(st.st_mode)) { in getentropy_urandom()
363 struct stat st; in getentropy_fallback() local
482 HX(stat(".", &st) == -1, st); in getentropy_fallback()
486 HX(stat("/", &st) == -1, st); in getentropy_fallback()
490 HX((e = fstat(0, &st)) == -1, st); in getentropy_fallback()
492 if (S_ISREG(st.st_mode) || in getentropy_fallback()
493 S_ISFIFO(st.st_mode) || in getentropy_fallback()
494 S_ISSOCK(st.st_mode)) { in getentropy_fallback()
502 if (S_ISCHR(st.st_mode)) { in getentropy_fallback()
[all …]
/bionic/libc/tools/zoneinfo/
DZoneCompactor.java69 StringTokenizer st = new StringTokenizer(s); in ZoneCompactor() local
70 st.nextToken(); in ZoneCompactor()
71 String to = st.nextToken(); in ZoneCompactor()
72 String from = st.nextToken(); in ZoneCompactor()
/bionic/libc/tzcode/
Dlocaltime.c369 struct state st; in tzload() member
531 struct state *ts = &lsp->u.st; in tzload()
2295 struct state* st = malloc(sizeof(*st)); in mktime_tz() local
2298 if (st == NULL) in mktime_tz()
2300 if (__bionic_tzload_cached(tz, st, TRUE) != 0) { in mktime_tz()
2302 gmtload(st); in mktime_tz()
2305 return_value = time1(tmp, localsub, 0L, st); in mktime_tz()
2306 free(st); in mktime_tz()
/bionic/libc/kernel/uapi/linux/dvb/
Dfrontend.h476 struct dtv_fe_stats st; member
/bionic/libc/kernel/uapi/linux/
Dfuse.h345 struct fuse_kstatfs st; member