Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 2391) sorted by relevance

12345678910>>...96

/illumos-gate/usr/src/test/util-tests/tests/xargs/
H A Dxargs_test.ksh47 t=test1
50 checkrv $t
57 t=test2
70 t=test3
83 t=test4
93 t=test5
105 t=test6
115 t=test7
125 t=test8
137 t=test9
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzthr.c210 zthr_t *t = arg; in zthr_procedure() local
216 if (t->zthr_checkfunc(t->zthr_arg, t)) { in zthr_procedure()
218 t->zthr_func(t->zthr_arg, t); in zthr_procedure()
223 cv_wait(&t->zthr_cv, &t->zthr_state_lock); in zthr_procedure()
226 &t->zthr_state_lock, t->zthr_wait_time, in zthr_procedure()
259 zthr_t *t = kmem_zalloc(sizeof (*t), KM_SLEEP); in zthr_create_timer() local
270 t->zthr_thread = thread_create(NULL, 0, zthr_procedure, t, in zthr_create_timer()
274 return (t); in zthr_create_timer()
286 kmem_free(t, sizeof (*t)); in zthr_destroy()
356 cv_wait(&t->zthr_cv, &t->zthr_state_lock); in zthr_cancel()
[all …]
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dfieldtype.c46 #define Ref(t) ((t)->ref) argument
47 #define TypeL(t) ((t)->left) argument
48 #define TypeR(t) ((t)->right) argument
49 #define MakeA(t) ((t)->makearg) argument
50 #define CopyA(t) ((t)->copyarg) argument
51 #define FreeA(t) ((t)->freearg) argument
52 #define Fcheck(t) ((t)->fcheck) argument
53 #define Ccheck(t) ((t)->ccheck) argument
54 #define Next(t) ((t)->next) argument
55 #define Prev(t) ((t)->prev) argument
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dnocast.c10 ulong_nc_t t; in good_use_address() local
12 use_ptr(&t); in good_use_address()
19 return &t; in good_ret_address()
24 return *t; in good_deref()
46 return t; in good_ret_samecast()
50 return t; in bad_ret_biggercast()
54 return t; in bad_ret_signcast()
58 return t; in bad_ret_smallercast()
98 t = us; in implicit_assign_to()
99 t = ull; in implicit_assign_to()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_target.c225 (void) t->t_ops->t_status(t, &t->t_status); in mdb_tgt_create()
266 t->t_ops->t_deactivate(t); in mdb_tgt_destroy()
281 t->t_ops->t_destroy(t); in mdb_tgt_destroy()
346 t->t_ops->t_activate(t); in mdb_tgt_activate()
353 t->t_ops->t_periodic(t); in mdb_tgt_periodic()
359 return (t->t_ops->t_name(t)); in mdb_tgt_name()
365 return (t->t_ops->t_isa(t)); in mdb_tgt_isa()
371 return (t->t_ops->t_platform(t)); in mdb_tgt_platform()
383 return (t->t_ops->t_dmodel(t)); in mdb_tgt_dmodel()
728 if (tsp == &t->t_status && t->t_ops->t_status(t, &t->t_status) != 0) in mdb_tgt_status()
[all …]
H A Dmdb_tdb.c75 mdb_tdb_lib_t *t; in mdb_tdb_load() local
83 for (t = tdb_list; t != NULL; t = t->tdb_next) { in mdb_tdb_load()
88 if (t != NULL) in mdb_tdb_load()
89 return (&t->tdb_ops); in mdb_tdb_load()
123 t->tdb_handle = hdl; in mdb_tdb_load()
124 t->tdb_next = tdb_list; in mdb_tdb_load()
125 tdb_list = t; in mdb_tdb_load()
201 return (&t->tdb_ops); in mdb_tdb_load()
207 mdb_tdb_lib_t *t, *u; in mdb_tdb_flush() local
209 for (t = tdb_list; t != NULL; t = u) { in mdb_tdb_flush()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dswapmem.c54 c = f[0]; t[0] = f[1]; t[1] = c; in swapmem()
60 c = f[0]; t[0] = f[2]; t[2] = c; in swapmem()
61 c = f[1]; t[1] = f[3]; t[3] = c; in swapmem()
67 c = f[0]; t[0] = f[3]; t[3] = c; in swapmem()
68 c = f[1]; t[1] = f[2]; t[2] = c; in swapmem()
74 c = f[0]; t[0] = f[4]; t[4] = c; in swapmem()
75 c = f[1]; t[1] = f[5]; t[5] = c; in swapmem()
76 c = f[2]; t[2] = f[6]; t[6] = c; in swapmem()
77 c = f[3]; t[3] = f[7]; t[7] = c; in swapmem()
83 c = f[0]; t[0] = f[5]; t[5] = c; in swapmem()
[all …]
H A Dfmtmatch.c74 *t++ = c; in fmtmatch()
93 *t++ = c; in fmtmatch()
96 x = t; in fmtmatch()
97 *t++ = c; in fmtmatch()
126 for (y = t + 2, t--; t >= x; t--) in fmtmatch()
127 *(t + 2) = *t; in fmtmatch()
130 t = y; in fmtmatch()
138 *p++ = t; in fmtmatch()
160 *t++ = c; in fmtmatch()
254 if (t == b || *(t - 1) == '(') in fmtmatch()
[all …]
H A Dfmtelapsed.c34 register unsigned long t; in fmtelapsed() local
43 t = u / n; in fmtelapsed()
44 if (t < 60) in fmtelapsed()
46 else if (t < 60*60) in fmtelapsed()
47 sfsprintf(buf, z, "%lum%02lus", t / 60, t - (t / 60) * 60); in fmtelapsed()
48 else if (t < 24*60*60) in fmtelapsed()
49 sfsprintf(buf, z, "%luh%02lum", t / (60*60), (t - (t / (60*60)) * (60*60)) / 60); in fmtelapsed()
50 else if (t < 7*24*60*60) in fmtelapsed()
51 sfsprintf(buf, z, "%lud%02luh", t / (24*60*60), (t - (t / (24*60*60)) * (24*60*60)) / (60*60)); in fmtelapsed()
53 …sfsprintf(buf, z, "%luw%02lud", t / (7*24*60*60), (t - (t / (7*24*60*60)) * (7*24*60*60)) / (24*60… in fmtelapsed()
[all …]
/illumos-gate/usr/src/uts/common/disp/
H A Dthread.c513 t->t_cpu = disp_lowpri_cpu(t->t_cpu, t, t->t_pri); in thread_create()
533 THREAD_ONPROC(t, t->t_cpu); in thread_create()
567 ASSERT(t == curthread || t->t_state == TS_FREE || t->t_procp == &p0); in thread_rele()
608 t->t_next->t_prev = t->t_prev; in thread_exit()
609 t->t_prev->t_next = t->t_next; in thread_exit()
641 for (t = curthread->t_next; t != curthread; t = t->t_next) { in did_to_thread()
1404 SOBJ_UNSLEEP(t->t_sobj_ops, t); in setrun_locked()
1499 i, t, t, itp, itp); in thread_unpin()
2068 if (t->t_stk > t->t_stkbase) { in stkinfo_begin()
2137 if (t->t_stk > t->t_stkbase) { in stkinfo_end()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c69 BTREE *t; local
78 mpool_put(t->bt_mp, t->bt_pinned, 0);
123 BTREE *t; in __rec_fpipe()
132 if (t->bt_rdata.size < t->bt_reclen) {
133 t->bt_rdata.data = t->bt_rdata.data == NULL ?
135 realloc(t->bt_rdata.data, t->bt_reclen);
138 t->bt_rdata.size = t->bt_reclen;
244 if (t->bt_rdata.size < t->bt_reclen) {
245 t->bt_rdata.data = t->bt_rdata.data == NULL ?
247 realloc(t->bt_rdata.data, t->bt_reclen);
[all …]
H A Drec_put.c68 BTREE *t; local
77 mpool_put(t->bt_mp, t->bt_pinned, 0);
86 if (F_ISSET(t, R_FIXLEN) && data->size != t->bt_reclen) {
90 if (t->bt_rdata.size < t->bt_reclen) {
91 t->bt_rdata.data = t->bt_rdata.data == NULL ?
93 realloc(t->bt_rdata.data, t->bt_reclen);
96 t->bt_rdata.size = t->bt_reclen;
100 t->bt_bval, t->bt_reclen - data->size);
146 t->bt_irec(t, nrec) == RET_ERROR)
191 BTREE *t; in __rec_iput()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dwaitq.c138 *tpp = t; in waitq_link()
147 t->t_priback = t->t_priforw = t; in waitq_link()
185 if (t->t_priforw != t) { in waitq_unlink()
186 t->t_priback->t_priforw = t->t_priforw; in waitq_unlink()
187 t->t_priforw->t_priback = t->t_priback; in waitq_unlink()
299 CL_SETRUN(t); in waitq_setrun()
308 kthread_t *t; in waitq_takeone() local
318 return (t); in waitq_takeone()
328 kthread_t *t; in waitq_runfirst() local
338 CL_SETRUN(t); in waitq_runfirst()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathcanon.c121 if (t - 5 < r) r = t; in pathcanon_20100601()
125 if (t - 4 == r) t = r + 1; in pathcanon_20100601()
129 else for (t -= 5; t > r && *(t - 1) != '/'; t--); in pathcanon_20100601()
139 if ((t -= 5) <= path) t = path + 1; in pathcanon_20100601()
155 r = t; in pathcanon_20100601()
189 …if (dots >= 4 && (flags & PATH_EXISTS) && (t - 1) >= v && (t > path + 1 || t > path && *(t - 1) &&… in pathcanon_20100601()
204 if (t > path && !*(t - 1)) t--; in pathcanon_20100601()
205 if (t == path) *t++ = '.'; in pathcanon_20100601()
207 else if (t > path + 1 && *(t - 1) == '/') t--; in pathcanon_20100601()
209 else if ((s <= path || *(s - 1) != '/') && t > path + 1 && *(t - 1) == '/') t--; in pathcanon_20100601()
[all …]
/illumos-gate/usr/src/lib/libdemangle/common/
H A Dcxx.c246 if (t != first + 2 && t != last && t[0] == '.') { in demangle()
360 if (t == last || t[0] == 'E' || t[0] == '.') in parse_encoding()
591 if (t == first + 1 || t == last || t[0] != '_') in parse_call_offset()
696 if (t == first + 1 || t == last || t[0] != 'E') in parse_local_name()
2167 for (t = first + 2; t != last && t[0] != 'E'; t = t1) { in parse_call_expr()
2650 if (t == first || t == last || t[0] != 'E') in parse_integer_literal()
2726 for (t = first + 1; t != last; t++, e++) { in parse_floating_literal()
2737 for (t = last - 1; t > first; t--, e++) { in parse_floating_literal()
3230 for (t = first; t != last && ISDIGIT(t[0]); t++) { in parse_source_name()
3870 for (t = first; t != last && ISDIGIT(t[0]); t++) in parse_discriminator()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dltable.c51 #define hashpow2(t,n) (gnode(t, lmod((n), sizenode(t)))) argument
53 #define hashstr(t,str) hashpow2(t, (str)->tsv.hash) argument
54 #define hashboolean(t,p) hashpow2(t, p) argument
61 #define hashmod(t,n) (gnode(t, ((n) % ((sizenode(t)-1)|1)))) argument
64 #define hashpointer(t,p) hashmod(t, IntPoint(p)) argument
318 luaH_setint(L, t, i + 1, &t->array[i]); in luaH_resize()
338 int nsize = isdummy(t->node) ? 0 : sizenode(t); in luaH_resizearray()
375 return t; in luaH_new()
381 luaM_freearray(L, t->node, cast(size_t, sizenode(t))); in luaH_free()
382 luaM_freearray(L, t->array, t->sizearray); in luaH_free()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/
H A Dutil.c49 table_t *t; in create_stringtable() local
61 return (t); in create_stringtable()
80 ++t->used; in add_to_stringtable()
81 if (t->used >= t->nelem) { in add_to_stringtable()
90 t = t2; in add_to_stringtable()
92 for (i = t->used; i < t->nelem; ++i) { in add_to_stringtable()
96 t->elements[t->used] = strset(t->elements[t->used], value); in add_to_stringtable()
97 return (t); in add_to_stringtable()
153 t->used + 1, t->nelem, in print_stringtable()
172 if (t && t->used > 0) { in sort_stringtable()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dfnmatch.c229 result = fnmatch(t->pattern, t->string, flags); in main()
235 result = fnmatch(t->pattern, t->string, flags); in main()
245 result = fnmatch(t->pattern, t->string, flags); in main()
254 result = fnmatch(t->pattern, t->string, flags); in main()
263 result = fnmatch(t->pattern, t->string, flags); in main()
273 result = fnmatch(t->pattern, t->string, flags); in main()
283 result = fnmatch(t->pattern, t->string, flags); in main()
292 result = fnmatch(t->pattern, t->string, flags); in main()
299 result = fnmatch(t->pattern, t->string, flags); in main()
308 result = fnmatch(t->pattern, t->string, flags); in main()
[all …]
/illumos-gate/usr/src/uts/common/sys/sbp2/
H A Dimpl.h73 #define SBP2_CSR_BASE(t) t->t_bus->sb_csr_base argument
74 #define SBP2_CFGROM_ADDR(t) t->t_bus->sb_cfgrom_addr argument
76 (t)->t_bus->sb_get_iblock_cookie((t)->t_bus_hdl)
77 #define SBP2_GET_NODE_ID(t) (t)->t_bus->sb_get_node_id((t)->t_bus_hdl) argument
78 #define SBP2_ALLOC_BUF(t, buf) (t)->t_bus->sb_alloc_buf((t)->t_bus_hdl, buf) argument
79 #define SBP2_FREE_BUF(t, buf) (t)->t_bus->sb_free_buf((t)->t_bus_hdl, buf) argument
87 (t)->t_bus->sb_alloc_cmd((t)->t_bus_hdl, cmdp, f)
89 (t)->t_bus->sb_free_cmd((t)->t_bus_hdl, cmd)
91 (t)->t_bus->sb_rq((t)->t_bus_hdl, cmd, addr, q, berr)
93 (t)->t_bus->sb_rb((t)->t_bus_hdl, cmd, addr, bp, len, berr)
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_close.c67 BTREE *t; local
70 t = dbp->internal;
74 mpool_put(t->bt_mp, t->bt_pinned, 0);
103 fd = t->bt_fd;
104 free(t);
123 BTREE *t; local
126 t = dbp->internal;
130 mpool_put(t->bt_mp, t->bt_pinned, 0);
144 if (F_ISSET(t, B_METADIRTY) && bt_meta(t) == RET_ERROR)
163 bt_meta(t) in bt_meta() argument
[all …]
H A Dbt_put.c73 BTREE *t; local
83 t = dbp->internal;
87 mpool_put(t->bt_mp, t->bt_pinned, 0);
161 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL)
275 BTREE *t; in bt_fast()
283 if ((h = mpool_get(t->bt_mp, t->bt_last.pgno, 0)) == NULL) {
288 t->bt_cur.index = t->bt_last.index;
303 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) < 0)
305 t->bt_last.index = cmp ? ++t->bt_cur.index : t->bt_cur.index;
311 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) > 0)
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.sem.c64 if (t == 0)
72 (void) strcpy_(t->t_dcom[0], t->t_dcom[0] + 1);
115 t->t_nice = getn(t->t_dcom[1]);
153 if (((t->t_dflg & FTIME) || (t->t_dflg & FPAR) == 0 &&
156 if (t->t_dtyp == TPAR || t->t_dflg&(FREDO|FAND) ||
318 t->t_dspr->t_dflg |= t->t_dflg & FINT;
335 t->t_dcar->t_dflg |= t->t_dflg & FINT;
340 if (t->t_dcar->t_dflg&FAND && t->t_dcdr &&
345 t->t_dcdr->t_dflg |= t->t_dflg & (FPAR|FINT);
353 t->t_dcar->t_dflg |= t->t_dflg & FINT;
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dgmt_mktime.c71 accum = t->tm_year - 70; in krb5int_gmt_mktime()
75 if (t->tm_year >= 70) in krb5int_gmt_mktime()
86 accum += t->tm_hour; in krb5int_gmt_mktime()
88 accum += t->tm_min; in krb5int_gmt_mktime()
90 accum += t->tm_sec; in krb5int_gmt_mktime()
100 time_t t; in main() local
115 if (t % (24 * 60 * 60)) in main()
117 u = t / (24 * 60 * 60); in main()
120 (long) t); in main()
123 t = 0x80000000, printf ("time 0x%lx -> %s", t, ctime (&t)); in main()
[all …]
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dsqrtl.c327 tt[0] = t[0] + t[0]; in __q_tp_sqrt()
331 tt[1] = t[1] + t[1]; in __q_tp_sqrt()
357 - tt[2] * t[4]) - (t[3] + t[3]) * t[4]) - t[4] * t[4]; in __q_tp_sqrt()
360 t[0] += t[1]; in __q_tp_sqrt()
361 t[1] = t[2] + t[3]; in __q_tp_sqrt()
362 t[2] = t[4]; in __q_tp_sqrt()
374 c = t[1] + t[2]; in __q_tp_sqrt()
375 t[2] += (t[1] - c); in __q_tp_sqrt()
377 c = t[0] + t[1]; in __q_tp_sqrt()
431 t = sqrt(t); in sqrtl()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dscriptvfy.l230 \>[\t ]*\$1/[\t\n ] {
236 [\t ]$1/[\t\n ] {
274 ^[\t ]+for/[\t\n ] |
299 ^[\t ]+case/[\t\n ] {
307 ^[\t ]+esac/[\t\n ] {
330 ^[\t ]+fi/[\t\n ] {
422 [\t ]read/[\t\n ] |
436 [\t \/]mv/[\t\n ] |
440 [\t \/]tar/[\t\n ] |
449 [\t \/]rm/[\t\n ] |
[all …]

12345678910>>...96