Home
last modified time | relevance | path

Searched refs:ps (Results 1 – 19 of 19) sorted by relevance

/third_party/ulib/musl/src/multibyte/
A Dmbrtoc16.c4 size_t mbrtoc16(char16_t* restrict pc16, const char* restrict s, size_t n, mbstate_t* restrict ps) { in mbrtoc16() argument
6 if (!ps) in mbrtoc16()
7 ps = (void*)&internal_state; in mbrtoc16()
8 unsigned* pending = (unsigned*)ps; in mbrtoc16()
11 return mbrtoc16(0, "", 1, ps); in mbrtoc16()
23 size_t ret = mbrtowc(&wc, s, n, ps); in mbrtoc16()
A Dmbrtoc32.c4 size_t mbrtoc32(char32_t* restrict pc32, const char* restrict s, size_t n, mbstate_t* restrict ps) { in mbrtoc32() argument
6 if (!ps) in mbrtoc32()
7 ps = (void*)&internal_state; in mbrtoc32()
9 return mbrtoc32(0, "", 1, ps); in mbrtoc32()
11 size_t ret = mbrtowc(&wc, s, n, ps); in mbrtoc32()
A Dc16rtomb.c5 size_t c16rtomb(char* restrict s, char16_t c16, mbstate_t* restrict ps) { in c16rtomb() argument
7 if (!ps) in c16rtomb()
8 ps = (void*)&internal_state; in c16rtomb()
9 unsigned* x = (unsigned*)ps; in c16rtomb()
A Dc32rtomb.c4 size_t c32rtomb(char* restrict s, char32_t c32, mbstate_t* restrict ps) { in c32rtomb() argument
5 return wcrtomb(s, c32, ps); in c32rtomb()
/third_party/ulib/jemalloc/test/integration/
A Dsdallocx.c17 void *ps[NITER]; in TEST_BEGIN() local
20 ps[i] = NULL; in TEST_BEGIN()
32 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
39 if (ps[i] != NULL) { in TEST_BEGIN()
40 sdallocx(ps[i], sz, in TEST_BEGIN()
42 ps[i] = NULL; in TEST_BEGIN()
A Daligned_alloc.c89 void *ps[NITER]; in TEST_BEGIN() local
92 ps[i] = NULL; in TEST_BEGIN()
102 ps[i] = aligned_alloc(alignment, size); in TEST_BEGIN()
103 if (ps[i] == NULL) { in TEST_BEGIN()
112 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
117 if (ps[i] != NULL) { in TEST_BEGIN()
118 free(ps[i]); in TEST_BEGIN()
119 ps[i] = NULL; in TEST_BEGIN()
A Dposix_memalign.c82 void *ps[NITER]; in TEST_BEGIN() local
85 ps[i] = NULL; in TEST_BEGIN()
95 err = posix_memalign(&ps[i], in TEST_BEGIN()
106 total += malloc_usable_size(ps[i]); in TEST_BEGIN()
111 if (ps[i] != NULL) { in TEST_BEGIN()
112 free(ps[i]); in TEST_BEGIN()
113 ps[i] = NULL; in TEST_BEGIN()
A Dmallocx.c169 void *ps[NITER]; in TEST_BEGIN() local
172 ps[i] = NULL; in TEST_BEGIN()
187 ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
189 assert_ptr_not_null(ps[i], in TEST_BEGIN()
192 rsz = sallocx(ps[i], 0); in TEST_BEGIN()
200 (void *)((uintptr_t)ps[i] & (alignment-1)), in TEST_BEGIN()
202 " alignment=%zu, size=%zu", ps[i], in TEST_BEGIN()
209 if (ps[i] != NULL) { in TEST_BEGIN()
210 dallocx(ps[i], 0); in TEST_BEGIN()
211 ps[i] = NULL; in TEST_BEGIN()
/third_party/uapp/dash/src/
A Djobs.c394 ps = jp->ps; in restartjob()
398 ps->status = -1; in restartjob()
456 ps = jp->ps; in showjob()
578 for (i = jp->nprocs, ps = jp->ps ; --i >= 0 ; ps++) { in freejob()
580 ckfree(ps->cmd); in freejob()
583 ckfree(jp->ps); in freejob()
778 jp->ps = &jp->ps0; in makejob()
927 struct procstat *ps = &jp->ps[jp->nprocs++]; in forkparent() local
928 ps->pid = pid; in forkparent()
929 ps->status = -1; in forkparent()
[all …]
A Djobs.h67 struct procstat *ps; /* status or processes when more than one */ member
A Dparser.c1518 expandstr(const char *ps) in expandstr() argument
1524 setinputstring((char *)ps); in expandstr()
/third_party/ulib/jemalloc/test/unit/
A Ddecay.c204 void *ps[NPS]; in TEST_BEGIN() local
240 ps[i] = mallocx(large, flags); in TEST_BEGIN()
241 assert_ptr_not_null(ps[i], "Unexpected mallocx() failure"); in TEST_BEGIN()
255 dallocx(ps[i], flags); in TEST_BEGIN()
297 void *ps[NPS]; in TEST_BEGIN() local
327 ps[i] = mallocx(large0, flags); in TEST_BEGIN()
328 assert_ptr_not_null(ps[i], "Unexpected mallocx() failure"); in TEST_BEGIN()
332 dallocx(ps[i], flags); in TEST_BEGIN()
A Dmallctl.c247 void *ps[NTCACHES]; in TEST_BEGIN() local
285 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
286 assert_ptr_not_null(ps[i], "Unexpected mallocx() failure, i=%u", in TEST_BEGIN()
288 dallocx(ps[i], MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
298 void *p0 = ps[i]; in TEST_BEGIN()
299 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
300 assert_ptr_not_null(ps[i], "Unexpected mallocx() failure, i=%u", in TEST_BEGIN()
302 assert_ptr_eq(ps[i], p0, in TEST_BEGIN()
309 qs[i] = rallocx(ps[i], qsz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
316 qs[i] = ps[i]; in TEST_BEGIN()
/third_party/ulib/musl/src/misc/
A Dopenpty.c9 int openpty(int* pm, int* ps, char* name, const struct termios* tio, const struct winsize* ws) { in openpty() argument
32 *ps = s; in openpty()
/third_party/ulib/backtrace/
A DMakefile.in755 install-ps: install-ps-am
757 install-ps-am:
776 ps: ps-am
778 ps-am:
796 install-pdf-am install-ps install-ps-am install-strip \
800 mostlyclean-multi pdf pdf-am ps ps-am tags uninstall \
/third_party/ulib/musl/src/stdio/
A Dvfwprintf.c223 unsigned st, ps; in wprintf_core() local
308 ps = st; in wprintf_core()
330 if (ps && (t & 15) == 3) in wprintf_core()
335 switch (ps) { in wprintf_core()
A Dvfprintf.c548 unsigned st, ps; in printf_core() local
633 ps = st; in printf_core()
661 if (ps && (t & 15) == 3) in printf_core()
670 switch (ps) { in printf_core()
/third_party/ulib/musl/third_party/tre/
A Dtre.h51 #define tre_mbrtowc(pwc, s, n, ps) (mbtowc((pwc), (s), (n))) argument
/third_party/ulib/musl/
A DWHATSNEW1399 - missing private state for uchar.h functions (null ps pointer)

Completed in 29 milliseconds