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

123456

/illumos-gate/usr/src/cmd/sendmail/aux/
H A Detrn.pl192 &ps("ehlo $hostname");
208 &ps("etrn $server");
220 &ps("quit");
232 sub ps subroutine
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dmbrlen.c36 mbrlen_l(const char *_RESTRICT_KYWD s, size_t n, mbstate_t *_RESTRICT_KYWD ps, argument
41 if (ps == NULL)
42 ps = &mbs;
43 return (mbrtowc_l(NULL, s, n, ps, loc));
47 mbrlen(const char *_RESTRICT_KYWD s, size_t n, mbstate_t *_RESTRICT_KYWD ps) argument
49 return (mbrlen_l(s, n, ps, uselocale(NULL)));
H A Dwcrtomb.c38 wcrtomb_l(char *_RESTRICT_KYWD s, wchar_t wc, mbstate_t *_RESTRICT_KYWD ps, argument
43 if (ps == NULL)
44 ps = &mbs;
45 return (loc->ctype->lc_wcrtomb(s, wc, ps));
49 wcrtomb(char *_RESTRICT_KYWD s, wchar_t wc, mbstate_t *_RESTRICT_KYWD ps) argument
51 return (wcrtomb_l(s, wc, ps, uselocale(NULL)));
H A Dmbrtowc.c37 size_t n, mbstate_t *_RESTRICT_KYWD ps, locale_t loc)
41 if (ps == NULL)
42 ps = &mbs;
43 return (loc->ctype->lc_mbrtowc(pwc, s, n, ps));
48 size_t n, mbstate_t *_RESTRICT_KYWD ps)
50 return (mbrtowc_l(pwc, s, n, ps, uselocale(NULL)));
36 mbrtowc_l(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, size_t n, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) argument
47 mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, size_t n, mbstate_t *_RESTRICT_KYWD ps) argument
H A Dmbsrtowcs.c40 size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc)
44 if (ps == NULL)
45 ps = &mbs;
47 return (loc->ctype->lc_mbsnrtowcs(dst, src, ULONG_MAX, len, ps));
52 size_t len, mbstate_t *_RESTRICT_KYWD ps)
54 return (mbsrtowcs_l(dst, src, len, ps, uselocale(NULL)));
39 mbsrtowcs_l(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) argument
51 mbsrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
H A Dwcsrtombs.c40 size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc)
44 if (ps == NULL)
45 ps = &mbs;
46 return (loc->ctype->lc_wcsnrtombs(dst, src, ULONG_MAX, len, ps));
51 size_t len, mbstate_t *_RESTRICT_KYWD ps)
53 return (wcsrtombs_l(dst, src, len, ps, uselocale(NULL)));
39 wcsrtombs_l(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) argument
50 wcsrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
H A Dmbsnrtowcs.c40 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc)
44 if (ps == NULL)
45 ps = &mbs;
46 return (loc->ctype->lc_mbsnrtowcs(dst, src, nms, len, ps));
51 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps)
53 return (mbsnrtowcs_l(dst, src, nms, len, ps, uselocale(NULL)));
58 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps,
71 if ((nb = pmbrtowc(&wc, s, nms, ps)) == (size_t)-1)
84 if ((nb = pmbrtowc(dst, s, nms, ps)) == (size_t)-1) {
39 mbsnrtowcs_l(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) argument
50 mbsnrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
57 __mbsnrtowcs_std(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps, mbrtowc_pfn_t pmbrtowc) argument
H A Dwcsnrtombs.c41 size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc)
45 if (ps == NULL)
46 ps = &mbs;
47 return (loc->ctype->lc_wcsnrtombs(dst, src, nwc, len, ps));
52 size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps)
54 return (wcsnrtombs_l(dst, src, nwc, len, ps, uselocale(NULL)));
59 size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps,
73 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1)
87 if ((nb = pwcrtomb(dst, *s, ps)) == (size_t)-1) {
99 mbsbak = *ps;
40 wcsnrtombs_l(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) argument
51 wcsnrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
58 __wcsnrtombs_std(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps, wcrtomb_pfn_t pwcrtomb) argument
[all...]
H A Dbig5.c75 _BIG5_mbsinit(const mbstate_t *ps) argument
78 return (ps == NULL || ((const _BIG5State *)ps)->ch == 0);
91 size_t n, mbstate_t *_RESTRICT_KYWD ps)
97 bs = (_BIG5State *)ps;
151 _BIG5_wcrtomb(char *_RESTRICT_KYWD s, wchar_t wc, mbstate_t *_RESTRICT_KYWD ps) argument
155 bs = (_BIG5State *)ps;
176 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps)
178 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _BIG5_mbrtowc));
183 size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps)
90 _BIG5_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, size_t n, mbstate_t *_RESTRICT_KYWD ps) argument
175 _BIG5_mbsnrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
182 _BIG5_wcsnrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
[all...]
H A Dgb18030.c78 _GB18030_mbsinit(const mbstate_t *ps) argument
81 return (ps == NULL || ((const _GB18030State *)ps)->count == 0);
86 size_t n, mbstate_t *_RESTRICT_KYWD ps)
93 gs = (_GB18030State *)ps;
170 mbstate_t *_RESTRICT_KYWD ps)
176 gs = (_GB18030State *)ps;
235 mbstate_t *_RESTRICT_KYWD ps)
237 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _GB18030_mbrtowc));
243 mbstate_t *_RESTRICT_KYWD ps)
85 _GB18030_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, size_t n, mbstate_t *_RESTRICT_KYWD ps) argument
169 _GB18030_wcrtomb(char *_RESTRICT_KYWD s, wchar_t wc, mbstate_t *_RESTRICT_KYWD ps) argument
233 _GB18030_mbsnrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
241 _GB18030_wcsnrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
[all...]
H A Dgb2312.c73 _GB2312_mbsinit(const mbstate_t *ps) argument
76 return (ps == NULL || ((const _GB2312State *)ps)->count == 0);
104 size_t n, mbstate_t *_RESTRICT_KYWD ps)
111 gs = (_GB2312State *)ps;
145 mbstate_t *_RESTRICT_KYWD ps)
149 gs = (_GB2312State *)ps;
171 mbstate_t *_RESTRICT_KYWD ps)
173 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _GB2312_mbrtowc));
179 mbstate_t *_RESTRICT_KYWD ps)
103 _GB2312_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, size_t n, mbstate_t *_RESTRICT_KYWD ps) argument
144 _GB2312_wcrtomb(char *_RESTRICT_KYWD s, wchar_t wc, mbstate_t *_RESTRICT_KYWD ps) argument
169 _GB2312_mbsnrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
177 _GB2312_wcsnrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
[all...]
H A Dgbk.c75 _GBK_mbsinit(const mbstate_t *ps) argument
78 return (ps == NULL || ((const _GBKState *)ps)->ch == 0);
91 size_t n, mbstate_t *_RESTRICT_KYWD ps)
97 gs = (_GBKState *)ps;
151 _GBK_wcrtomb(char *_RESTRICT_KYWD s, wchar_t wc, mbstate_t *_RESTRICT_KYWD ps) argument
155 gs = (_GBKState *)ps;
176 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps)
178 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _GBK_mbrtowc));
183 size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps)
90 _GBK_mbrtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, size_t n, mbstate_t *_RESTRICT_KYWD ps) argument
175 _GBK_mbsnrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
182 _GBK_wcsnrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, size_t nwc, size_t len, mbstate_t *_RESTRICT_KYWD ps) argument
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/mse/
H A Drestart.c47 mbrtowc(wchar_t *wc, const char *mb, size_t n, mbstate_t *ps) argument
53 wcrtomb(char *s, wchar_t wc, mbstate_t *ps) argument
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_resolv_common.c56 xdr_ypfwdreq_key4(XDR *xdrs, struct ypfwdreq_key4 *ps) argument
58 return (xdr_ypmap_wrap_string(xdrs, &ps->map) &&
59 xdr_datum(xdrs, &ps->keydat) &&
60 xdr_u_long(xdrs, &ps->xid) &&
61 xdr_u_long(xdrs, &ps->ip) &&
62 xdr_u_short(xdrs, &ps->port));
67 xdr_ypfwdreq_key6(XDR *xdrs, struct ypfwdreq_key6 *ps) argument
70 char **addrp = (caddr_t *)&(ps->addr);
72 return (xdr_ypmap_wrap_string(xdrs, &ps->map) &&
73 xdr_datum(xdrs, &ps
[all...]
H A Dypv1_xdr.c54 _xdr_yprequest(XDR *xdrs, struct yprequest *ps) argument
68 (int *) &ps->yp_reqtype,
69 (char *) &ps->yp_reqbody,
77 _xdr_ypresponse(XDR *xdrs, struct ypresponse *ps) argument
91 (int *) &ps->yp_resptype,
92 (char *) &ps->yp_respbody,
102 _xdr_ypbind_oldsetdom(XDR *xdrs, struct ypbind_setdom *ps)
104 char *domain = ps->ypsetdom_domain;
107 xdr_yp_binding(xdrs, &ps->ypsetdom_binding));
/illumos-gate/usr/src/lib/libast/common/sfio/
H A D_sfputl.c38 reg uchar *s, *ps; local
48 s = ps = &(c[N_ARRAY-1]);
61 n = (ps-s)+1;
63 if(n > 8 || SFWPEEK(f,ps,p) < n)
68 case 8 : *ps++ = *s++;
69 case 7 : *ps++ = *s++;
70 case 6 : *ps++ = *s++;
71 case 5 : *ps++ = *s++;
72 case 4 : *ps++ = *s++;
73 case 3 : *ps
[all...]
H A D_sfputu.c38 reg uchar *s, *ps; local
50 s = ps = &(c[N_ARRAY-1]);
54 n = (ps-s)+1;
56 if(n > 8 || SFWPEEK(f,ps,p) < n)
61 case 8 : *ps++ = *s++;
62 case 7 : *ps++ = *s++;
63 case 6 : *ps++ = *s++;
64 case 5 : *ps++ = *s++;
65 case 4 : *ps++ = *s++;
66 case 3 : *ps
[all...]
H A Dsfnputc.c38 reg uchar* ps; local
53 if((size_t)(p = (f->endb-(ps = f->next))) < n)
54 { ps = buf; p = sizeof(buf); }
57 MEMSET(ps,c,p);
58 ps -= p;
61 if(ps == f->next)
71 if((p = SFWRITE(f,(Void_t*)ps,p)) <= 0 || (n -= p) <= 0)
H A Dsfputr.c38 reg uchar* ps; local
49 { if(SFWPEEK(f,ps,p) < 0)
57 { memcpy(ps, s, n);
58 ps += n;
62 { *ps++ = rc;
65 f->next = ps;
89 { *ps++ = rc;
90 f->next = ps;
96 if((ps = (uchar*)memccpy(ps,
[all...]
H A D_sfputm.c39 reg uchar *s, *ps; local
51 s = ps = &(c[N_ARRAY-1]);
57 n = (ps-s)+1;
59 if(n > 8 || SFWPEEK(f,ps,p) < n)
64 case 8 : *ps++ = *s++;
65 case 7 : *ps++ = *s++;
66 case 6 : *ps++ = *s++;
67 case 5 : *ps++ = *s++;
68 case 4 : *ps++ = *s++;
69 case 3 : *ps
[all...]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dhex_bin.c99 * *ps.
115 fp_exception_field_type *ps)
120 *ps = 0;
128 __pack_single(&u, px, rd, ps);
129 if (*ps != 0)
130 __base_conversion_set_exception(*ps);
136 fp_exception_field_type *ps)
141 *ps = 0;
150 __pack_double(&u, px, rd, ps);
151 if (*ps !
114 __hex_to_single(decimal_record *pd, enum fp_direction_type rd, single *px, fp_exception_field_type *ps) argument
135 __hex_to_double(decimal_record *pd, enum fp_direction_type rd, double *px, fp_exception_field_type *ps) argument
159 __hex_to_quadruple(decimal_record *pd, enum fp_direction_type rd, quadruple *px, fp_exception_field_type *ps) argument
185 __hex_to_extended(decimal_record *pd, enum fp_direction_type rd, extended *px, fp_exception_field_type *ps) argument
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dpids.c59 key(void* handle, Sffmt_t* fp, const char* arg, char** ps, Sflong_t* pn) argument
81 *ps = (char*)handle;
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dfgets.c31 unsigned char* ps; local
43 if((p = f->endb - (ps = f->next)) <= 0 )
46 if(SFRPEEK(f,ps,p) <= 0)
54 if((ps = (uchar*)memccpy((char*)is,(char*)ps,'\n',p)) != NIL(uchar*))
55 p = ps-is;
57 ps = f->next+p;
60 { while(p-- && (*is++ = *ps++) != '\n')
62 p = ps-f->next;
65 { reg int c = ps[
[all...]
H A Dgetdelim.c34 uchar* ps; local
53 if((p = f->endb - (ps = f->next)) <= 0 )
56 if(SFRPEEK(f,ps,p) <= 0)
63 { if(ps[k] == delim)
79 memcpy(s+m, ps, k); m += k;
80 f->next = ps+k; /* skip copied data in buffer */
/illumos-gate/usr/src/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);

Completed in 53 milliseconds

123456