/illumos-gate/usr/src/lib/libcrypt/common/ |
H A D | des_encrypt.c | 39 int t, j, k; in des_encrypt1() local 75 t = 6*j; in des_encrypt1() 77 (preS[t+1]<<3)+ in des_encrypt1() 78 (preS[t+2]<<2)+ in des_encrypt1() 79 (preS[t+3]<<1)+ in des_encrypt1() 80 (preS[t+4]<<0)+ in des_encrypt1() 82 t = 4*j; in des_encrypt1() 83 f[t+0] = (k>>3)&01; in des_encrypt1() 84 f[t+1] = (k>>2)&01; in des_encrypt1() 85 f[t+2] = (k>>1)&01; in des_encrypt1() [all …]
|
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kvm_isadep.c | 65 kmt_step_out_validate(mdb_tgt_t *t, uintptr_t pc) in kmt_step_out_validate() argument 67 kmt_data_t *kmt = t->t_data; in kmt_step_out_validate() 84 kmt_step_out(mdb_tgt_t *t, uintptr_t *p) in kmt_step_out() argument 97 if (!kmt_step_out_validate(t, pc)) in kmt_step_out() 108 kmt_next(mdb_tgt_t *t, uintptr_t *p) in kmt_next() argument 119 return (mdb_isa_next(t, p, pc, instr)); in kmt_next() 354 if (!(t->t_flags & MDB_TGT_F_ALLOWIO) && in kmt_write() 530 kmt_init_isadep(mdb_tgt_t *t) in kmt_init_isadep() argument 532 kmt_data_t *kmt = t->t_data; in kmt_init_isadep() 573 kmt_startup_isadep(mdb_tgt_t *t) in kmt_startup_isadep() argument [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_mindex3.cc | 53 __nis_table_mapping_t *t; member 116 arg->t = t; in entriesFromLDAP() 158 NIL(t->objName)); in entriesFromLDAP() 165 NIL(t->objName)); in entriesFromLDAP() 354 t = arg->t; in entriesFromLDAPreal() 395 NIL(t->objName)); in entriesFromLDAPreal() 682 printQuery(res[i], t); in entriesFromLDAPreal() 702 != t->numColumns) in entriesFromLDAPreal() 726 t->numColumns + 1; in entriesFromLDAPreal() 774 stat = mindex->updateTableEntry(e, 1, t->objName, &o, t->obj, in entriesFromLDAPreal() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tmword.c | 44 tmword(register const char* s, char** e, register const char* t, char** suf, int n) in tmword() argument 49 if (*s && *t) in tmword() 56 if (!isalpha(c) || c != *t && (islower(c) ? toupper(c) : tolower(c)) != *t) in tmword() 58 t++; in tmword() 70 if (!*t && s > (b + 1)) in tmword() 73 while (n-- && (t = *suf++)) in tmword() 76 while (isalpha(c = *s++) && (c == *t || (islower(c) ? toupper(c) : tolower(c)) == *t)) t++; in tmword() 77 if (!*t && !isalpha(c)) in tmword()
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | tanh.c | 72 double t, y, z; in tanh() local 79 t = fabs(x); in tanh() 81 if (t <= 22.0) { in tanh() 82 if (t > one) in tanh() 83 z = one - two / (expm1(t + t) + two); in tanh() 84 else if (t > small) { in tanh() 85 y = expm1(-t - t); in tanh() 89 dummy = t + big; in tanh() 95 } else if (!finite(t)) in tanh()
|
H A D | exp10.c | 70 double t, pt; in exp10() local 82 t = (ix < 0)? tiny : huge; in exp10() 83 return (t * t); in exp10() 92 t = one; in exp10() 95 t = ten; in exp10() 100 t *= pt; in exp10() 103 return (t); in exp10() 105 t = x * lg10; in exp10() 106 k = (int)((ix < 0)? t - half : t + half); in exp10()
|
H A D | atanh.c | 59 double t; in atanh() local 63 t = fabs(x); in atanh() 64 if (t > 1.0) in atanh() 66 if (t == 1.0) in atanh() 68 t = t / (1.0 - t); in atanh() 69 return (copysign(0.5, x) * log1p(t + t)); in atanh()
|
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | tanhl.c | 71 long double t, y, z; in tanhl() local 80 t = fabsl(x); in tanhl() 82 if (t <= threshold) { in tanhl() 83 if (t > one) in tanhl() 84 z = one - two / (expm1l(t + t) + two); in tanhl() 85 else if (t > small) { in tanhl() 86 y = expm1l(-t - t); in tanhl() 90 dummy = t + big; in tanhl() 95 } else if (!finitel(t)) in tanhl()
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | tanhl.c | 71 long double t, y, z; in tanhl() local 80 t = fabsl(x); in tanhl() 82 if (t <= threshold) { in tanhl() 83 if (t > one) in tanhl() 84 z = one - two / (expm1l(t + t) + two); in tanhl() 85 else if (t > small) { in tanhl() 86 y = expm1l(-t - t); in tanhl() 90 dummy = t + big; in tanhl() 95 } else if (!finitel(t)) in tanhl()
|
H A D | floorl.c | 48 long double t; in ceill() local 52 t = rintl(x); in ceill() 53 if (t >= x) /* already ceil(x) */ in ceill() 54 return (t); in ceill() 56 return (copysignl(t + qone, x)); in ceill() 61 long double t; in floorl() local 65 t = rintl(x); in floorl() 66 if (t <= x) in floorl() 67 return (t); /* already floor(x) */ in floorl() 69 return (copysignl(t - qone, x)); in floorl()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | fmtclock.c | 32 fmtclock(register Sfulong_t t) in fmtclock() argument 49 if (t == 0) in fmtclock() 51 if (t == ((Sfulong_t)~0)) in fmtclock() 53 t = (t * 1000000) / clk_tck; in fmtclock() 54 if (t < 1000) in fmtclock() 56 else if ((t /= 1000) < 1000) in fmtclock() 59 return fmtelapsed(t / 10, 100); in fmtclock() 61 sfsprintf(buf, z, "%I*u%cs", sizeof(t), t, u); in fmtclock()
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | disp_lock.c | 116 thread_lock(kthread_id_t t) in thread_lock() argument 161 thread_lock_high(kthread_id_t t) in thread_lock_high() argument 192 thread_transition(kthread_id_t t) in thread_transition() argument 196 ASSERT(THREAD_LOCK_HELD(t)); in thread_transition() 199 lp = t->t_lockp; in thread_transition() 200 t->t_lockp = &transition_lock; in thread_transition() 211 thread_stop(kthread_id_t t) in thread_stop() argument 215 ASSERT(THREAD_LOCK_HELD(t)); in thread_stop() 218 lp = t->t_lockp; in thread_stop() 219 t->t_state = TS_STOPPED; in thread_stop() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cpc.c | 90 kthread_t *t; in cpc() local 110 if ((t = idtot(curproc, lwpid)) == NULL || t == curthread) in cpc() 112 ASSERT(t->t_tid == lwpid && ttolwp(t) != NULL); in cpc() 114 t = curthread; in cpc() 155 t->t_cpc_set = NULL; in cpc() 161 if ((error = kcpc_bind_thread(t->t_cpc_set, t, &code)) != 0) { in cpc() 164 t->t_cpc_set = NULL; in cpc() 230 if (t != curthread || t->t_cpc_set == NULL) in cpc() 337 kcpc_invalidate(t); in cpc() 414 t->t_cpc_set = NULL; in kcpc_ioctl() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tree.c | 98 t = p = NULL; in print_mdoc() 102 t = "root"; in print_mdoc() 108 t = "head"; in print_mdoc() 117 t = "tail"; in print_mdoc() 120 t = "elem"; in print_mdoc() 123 t = "text"; in print_mdoc() 131 t = "eqn"; in print_mdoc() 219 t = "root"; in print_man() 222 t = "elem"; in print_man() 242 t = "eqn"; in print_man() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | lgamma.c | 179 struct Double t, u, v; in large_lgam() local 186 t.a = u.a*v.a; in large_lgam() 190 return(t.a + t.b); in large_lgam() 204 t.b += p; t.b += lns2pi; /* return t + lns2pi + p */ in large_lgam() 205 return (t.a + t.b); in large_lgam() 217 t = y - x0; in small_lgam() 221 t = y +(1.0-x0); in small_lgam() 223 z = t - x0_lo; in small_lgam() 227 t = .5*t*t; in small_lgam() 248 z = y-t; in small_lgam() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | fflush.c | 94 register int n, t; local 99 t = fp->f_flags; 100 if ((t & SMWR) == 0) 103 if (t & SMSTR) 127 fp->f_w = t & (SMLBF|SMNBF) ? 0 : fp->f_bf.smb_size; /* implies SMFBF */ 129 for (; n > 0; n -= t, p += t) 134 t = (*fp->f_write)(fp, (char *)p, n); 135 if (t <= 0) 137 if (t == 0 && errno == 0) 140 if (IS_IO_ERROR(fd, t, *timeout)) [all …]
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.c | 176 switch (t) { in nodesize() 237 ret->t = t; in newnode() 329 root->t); in tree_free() 342 if (np1->t != np2->t) in tree_treecmp() 347 if (np1->t == t) in tree_treecmp() 455 np1->t); in tree_treecmp() 686 np->t); in tree_name_repairdash() 709 np->t); in tree_name_repairdash2() 726 ASSERTinfo(np1->t == T_NAME, ptree_nodetype2str(np1->t)); in tree_name_iterator() 1107 switch (t) { in tree_decl() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | tv | 62 #define tvgetatime(t,s) ((t)->tv_nsec=ST_ATIME_NSEC_GET(s),(t)->tv_sec=(s)->st_atime) 63 #define tvgetmtime(t,s) ((t)->tv_nsec=ST_MTIME_NSEC_GET(s),(t)->tv_sec=(s)->st_mtime) 64 #define tvgetctime(t,s) ((t)->tv_nsec=ST_CTIME_NSEC_GET(s),(t)->tv_sec=(s)->st_ctime) 66 #define tvsetatime(t,s) (ST_ATIME_NSEC_SET(s,(t)->tv_nsec),(s)->st_atime=(t)->tv_sec) 67 #define tvsetmtime(t,s) (ST_MTIME_NSEC_SET(s,(t)->tv_nsec),(s)->st_mtime=(t)->tv_sec) 68 #define tvsetctime(t,s) (ST_CTIME_NSEC_SET(s,(t)->tv_nsec),(s)->st_ctime=(t)->tv_sec)
|
/illumos-gate/usr/src/contrib/ast/src/cmd/msgcc/ |
H A D | msggen.c | 136 register char* t; in translation() local 143 for (d = e = 0, t = s; *t; t++) in translation() 144 if (*t == ',') in translation() 146 e = t; in translation() 151 d = t; in translation() 425 if (t > (s + 1) && *(t -= 2) == '\\') in main() 432 if (t <= (s + 1) || *(t -= 2) != '\\') in main() 446 b = t = s; in main() 468 *t = 0; in main() 490 t = ""; in main() [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ipft_hx.c | 61 register char *s, *t, *u; local 89 t = line + 1; 90 if (s - t > 0) { 97 if (*t == 'i') 99 else if (*t == 'o') 103 *ifn = t; 107 t = (char *)ip; 111 if (t < (char *)ip) 114 if (ISPRINT(*t) && ISASCII(*t)) 115 putchar(*t); [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfpkrd.c | 55 reg int ntry, t; local 63 t &= ~STREAM_PEEK; 66 t &= ~SOCKET_PEEK; 91 t &= ~STREAM_PEEK; 106 t &= ~STREAM_PEEK; 109 { t &= ~SOCKET_PEEK; 132 (t&SOCKET_PEEK) ) 224 if(t&SOCKET_PEEK) 263 t &= ~SOCKET_PEEK; 297 { r += t; [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwp_create.c | 70 kthread_t *t; in syslwp_create() local 132 t = lwptot(lwp); in syslwp_create() 142 t->t_proc_flag |= TP_EXITLWP; in syslwp_create() 143 t->t_sig_check = 1; in syslwp_create() 144 t->t_sysnum = 0; in syslwp_create() 146 lwp_create_done(t); in syslwp_create() 156 lwp_createctx(curthread, t); in syslwp_create() 168 t->t_sysnum = SYS_lwp_create; in syslwp_create() 176 t->t_proc_flag |= TP_TWAIT; in syslwp_create() 178 t->t_proc_flag |= TP_DAEMON; in syslwp_create() [all …]
|
/illumos-gate/usr/src/boot/libsa/string/ |
H A D | memset.c | 66 size_t t; in bzero() local 106 if ((t = (long)dst & wmask) != 0) { in bzero() 107 t = wsize - t; in bzero() 108 length -= t; in bzero() 111 } while (--t != 0); in bzero() 115 t = length / wsize; in bzero() 119 } while (--t != 0); in bzero() 122 t = length & wmask; in bzero() 123 if (t != 0) in bzero() 126 } while (--t != 0); in bzero()
|
/illumos-gate/usr/src/uts/sun4u/ngdr/sys/ |
H A D | dr.h | 52 #define NIX(t) \ argument 58 #define BIX(t) \ argument 64 #define NMASK(t) \ argument 106 #define _NT2DEVPOS(t, u) (BIX(t) + (u)) argument 111 #define DEVSET(t, u) \ argument 113 ((NMASK(t) << _NT2DEVPOS((t), 0)) & _DEVSET_MASK) : \ 114 ((t) == SBD_COMP_CMP) ? \ 118 #define DEVSET_IN_SET(ds, t, u) (((ds) & DEVSET((t), (u))) != 0) argument 119 #define DEVSET_ADD(ds, t, u) ((ds) |= DEVSET((t), (u))) argument 120 #define DEVSET_DEL(ds, t, u) ((ds) &= ~DEVSET((t), (u))) argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | mime.c | 147 char* t; in mimeset() local 169 for (t = v; *t && !isspace(*t) && *t != '='; t++); in mimeset() 170 for (k = t; isspace(*t); t++); in mimeset() 171 if (!*t || *t == '=' || *t == ';') in mimeset() 186 for (t = v; *t; t++) in mimeset() 194 *t = *(t + 1); in mimeset() 213 for (; t > v && isspace(*(t - 1)); t--); in mimeset() 289 char* t; in mimeload() local 552 char* t; in expand() local 586 t = 0; in expand() [all …]
|