Searched refs:st (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/bionic/ |
D | ftok.c | 34 struct stat st; in ftok() local 36 if ( lstat(path, &st) < 0 ) in ftok() 39 return (key_t)( (st.st_ino & 0xffff) | ((st.st_dev & 0xff) << 16) | ((id & 255) << 24) ); in ftok()
|
/bionic/libc/stdio/ |
D | remove.c | 42 struct stat st; in remove() local 44 if (lstat(file, &st) < 0) in remove() 46 if (S_ISDIR(st.st_mode)) in remove()
|
D | makebuf.c | 83 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()
|
D | fseek.c | 54 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-netbsd/libc/regex/ |
D | engine.c | 117 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/kernel/arch-mips/asm/ |
D | cmpxchg.h | 24 …st, m, old, new) ({ __typeof(*(m)) __ret; if (cpu_has_llsc && R10000_LLSC_WAR) { __asm__ … argument
|
/bionic/libc/tools/zoneinfo/ |
D | ZoneCompactor.java | 118 StringTokenizer st = new StringTokenizer(s); in ZoneCompactor() local 119 st.nextToken(); in ZoneCompactor() 120 String to = st.nextToken(); in ZoneCompactor() 121 String from = st.nextToken(); in ZoneCompactor()
|
/bionic/libc/tzcode/ |
D | localtime.c | 2099 struct state st; in mktime_tz() local 2100 if (__bionic_tzload_cached(tz, &st, TRUE) != 0) { in mktime_tz() 2102 gmtload(&st); in mktime_tz() 2104 return time1(tmp, localsub, 0L, &st); in mktime_tz() 2109 struct state st; in localtime_tz() local 2110 if (__bionic_tzload_cached(tz, &st, TRUE) != 0) { in localtime_tz() 2112 gmtload(&st); in localtime_tz() 2114 localsub(timep, 0L, tmp, &st); in localtime_tz()
|