/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | tdump.c | 48 return(p_tree(t)); in sh_tdump() 69 if(!t) in p_tree() 73 switch(t->tre.tretyp&COMMSK) in p_tree() 88 if(p_tree(t->if_.iftre)<0) in p_tree() 90 if(p_tree(t->if_.thtre)<0) in p_tree() 94 if(t->wh.whinc) in p_tree() 104 if(p_tree(t->wh.whtre)<0) in p_tree() 106 return(p_tree(t->wh.dotre)); in p_tree() 111 if(p_tree(t->lst.lstlef)<0) in p_tree() 117 return(p_arg(t->ar.arexpr)); in p_tree() [all …]
|
H A D | trestore.c | 49 Shnode_t *t; in sh_trestore() local 51 t = r_tree(shp); in sh_trestore() 52 return(t); in sh_trestore() 63 return(t); in r_tree() 108 t->ar.arcomp = 0; in r_tree() 110 t->ar.arcomp = sh_arithcomp(shp,(t->ar.arexpr)->argval); in r_tree() 114 t->for_.forline = 0; in r_tree() 123 t->sw.swline = 0; in r_tree() 130 t->sw.swio = 0; in r_tree() 172 if(t) in r_tree() [all …]
|
H A D | deparse.c | 70 p_tree(t,tflags); in sh_deparse() 92 if(t->par.partre) in p_tree() 124 if(t->fork.forkio) in p_tree() 143 if(t->if_.eltre) in p_tree() 152 if(t->wh.whinc) in p_tree() 159 if(t->wh.whinc) in p_tree() 170 t = t->wh.dotre; in p_tree() 261 if(t->for_.forlst) in p_tree() 272 t = t->for_.fortre; in p_tree() 275 p_tree(t,0); in p_tree() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/newlocale/ |
H A D | newlocale_test.c | 80 test_debugf(t, "DAY1: %s", day); in testlocale_thr_one() 122 test_passed(t); in testlocale_thr_one() 138 test_t t; in test_newlocale_negative() local 140 t = test_start(tname); in test_newlocale_negative() 158 test_passed(t); in test_newlocale_negative() 167 test_t t; in test_newlocale_categories() local 169 t = test_start(tname); in test_newlocale_categories() 193 test_passed(t); in test_newlocale_categories() 202 test_t t; in test_newlocale_composite() local 204 t = test_start(tname); in test_newlocale_composite() [all …]
|
/illumos-gate/usr/src/cmd/tr/ |
H A D | cmap.c | 170 assert(t != NULL); in cmap_splay() 178 y = t->cmn_left; in cmap_splay() 181 t = y; in cmap_splay() 185 r->cmn_left = t; in cmap_splay() 186 r = t; in cmap_splay() 187 t = t->cmn_left; in cmap_splay() 193 y->cmn_left = t; in cmap_splay() 194 t = y; in cmap_splay() 199 l = t; in cmap_splay() 200 t = t->cmn_right; in cmap_splay() [all …]
|
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | erfl.c | 292 return x+x*t; 297 return (signbitl(x))? -t: t; 301 return (signbitl(x))? -t: t; 303 if (y<=9.0L) t = erfcl(y); else t = tiny; 304 return (signbitl(x))? t-one: one-t; 322 t = half-x; 323 t = t - x*__poly_libmq(s,21,P); 324 return half+t; 328 t = one-C1; 332 t = one-C2; [all …]
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | erfl.c | 281 long double s,y,t; local 293 return x+x*t; 298 return (signbitl(x))? -t: t; 302 return (signbitl(x))? -t: t; 304 if (y<=9.0L) t = erfcl(y); else t = tiny; 305 return (signbitl(x))? t-one: one-t; 322 t = half-x; 323 t = t - x*__poly_libmq(s,21,P); 328 t = one-C1; 332 t = one-C2; [all …]
|
H A D | expm1l.c | 132 long double t, r, s, w; in expm1l() local 149 t = x * x; in expm1l() 150 r = (x - t * (P1 + t * (P2 + t * (P3 + t * (P4 + t * in expm1l() 151 (P5 + t * (P6 + t * P7))))))); in expm1l() 160 t = s * s; in expm1l() 161 r = s - t * (T1 + t * (T2 + t * (T3 + t * (T4 + t * T5)))); in expm1l() 177 t = (long double) k; in expm1l() 178 x = (x - t * ln2_32hi) - t * ln2_32lo; in expm1l() 179 t = x * x; in expm1l() 180 r = (x - t * (T1 + t * (T2 + t * (T3 + t * (T4 + t * T5))))) - two; in expm1l()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_get.c | 39 t->length = 0; in asn1_get_tag_2() 40 t->indef = 0; in asn1_get_tag_2() 68 t->tagnum = tn; in asn1_get_tag_2() 76 t->indef = 0; in asn1_get_tag_2() 93 t->indef = 1; in asn1_get_tag_2() 94 t->length = len; in asn1_get_tag_2() 97 if (t->indef && t->construction != CONSTRUCTED) in asn1_get_tag_2() 104 taginfo t; in asn1_get_sequence() local 110 if (t.asn1class != UNIVERSAL || t.construction != CONSTRUCTED || in asn1_get_sequence() 114 *retlen = t.length; in asn1_get_sequence() [all …]
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | cmd.c | 73 struct forknod *t; local 77 t->forktre = i; 78 t->forkio = 0; 87 struct lstnod *t; local 94 t->lsttyp = type; 95 t->lstlef = i; 96 t->lstrit = r; 177 struct trenod *t; in term() local 194 return(t); in term() 285 t->swtyp = TSW; [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_yp_util.c | 481 t->objName = s_strndup(t->dbId, in second_parser_pass() 498 t->objName = s_strndup(t->dbId, in second_parser_pass() 681 t = t->next; in second_parser_pass() 765 t = t->next; in final_parser_pass() 770 if (!t->objName && t->dbId) { in final_parser_pass() 771 t->objName = s_strndup(t->dbId, strlen(t->dbId)); in final_parser_pass() 939 t = t->next; in final_parser_pass() 943 for (t = *table_mapping; t != NULL; t = t->next) { in final_parser_pass() 1059 for (t = table_mapping; t != NULL; t = t->next) { in check_domain_specific_order() 1104 if (t->e && t->numColumns) in check_domain_specific_order() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | trace.c | 64 struct iftrace *t; in iftraceinit() local 72 for (t = ifd->ifd_records; t < ifd->ifd_records + NRECORDS; t++) { in iftraceinit() 73 t->ift_size = 0; in iftraceinit() 111 struct iftrace *t; in trace() local 120 if (t->ift_size > 0 && t->ift_size < len && t->ift_packet != NULL) { in trace() 125 t->ift_who = *who; in trace() 133 t->ift_size = len; in trace() 161 time_t t; in traceaction() local 165 (void) time(&t); in traceaction() 244 t += NRECORDS; in dumptrace() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | mamake.c | 96 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x… argument 124 #define ROTATE(p,l,r,t) ((t)=(p)->l,(p)->l=(t)->r,(t)->r=(p),(p)=(t)) argument 673 for (t = s; *t && *t != ':'; t++); in view() 824 if (((q - t) != 1 || *t != '*') && strncmp(v, t, q - t)) in substitute() 870 …if (a && t[0] == 'm' && t[1] == 'a' && t[2] == 'm' && t[3] == '_' && t[4] == 'l' && t[5] == 'i' &&… in substitute() 872 for (t = v; *t == ' '; t++); in substitute() 873 for (; *t && *t != ' '; t++); in substitute() 1844 else if ((t[0] == '-' || t[0] == '+') && t[1] == 'l' && t[2]) in scan() 2173 for (t = s += 2; *t && *t != '='; t++); in main() 2286 for (t = s; *t; t++) in main() [all …]
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | syscall.c | 587 if (t->t_astflag | t->t_sig_check) { in post_syscall() 594 astoff(t); in post_syscall() 670 aston(t); in post_syscall() 1246 kthread_t *t; in set_proc_pre_sys() local 1254 } while ((t = t->t_forw) != first); in set_proc_pre_sys() 1271 } while ((t = t->t_forw) != first); in set_proc_post_sys() 1289 } while ((t = t->t_forw) != first); in set_proc_sys() 1310 } while ((t = t->t_next) != first); in set_all_proc_sys() 1351 } while (p->p_tlist != (t = t->t_forw)); in set_all_zone_usr_proc_sys() 1372 aston(t); in set_proc_ast() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | msacct.c | 94 kthread_t *t, in init_mstate() argument 112 t->t_waitrq = 0; in init_mstate() 355 kthread_t *t; in mstate_aggr_state() local 367 t = p->p_tlist; in mstate_aggr_state() 368 if (t == NULL) in mstate_aggr_state() 385 } while ((t = t->t_forw) != p->p_tlist); in mstate_aggr_state() 584 if (T_ONPROC(t) && t->t_waitrq == 0) { in cpu_update_pct() 615 ASSERT(t == curthread || THREAD_LOCK_HELD(t)); in new_mstate() 624 if (((lwp = ttolwp(t)) == NULL) || t->t_intr) in new_mstate() 680 z = ttozone(t); in new_mstate() [all …]
|
H A D | sig.c | 168 t->t_forw == t && /* and single-threaded */ in sig_discardable() 196 if (ISWAKEABLE(t) || ISWAITING(t)) { in eat_signal() 459 if (t->t_dtrace_stop | t->t_dtrace_sig) in issig_justlooking() 532 if (t->t_dtrace_stop | t->t_dtrace_sig) { in issig_forreal() 707 if ((sig = fsig(&t->t_sig, t)) != 0) { in issig_forreal() 839 } while ((t = t->t_forw) != p->p_tlist); in jobstopped() 1622 } while ((t = t->t_forw) != p->p_tlist); in setsigact() 2602 bzero(t->t_rprof, sizeof (*t->t_rprof)); in realsigprof_slow() 2626 bzero(t->t_rprof, sizeof (*t->t_rprof)); in realsigprof_slow() 2652 bzero(t->t_rprof, sizeof (*t->t_rprof)); in realsigprof_fast() [all …]
|
/illumos-gate/usr/src/cmd/sgs/tsort/common/ |
H A D | tsort.c | 88 struct predlist *t; in main() local 134 t->pred = i; in main() 135 j->inedges = t; in main() 163 for (t = j->inedges; t != NULL; t = t->nextpred) in present() 164 if (t->pred == i) in present() 176 for (t = i->inedges; t != NULL; t = t->nextpred) in anypred() 189 char *t; in index() local 193 for (t = s; *t; t++); in index() 194 t = zmalloc(EERROR, (unsigned)(t + 1 - s)); in index() 197 i->name = t; in index() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | gamma.c | 197 t.b += lns2pi_lo; t.b += p; 198 u.a = lns2pi_hi + t.b; u.a += t.a; 248 t = x, TRUNC(t); 249 d = (t+x)*(x-t); 250 t *= t; 253 t = (one-x0); t += x; 283 t.b = (z - t.a) + c; 284 t.b *= (t.a + z); 287 t.b += (q - t.a); 290 t.b = t.b*p + t.a*r.b + a0_lo; [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_rawfile.c | 75 rf_data_t *orf = t->t_data; in rf_setflags() 84 t->t_flags = (t->t_flags & ~MDB_TGT_F_RDWR) | in rf_setflags() 88 t->t_flags = otflags; in rf_setflags() 89 t->t_data = orf; in rf_setflags() 100 rf_destroy(mdb_tgt_t *t) in rf_destroy() argument 102 rf_data_destroy(t->t_data); in rf_destroy() 107 rf_name(mdb_tgt_t *t) in rf_name() argument 250 rf_data_t *rf = t->t_data; in rf_mapping_iter() 315 rf_activate(mdb_tgt_t *t) in rf_activate() argument 429 t->t_ops = &rawfile_ops; in mdb_rawfile_tgt_create() [all …]
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | sysdc.c | 743 thread_lock(t); in sysdc_update() 851 thread_lock(t); in sysdc_tick() 859 t->t_pri < t->t_disp_queue->disp_maxrunpri) { in sysdc_tick() 863 if (t->t_state == TS_ONPROC || t->t_state == TS_RUN) { in sysdc_tick() 874 thread_unlock(t); in sysdc_tick() 899 setbackdq(t); in sysdc_setrun() 905 sysdc_setrun(t); in sysdc_wakeup() 979 thread_lock(t); in sysdc_enterclass() 981 t->t_cid = cid; in sysdc_enterclass() 986 thread_unlock(t); in sysdc_enterclass() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathexists.c | 54 register Tree_t* t; in pathexists() local 64 t = &tree; in pathexists() 71 p = t; in pathexists() 75 for (t = p->tree; t && (*cmp)(s, t->name); t = t->next); in pathexists() 76 if (!t) in pathexists() 83 strcpy(t->name, s); in pathexists() 84 t->next = p->tree; in pathexists() 85 p->tree = t; in pathexists() 111 t->tree = p; in pathexists() 112 t = p; in pathexists() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_delete.c | 69 BTREE *t; local 73 t = dbp->internal; 77 mpool_put(t->bt_mp, t->bt_pinned, 0); 78 t->bt_pinned = NULL; 93 if (t->bt_nrecs == 0) 95 status = rec_rdelete(t, t->bt_cursor.rcursor - 1); 120 rec_rdelete(t, nrec) in rec_rdelete() argument 121 BTREE *t; in rec_rdelete() 154 __rec_dleaf(t, h, idx) in __rec_dleaf() argument 155 BTREE *t; in __rec_dleaf() [all …]
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | dtrace_subr.c | 285 size_t isz = t->t_dtrace_npc - t->t_dtrace_pc; in dtrace_safe_synchronous_signal() 287 ASSERT(t->t_dtrace_on); in dtrace_safe_synchronous_signal() 297 t->t_dtrace_ft = 0; in dtrace_safe_synchronous_signal() 301 t->t_dtrace_ft = 0; in dtrace_safe_synchronous_signal() 310 size_t isz = t->t_dtrace_npc - t->t_dtrace_pc; in dtrace_safe_defer_signal() 312 ASSERT(t->t_dtrace_on); in dtrace_safe_defer_signal() 320 t->t_dtrace_ft = 0; in dtrace_safe_defer_signal() 357 t->t_dtrace_ft = 0; in dtrace_safe_defer_signal() 367 rp->r_pc += t->t_dtrace_astpc - t->t_dtrace_scrpc; in dtrace_safe_defer_signal() 368 t->t_dtrace_step = 1; in dtrace_safe_defer_signal() [all …]
|
/illumos-gate/usr/src/boot/libsa/string/ |
H A D | bcopy.c | 74 size_t t; in memcpy() local 96 t = length; in memcpy() 98 t = wsize - (t & wmask); in memcpy() 99 length -= t; in memcpy() 105 t = length / wsize; in memcpy() 107 t = length & wmask; in memcpy() 117 t = (uintptr_t)src; in memcpy() 120 t = length; in memcpy() 122 t &= wmask; in memcpy() 123 length -= t; in memcpy() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | thread.c | 496 mdb_printf(" %?p %?p %?p", t.t_procp, t.t_lwp, t.t_cred); in thread() 505 stbuf, t.t_flag, t.t_proc_flag, t.t_schedflag, in thread() 506 t.t_pri, t.t_epri, t.t_pil, "n/a"); in thread() 509 stbuf, t.t_flag, t.t_proc_flag, t.t_schedflag, in thread() 510 t.t_pri, t.t_epri, t.t_pil, t.t_intr); in thread() 520 t.t_wchan, t.t_ts, t.t_prioinv, stbuf); in thread() 527 t.t_sigqueue, t.t_sig, t.t_hold); in thread() 534 t.t_disp_time, t.t_bind_cpu, t.t_preempt); in thread() 716 addr, t.t_procp, t.t_lwp, t.t_cid, t.t_pri, t.t_wchan); in threadlist() 908 if (t.t_stk > t.t_stkbase) { in stackinfo() [all …]
|