Home
last modified time | relevance | path

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

12345678910>>...90

/titanic_41/usr/src/test/util-tests/tests/xargs/
H A Dxargs_test.ksh46 t=test1
47 test_start $t "-I handling"
49 checkrv $t
51 compare $t "$comp" "$good"
52 test_pass $t
56 t=test2
57 test_start $t "-n 1 handling"
59 checkrv $t
64 compare $t "$comp" "$good"
65 test_pass $t
[all …]
/titanic_41/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 …]
/titanic_41/usr/src/lib/libast/common/string/
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 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 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 …]
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c71 BTREE *t; local
76 t = dbp->internal;
79 if (t->bt_pinned != NULL) {
80 mpool_put(t->bt_mp, t->bt_pinned, 0);
81 t->bt_pinned = NULL;
94 if (nrec > t->bt_nrecs) {
95 if (F_ISSET(t, R_EOF | R_INMEM))
97 if ((status = t->bt_irec(t, nrec)) != RET_SUCCESS)
102 if ((e = __rec_search(t, nrec, SEARCH)) == NULL)
105 status = __rec_ret(t, e, 0, NULL, data);
[all …]
H A Drec_put.c70 BTREE *t; local
75 t = dbp->internal;
78 if (t->bt_pinned != NULL) {
79 mpool_put(t->bt_mp, t->bt_pinned, 0);
80 t->bt_pinned = NULL;
88 if (F_ISSET(t, R_FIXLEN) && data->size != t->bt_reclen) {
89 if (data->size > t->bt_reclen)
92 if (t->bt_rdata.size < t->bt_reclen) {
93 t->bt_rdata.data = t->bt_rdata.data == NULL ?
94 malloc(t->bt_reclen) :
[all …]
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_target.c192 mdb_tgt_t *t; in mdb_tgt_create() local
199 t = mdb_zalloc(sizeof (mdb_tgt_t), UM_SLEEP); in mdb_tgt_create()
200 mdb_list_append(&mdb.m_tgtlist, t); in mdb_tgt_create()
202 t->t_module = &mdb.m_rmod; in mdb_tgt_create()
203 t->t_matched = T_SE_END; in mdb_tgt_create()
204 t->t_flags = flags; in mdb_tgt_create()
205 t->t_vepos = 1; in mdb_tgt_create()
206 t->t_veneg = 1; in mdb_tgt_create()
210 t->t_module = mp; in mdb_tgt_create()
215 if (ctor(t, argc, argv) != 0) { in mdb_tgt_create()
[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()
86 if (strcmp(path, t->tdb_pathname) == 0) in mdb_tdb_load()
90 if (t != NULL) in mdb_tdb_load()
91 return (&t->tdb_ops); in mdb_tdb_load()
121 t = mdb_alloc(sizeof (mdb_tdb_lib_t), UM_SLEEP); in mdb_tdb_load()
123 (void) strncpy(t->tdb_pathname, path, MAXPATHLEN); in mdb_tdb_load()
124 t->tdb_pathname[MAXPATHLEN - 1] = '\0'; in mdb_tdb_load()
125 t->tdb_handle = hdl; in mdb_tdb_load()
126 t->tdb_next = tdb_list; in mdb_tdb_load()
[all …]
/titanic_41/usr/src/lib/libast/common/path/
H A Dpathcanon.c55 register char* t; in pathcanon() local
76 p = r = s = t = path; in pathcanon()
77 for (;;) switch (*t++ = *s++) in pathcanon()
90 t -= 2; in pathcanon()
93 if ((flags & (PATH_DOTDOT|PATH_EXISTS)) == PATH_DOTDOT && (t - 2) >= v) in pathcanon()
97 *(t - 2) = 0; in pathcanon()
103 *(t - 2) = '.'; in pathcanon()
106 if (t - 5 < r) r = t; in pathcanon()
108 if (t - 5 < r) in pathcanon()
110 if (t - 4 == r) t = r + 1; in pathcanon()
[all …]
/titanic_41/usr/src/uts/common/disp/
H A Dthread.c333 kthread_t *t; in thread_create() local
378 t = (kthread_t *)(stk + stksize); in thread_create()
379 bzero(t, sizeof (kthread_t)); in thread_create()
381 audit_thread_create(t); in thread_create()
382 t->t_stk = stk + stksize; in thread_create()
383 t->t_stkbase = stk; in thread_create()
386 t = (kthread_t *)(stk); in thread_create()
387 bzero(t, sizeof (kthread_t)); in thread_create()
388 t->t_stk = stk + sizeof (kthread_t); in thread_create()
389 t->t_stkbase = stk + stksize + sizeof (kthread_t); in thread_create()
[all …]
/titanic_41/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 …]
H A Dlwp.c100 kthread_t *t; in lwp_create() local
179 if ((t = lwp_deathrow) != NULL) { in lwp_create()
180 ASSERT(t->t_swap); in lwp_create()
181 lwp_deathrow = t->t_forw; in lwp_create()
183 lwpdata = t->t_swap; in lwp_create()
184 lwp = t->t_lwp; in lwp_create()
185 ctx = t->t_ctx; in lwp_create()
186 t->t_swap = NULL; in lwp_create()
187 t->t_lwp = NULL; in lwp_create()
188 t->t_ctx = NULL; in lwp_create()
[all …]
H A Dcondvar.c68 cv_unsleep(kthread_t *t) in cv_unsleep() argument
70 condvar_impl_t *cvp = (condvar_impl_t *)t->t_wchan; in cv_unsleep()
73 ASSERT(THREAD_LOCK_HELD(t)); in cv_unsleep()
77 (void *)t, (void *)sqh); in cv_unsleep()
78 DTRACE_SCHED1(wakeup, kthread_t *, t); in cv_unsleep()
79 sleepq_unsleep(t); in cv_unsleep()
83 CL_SETRUN(t); in cv_unsleep()
90 cv_change_pri(kthread_t *t, pri_t pri, pri_t *t_prip) in cv_change_pri() argument
92 condvar_impl_t *cvp = (condvar_impl_t *)t->t_wchan; in cv_change_pri()
93 sleepq_t *sqp = t->t_sleepq; in cv_change_pri()
[all …]
/titanic_41/usr/src/cmd/abi/spectrans/spec2map/
H A Dutil.c50 table_t *t; in create_stringtable() local
53 if ((t = calloc((size_t)1, (size_t)(sizeof (table_t) + in create_stringtable()
60 t->nelem = size; in create_stringtable()
61 t->used = -1; in create_stringtable()
62 return (t); in create_stringtable()
67 add_to_stringtable(table_t *t, char *value) in add_to_stringtable() argument
73 if (t == NULL) { in add_to_stringtable()
78 if (in_stringtable(t, value)) { in add_to_stringtable()
79 return (t); in add_to_stringtable()
81 ++t->used; in add_to_stringtable()
[all …]
/titanic_41/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
77 #define SBP2_GET_IBLOCK_COOKIE(t) \ 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
82 #define SBP2_SYNC_BUF(t, buf, offset, length, type) \ argument
83 (t)->t_bus->sb_sync_buf((t)->t_bus_hdl, buf, offset, length, type)
84 #define SBP2_BUF_RD_DONE(t, buf, reqh, error) \ argument
[all …]
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_close.c69 BTREE *t; local
72 t = dbp->internal;
75 if (t->bt_pinned != NULL) {
76 mpool_put(t->bt_mp, t->bt_pinned, 0);
77 t->bt_pinned = NULL;
85 if (mpool_close(t->bt_mp) == RET_ERROR)
89 if (t->bt_cursor.key.data != NULL) {
90 free(t->bt_cursor.key.data);
91 t->bt_cursor.key.size = 0;
92 t->bt_cursor.key.data = NULL;
[all …]
H A Dbt_put.c75 BTREE *t; local
85 t = dbp->internal;
88 if (t->bt_pinned != NULL) {
89 mpool_put(t->bt_mp, t->bt_pinned, 0);
90 t->bt_pinned = NULL;
94 if (F_ISSET(t, B_RDONLY)) {
108 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
109 !F_ISSET(&t->bt_cursor,
127 if (key->size + data->size > t->bt_ovflsize) {
128 if (key->size > t->bt_ovflsize) {
[all …]
H A Dbt_open.c99 BTREE *t; local
106 t = NULL;
164 if ((t = (BTREE *)malloc(sizeof(BTREE))) == NULL)
166 memset(t, 0, sizeof(BTREE));
167 t->bt_fd = -1; /* Don't close unopened fd on error. */
168 t->bt_lorder = b.lorder;
169 t->bt_order = NOT;
170 t->bt_cmp = b.compare;
171 t->bt_pfx = b.prefix;
172 t->bt_rfd = -1;
[all …]
H A Dbt_delete.c70 BTREE *t; local
75 t = dbp->internal;
78 if (t->bt_pinned != NULL) {
79 mpool_put(t->bt_mp, t->bt_pinned, 0);
80 t->bt_pinned = NULL;
84 if (F_ISSET(t, B_RDONLY)) {
91 status = __bt_bdelete(t, key);
98 c = &t->bt_cursor;
102 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
110 if (__bt_stkacq(t, &h, &t->bt_cursor))
[all …]
/titanic_41/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 …]
/titanic_41/usr/src/cmd/csh/
H A Dsh.sem.c37 AnyBquote(struct command *t) in AnyBquote() argument
44 for (pp = t->t_dcom; p = *pp++;) { in AnyBquote()
53 execute(t, wanttty, pipein, pipeout) in execute() argument
54 struct command *t; in execute()
66 if (t == 0)
68 if ((t->t_dflg & FAND) && wanttty > 0)
70 switch (t->t_dtyp) {
73 if (t->t_dcom[0][0] == (tchar)S_TOPBIT[0])
74 (void) strcpy_(t->t_dcom[0], t->t_dcom[0] + 1);
75 if ((t->t_dflg & FREDO) == 0)
[all …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/usr/src/grub/grub-0.97/
H A Dconfig.status.solaris467 s,@SHELL@,/bin/bash,;t t
468 s,@PATH_SEPARATOR@,:,;t t
469 s,@PACKAGE_NAME@,GRUB,;t t
470 s,@PACKAGE_TARNAME@,grub,;t t
471 s,@PACKAGE_VERSION@,0.95,;t t
472 s,@PACKAGE_STRING@,GRUB 0.95,;t t
473 s,@PACKAGE_BUGREPORT@,bug-grub@gnu.org,;t t
474 s,@exec_prefix@,${prefix},;t t
475 s,@prefix@,/platform/i86pc/boot/grub,;t t
476 s,@program_transform_name@,s,x,x,,;t t
[all …]

12345678910>>...90