Home
last modified time | relevance | path

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

12345678910>>...97

/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.c48 #define Ref(t) ((t)->ref) argument
49 #define TypeL(t) ((t)->left) argument
50 #define TypeR(t) ((t)->right) argument
51 #define MakeA(t) ((t)->makearg) argument
52 #define CopyA(t) ((t)->copyarg) argument
53 #define FreeA(t) ((t)->freearg) argument
54 #define Fcheck(t) ((t)->fcheck) argument
55 #define Ccheck(t) ((t)->ccheck) argument
56 #define Next(t) ((t)->next) argument
57 #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.c77 mdb_tdb_lib_t *t; in mdb_tdb_load() local
85 for (t = tdb_list; t != NULL; t = t->tdb_next) { in mdb_tdb_load()
90 if (t != NULL) in mdb_tdb_load()
91 return (&t->tdb_ops); in mdb_tdb_load()
125 t->tdb_handle = hdl; in mdb_tdb_load()
126 t->tdb_next = tdb_list; in mdb_tdb_load()
127 tdb_list = t; in mdb_tdb_load()
200 return (&t->tdb_ops); in mdb_tdb_load()
206 mdb_tdb_lib_t *t, *u; in mdb_tdb_flush() local
208 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/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c71 BTREE *t; local
80 mpool_put(t->bt_mp, t->bt_pinned, 0);
125 BTREE *t; in __rec_fpipe()
134 if (t->bt_rdata.size < t->bt_reclen) {
135 t->bt_rdata.data = t->bt_rdata.data == NULL ?
137 realloc(t->bt_rdata.data, t->bt_reclen);
140 t->bt_rdata.size = t->bt_reclen;
246 if (t->bt_rdata.size < t->bt_reclen) {
247 t->bt_rdata.data = t->bt_rdata.data == NULL ?
249 realloc(t->bt_rdata.data, t->bt_reclen);
[all …]
H A Drec_put.c70 BTREE *t; local
79 mpool_put(t->bt_mp, t->bt_pinned, 0);
88 if (F_ISSET(t, R_FIXLEN) && data->size != t->bt_reclen) {
92 if (t->bt_rdata.size < t->bt_reclen) {
93 t->bt_rdata.data = t->bt_rdata.data == NULL ?
95 realloc(t->bt_rdata.data, t->bt_reclen);
98 t->bt_rdata.size = t->bt_reclen;
102 t->bt_bval, t->bt_reclen - data->size);
148 t->bt_irec(t, nrec) == RET_ERROR)
193 BTREE *t; in __rec_iput()
[all …]
/illumos-gate/usr/src/uts/common/disp/
H A Dthread.c517 t->t_cpu = disp_lowpri_cpu(t->t_cpu, t, t->t_pri); in thread_create()
537 THREAD_ONPROC(t, t->t_cpu); in thread_create()
571 ASSERT(t == curthread || t->t_state == TS_FREE || t->t_procp == &p0); in thread_rele()
618 t->t_next->t_prev = t->t_prev; in thread_exit()
619 t->t_prev->t_next = t->t_next; in thread_exit()
651 for (t = curthread->t_next; t != curthread; t = t->t_next) { in did_to_thread()
1345 SOBJ_UNSLEEP(t->t_sobj_ops, t); in setrun_locked()
1440 i, t, t, itp, itp); in thread_unpin()
2009 if (t->t_stk > t->t_stkbase) { in stkinfo_begin()
2078 if (t->t_stk > t->t_stkbase) { in stkinfo_end()
[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/cmd/abi/spectrans/spec2map/
H A Dutil.c50 table_t *t; in create_stringtable() local
62 return (t); in create_stringtable()
81 ++t->used; in add_to_stringtable()
82 if (t->used >= t->nelem) { in add_to_stringtable()
91 t = t2; in add_to_stringtable()
93 for (i = t->used; i < t->nelem; ++i) { in add_to_stringtable()
97 t->elements[t->used] = strset(t->elements[t->used], value); in add_to_stringtable()
98 return (t); in add_to_stringtable()
154 t->used + 1, t->nelem, in print_stringtable()
173 if (t && t->used > 0) { in sort_stringtable()
[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/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/lib/libdemangle/common/
H A Dcxx.c255 if (t != first + 2 && t != last && t[0] == '.') { in demangle()
369 if (t == last || t[0] == 'E' || t[0] == '.') in parse_encoding()
600 if (t == first + 1 || t == last || t[0] != '_') in parse_call_offset()
705 if (t == first + 1 || t == last || t[0] != 'E') in parse_local_name()
2176 for (t = first + 2; t != last && t[0] != 'E'; t = t1) { in parse_call_expr()
2659 if (t == first || t == last || t[0] != 'E') in parse_integer_literal()
2735 for (t = first + 1; t != last; t++, e++) { in parse_floating_literal()
2748 for (t = last - 1; t > first; t--, e++) { in parse_floating_literal()
3243 for (t = first; t != last && isdigit_l(t[0], db->cpp_loc); t++) { in parse_source_name()
3883 for (t = first; t != last && isdigit_l(t[0], loc); t++) in parse_discriminator()
[all …]
/illumos-gate/usr/src/uts/common/sys/sbp2/
H A Dimpl.h75 #define SBP2_CSR_BASE(t) t->t_bus->sb_csr_base argument
76 #define SBP2_CFGROM_ADDR(t) t->t_bus->sb_cfgrom_addr argument
78 (t)->t_bus->sb_get_iblock_cookie((t)->t_bus_hdl)
79 #define SBP2_GET_NODE_ID(t) (t)->t_bus->sb_get_node_id((t)->t_bus_hdl) argument
80 #define SBP2_ALLOC_BUF(t, buf) (t)->t_bus->sb_alloc_buf((t)->t_bus_hdl, buf) argument
81 #define SBP2_FREE_BUF(t, buf) (t)->t_bus->sb_free_buf((t)->t_bus_hdl, buf) argument
89 (t)->t_bus->sb_alloc_cmd((t)->t_bus_hdl, cmdp, f)
91 (t)->t_bus->sb_free_cmd((t)->t_bus_hdl, cmd)
93 (t)->t_bus->sb_rq((t)->t_bus_hdl, cmd, addr, q, berr)
95 (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.c69 BTREE *t; local
72 t = dbp->internal;
76 mpool_put(t->bt_mp, t->bt_pinned, 0);
105 fd = t->bt_fd;
106 free(t);
125 BTREE *t; local
128 t = dbp->internal;
132 mpool_put(t->bt_mp, t->bt_pinned, 0);
146 if (F_ISSET(t, B_METADIRTY) && bt_meta(t) == RET_ERROR)
165 bt_meta(t) in bt_meta() argument
[all …]
H A Dbt_put.c75 BTREE *t; local
85 t = dbp->internal;
89 mpool_put(t->bt_mp, t->bt_pinned, 0);
163 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL)
277 BTREE *t; in bt_fast()
285 if ((h = mpool_get(t->bt_mp, t->bt_last.pgno, 0)) == NULL) {
290 t->bt_cur.index = t->bt_last.index;
305 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) < 0)
307 t->bt_last.index = cmp ? ++t->bt_cur.index : t->bt_cur.index;
313 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) > 0)
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.sem.c66 if (t == 0)
74 (void) strcpy_(t->t_dcom[0], t->t_dcom[0] + 1);
117 t->t_nice = getn(t->t_dcom[1]);
155 if (((t->t_dflg & FTIME) || (t->t_dflg & FPAR) == 0 &&
158 if (t->t_dtyp == TPAR || t->t_dflg&(FREDO|FAND) ||
320 t->t_dspr->t_dflg |= t->t_dflg & FINT;
337 t->t_dcar->t_dflg |= t->t_dflg & FINT;
342 if (t->t_dcar->t_dflg&FAND && t->t_dcdr &&
347 t->t_dcdr->t_dflg |= t->t_dflg & (FPAR|FINT);
355 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>>...97