| /third_party/ulib/musl/src/locale/ |
| A D | pleval.c | 25 struct st { struct 37 static const char* evalexpr(struct st* st, const char* s, int d); argument 51 st->r = st->n; in evalprim() 62 st->r = !st->r; in evalprim() 68 static int binop(struct st* st, int op, unsigned long left) { in binop() argument 120 static const char* parseop(struct st* st, const char* s) { in parseop() argument 171 a = st->r; in evalexpr() 175 b = st->r; in evalexpr() 177 st->r = a ? b : st->r; in evalexpr() 182 struct st st; in __pleval() local [all …]
|
| /third_party/ulib/musl/src/math/x86_64/ |
| A D | expl.S | 35 fmul %st(1),%st 59 fsub %st(1), %st 62 fsub %st(1), %st 70 fmul %st(1), %st 71 fsubp %st, %st(4) 72 fmul %st(1), %st 73 faddp %st, %st(3) 80 fmul %st, %st(2) 81 fmulp %st, %st(1) 95 fmulp %st, %st(2) [all …]
|
| A D | exp2l.S | 9 fucomip %st(1),%st 13 fstp %st(1) 16 1: fld %st(1) 18 fucomip %st(1),%st 19 fstp %st(0) 34 1: fld %st(0) 48 fld %st(1) 49 fsub %st(1) 51 fucomip %st(1),%st 58 fld %st(1) [all …]
|
| A D | acosl.S | 8 1: fld %st(0) 10 fsub %st(0),%st(1) 11 fadd %st(2) 15 fxch %st(1)
|
| A D | asinl.S | 6 1: fld %st(0) 8 fsub %st(0),%st(1) 9 fadd %st(2)
|
| A D | remainderl.S | 11 fstp %st(1)
|
| A D | fmodl.S | 11 fstp %st(1)
|
| /third_party/ulib/musl/src/multibyte/ |
| A D | mbrtowc.c | 6 size_t mbrtowc(wchar_t* restrict wc, const char* restrict src, size_t n, mbstate_t* restrict st) { in mbrtowc() argument 13 if (!st) in mbrtowc() 14 st = (void*)&internal_state; in mbrtowc() 15 c = *(unsigned*)st; in mbrtowc() 44 *(unsigned*)st = 0; in mbrtowc() 55 *(unsigned*)st = c; in mbrtowc() 58 *(unsigned*)st = 0; in mbrtowc()
|
| A D | mbsinit.c | 3 int mbsinit(const mbstate_t* st) { in mbsinit() argument 4 return !st || !*(unsigned*)st; in mbsinit()
|
| A D | mbrlen.c | 3 size_t mbrlen(const char* restrict s, size_t n, mbstate_t* restrict st) { in mbrlen() argument 5 return mbrtowc(0, s, n, st ? st : (mbstate_t*)&internal); in mbrlen()
|
| A D | mbsnrtowcs.c | 3 …cs(wchar_t* restrict wcs, const char** restrict src, size_t n, size_t wn, mbstate_t* restrict st) { in mbsnrtowcs() argument 21 l = mbsrtowcs(ws, &s, n2, st); in mbsnrtowcs() 35 l = mbrtowc(ws, s, n, st); in mbsnrtowcs() 46 *(unsigned*)st = 0; in mbsnrtowcs()
|
| A D | mbsrtowcs.c | 8 size_t mbsrtowcs(wchar_t* restrict ws, const char** restrict src, size_t wn, mbstate_t* restrict st… in mbsrtowcs() argument 13 if (st && (c = *(unsigned*)st)) { in mbsrtowcs() 15 *(unsigned*)st = 0; in mbsrtowcs()
|
| A D | wcrtomb.c | 6 size_t wcrtomb(char* restrict s, wchar_t wc, mbstate_t* restrict st) { in wcrtomb() argument
|
| /third_party/ulib/musl/src/misc/ |
| A D | nftw.c | 23 struct stat st; in do_nftw() local 30 if ((flags & FTW_PHYS) ? lstat(path, &st) : stat(path, &st) < 0) { in do_nftw() 31 if (!(flags & FTW_PHYS) && errno == ENOENT && !lstat(path, &st)) in do_nftw() 37 } else if (S_ISDIR(st.st_mode)) { in do_nftw() 44 } else if (S_ISLNK(st.st_mode)) { in do_nftw() 53 if ((flags & FTW_MOUNT) && h && st.st_dev != h->dev) in do_nftw() 57 new.dev = st.st_dev; in do_nftw() 58 new.ino = st.st_ino; in do_nftw() 65 if (!(flags & FTW_DEPTH) && (r = fn(path, &st, type, &lev))) in do_nftw() 69 if (h->dev == st.st_dev && h->ino == st.st_ino) in do_nftw() [all …]
|
| /third_party/ulib/musl/src/ipc/ |
| A D | ftok.c | 5 struct stat st; in ftok() local 6 if (stat(path, &st) < 0) in ftok() 9 return ((st.st_ino & 0xffff) | ((st.st_dev & 0xff) << 16) | ((id & 0xff) << 24)); in ftok()
|
| /third_party/ulib/musl/src/time/ |
| A D | __map_file.c | 9 struct stat st; in __map_file() local 14 if (!fstat(fd, &st)) { in __map_file() 15 map = __mmap(0, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in __map_file() 16 *size = st.st_size; in __map_file()
|
| /third_party/ulib/musl/src/stdio/ |
| A D | fgetwc.c | 7 mbstate_t st = {}; in __fgetwc_unlocked_internal() local 15 l = mbrtowc(&wc, (void*)f->rpos, f->rend - f->rpos, &st); in __fgetwc_unlocked_internal() 31 if (!mbsinit(&st)) in __fgetwc_unlocked_internal() 35 l = mbrtowc(&wc, (void*)&b, 1, &st); in __fgetwc_unlocked_internal()
|
| A D | vfwprintf.c | 223 unsigned st, ps; in wprintf_core() local 304 st = 0; in wprintf_core() 308 ps = st; in wprintf_core() 309 st = states[st] S(*s++); in wprintf_core() 310 } while (st - 1 < STOP); in wprintf_core() 311 if (!st) in wprintf_core() 315 if (st == NOARG) { in wprintf_core() 320 nl_type[argpos] = st, arg = nl_arg[argpos]; in wprintf_core() 322 pop_arg(&arg, st, ap); in wprintf_core()
|
| A D | vfscanf.c | 65 mbstate_t st; in vfscanf() local 255 st = (mbstate_t){}; in vfscanf() 257 switch (mbrtowc(&wc, &(char){c}, 1, &st)) { in vfscanf() 273 if (!mbsinit(&st)) in vfscanf()
|
| /third_party/lib/acpica/source/os_specific/service_layers/ |
| A D | osfuchsia.cpp | 126 if (st != ZX_OK) { in mmap_physical() 127 return st; in mmap_physical() 129 st = zx_vmo_set_cache_policy(vmo, cache_policy); in mmap_physical() 130 if (st != ZX_OK) { in mmap_physical() 132 return st; in mmap_physical() 134 st = zx_vmar_map(zx_vmar_root_self(), in mmap_physical() 137 if (st != ZX_OK) { in mmap_physical() 139 return st; in mmap_physical() 1126 zx_status_t st; in AcpiOsReadWritePciConfiguration() local 1149 if (st != ZX_OK) { in AcpiOsReadWritePciConfiguration() [all …]
|
| /third_party/ulib/musl/src/temp/ |
| A D | mktemp.c | 12 struct stat st; in mktemp() local 22 if (stat(template, &st)) { in mktemp()
|
| /third_party/ulib/musl/src/regex/ |
| A D | glob.c | 82 struct stat st; in match_in_dir() local 83 if (!stat(d, &st) && S_ISDIR(st.st_mode)) { in match_in_dir() 124 struct stat st; in match_in_dir() local 125 stat(name, &st); in match_in_dir() 126 mark = S_ISDIR(st.st_mode); in match_in_dir()
|
| /third_party/uapp/dash/src/bltin/ |
| A D | test.c | 508 struct stat st; in has_exec_bit_set() local 510 if (stat(path, &st)) in has_exec_bit_set() 512 return st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH); in has_exec_bit_set() 529 test_st_mode(const struct stat *st, int mode) in test_st_mode() argument 541 } else if (st->st_uid == euid) in test_st_mode() 543 else if (bash_group_member(st->st_gid)) in test_st_mode() 546 return st->st_mode & mode; in test_st_mode()
|
| /third_party/uapp/mkfs-msdosfs/ |
| A D | newfs_msdos.c | 55 struct stat st; in get_tstamp() local 59 if (stat(b, &st) != -1) in get_tstamp() 60 return (time_t)st.st_mtime; in get_tstamp()
|
| /third_party/uapp/dash/src/ |
| A D | jobs.c | 412 int st; in sprint_status() local 415 st = WEXITSTATUS(status); in sprint_status() 418 st = WSTOPSIG(status); in sprint_status() 421 st = WTERMSIG(status); in sprint_status() 423 if (st == SIGINT || st == SIGPIPE) in sprint_status() 430 col = fmtstr(s, 32, strsignal(st)); in sprint_status() 437 if (st) in sprint_status() 438 col = fmtstr(s, 16, "Done(%d)", st); in sprint_status() 980 int st; in waitforjob() local 986 st = getstatus(jp); in waitforjob() [all …]
|