/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | printer.c | 57 char *t, *u, *iter2 = NULL; in ieee1284_devid_to_printer_info() local 65 if (((strcasecmp(t, "MFG") == 0) || in ieee1284_devid_to_printer_info() 69 else if (((strcasecmp(t, "MDL") == 0) || in ieee1284_devid_to_printer_info() 70 (strcasecmp(t, "MODEL") == 0)) && in ieee1284_devid_to_printer_info() 73 else if (((strcasecmp(t, "DES") == 0) || in ieee1284_devid_to_printer_info() 74 (strcasecmp(t, "DESCRIPTION") == 0)) && in ieee1284_devid_to_printer_info() 77 else if (((strcasecmp(t, "CLS") == 0) || in ieee1284_devid_to_printer_info() 78 (strcasecmp(t, "CLASS") == 0)) && in ieee1284_devid_to_printer_info() 81 else if (((strcasecmp(t, "SER") == 0) || in ieee1284_devid_to_printer_info() 82 (strcasecmp(t, "SERNO") == 0)) && in ieee1284_devid_to_printer_info() [all …]
|
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | sinpil.c | 103 long double y, z, t; in sinpil() local 133 t = z - twoPRECM2; in sinpil() 135 if (t == y) in sinpil() 137 else if (t > y) { in sinpil() 139 t = quater + (y - t) * quater; in sinpil() 142 t = (y - t) * quater; in sinpil() 158 t = quater - t; in sinpil() 160 y = __k_sinl(pi * t, zero); in sinpil() 162 y = __k_cosl(pi * t, zero); in sinpil()
|
H A D | __sincosl.c | 95 long double a1, a2, t, t1, t2, z, w; in __k_sincosl() local 96 int *pt = (int *) &t, *px = (int *) &x; in __k_sincosl() 99 t = 1.0; in __k_sincosl() 117 t = z * (p1 + z * (p2 + z * (p3 + z * (p4 + z * (p5 + in __k_sincosl() 122 t = z * (p1 + z * (p2 + z * (p3 + z * (p4 + z * (p5 + in __k_sincosl() 126 t = y + x * t; in __k_sincosl() 127 return (x + t); in __k_sincosl() 137 x = y - (t - x); in __k_sincosl() 139 x = (-y) - (t + x); in __k_sincosl() 146 t2 = _TBL_cosl_lo[i] - (a1 * w - a2 * t); in __k_sincosl() [all …]
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | sinpil.c | 102 long double y, z, t; in sinpil() local 131 t = z - twoPRECM2; in sinpil() 133 if (t == y) in sinpil() 135 else if (t > y) { in sinpil() 137 t = quater + (y - t) * quater; in sinpil() 139 t = (y - t) * quater; in sinpil() 153 t = quater - t; in sinpil() 155 y = __k_sinl(pi * t, zero); in sinpil() 157 y = __k_cosl(pi * t, zero); in sinpil()
|
H A D | atanhl.c | 54 long double t; in atanhl() local 56 t = fabsl(x); in atanhl() 57 if (t == one) in atanhl() 59 t = t / (one - t); in atanhl() 60 return (copysignl(half, x) * log1pl(t + t)); in atanhl()
|
H A D | exp2l.c | 58 long double t; in exp2l() local 66 t = fabsl(x); in exp2l() 67 if (t < half) { in exp2l() 68 if (t < tiny) in exp2l() 73 t = anintl(x); in exp2l() 74 if (t < ovflexp) { in exp2l() 75 if (t >= unflexp) in exp2l() 76 return (scalbnl(expl(ln2 * (x - t)), (int) t)); in exp2l()
|
H A D | expl.c | 97 long double t, r; in expl() local 119 t = (long double) k; in expl() 120 x = (x - t * ln2_32hi) - t * ln2_32lo; in expl() 121 t = x * x; in expl() 122 r = (x - t * (t1 + t * (t2 + t * (t3 + t * (t4 + t * t5))))) - two; in expl()
|
H A D | __sincosl.c | 95 long double a1, a2, t, t1, t2, z, w; in __k_sincosl() local 96 int *pt = (int *) &t, *px = (int *) &x; in __k_sincosl() 99 t = 1.0L; in __k_sincosl() 113 t = z * (p1 + z * (p2 + z * (p3 + z * (p4 + in __k_sincosl() 118 t = z * (p1 + z * (p2 + z * (p3 + z * (p4 + z * (p5 + in __k_sincosl() 122 t = y + x * t; in __k_sincosl() 123 return (x + t); in __k_sincosl() 129 x = y - (t - x); in __k_sincosl() 131 x = (-y) - (t + x); in __k_sincosl() 137 t2 = _TBL_cosl_lo[i] - (a1 * w - a2 * t); in __k_sincosl() [all …]
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | scf_tmpl.c | 2079 t->pt_inst, t->pt_snap, in _get_svc_or_inst_iter() 2136 t->pt_inst = t->pt_orig_inst; in _get_next_iterator() 2137 if (t->pt_svc != t->pt_orig_svc) in _get_next_iterator() 2139 t->pt_svc = t->pt_orig_svc; in _get_next_iterator() 2156 if (t->pt_svc != t->pt_orig_svc) in _get_next_iterator() 2166 if (t->pt_svc != t->pt_orig_svc) in _get_next_iterator() 2531 if (t->pt_inst != t->pt_orig_inst) in scf_tmpl_pg_destroy() 2535 if (t->pt_svc != t->pt_orig_svc) in scf_tmpl_pg_destroy() 2557 if (t->pt_svc != t->pt_orig_svc) in scf_tmpl_pg_reset() 2617 if (_get_pg(t->pt_svc, t->pt_inst, t->pt_snap, in scf_tmpl_get_by_prop() [all …]
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | scanner.l | 190 \#[ \t]*endif/.*[\n\r][ \t\n\r]*#[ \t]*if { 353 \#[ \t]*define[ \t]+{identifier} { 371 class[ \t]+{identifier}[ \t\n\ra-zA-Z0-9_():]*\{ { 378 (enum|struct|union)/([ \t\n\r]+{identifier})?[ \t\n\r]*\{ { 389 {identifier}/[ \t]*\(([ \t\n\ra-zA-Z0-9_*&[\]=,.]*|\([ \ta-zA-Z0-9_*[\],]*\))*\)[ \t\n\r()]*[:a-zA-… 460 \*[ \t]*{identifier}/[ \t]*[^a-zA-Z0-9_(+-][^+-] { 549 int t; 553 if (t >= 0) { 554 token = t; 693 \#[# \t]*include[ \t]*["<][^"> \t\n\r]+ { /* #include or Ingres ##include */ [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwp_sobj.c | 507 thread_lock(t); in lwp_block() 514 CL_SLEEP(t); in lwp_block() 591 t->t_nupinest++; in upi_mylist_add() 617 t->t_nupinest--; in upi_mylist_del() 1293 setrun(t); in lwp_mutex_timedlock() 1386 t = t->t_link; in iswanted() 1771 if (ISSIG(t, JUSTLOOKING) || MUSTRETURN(p, t) || in lwp_cond_wait() 1773 setrun(t); in lwp_cond_wait() 2130 if (ISSIG(t, JUSTLOOKING) || MUSTRETURN(p, t) || in lwp_sema_timedwait() 2132 setrun(t); in lwp_sema_timedwait() [all …]
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | scalbn.c | 48 unsigned v = px[HIWORD] & ~0x80000000, w = px[LOWORD], t = v; in ilogb_biased() local 50 if (t) in ilogb_biased() 53 t = w; in ilogb_biased() 54 if (t & 0xffff0000) in ilogb_biased() 55 s -= 16, t >>= 16; in ilogb_biased() 56 if (t & 0xff00) in ilogb_biased() 57 s -= 8, t >>= 8; in ilogb_biased() 58 if (t & 0xf0) in ilogb_biased() 59 s -= 4, t >>= 4; in ilogb_biased() 60 t <<= 1; in ilogb_biased() [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | feexcept.c | 67 volatile double t; in feraiseexcept() local 71 t = 0.0; in feraiseexcept() 72 t /= 0.0; in feraiseexcept() 75 t = 1.0e300; in feraiseexcept() 76 t /= 0.0; in feraiseexcept() 86 t = 1.0e300; in feraiseexcept() 87 t *= 1.0e300; in feraiseexcept() 98 t = 1.0e-307; in feraiseexcept() 99 t -= 1.001e-307; in feraiseexcept() 103 t = 1.0e300; in feraiseexcept() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_debug.c | 93 BTREE *t; local 100 t = dbp->internal; 102 F_ISSET(t, B_INMEM) ? "memory" : "disk", t->bt_psize); 103 if (F_ISSET(t, R_RECNO)) 107 if (F_ISSET(t, flag)) { \ 111 if (t->flags != 0) { 179 BTREE *t; local 184 t = dbp->internal; 309 BTREE *t; local 317 t = dbp->internal; [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sched.c | 147 kthread_id_t t; in sched() local 223 thread_lock(t); in sched() 231 } while ((t = t->t_forw) != prp->p_tlist); in sched() 280 thread_lock(t); in sched() 285 } while ((t = t->t_forw) != prp->p_tlist); in sched() 313 t = curthread; in sched() 314 thread_lock(t); in sched() 424 thread_lock(t); in sched() 429 } while ((t = t->t_forw) != prp->p_tlist); in sched() 489 t = curthread; in sched() [all …]
|
H A D | cpu.c | 459 if (cp != t->t_cpu || t != curthread) { in thread_affinity_set() 506 if (t->t_cpu != t->t_bound_cpu) { in thread_affinity_clear() 588 if (t->t_nomigrate && t->t_weakbound_cpu && t->t_weakbound_cpu != cp) { in thread_nomigrate() 1512 t->t_cpu = disp_lowpri_cpu(ncp, t, in cpu_offline() 1517 t = t->t_forw; in cpu_offline() 1538 ASSERT(t != NULL && t->t_lpl != NULL); in cpu_offline() 1556 t->t_cpu = disp_lowpri_cpu(ncp, t, t->t_pri); in cpu_offline() 1560 t = t->t_next; in cpu_offline() 3034 t->t_next->t_prev = t->t_prev; in cpu_destroy_bound_threads() 3035 t->t_prev->t_next = t->t_next; in cpu_destroy_bound_threads() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | shcomp.c | 75 Shnode_t *t; in main() local 138 if(t = (Shnode_t*)sh_parse(shp,in,0)) in main() 140 …if((t->tre.tretyp&(COMMSK|COMSCAN))==0 && t->com.comnamp && strcmp(nv_name((Namval_t*)t->com.comna… in main() 141 sh_exec(t,0); in main() 142 if(!dflag && sh_tdump(out,t) < 0) in main() 149 if(t && ((t->tre.tretyp&COMMSK)==TCOM) && (np=t->com.comnamp) && (cp=nv_name(np))) in main() 156 if(t->com.comtyp&COMSCAN) in main() 158 if(t->com.comarg->argnxt.ap) in main() 163 struct dolnod *ap = (struct dolnod*)t->com.comarg; in main()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_db.cc | 856 tobj = *t; in dbCreateTable() 1303 for (t = start; t != 0; t = (__nis_table_mapping_t *)t->seqNext) { in loadAllLDAP() 1309 tp = selectTableMapping(t, 0, 0, 1, t->dbId, &nm); in loadAllLDAP() 1331 tp = selectTableMapping(t, 0, 0, 0, t->dbId, &nm); in loadAllLDAP() 1353 NIL(t->dbId), NIL(t->objName)); in loadAllLDAP() 1356 t; in loadAllLDAP() 1368 myself, NIL(t->dbId), NIL(t->objName), in loadAllLDAP() 1372 t; in loadAllLDAP() 1444 NIL(t->dbId), NIL(t->objName)); in loadAllLDAP() 1509 myself, NIL(t->dbId), NIL(t->objName), in loadAllLDAP() [all …]
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | tt.c | 93 int t; in thish() local 98 t = ctype(i,c); in thish() 99 if (t=='_' || t == '-') in thish() 101 if (t=='=')return('='); in thish() 102 if (t=='^') return(1); in thish() 105 if (t=='s') return(thish(i,c-1)); in thish() 106 if (t==0) return(1); in thish() 108 s = (t=='a' ? pc->rcol : pc->col); in thish() 112 if (t=barent( s)) in thish() 113 return(t); in thish()
|
/illumos-gate/usr/src/test/os-tests/tests/sockfs/ |
H A D | rights.c | 379 sendtest(cmsg_test_t *t) in sendtest() argument 402 if (t->predata > 0) { in sendtest() 412 if (t->predata > 0) { in sendtest() 449 cmsg_test_t *t; in server() local 476 for (t = tests; t->name != NULL; t++) { in server() 480 sendtest(t); in server() 536 if (t->bufsize == 0) { in recvtest() 547 if (t->predata > 0) { in recvtest() 637 cmsg_test_t *t; in client() local 654 for (t = tests; t->name != NULL; t++) { in client() [all …]
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | k_cexpl.c | 243 long double t, r; in __k_cexpl() local 269 t = (long double) k; in __k_cexpl() 270 x = (x - t * ln2_32hi) - t * ln2_32lo; in __k_cexpl() 271 t = x * x; in __k_cexpl() 272 r = (x - t * (t1 + t * (t2 + t * (t3 + t * (t4 + t * t5))))) - two; in __k_cexpl()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/ |
H A D | ast.h | 91 #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x… argument 92 #define oldof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)malloc(sizeof(t)*(n)+(x))) argument 115 #define strton(s,t,b,f) strtol(s,t,0) argument 116 #define strtonll(s,t,b,f) strtoll(s,t,0) argument
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_kproc.c | 251 mdb_tgt_destroy(t); in kp_setcontext() 356 kp_activate(mdb_tgt_t *t) in kp_activate() argument 404 kp_destroy(mdb_tgt_t *t) in kp_destroy() argument 429 kp_name(mdb_tgt_t *t) in kp_name() argument 435 kp_isa(mdb_tgt_t *t) in kp_isa() argument 446 kp_platform(mdb_tgt_t *t) in kp_platform() argument 459 kp_dmodel(mdb_tgt_t *t) in kp_dmodel() argument 961 t->t_data = kp; in mdb_kproc_tgt_create() 962 t->t_ops = &kproc_ops; in mdb_kproc_tgt_create() 1057 kp_destroy(t); in mdb_kproc_tgt_create() [all …]
|
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | proc_ia32dep.c | 101 pt_read_instr(mdb_tgt_t *t) in pt_read_instr() argument 116 mdb_tgt_t *t = mdb.m_target; in pt_regs() local 152 if (t->t_pshandle == NULL || Pstate(t->t_pshandle) == PS_UNDEAD) { in pt_regs() 157 if (Pstate(t->t_pshandle) == PS_LOST) { in pt_regs() 165 tid = PTL_TID(t); in pt_regs() 167 if (PTL_GETREGS(t, tid, grs) != 0) { in pt_regs() 320 pt_addfpregs(mdb_tgt_t *t) in pt_addfpregs() argument 348 if (Pstate(t->t_pshandle) != PS_STOP) in pt_step_out() 360 pt_next(mdb_tgt_t *t, uintptr_t *p) in pt_next() argument 364 if (Pstate(t->t_pshandle) != PS_STOP) in pt_next() [all …]
|
/illumos-gate/usr/src/lib/libm/common/R/ |
H A D | besself.c | 293 z = t * t; in __k_j0f() 380 z = t * t; in __k_y0f() 461 z = t * t; in __k_j1f() 472 return ((sgn)? -t : t); in __k_j1f() 480 return ((sgn)? -t : t); in __k_j1f() 495 return ((sgn)? -t : t); in __k_j1f() 548 z = t * t; in __k_y1f() 665 b *= t; in jnf() 712 t = zero; in jnf() 714 t = one / ((double)i / x - t); in jnf() [all …]
|