/titanic_50/usr/src/man/man9s/ |
H A D | Makefile | 20 MANSECT= 9s 22 MANFILES= Intro.9s \ 23 aio_req.9s \ 24 buf.9s \ 25 cb_ops.9s \ 26 copyreq.9s \ 27 copyresp.9s \ 28 datab.9s \ 29 ddi_device_acc_attr.9s \ 30 ddi_dma_attr.9s \ [all …]
|
/titanic_50/usr/src/uts/common/zmod/ |
H A D | deflate.c | 78 typedef block_state (*compress_func) OF((deflate_state *s, int flush)); 81 local void fill_window OF((deflate_state *s)); 82 local block_state deflate_stored OF((deflate_state *s, int flush)); 83 local block_state deflate_fast OF((deflate_state *s, int flush)); 85 local block_state deflate_slow OF((deflate_state *s, int flush)); 87 local void lm_init OF((deflate_state *s)); 88 local void putShortMSB OF((deflate_state *s, uInt b)); 94 uInt longest_match OF((deflate_state *s, IPos cur_match)); 96 local uInt longest_match OF((deflate_state *s, IPos cur_match)); 99 local uInt longest_match_fast OF((deflate_state *s, IPos cur_match)); [all …]
|
H A D | trees.c | 143 local void init_block OF((deflate_state *s)); 144 local void pqdownheap OF((deflate_state *s, ct_data *tree, int k)); 145 local void gen_bitlen OF((deflate_state *s, tree_desc *desc)); 147 local void build_tree OF((deflate_state *s, tree_desc *desc)); 148 local void scan_tree OF((deflate_state *s, ct_data *tree, int max_code)); 149 local void send_tree OF((deflate_state *s, ct_data *tree, int max_code)); 150 local int build_bl_tree OF((deflate_state *s)); 151 local void send_all_trees OF((deflate_state *s, int lcodes, int dcodes, 153 local void compress_block OF((deflate_state *s, ct_data *ltree, 155 local void set_data_type OF((deflate_state *s)); [all …]
|
/titanic_50/usr/src/lib/json_nvlist/ |
H A D | json_nvlist.c | 94 movestate(state_t *s, parse_state_t ps) in movestate() argument 96 if (s->s_flags & NVJSON_DEBUG) { in movestate() 98 s->s_top->pf_ps, ps); in movestate() 100 s->s_top->pf_ps = ps; in movestate() 104 posterror(state_t *s, int erno, const char *error) in posterror() argument 110 if (s->s_flags & NVJSON_ERRORS_TO_STDERR) { in posterror() 112 s->s_pos, erno, error); in posterror() 120 s->s_errno = erno; in posterror() 121 if (s->s_errstr != NULL) { in posterror() 122 (void) custr_append(s->s_errstr, error); in posterror() [all …]
|
/titanic_50/usr/src/common/bzip2/ |
H A D | decompress.c | 27 void makeMaps_d ( DState* s ) in makeMaps_d() argument 30 s->nInUse = 0; in makeMaps_d() 32 if (s->inUse[i]) { in makeMaps_d() 33 s->seqToUnseq[s->nInUse] = i; in makeMaps_d() 34 s->nInUse++; in makeMaps_d() 44 case lll: s->state = lll; \ 46 if (s->bsLive >= nnn) { \ 48 v = (s->bsBuff >> \ 49 (s->bsLive-nnn)) & ((1 << nnn)-1); \ 50 s->bsLive -= nnn; \ [all …]
|
H A D | compress.c | 38 void BZ2_bsInitWrite ( EState* s ) in BZ2_bsInitWrite() argument 40 s->bsLive = 0; in BZ2_bsInitWrite() 41 s->bsBuff = 0; in BZ2_bsInitWrite() 47 void bsFinishWrite ( EState* s ) in bsFinishWrite() argument 49 while (s->bsLive > 0) { in bsFinishWrite() 50 s->zbits[s->numZ] = (UChar)(s->bsBuff >> 24); in bsFinishWrite() 51 s->numZ++; in bsFinishWrite() 52 s->bsBuff <<= 8; in bsFinishWrite() 53 s->bsLive -= 8; in bsFinishWrite() 61 while (s->bsLive >= 8) { \ [all …]
|
H A D | bzlib.c | 195 void prepare_new_block ( EState* s ) in prepare_new_block() argument 198 s->nblock = 0; in prepare_new_block() 199 s->numZ = 0; in prepare_new_block() 200 s->state_out_pos = 0; in prepare_new_block() 201 BZ_INITIALISE_CRC ( s->blockCRC ); in prepare_new_block() 202 for (i = 0; i < 256; i++) s->inUse[i] = False; in prepare_new_block() 203 s->blockNo++; in prepare_new_block() 209 void init_RL ( EState* s ) in init_RL() argument 211 s->state_in_ch = 256; in init_RL() 212 s->state_in_len = 0; in init_RL() [all …]
|
/titanic_50/usr/src/cmd/filesync/ |
H A D | files.c | 163 { const char *s; in expand() local 170 for (s = name; *s && *s != '$'; s++); in expand() 171 if (*s == 0) in expand() 175 for (s = name, p = namebuf; *s; s++) { in expand() 184 if (*s != '$') { in expand() 185 *p++ = *s; in expand() 190 delim = *++s; in expand() 193 s++; in expand() 196 s++; in expand() 201 for (v = varbuf; *s; s++) { in expand() [all …]
|
/titanic_50/usr/src/cmd/sgs/libelf/misc/ |
H A D | String.c | 59 grow(s) in grow() argument 60 String *s; in grow() 63 int sz = s->sg.max * 2; 68 (void) memcpy(ns, s, s->sg.max + sizeof (StringGuts) + 1); 69 free(s); 71 if ((ns = (String *)realloc(s, sz + sizeof (StringGuts) + 1)) == NULL) 84 ror(s, n) in ror() argument 85 String *s; in ror() 88 assert(s != 0); 89 while (s->sg.end + n > s->sg.max) [all …]
|
/titanic_50/usr/src/cmd/tr/ |
H A D | str.c | 57 next(s) in next() argument 58 STR *s; in next() 65 switch (s->state) { 71 switch (*s->str) { 73 s->state = EOS; 76 s->lastch = backslash(s, &is_octal); 79 if (bracket(s)) 80 return (next(s)); 83 clen = mbrtowc(&wch, s->str, MB_LEN_MAX, NULL); 88 s->lastch = wch; [all …]
|
/titanic_50/usr/src/cmd/sendmail/src/ |
H A D | trace.c | 70 tToldflag(s) in tToldflag() argument 71 register char *s; in tToldflag() 78 while (isascii(*s) && isdigit(*s) && i < tTsize) 79 i = i * 10 + (*s++ - '0'); 86 while (isascii(*s) && isdigit(*s) && i >= tTsize) 87 s++; 91 if (*s == '-') 94 while (isascii(*++s) && isdigit(*s) && i < tTsize) 95 i = i * 10 + (*s - '0'); 98 while (isascii(*s) && isdigit(*s) && i >= tTsize) [all …]
|
H A D | stab.c | 49 register STAB *s; local 72 while ((s = *ps) != NULL && 73 (s->s_symtype != type || strcmp(name, s->s_name))) 74 ps = &s->s_next; 78 while ((s = *ps) != NULL && 79 (s->s_symtype != type || sm_strcasecmp(name, s->s_name))) 80 ps = &s->s_next; 87 if (s != NULL || op == ST_FIND) 91 if (s == NULL) 95 long *lp = (long *) s->s_class; [all …]
|
/titanic_50/usr/src/common/crypto/ecc/ |
H A D | ecp_384.c | 69 mp_digit s[10][12]; in ec_GFp_nistp384_mod() local 74 MP_DIGITS(&m[i]) = s[i]; in ec_GFp_nistp384_mod() 77 mp_digit s[10][6]; in ec_GFp_nistp384_mod() local 82 MP_DIGITS(&m[i]) = s[i]; in ec_GFp_nistp384_mod() 93 s[0][i] = MP_DIGIT(a, i); in ec_GFp_nistp384_mod() 95 s[1][0] = 0; in ec_GFp_nistp384_mod() 96 s[1][1] = 0; in ec_GFp_nistp384_mod() 97 s[1][2] = 0; in ec_GFp_nistp384_mod() 98 s[1][3] = 0; in ec_GFp_nistp384_mod() 99 s[1][4] = MP_DIGIT(a, 21); in ec_GFp_nistp384_mod() [all …]
|
/titanic_50/usr/src/uts/common/os/ |
H A D | serializer.c | 152 serializer_exec(serializer_t *s, srproc_t proc, mblk_t *mp, void *arg) in serializer_exec() argument 154 ASSERT(MUTEX_NOT_HELD(&s->ser_lock)); in serializer_exec() 155 ASSERT(s->ser_owner == curthread); in serializer_exec() 160 s->ser_curr = mp; in serializer_exec() 161 s->ser_arg = arg; in serializer_exec() 162 s->ser_proc = proc; in serializer_exec() 170 serializer_enqueue(serializer_t *s, srproc_t proc, mblk_t *mp, void *arg) in serializer_enqueue() argument 172 ASSERT(MUTEX_HELD(&s->ser_lock)); in serializer_enqueue() 174 DTRACE_PROBE4(serializer__enqueue, serializer_t *, s, in serializer_enqueue() 176 s->ser_count++; in serializer_enqueue() [all …]
|
/titanic_50/usr/src/lib/libast/common/string/ |
H A D | tokscan.c | 74 lextok(register char* s, register int c, char** p, int* n) in lextok() argument 81 if (*s == '(' && (!c || c == ' ' || c == '\n')) in lextok() 83 q = strtol(s + 1, &b, 10); in lextok() 88 s = t; in lextok() 89 *s++ = 0; in lextok() 95 s = b + 5; in lextok() 100 b = s; in lextok() 105 if (!*s || !q && *s == '\n') in lextok() 112 s = b; in lextok() 120 else if (*s == '\\') in lextok() [all …]
|
/titanic_50/usr/src/lib/libast/common/uwin/ |
H A D | erf.c | 272 double R,S,P,Q,ax,s,y,z,r,fabs(),exp(); variable 292 s = fabs(x)-one; 293 P = pa0+s*(pa1+s*(pa2+s*(pa3+s*(pa4+s*(pa5+s*pa6))))); 294 Q = one+s*(qa1+s*(qa2+s*(qa3+s*(qa4+s*(qa5+s*qa6))))); 308 s = -one/z; 310 R = rc0+s*(rc1+s*(rc2+s*(rc3+s*(rc4+s*(rc5+ 311 s*(rc6+s*(rc7+s*(rc8+s*(rc9+s*rc10))))))))); 312 S = one+s*(sc1+s*(sc2+s*sc3)); 314 R = rb0+s*(rb1+s*(rb2+s*(rb3+s*(rb4+s*(rb5+ 315 s*(rb6+s*(rb7+s*(rb8+s*(rb9+s*rb10))))))))); [all …]
|
/titanic_50/usr/src/lib/libunistat/common/rdc/ |
H A D | rdc.err | 24 EINVAL = Invalid flag %s 25 ALREADY = %s ==> %s not already enabled 26 DISABLEPENDING = Disable pending on %s ==> %s, try again later 27 ENABLEPENDING = Enable pending on %s ==> %s, try again later 28 OPNSECSRC = Host %s: Source %s, open remote host failed 29 OPNPRISRC = Host %s: Source %s, open failed 30 OPNSECTGT = Host %s: Target %s, open remote host failed 31 OPNPRITGT = Host %s: Target %s, open failed 32 NOLOCHOST = Disks %s,%s do not reside on host %s or host %s 33 NOTREMOTE = Master %s and Slave %s have same id %s [all …]
|
/titanic_50/usr/src/cmd/truss/ |
H A D | print.c | 217 escape_string(private_t *pri, const char *s) in escape_string() argument 228 size_t len = strlen(s); in escape_string() 230 if (!isprint(s[i])) in escape_string() 232 if (s[i] == '"') in escape_string() 240 if (s[i] == '"') in escape_string() 243 if (isprint(s[i])) { in escape_string() 244 pri->sys_string[pri->sys_leng++] = s[i]; in escape_string() 247 pri->sys_leng, "\\x%02x", (uint8_t)s[i]); in escape_string() 256 char *s = raw? NULL : fetchstring(pri, (long)val, PATH_MAX); in prt_stg() local 258 if (s == NULL) in prt_stg() [all …]
|
/titanic_50/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | zlib.c | 271 #define TRY_FREE(s, p) {if (p) ZFREE(s, p); } argument 568 #define put_byte(s, c) {s->pending_buf[s->pending++] = (c); } argument 577 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) argument 584 void _tr_init OF((deflate_state *s)); 585 int _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc)); 586 void _tr_flush_block OF((deflate_state *s, charf *buf, ulg stored_len, 588 void _tr_align OF((deflate_state *s)); 589 void _tr_stored_block OF((deflate_state *s, charf *buf, ulg stored_len, 607 #define _tr_tally_lit(s, c, flush) \ argument 609 s->d_buf[s->last_lit] = 0; \ [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 95 # define zmemcpy(d, s, n) bcopy((s), (d), (n)) argument 130 #define TRY_FREE(s, p, n) {if (p) ZFREE(s, p, n);} argument 394 #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);} argument 402 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) argument 408 local void ct_init OF((deflate_state *s)); 409 local int ct_tally OF((deflate_state *s, int dist, int lc)); 410 local ulg ct_flush_block OF((deflate_state *s, charf *buf, ulg stored_len, 412 local void ct_align OF((deflate_state *s)); 413 local void ct_stored_block OF((deflate_state *s, charf *buf, ulg stored_len, 415 local void ct_stored_type_only OF((deflate_state *s)); [all …]
|
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | xccs.multibyte.c | 46 _mbtowc_xccs(pwc, s, n) in _mbtowc_xccs() argument 48 char *s; 64 if (*s == 0 && CSlength == 1) 66 if (*s == 0 && *(s + 1) == 0 && CSlength == 2) 72 if ((unsigned char)*s == CS377) { 76 ++s; 80 if ((unsigned char)*s == CS377) { 81 ++s; 85 if (*s++ != 0) 95 CSselect = (unsigned int)*s++; [all …]
|
/titanic_50/usr/src/lib/libm/common/C/ |
H A D | erf.c | 284 double R, S, P, Q, s, y, z, r; in erf() local 305 s = one + in erf() 307 y = r / s; in erf() 311 s = fabs(x) - one; in erf() 312 P = pa0 + s * (pa1 + s * (pa2 + s * (pa3 + s * (pa4 + in erf() 313 s * (pa5 + s * pa6))))); in erf() 314 Q = one + s * (qa1 + s * (qa2 + s * (qa3 + s * (qa4 + in erf() 315 s * (qa5 + s * qa6))))); in erf() 328 s = one / (x * x); in erf() 330 R = ra0 + s * (ra1 + s * (ra2 + s * (ra3 + s * (ra4 + in erf() [all …]
|
/titanic_50/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ldaputf8.c | 36 ldap_utf8len (const char* s) in ldap_utf8len() argument 39 return ldap_utf8next((char*)s) - s; in ldap_utf8len() 44 ldap_utf8next (char* s) in ldap_utf8next() argument 50 register unsigned char* next = (unsigned char*)s; in ldap_utf8next() 65 ldap_utf8prev (char* s) in ldap_utf8prev() argument 71 register unsigned char* prev = (unsigned char*)s; in ldap_utf8prev() 87 register const unsigned char* s = (const unsigned char*)src; in ldap_utf8copy() local 88 switch (UTF8len [(*s >> 2) & 0x3F]) { in ldap_utf8copy() 90 case 6: *dst++ = *s++; if ((*s & 0xC0) != 0x80) break; in ldap_utf8copy() 91 case 5: *dst++ = *s++; if ((*s & 0xC0) != 0x80) break; in ldap_utf8copy() [all …]
|
/titanic_50/usr/src/common/crypto/edonr/ |
H A D | edonr_byteorder.h | 127 #define ld_swap32(s, d) aix_ld_swap32(s, d) argument 128 #define st_swap32(s, d) aix_st_swap32(s, d) argument 129 #define ld_swap64(s, d) aix_ld_swap64(s, d) argument 130 #define st_swap64(s, d) aix_st_swap64(s, d) argument 144 #define st_swap64(s, d) sparc_st_swap64(s, d) argument 165 #define ld_swap32(s, d) sparc_ld_swap32(s, d) argument 166 #define st_swap32(s, d) sparc_st_swap32(s, d) argument 167 #define ld_swap64(s, d) sparc_ld_swap64(s, d) argument 168 #define st_swap64(s, d) sparc_st_swap64(s, d) argument 174 #define ld_swap32(s, d) (d = __builtin_bswap32(*(s))) argument [all …]
|
/titanic_50/usr/src/lib/libpp/common/ |
H A D | ppargs.c | 191 register char* s; in ppargs() local 216 switch (*(s = opt_info.arg)) in ppargs() 220 n = (*s++ == '-'); in ppargs() 221 while (c = *s++) switch (c) in ppargs() 227 if (n && ((c = strtol(s, &p, 0)) || p != s)) in ppargs() 229 s = p; in ppargs() 235 ppop(PP_FILENAME, n ? s : NiL); in ppargs() 247 ppop(PP_LINEID, n && *s ? s : "line"); in ppargs() 265 ppop(PP_TEST, s); in ppargs() 274 ppop(PP_PROBE, n && *s ? s : 0); in ppargs() [all …]
|