Searched refs:st (Results 1 - 7 of 7) sorted by relevance

/bionic/libc/bionic/
H A Dftok.c34 struct stat st; local
36 if ( lstat(path, &st) < 0 )
39 return (key_t)( (st.st_ino & 0xffff) | ((st.st_dev & 0xff) << 16) | ((id & 255) << 24) );
/bionic/libc/upstream-freebsd/lib/libc/stdio/
H A Dmakebuf.c92 struct stat st; local
94 if (fp->_file < 0 || _fstat(fp->_file, &st) < 0) {
101 *couldbetty = (st.st_mode & S_IFMT) == S_IFCHR;
102 if (st.st_blksize <= 0) {
112 *bufsize = st.st_blksize;
113 fp->_blksize = st.st_blksize;
114 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ?
/bionic/libc/kernel/arch-mips/asm/
H A Dcmpxchg.h24 #define __cmpxchg_asm(ld, st, m, old, new) ({ __typeof(*(m)) __ret; if (cpu_has_llsc && R10000_LLSC_WAR) { __asm__ __volatile__( " .set push \n" " .set noat \n" " .set mips3 \n" "1: " ld " %0, %2 # __cmpxchg_asm \n" " bne %0, %z3, 2f \n" " .set mips0 \n" " move $1, %z4 \n" " .set mips3 \n" " " st " $1, %1 \n" " beqzl $1, 1b \n" "2: \n" " .set pop \n" : "=&r" (__ret), "=R" (*m) : "R" (*m), "Jr" (old), "Jr" (new) : "memory"); } else if (cpu_has_llsc) { __asm__ __volatile__( " .set push \n" " .set noat \n" " .set mips3 \n" "1: " ld " %0, %2 # __cmpxchg_asm \n" " bne %0, %z3, 2f \n" " .set mips0 \n" " move $1, %z4 \n" " .set mips3 \n" " " st " $1, %1 \n" " beqz $1, 3f \n" "2: \n" " .subsection 2 \n" "3: b 1b \n" " .previous \n" " .set pop \n" : "=&r" (__ret), "=R" (*m) : "R" (*m), "Jr" (old), "Jr" (new) : "memory"); } else { unsigned long __flags; raw_local_irq_save(__flags); __ret = *m; if (__ret == old) *m = new; raw_local_irq_restore(__flags); } __ret; })
/bionic/libc/upstream-netbsd/libc/regex/
H A Dengine.c117 states st; /* current states */ member in struct:match
145 static void print(struct match *m, char *caption, states st, int ch, FILE *d);
231 SETUP(m->st);
779 states st = m->st; local
793 CLEAR(st);
794 SET1(st, startst);
795 st = step(m->g, startst, stopst, st, NOTHING, st);
874 states st = m->st; local
1091 print( struct match *m, char *caption, states st, int ch, FILE *d) argument
[all...]
/bionic/libc/stdio/
H A Dfseek.c54 struct stat st; local
130 fp->_file < 0 || fstat(fp->_file, &st) ||
131 (st.st_mode & S_IFMT) != S_IFREG) {
135 fp->_blksize = st.st_blksize;
146 if (fstat(fp->_file, &st))
148 target = st.st_size + offset;
/bionic/libc/tools/zoneinfo/
H A DZoneCompactor.java118 StringTokenizer st = new StringTokenizer(s);
119 st.nextToken();
120 String to = st.nextToken();
121 String from = st.nextToken();
/bionic/libc/tzcode/
H A Dlocaltime.c2248 struct state st; local
2249 if (__bionic_tzload_cached(tz, &st, TRUE) != 0) {
2251 gmtload(&st);
2253 return time1(tmp, localsub, 0L, &st);
2258 struct state st; local
2259 if (__bionic_tzload_cached(tz, &st, TRUE) != 0) {
2261 gmtload(&st);
2263 localsub(timep, 0L, tmp, &st);

Completed in 431 milliseconds