Home
last modified time | relevance | path

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

12

/bionic/libm/x86/
Dlibm_tancot_huge.S123 fmul %st(1), %st
124 faddp %st, %st(2)
126 fmul %st(1), %st
127 faddp %st, %st(2)
129 fmulp %st, %st(1)
130 faddp %st, %st(1)
134 fmul %st(1), %st
135 faddp %st, %st(2)
137 fmul %st(1), %st
138 faddp %st, %st(2)
[all …]
Dlibm_sincos_huge.S123 fmul %st(1), %st
124 faddp %st, %st(2)
126 fmul %st(1), %st
127 faddp %st, %st(2)
129 fmulp %st, %st(1)
130 faddp %st, %st(1)
134 fmul %st(1), %st
135 faddp %st, %st(2)
137 fmul %st(1), %st
138 faddp %st, %st(2)
[all …]
Dlibm_reduce_pi04l.S62 fmul %st(1), %st
89 fmul %st(1), %st
90 fsubrp %st, %st(3)
91 fxch %st(1)
92 fmul %st(2), %st
93 fld %st(2)
94 fadd %st(1), %st
95 fsubp %st, %st(1)
96 fld %st(0)
97 fxch %st(1)
[all …]
De_hypot.S108 fxch %st(1)
109 fmul %st(0), %st
110 fxch %st(1)
112 fmul %st(0), %st
113 faddp %st, %st(1)
131 fxch %st(1)
132 fmul %st(0), %st
133 fxch %st(1)
135 fmul %st(0), %st
136 faddp %st, %st(1)
De_exp.S172 fmul %st, %st(1)
173 faddp %st, %st(1)
176 fmulp %st, %st(1)
Ds_expm1.S231 faddp %st, %st(1)
232 fmul %st, %st(1)
233 faddp %st, %st(1)
236 fmulp %st, %st(1)
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dopen_wmemstream.c43 struct state *st = v; in wmemstream_write() local
47 end = (st->pos + l); in wmemstream_write()
49 if (end >= st->size) { in wmemstream_write()
51 size_t sz = st->size * 8 / 5; in wmemstream_write()
55 p = reallocarray(st->string, sz, sizeof(wchar_t)); in wmemstream_write()
58 bzero(p + st->size, (sz - st->size) * sizeof(wchar_t)); in wmemstream_write()
59 *st->pbuf = st->string = p; in wmemstream_write()
60 st->size = sz; in wmemstream_write()
63 nmc = (st->size - st->pos) * sizeof(wchar_t); in wmemstream_write()
64 len = mbsnrtowcs(st->string + st->pos, &b, nmc, l, &st->mbs); in wmemstream_write()
[all …]
Dopen_memstream.c41 struct state *st = v; in memstream_write() local
45 end = (st->pos + l); in memstream_write()
47 if (end >= st->size) { in memstream_write()
49 size_t sz = st->size * 8 / 5; in memstream_write()
53 p = realloc(st->string, sz); in memstream_write()
56 bzero(p + st->size, sz - st->size); in memstream_write()
57 *st->pbuf = st->string = p; in memstream_write()
58 st->size = sz; in memstream_write()
62 st->string[st->pos + i] = b[i]; in memstream_write()
63 st->pos += l; in memstream_write()
[all …]
Dfmemopen.c38 struct state *st = v; in fmemopen_read() local
41 for (i = 0; i < l && i + st->pos < st->len; i++) in fmemopen_read()
42 b[i] = st->string[st->pos + i]; in fmemopen_read()
43 st->pos += i; in fmemopen_read()
51 struct state *st = v; in fmemopen_write() local
54 for (i = 0; i < l && i + st->pos < st->size; i++) in fmemopen_write()
55 st->string[st->pos + i] = b[i]; in fmemopen_write()
56 st->pos += i; in fmemopen_write()
58 if (st->pos >= st->len) { in fmemopen_write()
59 st->len = st->pos; in fmemopen_write()
[all …]
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.c82 struct stat st; in __swhatbuf() local
84 if (fp->_file < 0 || fstat(fp->_file, &st) < 0) { in __swhatbuf()
91 *couldbetty = S_ISCHR(st.st_mode); in __swhatbuf()
92 if (st.st_blksize == 0) { in __swhatbuf()
102 *bufsize = st.st_blksize; in __swhatbuf()
103 fp->_blksize = st.st_blksize; in __swhatbuf()
104 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/arch-mips64/bionic/
Dstat.cpp56 static void copy_stat(struct stat* st, struct kernel_stat* s) { in copy_stat() argument
57 st->st_dev = static_cast<dev_t>(s->st_dev); in copy_stat()
58 st->st_ino = static_cast<ino_t>(s->st_ino); in copy_stat()
59 st->st_mode = static_cast<mode_t>(s->st_mode); in copy_stat()
60 st->st_nlink = static_cast<nlink_t>(s->st_nlink); in copy_stat()
61 st->st_uid = static_cast<uid_t>(s->st_uid); in copy_stat()
62 st->st_gid = static_cast<gid_t>(s->st_gid); in copy_stat()
63 st->st_rdev = static_cast<dev_t>(s->st_rdev); in copy_stat()
64 st->st_size = static_cast<off_t>(s->st_size); in copy_stat()
65 st->st_blksize = static_cast<int>(s->st_blksize); in copy_stat()
[all …]
/bionic/libc/kernel/uapi/asm-x86/asm/
Dstat.h50 #define INIT_STRUCT_STAT_PADDING(st) do { st.__unused4 = 0; st.__unused5 = 0; \ argument
80 …define INIT_STRUCT_STAT64_PADDING(st) do { memset(& st.__pad0, 0, sizeof(st.__pad0)); memset(& st.… argument
108 #define INIT_STRUCT_STAT_PADDING(st) do { st.__pad0 = 0; st.__linux_unused[0] = 0; st.__linux_unuse… 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/libm/x86_64/
De_hypot.S90 fxch %st(1)
91 fmul %st(0), %st
92 fxch %st(1)
94 fmul %st(0), %st
95 faddp %st, %st(1)
113 fxch %st(1)
114 fmul %st(0), %st
115 fxch %st(1)
117 fmul %st(0), %st
118 faddp %st, %st(1)
Ds_expm1.S214 faddp %st, %st(1)
215 fmul %st, %st(1)
216 faddp %st, %st(1)
219 fmulp %st, %st(1)
/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()
2299 struct state* st = malloc(sizeof(*st)); in mktime_tz() local
2302 if (st == NULL) in mktime_tz()
2304 if (__bionic_tzload_cached(tz, st, TRUE) != 0) { in mktime_tz()
2306 gmtload(st); in mktime_tz()
2309 return_value = time1(tmp, localsub, 0L, st); in mktime_tz()
2310 free(st); in mktime_tz()

12