| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Opcode/t/ |
| H A D | Opcode.t | 23 my $t = 1; 33 print @empty_l == 0 ? "ok $t\n" : "not ok $t\n"; $t++; 36 print @full_l1 == opcodes() ? "ok $t\n" : "not ok $t\n"; $t++; 38 print "@full_l1" eq "@full_l2" ? "ok $t\n" : "not ok $t\n"; $t++; 41 print @empty_l == 0 ? "ok $t\n" : "not ok $t\n"; $t++; 44 print @full_l1 == @full_l3 ? "ok $t\n" : "not ok $t\n"; $t++; 45 print "@full_l1" eq "@full_l3" ? "ok $t\n" : "not ok $t\n"; $t++; 47 die $t unless $t == 7; 51 print $s1 eq $s2 ? "not ok $t\n" : "ok $t\n"; ++$t; 52 print $s1 eq $s3 ? "ok $t\n" : "not ok $t\n"; ++$t; [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
| H A D | MANIFEST | 126 ext/B/t/asmdata.t 127 ext/B/t/assembler.t 128 ext/B/t/b.t 129 ext/B/t/bblock.t 130 ext/B/t/concise.t 131 ext/B/t/debug.t 132 ext/B/t/deparse.t 133 ext/B/t/lint.t 134 ext/B/t/o.t 135 ext/B/t/showlex.t [all …]
|
| /onnv-gate/usr/src/lib/libeti/form/common/ |
| H A D | fieldtype.c | 48 #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 …]
|
| /onnv-gate/usr/src/lib/libast/common/string/ |
| H A D | swapmem.c | 42 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 D | fmtmatch.c | 38 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 D | fmtelapsed.c | 34 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 …]
|
| /onnv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
| H A D | rec_get.c | 71 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 D | rec_put.c | 70 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 …]
|
| /onnv-gate/usr/src/lib/libast/common/path/ |
| H A D | pathcanon.c | 55 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 …]
|
| /onnv-gate/usr/src/cmd/mdb/common/mdb/ |
| H A D | mdb_target.c | 192 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 D | mdb_tdb.c | 77 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 …]
|
| /onnv-gate/usr/src/uts/common/disp/ |
| H A D | thread.c | 332 kthread_t *t; in thread_create() local 377 t = (kthread_t *)(stk + stksize); in thread_create() 378 bzero(t, sizeof (kthread_t)); in thread_create() 380 audit_thread_create(t); in thread_create() 381 t->t_stk = stk + stksize; in thread_create() 382 t->t_stkbase = stk; in thread_create() 385 t = (kthread_t *)(stk); in thread_create() 386 bzero(t, sizeof (kthread_t)); in thread_create() 387 t->t_stk = stk + sizeof (kthread_t); in thread_create() 388 t->t_stkbase = stk + stksize + sizeof (kthread_t); in thread_create() [all …]
|
| /onnv-gate/usr/src/uts/common/os/ |
| H A D | waitq.c | 119 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 D | lwp.c | 96 kthread_t *t; in lwp_create() local 174 if ((t = lwp_deathrow) != NULL) { in lwp_create() 175 ASSERT(t->t_swap); in lwp_create() 176 lwp_deathrow = t->t_forw; in lwp_create() 178 lwpdata = t->t_swap; in lwp_create() 179 lwp = t->t_lwp; in lwp_create() 180 ctx = t->t_ctx; in lwp_create() 181 t->t_swap = NULL; in lwp_create() 182 t->t_lwp = NULL; in lwp_create() 183 t->t_ctx = NULL; in lwp_create() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/pod/ |
| H A D | poderrs.xr | 1 *** WARNING: =head2 without preceding higher level at line 20 in file t/pod/poderrs.t 2 *** WARNING: empty section in previous paragraph at line 22 in file t/pod/poderrs.t 3 *** ERROR: Unknown command 'unknown1' at line 26 in file t/pod/poderrs.t 4 *** ERROR: Unknown interior-sequence 'Q' at line 30 in file t/pod/poderrs.t 5 *** ERROR: Unknown interior-sequence 'A' at line 31 in file t/pod/poderrs.t 6 *** ERROR: Unknown interior-sequence 'Y' at line 32 in file t/pod/poderrs.t 7 *** ERROR: Unknown interior-sequence 'V' at line 32 in file t/pod/poderrs.t 8 *** ERROR: unterminated B<...> at line 36 in file t/pod/poderrs.t 9 *** ERROR: unterminated I<...> at line 35 in file t/pod/poderrs.t 10 *** ERROR: unterminated C<...> at line 38 in file t/pod/poderrs.t [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/t/ |
| H A D | MM_Unix.t | 143 my $t = bless { NAME => "Foo" }, $class; 144 $t->{HAS_LINK_CODE} = 1; 145 is ($t->has_link_code(),1,'has_link_code'); is ($t->{HAS_LINK_CODE},1); 147 $t->{HAS_LINK_CODE} = 0; 148 is ($t->has_link_code(),0); is ($t->{HAS_LINK_CODE},0); 150 delete $t->{HAS_LINK_CODE}; delete $t->{OBJECT}; 151 is ($t->has_link_code(),0); is ($t->{HAS_LINK_CODE},0); 153 delete $t->{HAS_LINK_CODE}; $t->{OBJECT} = 1; 154 is ($t->has_link_code(),1); is ($t->{HAS_LINK_CODE},1); 156 delete $t->{HAS_LINK_CODE}; delete $t->{OBJECT}; $t->{MYEXTLIB} = 1; [all …]
|
| /onnv-gate/usr/src/cmd/abi/spectrans/spec2map/ |
| H A D | util.c | 50 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 …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Term/ |
| H A D | Cap.t | 66 my $t = { 70 bless($t, 'Term::Cap' ); 73 is( $t->Tpad(), undef, 'Tpad() should return undef with no arguments' ); 74 is( $t->Tpad('x'), 'x', 'Tpad() should return strings verbatim with no match' ); 75 is( $t->Tpad( '1*a', 2 ), 'apcpc', 'Tpad() should pad paddable strings' ); 77 $t->{PADDING} = 2; 78 is( $t->Tpad( '1*a', 3, *OUT ), 'apcpc', 'Tpad() should perform pad math' ); 81 is( $t->Tputs('PADDING'), 2, 'Tputs() should return existing value' ); 82 is( $t->Tputs('pc', 2), 'pc', 'Tputs() should delegate to Tpad()' ); 83 $t->Tputs('pc', 1, *OUT); [all …]
|
| /onnv-gate/usr/src/cmd/man/src/util/instant.src/ |
| H A D | translate.c | 109 Trans_t *t, *tn; in DoTranslate() local 122 if ((t = FindTransByName("_Start"))) { in DoTranslate() 123 if (t->starttext) ProcesOutputSpec(t->starttext, 0, fp, 1); in DoTranslate() 124 if (t->replace) ProcesOutputSpec(t->replace, 0, fp, 1); in DoTranslate() 125 if (t->message) ProcesOutputSpec(t->message, 0, stderr, 0); in DoTranslate() 126 if (t->endtext) ProcesOutputSpec(t->endtext, 0, fp, 1); in DoTranslate() 133 if ((t = FindTransByName("_End"))) { in DoTranslate() 134 if (t->starttext) ProcesOutputSpec(t->starttext, 0, fp, 1); in DoTranslate() 135 if (t->replace) ProcesOutputSpec(t->replace, 0, fp, 1); in DoTranslate() 136 if (t->message) ProcesOutputSpec(t->message, 0, stderr, 0); in DoTranslate() [all …]
|
| /onnv-gate/usr/src/cmd/parted/ |
| H A D | table.c | 67 Table *t = xmalloc (sizeof(*t)); in table_new() local 69 t->ncols = ncols; in table_new() 70 t->nrows = 0; in table_new() 71 t->rows = (wchar_t***)NULL; in table_new() 72 t->widths = NULL; in table_new() 74 return t; in table_new() 78 void table_destroy (Table* t) in table_destroy() argument 82 assert (t); in table_destroy() 83 assert (t->ncols > 0); in table_destroy() 85 for (r = 0; r < t->nrows; ++r) in table_destroy() [all …]
|
| /onnv-gate/usr/src/uts/common/sys/sbp2/ |
| H A D | impl.h | 75 #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 …]
|
| /onnv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
| H A D | bt_close.c | 69 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 D | bt_put.c | 75 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 …]
|
| /onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
| H A D | gmt_mktime.c | 39 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 …]
|
| /onnv-gate/usr/src/cmd/csh/ |
| H A D | sh.sem.c | 37 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 …]
|