Home
last modified time | relevance | path

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

12345678910>>...91

/illumos-gate/usr/src/test/util-tests/tests/xargs/
H A Dxargs_test.ksh47 t=test1
48 test_start $t "-I handling"
50 checkrv $t
52 compare $t "$comp" "$good"
53 test_pass $t
57 t=test2
58 test_start $t "-n 1 handling"
60 checkrv $t
65 compare $t "$comp" "$good"
66 test_pass $t
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzthr.c210 zthr_t *t = arg; in zthr_procedure() local
212 mutex_enter(&t->zthr_state_lock); in zthr_procedure()
213 ASSERT3P(t->zthr_thread, ==, curthread); in zthr_procedure()
215 while (!t->zthr_cancel) { in zthr_procedure()
216 if (t->zthr_checkfunc(t->zthr_arg, t)) { in zthr_procedure()
217 mutex_exit(&t->zthr_state_lock); in zthr_procedure()
218 t->zthr_func(t->zthr_arg, t); in zthr_procedure()
219 mutex_enter(&t->zthr_state_lock); in zthr_procedure()
222 if (t->zthr_wait_time == 0) { in zthr_procedure()
223 cv_wait(&t->zthr_cv, &t->zthr_state_lock); in zthr_procedure()
[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/cmd/mdb/common/mdb/
H A Dmdb_target.c194 mdb_tgt_t *t; in mdb_tgt_create() local
201 t = mdb_zalloc(sizeof (mdb_tgt_t), UM_SLEEP); in mdb_tgt_create()
202 mdb_list_append(&mdb.m_tgtlist, t); in mdb_tgt_create()
204 t->t_module = &mdb.m_rmod; in mdb_tgt_create()
205 t->t_matched = T_SE_END; in mdb_tgt_create()
206 t->t_flags = flags; in mdb_tgt_create()
207 t->t_vepos = 1; in mdb_tgt_create()
208 t->t_veneg = 1; in mdb_tgt_create()
212 t->t_module = mp; in mdb_tgt_create()
217 if (ctor(t, argc, argv) != 0) { in mdb_tgt_create()
[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()
84 if (strcmp(path, t->tdb_pathname) == 0) in mdb_tdb_load()
88 if (t != NULL) in mdb_tdb_load()
89 return (&t->tdb_ops); in mdb_tdb_load()
119 t = mdb_alloc(sizeof (mdb_tdb_lib_t), UM_SLEEP); in mdb_tdb_load()
121 (void) strncpy(t->tdb_pathname, path, MAXPATHLEN); in mdb_tdb_load()
122 t->tdb_pathname[MAXPATHLEN - 1] = '\0'; in mdb_tdb_load()
123 t->tdb_handle = hdl; in mdb_tdb_load()
124 t->tdb_next = tdb_list; in mdb_tdb_load()
[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()
17 static ulong_nc_t t; in good_ret_address() local
19 return &t; in good_ret_address()
22 static ulong_nc_t good_deref(ulong_nc_t *t) in good_deref() argument
24 return *t; in good_deref()
28 static ulong_nc_t t; variable
29 static ulong_nc_t good_assign_self = t;
30 static unsigned long good_assign_sametype = t;
33 static ulong_nc_t *good_ptr = &t;
[all …]
/illumos-gate/usr/src/uts/common/disp/
H A Dthread.c335 kthread_t *t; in thread_create() local
380 t = (kthread_t *)(stk + stksize); in thread_create()
381 bzero(t, sizeof (kthread_t)); in thread_create()
383 audit_thread_create(t); in thread_create()
384 t->t_stk = stk + stksize; in thread_create()
385 t->t_stkbase = stk; in thread_create()
388 t = (kthread_t *)(stk); in thread_create()
389 bzero(t, sizeof (kthread_t)); in thread_create()
390 t->t_stk = stk + sizeof (kthread_t); in thread_create()
391 t->t_stkbase = stk + stksize + sizeof (kthread_t); in thread_create()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dfmtmatch.c38 register char* t; in fmtmatch() local
52 t = b = buf + 3; in fmtmatch()
71 *t++ = *s++; in fmtmatch()
72 *t++ = '('; in fmtmatch()
73 *t++ = '\\'; in fmtmatch()
74 *t++ = c; in fmtmatch()
81 *t++ = c; in fmtmatch()
90 *t++ = '\\'; in fmtmatch()
93 *t++ = c; in fmtmatch()
96 x = t; in fmtmatch()
[all …]
H A Dswapmem.c42 register char* t = (char*)to; in swapmem() local
48 if (t != f) in swapmem()
49 memcpy(t, f, n); in swapmem()
52 for (n >>= 1; n--; f += 2, t += 2) in swapmem()
54 c = f[0]; t[0] = f[1]; t[1] = c; in swapmem()
58 for (n >>= 2; n--; f += 4, t += 4) 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()
65 for (n >>= 2; n--; f += 4, t += 4) in swapmem()
67 c = f[0]; t[0] = f[3]; t[3] = c; in swapmem()
[all …]
H A Dfmtelapsed.c34 register unsigned long t; in fmtelapsed() local
43 t = u / n; in fmtelapsed()
44 if (t < 60) in fmtelapsed()
45 sfsprintf(buf, z, "%lu.%02lus", t, (u * 100 / n) % 100); 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()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c69 BTREE *t; local
74 t = dbp->internal;
77 if (t->bt_pinned != NULL) {
78 mpool_put(t->bt_mp, t->bt_pinned, 0);
79 t->bt_pinned = NULL;
92 if (nrec > t->bt_nrecs) {
93 if (F_ISSET(t, R_EOF | R_INMEM))
95 if ((status = t->bt_irec(t, nrec)) != RET_SUCCESS)
100 if ((e = __rec_search(t, nrec, SEARCH)) == NULL)
103 status = __rec_ret(t, e, 0, NULL, data);
[all …]
H A Drec_put.c68 BTREE *t; local
73 t = dbp->internal;
76 if (t->bt_pinned != NULL) {
77 mpool_put(t->bt_mp, t->bt_pinned, 0);
78 t->bt_pinned = NULL;
86 if (F_ISSET(t, R_FIXLEN) && data->size != t->bt_reclen) {
87 if (data->size > t->bt_reclen)
90 if (t->bt_rdata.size < t->bt_reclen) {
91 t->bt_rdata.data = t->bt_rdata.data == NULL ?
92 malloc(t->bt_reclen) :
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dwaitq.c119 waitq_link(waitq_t *wq, kthread_t *t) in waitq_link() argument
128 tpri = DISP_PRIO(t); in waitq_link()
138 *tpp = t; in waitq_link()
139 t->t_link = next_tp; in waitq_link()
142 t->t_priback = last_tp; in waitq_link()
143 t->t_priforw = last_tp->t_priforw; in waitq_link()
144 last_tp->t_priforw->t_priback = t; in waitq_link()
145 last_tp->t_priforw = t; in waitq_link()
147 t->t_priback = t->t_priforw = t; in waitq_link()
150 t->t_waitq = wq; in waitq_link()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathcanon.c67 register char* t; in pathcanon_20100601() local
90 p = r = s = t = path; in pathcanon_20100601()
92 switch (*t++ = *s++) in pathcanon_20100601()
105 t -= 2; in pathcanon_20100601()
108 if ((flags & (PATH_DOTDOT|PATH_EXISTS)) == PATH_DOTDOT && (t - 2) >= v) in pathcanon_20100601()
112 *(t - 2) = 0; in pathcanon_20100601()
118 *(t - 2) = '.'; in pathcanon_20100601()
121 if (t - 5 < r) r = t; in pathcanon_20100601()
123 if (t - 5 < r) in pathcanon_20100601()
125 if (t - 4 == r) t = r + 1; in pathcanon_20100601()
[all …]
/illumos-gate/usr/src/lib/libdemangle/common/
H A Dcxx.c222 const char *t = NULL; in demangle() local
230 t = parse_type(first, last, db); in demangle()
231 if (t == first) { in demangle()
244 t = parse_encoding(first + 2, last, db); in demangle()
246 if (t != first + 2 && t != last && t[0] == '.') { in demangle()
247 t = parse_dot_suffix(t, last, db); in demangle()
258 t = parse_encoding(first + 4, last, db); in demangle()
259 if (t != first + 4 && t != last) in demangle()
260 t = parse_block_invoke(t, last, db); in demangle()
263 if (t != last) in demangle()
[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
80 static Node *hashnum (const Table *t, lua_Number n) { in hashnum() argument
88 return hashmod(t, i); in hashnum()
97 static Node *mainposition (const Table *t, const TValue *key) { in mainposition() argument
100 return hashnum(t, nvalue(key)); in mainposition()
107 return hashstr(t, rawtsvalue(key)); in mainposition()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/
H A Dutil.c49 table_t *t; in create_stringtable() local
52 if ((t = calloc((size_t)1, (size_t)(sizeof (table_t) + in create_stringtable()
59 t->nelem = size; in create_stringtable()
60 t->used = -1; in create_stringtable()
61 return (t); in create_stringtable()
66 add_to_stringtable(table_t *t, char *value) in add_to_stringtable() argument
72 if (t == NULL) { in add_to_stringtable()
77 if (in_stringtable(t, value)) { in add_to_stringtable()
78 return (t); in add_to_stringtable()
80 ++t->used; in add_to_stringtable()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dfnmatch.c223 struct testcase *t; in main() local
226 t = &testcases[i]; in main()
227 flags = t->flags; in main()
229 result = fnmatch(t->pattern, t->string, flags); in main()
230 if (result != t->result) in main()
232 if (strchr(t->pattern, '\\') == NULL && in main()
235 result = fnmatch(t->pattern, t->string, flags); in main()
236 if (result != t->result) in main()
238 flags = t->flags; in main()
240 if (strchr(t->pattern, '\\') != NULL && 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
75 #define SBP2_GET_IBLOCK_COOKIE(t) \ 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
80 #define SBP2_SYNC_BUF(t, buf, offset, length, type) \ argument
81 (t)->t_bus->sb_sync_buf((t)->t_bus_hdl, buf, offset, length, type)
82 #define SBP2_BUF_RD_DONE(t, buf, reqh, error) \ argument
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.sem.c35 AnyBquote(struct command *t) in AnyBquote() argument
42 for (pp = t->t_dcom; p = *pp++;) { in AnyBquote()
51 execute(t, wanttty, pipein, pipeout) in execute() argument
52 struct command *t; in execute()
64 if (t == 0)
66 if ((t->t_dflg & FAND) && wanttty > 0)
68 switch (t->t_dtyp) {
71 if (t->t_dcom[0][0] == (tchar)S_TOPBIT[0])
72 (void) strcpy_(t->t_dcom[0], t->t_dcom[0] + 1);
73 if ((t->t_dflg & FREDO) == 0)
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_close.c67 BTREE *t; local
70 t = dbp->internal;
73 if (t->bt_pinned != NULL) {
74 mpool_put(t->bt_mp, t->bt_pinned, 0);
75 t->bt_pinned = NULL;
83 if (mpool_close(t->bt_mp) == RET_ERROR)
87 if (t->bt_cursor.key.data != NULL) {
88 free(t->bt_cursor.key.data);
89 t->bt_cursor.key.size = 0;
90 t->bt_cursor.key.data = NULL;
[all …]
H A Dbt_put.c73 BTREE *t; local
83 t = dbp->internal;
86 if (t->bt_pinned != NULL) {
87 mpool_put(t->bt_mp, t->bt_pinned, 0);
88 t->bt_pinned = NULL;
92 if (F_ISSET(t, B_RDONLY)) {
106 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
107 !F_ISSET(&t->bt_cursor,
125 if (key->size + data->size > t->bt_ovflsize) {
126 if (key->size > t->bt_ovflsize) {
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dgmt_mktime.c39 time_t krb5int_gmt_mktime(struct tm *t) in krb5int_gmt_mktime() argument
54 assert_time(t->tm_year>=1); in krb5int_gmt_mktime()
55 assert_time(t->tm_year<=138); in krb5int_gmt_mktime()
57 assert_time(t->tm_mon>=0); in krb5int_gmt_mktime()
58 assert_time(t->tm_mon<=11); in krb5int_gmt_mktime()
59 assert_time(t->tm_mday>=1); in krb5int_gmt_mktime()
60 assert_time(t->tm_mday<=31); in krb5int_gmt_mktime()
61 assert_time(t->tm_hour>=0); in krb5int_gmt_mktime()
62 assert_time(t->tm_hour<=23); in krb5int_gmt_mktime()
63 assert_time(t->tm_min>=0); in krb5int_gmt_mktime()
[all …]
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dsqrtl.c239 double s[3], t, t2; in __q_pack() local
255 t = s[1] + s[2]; in __q_pack()
256 u.d = two36 + (s[0] + t); in __q_pack()
260 u.d = two4 + (s[0] + t); in __q_pack()
264 u.d = twom28 + (s[0] + t); in __q_pack()
269 t = s[0] + s[1]; in __q_pack()
270 s[1] = ((s[0] - t) + s[1]) + s[2]; in __q_pack()
271 s[0] = t; in __q_pack()
282 t = s[0] + s[1]; in __q_pack()
283 t2 = (s[0] - t) + s[1]; in __q_pack()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dscriptvfy.l166 \>[ \t]*"/dev/null" return INITVAL;
167 \>[ \t]*"/tmp" return INITVAL;
230 \>[\t ]*\$1/[\t\n ] {
235 ^$1/[\t\n ] |
236 [\t ]$1/[\t\n ] {
252 "()"[ \t]*\n[ \t]*/\{ { status.in_function = 1; line_no++; }
273 ^for/[\t\n ] |
274 ^[\t ]+for/[\t\n ] |
275 ^while/[\t\n ] |
276 ^[\t ]+while/[\t\n ] {
[all …]

12345678910>>...91