/illumos-gate/usr/src/contrib/ast/src/lib/libdll/ |
H A D | dllscan.c | 289 for (t = (char*)name; *t; t++) in dllsopen() 290 if ((*t == '-' || *t == '.' || *t == '?') && isdigit(*(t + 1))) in dllsopen() 459 for (t = b; t > scan->buf; t--) in dllsread() 464 if (*(t - 1) == '.' || *(t - 1) == '-' || *(t - 1) == '_') in dllsread() 470 t--; in dllsread() 480 if (isdigit(t[0]) && isdigit(t[1]) && !isdigit(t[2])) in dllsread() 481 n = (t[0] - '0') * 10 + (t[1] - '0'); in dllsread() 482 else if (isdigit(t[1]) && isdigit(t[2]) && !isdigit(t[3])) in dllsread() 483 n = (t[1] - '0') * 10 + (t[2] - '0'); in dllsread() 489 t++; in dllsread() [all …]
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_tnode.c | 170 t->tn_mask = 0; in tmpnode_init() 172 t->tn_nodeid = (ino64_t)(uint32_t)((uintptr_t)t >> 3); in tmpnode_init() 173 t->tn_nlink = 1; in tmpnode_init() 174 t->tn_size = 0; in tmpnode_init() 187 t->tn_nblocks = 0; in tmpnode_init() 189 t->tn_atime = now; in tmpnode_init() 190 t->tn_mtime = now; in tmpnode_init() 192 t->tn_seq = 0; in tmpnode_init() 193 t->tn_dir = NULL; in tmpnode_init() 196 vp = TNTOV(t); in tmpnode_init() [all …]
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | rndintl.c | 48 long double t, w; in aintl() local 53 t = rintl(w); in aintl() 54 if (t <= w) in aintl() 62 long double t, w, z; in anintl() local 67 t = rintl(w); in anintl() 68 if (t == w) in anintl() 69 return (copysignl(t, x)); in anintl() 70 z = t - w; in anintl() 72 t = t - qone; in anintl() 74 t = t + qone; in anintl() [all …]
|
H A D | cbrtl.c | 39 long double s, t, r, w, y; in cbrtl() local 61 t = (long double) dy; in cbrtl() 62 t = scalbnl(t, m); in cbrtl() 63 s = t * t; in cbrtl() 65 w = t + t; in cbrtl() 66 r = (r - t) / (w + r); in cbrtl() 67 t += t * r; in cbrtl() 69 return (sx == 0 ? t : -t); in cbrtl()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | tmx | 29 #define tmxsec(t) ((Tmxsec_t)((t)/1000000000)) 30 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000)) 45 #define tmxsec(t) ((Tmxsec_t)(t)) 46 #define tmxnsec(t) (((Tmxnsec_t)(((t)-((uint32_t)(t))+0.0000005)*1000L))*1000000L) 60 #define tmxsec(t) ((Tmxsec_t)(t)) 61 #define tmxnsec(t) (0) 71 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t)) 80 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t))) 81 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t))) 82 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | release.c | 137 char* t; in date() local 145 if (*t != '-') in date() 147 switch (t - s) in date() 171 s = t; in date() 177 if ((y = number(s, &t)) && (t - s) == 4) in date() 187 t++; in date() 188 *e = t; in date() 202 unsigned long t; in main() local 283 lo = t; in main() 286 hi = t; in main() [all …]
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | catanl.c | 128 long double x, y, t1, ax, ay, t; in catanl() local 174 t = one - ay; in catanl() 212 t = ay / (t1 * t1); in catanl() 214 t = (ay / ax) / ax; in catanl() 217 LD_IM(ans) = t * (one - two * t); in catanl() 240 LD_IM(ans) = t * (one - (t + t)); in catanl() 258 t = two / ax; in catanl() 259 LD_IM(ans) = 0.25L * log1pl(t * t); in catanl() 277 LD_IM(ans) = t * (one - (t + t)); in catanl() 310 t = one - ay; in catanl() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | schedctl.c | 110 kthread_t *t = curthread; in schedctl() local 126 t->t_schedctl = ssp; in schedctl() 127 t->t_sc_uaddr = uaddr; in schedctl() 128 ssp->sc_cid = t->t_cid; in schedctl() 131 thread_unlock(t); in schedctl() 146 proc_t *p = ttoproc(t); in schedctl_lwp_cleanup() 153 t->t_schedctl = NULL; in schedctl_lwp_cleanup() 154 t->t_sc_uaddr = 0; in schedctl_lwp_cleanup() 155 thread_unlock(t); in schedctl_lwp_cleanup() 317 tdp->sc_cid = t->t_cid; in schedctl_set_cidpri() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | ltable.h | 13 #define gnode(t,i) (&(t)->node[i]) argument 18 #define invalidateTMcache(t) ((t)->flags = 0) argument 25 LUAI_FUNC const TValue *luaH_getint (Table *t, int key); 27 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); 28 LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); 30 LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key); 33 LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int nasize); 34 LUAI_FUNC void luaH_free (lua_State *L, Table *t); 35 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key); 36 LUAI_FUNC int luaH_getn (Table *t); [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | term_tab.c | 81 tl->t = mandoc_reallocarray(tl->t, tl->s, sizeof(*tl->t)); in term_tab_set() 87 tl->t[tl->n] = pos; in term_tab_set() 89 tl->t[tl->n] += tl->t[tl->n - 1]; in term_tab_set() 102 tabs.a.t = mandoc_reallocarray(tabs.a.t, tabs.a.s, in term_tab_iset() 103 sizeof(*tabs.a.t)); in term_tab_iset() 105 tabs.a.t[tabs.a.n++] = inc; in term_tab_iset() 120 tabs.a.t = mandoc_reallocarray(tabs.a.t, in term_tab_next() 124 tabs.a.t[i + j] = tabs.p.t[j] + in term_tab_next() 125 (i ? tabs.a.t[i - 1] : 0); in term_tab_next() 127 if (prev < tabs.a.t[i]) in term_tab_next() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | support.c | 380 s=t+t+2, x -= t; q += r;} 458 if(yexp==0) {t=1.0,pt[n0]+=m57; y*=t; nx=m57;} 468 t=y; pt[n3]=0; pt[n2]&=0xf800; y1=t; 474 t=y; 480 n=x/t; x=(x-n*t1)-n*(t-t1); 484 if(nx!=0) {t=1.0; pt[n0]+=nx; x*=t; nx=0; goto loop;} 491 if(nf!=0) { t=1.0; pt[n0]-=nf; x*=t;} 575 t=y*y; z=t; pt[n0]+=0x00100000; t+=z; z=(x-z)*y; 576 t=z/(t+x) ; pt[n0]+=0x00100000; y+=t; 584 if(j==0) { if(t==y) goto end; else t=subc(t); } /* ...t=t-ulp */ [all …]
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | tftp.c | 141 struct tftphdr t; in tftp_senderr() member 159 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t); in tftp_senderr() 176 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t); in tftp_sendack() 185 struct tftphdr *t; in recvtftp() local 228 got = len - (t->th_data - (char *)t); in recvtftp() 230 *payload = t; in recvtftp() 274 *payload = t; in recvtftp() 300 struct tftphdr *t; in tftp_makereq() local 356 h->tftp_hdr = t; in tftp_makereq() 415 h->tftp_hdr = t; in tftp_getnextblock() [all …]
|
H A D | qdivrem.c | 149 q1 = u[1] / t; in __udivmoddi4() 151 q2 = rbj / t; in __udivmoddi4() 153 q3 = rbj / t; in __udivmoddi4() 155 q4 = rbj / t; in __udivmoddi4() 182 for (t = v[1]; t < B / 2; t <<= 1) in __udivmoddi4() 230 t = u[i + j] - v[i] * qhat - t; in __udivmoddi4() 232 t = (B - HHALF(t)) & (B - 1); in __udivmoddi4() 234 t = u[j] - t; in __udivmoddi4() 235 u[j] = LHALF(t); in __udivmoddi4() 242 if (HHALF(t)) { in __udivmoddi4() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/ |
H A D | dttree.c | 330 LROTATE(t,r); in troot() 339 root = t; in troot() 343 t->_left = t->_rght = NIL(Dtlink_t*); in troot() 345 { last->_left = t; last = t; } in troot() 346 else { t->_rght = list; list = t; } in troot() 361 root = t; in troot() 365 t->_left = t->_rght = NIL(Dtlink_t*); in troot() 367 { t->_left = list; list = t; } in troot() 368 else { last->_rght = t; last = t; } in troot() 460 root = t; [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_kvm.c | 95 t->t_flags = (t->t_flags & ~MDB_TGT_F_ALLOWIO) | in kmt_setflags() 103 kmt_name(mdb_tgt_t *t) in kmt_name() argument 859 (void) mdb_tgt_status(t, &t->t_status); in kmt_periodic() 1156 m.map_target = t; in kmt_mapping_iter() 1497 kmt_sync(t); in kmt_continue() 1503 (void) mdb_tgt_status(t, &t->t_status); in kmt_continue() 1521 (void) mdb_tgt_status(t, &t->t_status); in kmt_step() 1557 if (t != NULL) in kmt_defbp_deactivate() 2504 (void) mdb_tgt_status(t, &t->t_status); in kmt_sync() 2520 t->t_data = kmt; in kmdb_kvm_create() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tmxtime.c | 48 register Time_t t; in tmxtime() local 72 t++; in tmxtime() 74 t *= 24; in tmxtime() 75 t += tm->tm_hour; in tmxtime() 76 t *= 60; in tmxtime() 77 t += tm->tm_min; in tmxtime() 78 t *= 60; in tmxtime() 79 t += sec = tm->tm_sec; in tmxtime() 105 t += west * 60; in tmxtime() 131 t += lp->total; in tmxtime() [all …]
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | libld.msg | 131 \t\t\tlibraries\n" 143 \n\t\t\t\archive files\n" 371 @ MSG_REL_REMAIN_FMT_1 "%-40s\t%s\n %s\t\t %s\t%s" 552 @ MSG_SYM_FMT_UNDEF "%s\t\t\t%s\ 553 \n %s \t\t\t %s" 1002 @ MSG_ENT_MAP_FMT_TIL_2 "\n%s\t\t%s\t\t%s\n%s\t\t%s\t\t%s\t%s\n\n" 1003 @ MSG_ENT_MAP_FMT_TIL_3 "\n%s\t\t%s\t\t%s\n%s\t\t%s\t\t%s\t\t%s\n\n" 1013 @ MSG_ENT_MAP_ENTRY_1 "%-8.8s\t\t\t%08.2llx\t%08.2llx\n" 1014 @ MSG_ENT_MAP_ENTRY_2 "\t\t%-8.8s\t%08.2llx\t%08.2llx %s\n" 1036 @ MSG_ENT_MUL_FMT_TIL_1 "%s\t\t\t\t %s %s\n\n" [all …]
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer5.c | 55 *t = 0; in putsig() 62 strcat(t, ", "); in putsig() 63 strcat(t, t2); in putsig() 66 } else if (t[0] == 0) { in putsig() 96 addch(t, keylet(t, nref)); in putsig() 98 tokeytab(t, nref); in putsig() 114 strcat(sig, t); in putsig() 281 tokeytab(t, nref); in keylet() 293 mycpy(char *s, char *t) in mycpy() argument 295 while (*t && *t != ',' && *t != ' ') in mycpy() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_get.c | 69 BTREE *t; local 73 t = dbp->internal; 76 if (t->bt_pinned != NULL) { 77 mpool_put(t->bt_mp, t->bt_pinned, 0); 78 t->bt_pinned = NULL; 87 if ((e = __bt_search(t, key, &exact)) == NULL) 90 mpool_put(t->bt_mp, e->page, 0); 94 status = __bt_ret(t, e, NULL, NULL, data, &t->bt_rdata, 0); 100 if (F_ISSET(t, B_DB_LOCK)) 101 mpool_put(t->bt_mp, e->page, 0); [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | stropt.c | 93 for (v = s; *t && *t++ == *v; v++); in stropt() 103 if (!t) in stropt() 112 t = 0; in stropt() 117 if (!t) in stropt() 124 if (!t) in stropt() 126 t = s = ++v; in stropt() 138 *t++ = c; in stropt() 144 *t++ = c; in stropt() 148 *t++ = c; in stropt() 158 *t++ = c; in stropt() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | threads.c | 74 if (t == NULL) in krb5int_thread_detach_hook() 207 free (t); in thread_termination() 245 if (t == NULL) in k5_getspecific() 271 t = malloc(sizeof(*t)); in k5_setspecific() 272 if (t == NULL) in k5_setspecific() 280 free(t); in k5_setspecific() 289 if (t == NULL) { in k5_setspecific() 291 t = malloc(sizeof(*t)); in k5_setspecific() 292 if (t == NULL) in k5_setspecific() 297 t->next = 0; in k5_setspecific() [all …]
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vsinbigf.c | 123 a = one + t; in __vlibm_vsin_bigf() 128 HI(&t) = j; in __vlibm_vsin_bigf() 129 LO(&t) = 0; in __vlibm_vsin_bigf() 132 t = z * (qq1 + z * qq2); in __vlibm_vsin_bigf() 136 t = __vlibm_TBL_sincos_lo[j+1] - (__vlibm_TBL_sincos_hi[j] * w - a * t); in __vlibm_vsin_bigf() 137 a += t; in __vlibm_vsin_bigf() 158 HI(&t) = j; in __vlibm_vsin_bigf() 159 LO(&t) = 0; in __vlibm_vsin_bigf() 162 t = z * (qq1 + z * qq2); in __vlibm_vsin_bigf() 166 t = (__vlibm_TBL_sincos_hi[j+1] * w + a * t) + __vlibm_TBL_sincos_lo[j]; in __vlibm_vsin_bigf() [all …]
|
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | __tanl.c | 114 long double a, t, z, w = 0.0, s, c; in __k_tanl() local 115 int *pt = (int *) &t, *px = (int *) &x; in __k_tanl() 118 t = 1.0; in __k_tanl() 138 t = y + x * t; in __k_tanl() 139 w = x + t; in __k_tanl() 151 x = y - (t - x); in __k_tanl() 153 x = (-y) - (t + x); in __k_tanl() 163 t = _TBL_tanl_lo[i] + (s + a * w) / (one - (w - t)); in __k_tanl() 164 return (hx < 0 ? -a - t : a + t); in __k_tanl() 166 w = s + a * t; in __k_tanl() [all …]
|
H A D | cbrtl.c | 39 long double s, t, r, w, y; in cbrtl() local 64 t = (long double) dy; in cbrtl() 65 t = scalbnl(t, m); in cbrtl() 66 s = t * t; in cbrtl() 68 w = t + t; in cbrtl() 69 r = (r - t) / (w + r); in cbrtl() 70 t += t * r; in cbrtl() 72 return (sx == 0 ? t : -t); in cbrtl()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | lltostr.c | 59 longlong_t t; in lltostr() local 63 ulong_t t, val = (ulong_t)value; in lltostr() local 66 *--ptr = (char)('0' + val - 10 * (t = val / 10)); in lltostr() 67 } while ((val = t) != 0); in lltostr() 74 *--ptr = (char)('0' + value - 10 * (t = value / 10)); in lltostr() 75 } while ((value = t) != 0); in lltostr() 83 u_longlong_t t; in ulltostr() local 87 ulong_t t, val = (ulong_t)value; in ulltostr() local 90 *--ptr = (char)('0' + val - 10 * (t = val / 10)); in ulltostr() 91 } while ((val = t) != 0); in ulltostr() [all …]
|