Searched defs:ps (Results 1 - 25 of 208) sorted by relevance

123456789

/freebsd-head/lib/libc/locale/
H A Dmbsinit.c41 mbsinit_l(const mbstate_t *ps, locale_t locale) argument
44 return (XLOCALE_CTYPE(locale)->__mbsinit(ps));
47 mbsinit(const mbstate_t *ps) argument
49 return mbsinit_l(ps, __get_locale());
H A Dmbrlen.c41 mbrlen_l(const char * __restrict s, size_t n, mbstate_t * __restrict ps, locale_t locale) argument
44 if (ps == NULL)
45 ps = &(XLOCALE_CTYPE(locale)->mbrlen);
46 return (XLOCALE_CTYPE(locale)->__mbrtowc(NULL, s, n, ps));
50 mbrlen(const char * __restrict s, size_t n, mbstate_t * __restrict ps) argument
52 return mbrlen_l(s, n, ps, __get_locale());
H A Dmbrtowc.c42 size_t n, mbstate_t * __restrict ps, locale_t locale)
45 if (ps == NULL)
46 ps = &(XLOCALE_CTYPE(locale)->mbrtowc);
47 return (XLOCALE_CTYPE(locale)->__mbrtowc(pwc, s, n, ps));
52 size_t n, mbstate_t * __restrict ps)
54 return mbrtowc_l(pwc, s, n, ps, __get_locale());
41 mbrtowc_l(wchar_t * __restrict pwc, const char * __restrict s, size_t n, mbstate_t * __restrict ps, locale_t locale) argument
51 mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n, mbstate_t * __restrict ps) argument
H A Dmbsrtowcs.c45 mbstate_t * __restrict ps, locale_t locale)
48 if (ps == NULL)
49 ps = &(XLOCALE_CTYPE(locale)->mbsrtowcs);
50 return (XLOCALE_CTYPE(locale)->__mbsnrtowcs(dst, src, SIZE_T_MAX, len, ps));
54 mbstate_t * __restrict ps)
56 return mbsrtowcs_l(dst, src, len, ps, __get_locale());
44 mbsrtowcs_l(wchar_t * __restrict dst, const char ** __restrict src, size_t len, mbstate_t * __restrict ps, locale_t locale) argument
53 mbsrtowcs(wchar_t * __restrict dst, const char ** __restrict src, size_t len, mbstate_t * __restrict ps) argument
H A Dwcrtomb.c41 wcrtomb_l(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps, argument
45 if (ps == NULL)
46 ps = &(XLOCALE_CTYPE(locale)->wcrtomb);
47 return (XLOCALE_CTYPE(locale)->__wcrtomb(s, wc, ps));
51 wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps) argument
53 return wcrtomb_l(s, wc, ps, __get_locale());
H A Dwcsrtombs.c45 mbstate_t * __restrict ps, locale_t locale)
48 if (ps == NULL)
49 ps = &(XLOCALE_CTYPE(locale)->wcsrtombs);
50 return (XLOCALE_CTYPE(locale)->__wcsnrtombs(dst, src, SIZE_T_MAX, len, ps));
55 mbstate_t * __restrict ps)
57 return wcsrtombs_l(dst, src, len, ps, __get_locale());
44 wcsrtombs_l(char * __restrict dst, const wchar_t ** __restrict src, size_t len, mbstate_t * __restrict ps, locale_t locale) argument
54 wcsrtombs(char * __restrict dst, const wchar_t ** __restrict src, size_t len, mbstate_t * __restrict ps) argument
H A Dc32rtomb.c38 c32rtomb_l(char * __restrict s, char32_t c32, mbstate_t * __restrict ps, argument
49 if (ps == NULL)
50 ps = &(XLOCALE_CTYPE(locale)->c32rtomb);
53 return (wcrtomb_l(s, c32, ps, locale));
57 c32rtomb(char * __restrict s, char32_t c32, mbstate_t * __restrict ps) argument
60 return (c32rtomb_l(s, c32, ps, __get_locale()));
H A Dmbrtoc32.c38 mbstate_t * __restrict ps, locale_t locale)
42 if (ps == NULL)
43 ps = &(XLOCALE_CTYPE(locale)->mbrtoc32);
46 return (mbrtowc_l(pc32, s, n, ps, locale));
51 mbstate_t * __restrict ps)
54 return (mbrtoc32_l(pc32, s, n, ps, __get_locale()));
37 mbrtoc32_l(char32_t * __restrict pc32, const char * __restrict s, size_t n, mbstate_t * __restrict ps, locale_t locale) argument
50 mbrtoc32(char32_t * __restrict pc32, const char * __restrict s, size_t n, mbstate_t * __restrict ps) argument
H A Dmbsnrtowcs.c47 size_t nms, size_t len, mbstate_t * __restrict ps, locale_t locale)
50 if (ps == NULL)
51 ps = &(XLOCALE_CTYPE(locale)->mbsnrtowcs);
52 return (XLOCALE_CTYPE(locale)->__mbsnrtowcs(dst, src, nms, len, ps));
56 size_t nms, size_t len, mbstate_t * __restrict ps)
58 return mbsnrtowcs_l(dst, src, nms, len, ps, __get_locale());
63 size_t nms, size_t len, mbstate_t * __restrict ps,
76 if ((nb = pmbrtowc(&wc, s, nms, ps)) == (size_t)-1)
89 if ((nb = pmbrtowc(dst, s, nms, ps)) == (size_t)-1) {
46 mbsnrtowcs_l(wchar_t * __restrict dst, const char ** __restrict src, size_t nms, size_t len, mbstate_t * __restrict ps, locale_t locale) argument
55 mbsnrtowcs(wchar_t * __restrict dst, const char ** __restrict src, size_t nms, size_t len, mbstate_t * __restrict ps) argument
62 __mbsnrtowcs_std(wchar_t * __restrict dst, const char ** __restrict src, size_t nms, size_t len, mbstate_t * __restrict ps, mbrtowc_pfn_t pmbrtowc) argument
H A Dwcsnrtombs.c47 size_t len, mbstate_t * __restrict ps, locale_t locale)
50 if (ps == NULL)
51 ps = &(XLOCALE_CTYPE(locale)->wcsnrtombs);
52 return (XLOCALE_CTYPE(locale)->__wcsnrtombs(dst, src, nwc, len, ps));
56 size_t len, mbstate_t * __restrict ps)
58 return wcsnrtombs_l(dst, src, nwc, len, ps, __get_locale());
64 size_t nwc, size_t len, mbstate_t * __restrict ps,
78 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1)
92 if ((nb = pwcrtomb(dst, *s, ps)) == (size_t)-1) {
104 mbsbak = *ps;
46 wcsnrtombs_l(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc, size_t len, mbstate_t * __restrict ps, locale_t locale) argument
55 wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc, size_t len, mbstate_t * __restrict ps) argument
63 __wcsnrtombs_std(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc, size_t len, mbstate_t * __restrict ps, wcrtomb_pfn_t pwcrtomb) argument
[all...]
H A Dc16rtomb.c42 c16rtomb_l(char * __restrict s, char16_t c16, mbstate_t * __restrict ps, argument
49 if (ps == NULL)
50 ps = &(XLOCALE_CTYPE(locale)->c16rtomb);
51 cs = (_Char16State *)ps;
79 c16rtomb(char * __restrict s, char16_t c16, mbstate_t * __restrict ps) argument
82 return (c16rtomb_l(s, c16, ps, __get_locale()));
H A Dmbrtoc16.c42 mbstate_t * __restrict ps, locale_t locale)
49 if (ps == NULL)
50 ps = &(XLOCALE_CTYPE(locale)->mbrtoc16);
51 cs = (_Char16State *)ps;
87 mbstate_t * __restrict ps)
90 return (mbrtoc16_l(pc16, s, n, ps, __get_locale()));
41 mbrtoc16_l(char16_t * __restrict pc16, const char * __restrict s, size_t n, mbstate_t * __restrict ps, locale_t locale) argument
86 mbrtoc16(char16_t * __restrict pc16, const char * __restrict s, size_t n, mbstate_t * __restrict ps) argument
/freebsd-head/contrib/sendmail/contrib/
H A Detrn.pl192 &ps("ehlo $hostname");
208 &ps("etrn $server");
220 &ps("quit");
232 sub ps subroutine
/freebsd-head/contrib/elftoolchain/libpe/
H A Dpe_buffer.c34 pe_getbuffer(PE_Scn *ps, PE_Buffer *pb) argument
39 if (ps == NULL) {
44 pe = ps->ps_pe;
46 if ((ps->ps_flags & LIBPE_F_LOAD_SECTION) == 0) {
55 if (libpe_load_section(pe, ps) < 0)
63 sb = STAILQ_FIRST(&ps->ps_b);
71 pe_newbuffer(PE_Scn *ps) argument
76 if (ps == NULL) {
81 pe = ps->ps_pe;
88 if ((ps
[all...]
H A Dlibpe_init.c118 PE_Scn *ps, *_ps; local
141 STAILQ_FOREACH_SAFE(ps, &pe->pe_scn, ps_next, _ps)
142 libpe_release_scn(ps);
H A Dpe_symtab.c36 PE_Scn *ps, *pstmp; local
51 STAILQ_FOREACH_SAFE(ps, &pe->pe_scn, ps_next, pstmp) {
52 if (ps->ps_ndx == 0xFFFFFFFFU)
53 libpe_release_scn(ps);
60 if ((ps = libpe_alloc_scn(pe)) == NULL)
63 STAILQ_INSERT_TAIL(&pe->pe_scn, ps, ps_next);
64 ps->ps_ndx = 0xFFFFFFFFU;
65 ps->ps_flags |= PE_F_DIRTY;
72 sh = &ps->ps_sh;
77 if ((sb = libpe_alloc_buffer(ps,
[all...]
H A Dlibpe_buffer.c38 libpe_alloc_buffer(PE_Scn *ps, size_t sz) argument
47 sb->sb_ps = ps;
62 STAILQ_INSERT_TAIL(&ps->ps_b, sb, sb_next);
70 PE_Scn *ps; local
74 ps = sb->sb_ps;
76 STAILQ_REMOVE(&ps->ps_b, sb, _PE_SecBuf, sb_next);
97 sort_buffers(PE_Scn *ps) argument
100 if (STAILQ_EMPTY(&ps->ps_b))
103 STAILQ_SORT(&ps->ps_b, _PE_SecBuf, sb_next, cmp_sb);
107 libpe_resync_buffers(PE_Scn *ps) argument
141 libpe_write_buffers(PE_Scn *ps) argument
[all...]
H A Dpe_flag.c129 pe_flag_scn(PE_Scn *ps, PE_Cmd c, unsigned int flags) argument
132 if (ps == NULL || (c != PE_C_SET && c != PE_C_CLR) ||
139 ps->ps_flags |= flags;
141 ps->ps_flags &= ~flags;
147 pe_flag_section_header(PE_Scn *ps, PE_Cmd c, unsigned int flags) argument
151 if (ps == NULL || (c != PE_C_SET && c != PE_C_CLR) ||
157 pe = ps->ps_pe;
H A Dpe_section.c37 PE_Scn *ps; local
44 STAILQ_FOREACH(ps, &pe->pe_scn, ps_next) {
45 if (ps->ps_ndx == ndx)
46 return (ps);
55 pe_ndxscn(PE_Scn *ps) argument
58 if (ps == NULL) {
63 return (ps->ps_ndx);
67 pe_nextscn(PE *pe, PE_Scn *ps) argument
75 if (ps == NULL)
76 ps
92 PE_Scn *ps, *tps, *_tps; local
124 PE_Scn *ps, *a, *b; local
181 pe_section_header(PE_Scn *ps) argument
193 pe_update_section_header(PE_Scn *ps, PE_SecHdr *sh) argument
[all...]
/freebsd-head/tools/test/auxinfo/
H A Dauxinfo.c18 size_t *ps; local
24 ps = malloc(nelem * sizeof(size_t));
25 if (ps == NULL)
27 nelem = getpagesizes(ps, nelem);
32 printf(" %jd", (intmax_t)ps[i]);
/freebsd-head/lib/libc/gen/
H A Dgetpagesizes.c56 static u_long ps[MAXPAGESIZES]; local
67 error = _elf_aux_info(AT_PAGESIZES, ps, sizeof(ps));
68 size = sizeof(ps);
69 if (error != 0 || ps[0] == 0) {
70 if (sysctlbyname("hw.pagesizes", ps, &size, NULL, 0)
75 nops = size / sizeof(ps[0]);
76 while (nops > 0 && ps[nops - 1] == 0)
85 pagesize[i] = ps[i];
/freebsd-head/lib/libpmcstat/
H A Dlibpmcstat_string.c58 struct pmcstat_string *ps; local
68 if ((ps = malloc(sizeof(*ps))) == NULL)
70 ps->ps_len = len;
71 ps->ps_hash = hash;
72 ps->ps_string = strdup(s);
73 LIST_INSERT_HEAD(&pmcstat_string_hash[hash], ps, ps_next);
74 return ((pmcstat_interned_string) ps);
104 struct pmcstat_string *ps; local
110 LIST_FOREACH(ps,
120 const struct pmcstat_string *ps; local
134 struct pmcstat_string *ps, *pstmp; local
[all...]
/freebsd-head/lib/libc/iconv/
H A Dcitrus_mapper.h83 void * __restrict ps)
86 return ((*cm->cm_ops->mo_convert)(cm, dst, src, ps));
81 _citrus_mapper_convert(struct _citrus_mapper * __restrict cm, _citrus_index_t * __restrict dst, _citrus_index_t src, void * __restrict ps) argument
/freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c61 int fd = -1, random, ps = sysconf(_SC_PAGESIZE); local
69 if ((addr = mmap(0, ps, PROT_READ | PROT_WRITE,
104 read(random, addr, ps);
/freebsd-head/contrib/ntp/sntp/libopts/
H A Dcook.c147 char * ps = *pps + 1; local
150 while (IS_WHITESPACE_CHAR(*ps))
151 if (*(ps++) == NL)
158 switch (*ps) {
161 *pq = *(ps++); /* assign new quote character and return */
162 *pps = ps;
169 switch (ps[1]) {
178 ps = strchr(ps, NL);
179 if (ps
[all...]

Completed in 107 milliseconds

123456789