/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | copywin.c | 61 tmaxc = min(s->_begx + s->_maxx, t->_begx + t->_maxx) - 1 - t->_begx; in __m_copywin() 62 tmaxr = min(s->_begy + s->_maxy, t->_begy + t->_maxy) - 1 - t->_begy; in __m_copywin() 64 if (s->_begy < t->_begy) { in __m_copywin() 65 sminr = t->_begy - s->_begy; in __m_copywin() 69 tminr = s->_begy - t->_begy; in __m_copywin() 71 if (s->_begx < t->_begx) { in __m_copywin() 72 sminc = t->_begx - s->_begx; in __m_copywin() 76 tminc = s->_begx- t->_begx; in __m_copywin() 78 code = copywin(s, t, sminr, sminc, in __m_copywin() 99 tt = t->_line[tminr] + tminc; in copywin() [all …]
|
/illumos-gate/usr/src/cmd/grpck/ |
H A D | grpck.c | 99 struct node *t; in main() local 134 t = (struct node *)emalloc(sizeof (*t) + strlen(pwp->pw_name)); in main() 135 t->next = root; in main() 136 root = t; in main() 138 t->ngroups = 1; in main() 294 for (t = root; t != NULL; t = t->next) { in main() 318 root = t; in main() 335 t->ngroups++; in main() 358 t->groups = gp; in main() 371 for (t = root; t != NULL; t = t->next) { in main() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_utils.c | 62 __rec_ret(t, e, nrec, key, data) in __rec_ret() argument 63 BTREE *t; in __rec_ret() 81 t->bt_rkey.data = p; 82 t->bt_rkey.size = sizeof(recno_t); 86 key->data = t->bt_rkey.data; 99 if (__ovfl_get(t, rl->bytes, 100 &data->size, &t->bt_rdata.data, &t->bt_rdata.size)) 102 data->data = t->bt_rdata.data; 103 } else if (F_ISSET(t, B_DB_LOCK)) { 111 t->bt_rdata.data = p; [all …]
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | __sinl.c | 105 long double a, t, z, w; in __k_sinl() local 109 t = 1.0L; in __k_sinl() 118 if (((int) (x * t)) < 1) in __k_sinl() 123 t = y + x * t; in __k_sinl() 124 return (x + t); in __k_sinl() 130 x = y - (t - x); in __k_sinl() 132 x = (-y) - (t + x); in __k_sinl() 137 t = _TBL_cosl_hi[i] * w + a * t; in __k_sinl() 138 t += _TBL_sinl_lo[i]; in __k_sinl() 140 return (-a - t); in __k_sinl() [all …]
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | fx.c | 525 t->t_cid = cid; in fx_enterclass() 670 ASSERT(t->t_pri >= 0 && t->t_pri <= fx_maxglobpri); in fx_forkret() 672 fx_setrun(t); in fx_forkret() 1140 if (t->t_schedctl && schedctl_get_nopreempt(t)) { in fx_preempt() 1182 setbackdq(t); in fx_preempt() 1197 setbackdq(t); in fx_setrun() 1331 if (t->t_schedctl && schedctl_get_nopreempt(t)) { in fx_tick() 1359 t->t_pri < t->t_disp_queue->disp_maxrunpri) { in fx_tick() 1467 ASSERT(t->t_pri >= 0 && t->t_pri <= fx_maxglobpri); in fx_yield() 1471 setbackdq(t); in fx_yield() [all …]
|
H A D | rt.c | 410 rtpp->rt_tp = t; in rt_enterclass() 414 thread_lock(t); in rt_enterclass() 416 t->t_cid = cid; in rt_enterclass() 469 thread_lock(t); in rt_fork() 918 setbackdq(t); in rt_preempt() 943 setbackdq(t); in rt_setrun() 998 (t->t_state == TS_ONPROC && DISP_MUST_SURRENDER(t))) { in rt_tick() 1001 sigtoproc(ttoproc(t), t, rtpp->rt_tqsignal); in rt_tick() 1023 setbackdq(t); in rt_wakeup() 1035 setbackdq(t); in rt_yield() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tmxdate.c | 567 if ((k = range(t, &t, hit, 0, 59)) < 0) in tmxdate() 588 if ((k = range(t, &t, hit, 0, 23)) < 0) in tmxdate() 630 if ((k = range(t, &t, day, 0, 6)) < 0) in tmxdate() 700 if ((w = t - s) && *t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && isdigit(*(t + 3))) in tmxdate() 707 u = t + (*t == '-'); in tmxdate() 761 if (*t != 'T' && *t != 't' || !isdigit(*++t)) in tmxdate() 770 n = strtol(s = t, &t, 0); in tmxdate() 777 if ((t - s) == 1 || *t++ != '-') in tmxdate() 779 n = strtol(s = t, &t, 0); in tmxdate() 857 if ((i == 7 || i == 5) && (!*t || *t == 'Z' || *t == 'z')) in tmxdate() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | iffe.tst | 597 t n = 0; 618 t n = 0; 631 t n = 0; 647 t n = 0; 660 t n = 0; 681 t n = 0; 694 t n = 0; 720 t n = 0; 736 t n = 0; 755 t n = 0; [all …]
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | gnu_hash.c | 61 int t; in find_prime_big() local 66 for (t = 1; t <= MAX_PRIME_INDEX; t++) { in find_prime_big() 67 if (n % prime[t] == 0) { in find_prime_big() 93 int t, d; in find_prime() local 110 for (t = index[prd] + 1; t <= MAX_PRIME_INDEX; t++) { in find_prime() 111 if (prime[t] >= n) in find_prime() 112 return (prime[t]); in find_prime() 117 t = START_SEARCH_INDEX; in find_prime() 119 while (prime[t] * prime[t] < n) { in find_prime() 123 t++; in find_prime() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | fmtfmt.c | 59 int t; in fmtfmt() local 80 t = '?'; in fmtfmt() 111 t = t == 'h' ? 'c' : 'h'; in fmtfmt() 115 t = t == 'l' ? 'j' : 'l'; in fmtfmt() 121 t = c; in fmtfmt() 128 t = c; in fmtfmt() 139 t = 'D'; in fmtfmt() 142 t = 'd'; in fmtfmt() 154 t = 'D'; in fmtfmt() 157 t = 'd'; in fmtfmt() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | parse.c | 303 return(t); in getanode() 324 return(t); in makelist() 381 t =makelist(lexp,TLST, t, tt); in sh_parse() 592 t = makeparent(lexp,TFORK|FPOU,t); in term() 610 t=makelist(lexp,TFIL,t,tt); in term() 1104 t = makelist(lexp,TLST,(Shnode_t*)ac,t); in assign() 1214 t = arithfor(lexp,t); in item() 1376 t=makeparent(lexp,tok,t); in item() 1613 if(t->comnamp && (argp=t->comarg->argnxt.ap)) in simple() 1650 t->comarg = qscan(t,argno); in simple() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_pservice.c | 105 mdb_tgt_t *t; in mdb_tgt_from_pshandle() local 107 for (t = mdb_list_next(&mdb.m_tgtlist); t; t = mdb_list_next(t)) { in mdb_tgt_from_pshandle() 108 if (t == P || t->t_pshandle == P) in mdb_tgt_from_pshandle() 109 return (t); in mdb_tgt_from_pshandle() 123 if (t == NULL) in ps_pread() 140 if (t == NULL) in ps_pwrite() 159 if (t == NULL) in ps_pglobal_lookup() 185 if (t == NULL) in ps_pglobal_sym() 200 if (t == NULL) in ps_pglobal_sym() 232 if (t == NULL) in ps_pauxv() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | semaphore.c | 134 *tpp = t; in sema_queue() 135 t->t_link = tp; in sema_queue() 153 if (tp == t) { in sema_dequeue() 154 *tpp = t->t_link; in sema_dequeue() 155 t->t_link = NULL; in sema_dequeue() 185 if (tp == t) { in sema_unsleep() 186 *tpp = t->t_link; in sema_unsleep() 187 t->t_link = NULL; in sema_unsleep() 196 CL_SETRUN(t); in sema_unsleep() 283 if (ISSIG(t, JUSTLOOKING) || MUSTRETURN(p, t) || cancel_pending) in sema_p_sig() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_mem.c | 88 t->h[rephash] = ta; in rc_store() 205 if (!t->name) { in krb5_rc_mem_resolve() 211 t->name = 0; in krb5_rc_mem_resolve() 213 t->h = (struct authlist **)malloc(t->hsize*sizeof (struct authlist *)); in krb5_rc_mem_resolve() 214 if (!t->h) { in krb5_rc_mem_resolve() 218 memset(t->h, 0, t->hsize*sizeof (struct authlist *)); in krb5_rc_mem_resolve() 223 if (t) { in krb5_rc_mem_resolve() 224 if (t->name) in krb5_rc_mem_resolve() 226 if (t->h) in krb5_rc_mem_resolve() 227 krb5_xfree(t->h); in krb5_rc_mem_resolve() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathsetlink.c | 38 register char* t = (char*)buf; in pathsetlink() local 50 t = tmp; in pathsetlink() 54 *t++ = ' '; in pathsetlink() 56 *t++ = '1' + n; in pathsetlink() 57 *t++ = ':'; in pathsetlink() 59 for (v = univ_name[n]; *t = *v++; t++); in pathsetlink() 60 *t++ = '%'; in pathsetlink() 63 for (v = univ_name[n]; *t = *v++; t++); in pathsetlink() 64 for (v = s + univ_size; *t = *v++; t++); in pathsetlink() 66 t = tmp; in pathsetlink() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_page.c | 60 __bt_free(t, h) in __bt_free() argument 61 BTREE *t; in __bt_free() 66 h->nextpg = t->bt_free; 67 t->bt_free = h->pgno; 68 F_SET(t, B_METADIRTY); 86 __bt_new(t, npg) in __bt_new() argument 87 BTREE *t; in __bt_new() 93 (h = mpool_get(t->bt_mp, t->bt_free, 0)) != NULL) { 94 *npg = t->bt_free; 95 t->bt_free = h->nextpg; [all …]
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | csqrt.c | 122 double x, y, t, ax, ay; in csqrt() local 160 t = sqrt(ax); in csqrt() 172 D_RE(ans) = t; in csqrt() 173 D_IM(ans) = ay / (t + t); in csqrt() 175 D_IM(ans) = t; in csqrt() 176 D_RE(ans) = ay / (t + t); in csqrt() 182 t = sqrt(half * ay); in csqrt() 200 D_RE(ans) = t; in csqrt() 201 D_IM(ans) = ay / (t + t); in csqrt() 203 D_IM(ans) = t; in csqrt() [all …]
|
H A D | csqrtl.c | 50 long double x, y, t, ax, ay; local 90 t = sqrtl(ax); 103 LD_RE(ans) = t; 104 LD_IM(ans) = ay / (t + t); 106 LD_IM(ans) = t; 107 LD_RE(ans) = ay / (t + t); 117 t = sqrtl(half * ay); 136 LD_RE(ans) = t; 137 LD_IM(ans) = ay / (t + t); 139 LD_IM(ans) = t; [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_open.c | 76 BTREE *t; local 82 dbp->internal = t; 91 t->bt_prefix = __bam_defpfx; 104 t->bt_maxkey = 0; 174 BTREE *t; local 176 t = dbp->internal; 183 if (t->bt_minkey == 0) 196 t->bt_ovflsize = (dbp->pgsize - P_OVERHEAD) / (t->bt_minkey * P_INDX) 211 BTREE *t; local 219 t = dbp->internal; [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | ccbase.c | 125 for (t = cc_typehead; t != INITIAL_TYPEHEAD; t = t_next) { in krb5int_cc_finalize() 127 free(t); in krb5int_cc_finalize() 146 for (t = cc_typehead;t && strcmp(t->ops->prefix,ops->prefix);t = t->next) in krb5_cc_register() 148 if (t) { in krb5_cc_register() 158 if (!(t = (struct krb5_cc_typelist *) malloc(sizeof(*t)))) { in krb5_cc_register() 163 t->ops = ops; in krb5_cc_register() 305 *t = NULL; in krb5int_cc_typecursor_new() 318 *t = n; in krb5int_cc_typecursor_new() 341 t->tptr = t->tptr->next; in krb5int_cc_typecursor_next() 353 free(*t); in krb5int_cc_typecursor_free() [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwpsys.c | 67 kthread_t *t; in idtot_and_lock() local 72 return (t); in idtot_and_lock() 83 kthread_t *t; in syslwp_suspend() local 101 kthread_t *t; in syslwp_continue() local 109 lwp_continue(t); in syslwp_continue() 118 kthread_t *t; in lwp_kill() local 207 kthread_t *t; in lwp_wait() local 362 kthread_t *t; in lwp_detach() local 397 kthread_t *t; in lwp_unpark() local 429 kthread_t *t; in lwp_unpark_cancel() local [all …]
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | sub1.c | 47 t = s = p; in getl() 54 u = t; in getl() 64 *t = 0; in getl() 212 i = t; in scopy() 225 s = t; in siconv() 251 CHR *t; in slength() local 252 t = s; in slength() 464 t++; in lookup() 474 t = p; in cpycom() 928 for (t = 0; t < tptr; t++) { in treedump() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | catopen.c | 196 t = pathname; in process_nls_path() 199 t--; in process_nls_path() 202 *t++ = *s++; in process_nls_path() 205 *t++ = *s++; in process_nls_path() 208 *t++ = *s++; in process_nls_path() 209 *t = '\0'; in process_nls_path() 222 char *t, *u; in replace_nls_option() local 224 t = pathname; in replace_nls_option() 234 *t++ = *s; in replace_nls_option() 267 *t++ = *s; in replace_nls_option() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | iconv.c | 591 *t++ = w; in utf2bin() 636 *t++ = w; in bin2utf() 746 *t++ = c; in ume2bin() 777 *t++ = c; in ume2bin() 831 *t++ = w; in bin2ume() 885 *t++ = w; in ucs2bin() 976 *t++ = w; in scu2bin() 1060 …if (!t || !*t || *t == '-' && !*(t + 1) || !strcasecmp(t, name_local) || !strcasecmp(t, name_nativ… in _ast_iconv_open() 1069 if (t == f) in _ast_iconv_open() 1288 for (t = e - n; t < e; t++) in _ast_iconv() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | compat_ohash.c | 68 h->t = NULL; in ohash_delete() 101 if (h->t[j].p != NULL && h->t[j].p != DELETED) { in ohash_resize() 114 h->t = n; in ohash_resize() 131 h->t[i].p = DELETED; in ohash_remove() 155 h->t[i].p = p; in ohash_insert() 157 h->t[i].p = p; in ohash_insert() 182 if (h->t[*pos].p != DELETED && h->t[*pos].p != NULL) in ohash_next() 250 h->t[empty].p = h->t[i].p; in ohash_lookup_interval() 268 h->t[i].hv = hv; in ohash_lookup_interval() 295 h->t[empty].p = h->t[i].p; in ohash_lookup_memory() [all …]
|