Searched refs:tc (Results 1 - 25 of 75) sorted by relevance

123

/opensolaris-onvv-gate/usr/src/lib/libgen/common/
H A Dstrrspn.c38 * to be trimmed (tc).
42 strrspn(const char *string, const char *tc) argument
48 if (!strchr(tc, *--p))
/opensolaris-onvv-gate/usr/src/uts/common/io/
H A Dtty_common.c65 ttycommon_close(tty_common_t *tc) argument
67 mutex_enter(&tc->t_excl);
68 tc->t_flags &= ~TS_XCLUDE;
69 tc->t_readq = NULL;
70 tc->t_writeq = NULL;
71 if (tc->t_iocpending != NULL) {
74 mp = tc->t_iocpending;
75 tc->t_iocpending = NULL;
76 mutex_exit(&tc->t_excl);
85 mutex_exit(&tc
94 ttycommon_qfull(tty_common_t *tc, queue_t *q) argument
123 ttycommon_ioctl(tty_common_t *tc, queue_t *q, mblk_t *mp, int *errorp) argument
[all...]
H A Dtty_pts.c618 tty_common_t *tc = &pty->pt_ttycommon; local
629 tc->t_size.ws_row = tp->ts_lines;
630 tc->t_size.ws_col = tp->ts_cols;
631 tc->t_size.ws_xpixel = 0;
632 tc->t_size.ws_ypixel = 0;
643 tty_common_t *tc = &pty->pt_ttycommon; local
668 tp->ts_lines = tc->t_size.ws_row;
669 tp->ts_cols = tc->t_size.ws_col;
685 tty_common_t *tc = &pty->pt_ttycommon; local
698 mutex_enter(&tc
714 tty_common_t *tc = &pty->pt_ttycommon; local
741 tty_common_t *tc = &pty->pt_ttycommon; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_cr_6835835_builtin_cat_n_broken.sh116 nameref tc=testcases[${testid}]
118 out="$( ${SHELL} -o errexit -c "${tc.cmd}" )" || err_exit "${tc.name}: Shell failed"
119 [[ "${expected_output}" == "${out}" ]] || err_exit "${tc.name}: Builtin output does not match expected output"
121 out="$( ${SHELL} +o errexit -c "${tc.cmd}" )" || err_exit "${tc.name}: Shell failed"
122 [[ "${expected_output}" == "${out}" ]] || err_exit "${tc.name}: Builtin output does not match expected output"
H A Dgrep.sh62 integer n=0 c=0 tc=0 nargs=$# # initialize counters
84 let tc=tc+c n=0 c=0
86 test "$cflag" && print $tc # print count if cflag is set
87 let tc # set the return value
H A Dsun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh116 nameref tc=testcases[${testid}]
117 testname="${join_cmd}/${tc.name}"
119 if [[ "${tc.locale}" == "<unicode>" ]] ; then
124 export LC_ALL="${tc.locale}"
130 for arg_index in "${!tc.join_args_format[@]}" ; do
131 join_args+=( "$( printf -- "${tc.join_args_format[arg_index]}" )" )
134 typeset output_format="$( printf -- "${tc.output_format}" )"
138 printf "${tc.input1_format}" >"input1"
139 printf "${tc.input2_format}" >"input2"
H A Dsun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh125 nameref tc=testcases[${testid}]
126 testname="${cut_cmd}/${tc.name}"
128 if [[ "${tc.locale}" == "<unicode>" ]] ; then
133 export LC_ALL="${tc.locale}"
139 for arg_index in "${!tc.cut_args_format[@]}" ; do
140 cut_args+=( "$( printf -- "${tc.cut_args_format[arg_index]}" )" )
143 typeset output_format="$( printf -- "${tc.output_format}" )"
147 out="$(printf "${tc.input_format}" | ${SHELL} -c "${cut_cmd} \"\$@\"" dummy "${cut_args[@]}" 2>&1)" || err_exit "${testname}: Command returned exit code $?"
H A Dsun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh141 nameref tc=testcases[${testid}]
142 testname="${wc_cmd}/${tc.name}"
144 if [[ "${tc.locale}" == "<unicode>" ]] ; then
149 export LC_ALL="${tc.locale}"
152 out="$(printf "${tc.input_format}" | ${SHELL} -c "${wc_cmd} \"\$@\"" dummy "${tc.wc_args[@]}" 2>&1)" || err_exit "${testname}: Command returned exit code $?"
153 [[ "${out}" == ${tc.output_pattern} ]] || err_exit "${testname}: Expected match for $(printf "%q\n" "${tc.output_pattern}"), got $(printf "%q\n" "${out}")"
/opensolaris-onvv-gate/usr/src/cmd/csh/
H A Dsh.print.c114 * Putchar(tc) does what putbyte(c) do for a byte c.
116 * a control character) as it is, while Putchar(tc) may expand the
117 * character tc to some byte sequnce that represents the character
121 Putchar(tchar tc) argument
125 if (isascii(tc&TRIM)) {
126 putbyte((int)tc);
129 tc &= TRIM;
130 n = wctomb(linp, tc);
168 * Putchar(tc) does what putbyte(c) do for a byte c.
173 Putchar(tchar tc) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dcopywin.c95 int tc; local
104 for (tc = tminc; tc <= tmaxc; ++tc, ++tt, ++st) {
110 __m_touch_locs(t, tminr, tc, tc + 1);
/opensolaris-onvv-gate/usr/src/cmd/mdb/sun4u/modules/unix/
H A Dunix.c676 ttrace_cpu_data_t *tc; local
706 tc = &(tw->tw_cpus[i]);
707 tc->tc_bufsiz = ctl->d.limit -
709 tc->tc_buf = buf = mdb_alloc(tc->tc_bufsiz, UM_SLEEP);
710 tc->tc_base = (uintptr_t)ctl->d.vaddr_base;
712 if (mdb_vread(buf, tc->tc_bufsiz, tc->tc_base) == -1) {
715 mdb_free(buf, tc->tc_bufsiz);
716 tc
739 ttrace_cpu_data_t *tc; local
964 httrace_cpu_data_t *tc; local
1028 httrace_cpu_data_t *tc; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libntfs/common/libntfs/
H A Dlcnalloc.c337 LCN tc; local
343 tc = lcn + bmp_pos + 1;
345 "position, tc = 0x%llx, search_zone = %i.\n",
346 (long long)tc, search_zone);
351 if (tc >= vol->mft_zone_end) {
358 tc > vol->mft_zone_pos)
359 && tc >= vol->mft_lcn)
360 vol->mft_zone_pos = tc;
367 if (tc >= vol->nr_clusters)
372 tc > vo
476 LCN tc; local
512 LCN tc; local
546 LCN tc; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/zfs/
H A Dtxg.c221 tx_cpu_t *tc = &tx->tx_cpu[CPU_SEQID]; local
224 mutex_enter(&tc->tc_lock);
227 tc->tc_count[txg & TXG_MASK]++;
229 th->th_cpu = tc;
238 tx_cpu_t *tc = th->th_cpu; local
240 mutex_exit(&tc->tc_lock);
246 tx_cpu_t *tc = th->th_cpu; local
249 mutex_enter(&tc->tc_lock);
250 list_move_tail(&tc->tc_callbacks[g], tx_callbacks);
251 mutex_exit(&tc
257 tx_cpu_t *tc = th->th_cpu; local
296 tx_cpu_t *tc = &tx->tx_cpu[c]; local
325 tx_cpu_t *tc = &tx->tx_cpu[c]; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dcopywin.c100 int i, tc; local
122 for (tc = tminc; tc <= tmaxc; ++tc, ++tt, ++st) {
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dturnstile.c285 turnstile_chain_t *tc = &TURNSTILE_CHAIN(sobj); local
287 disp_lock_enter(&tc->tc_lock);
289 for (ts = tc->tc_first; ts != NULL; ts = ts->ts_next)
413 turnstile_chain_t *tc = &TURNSTILE_CHAIN(sobj); local
417 ASSERT(DISP_LOCK_HELD(&tc->tc_lock));
430 ts->ts_next = tc->tc_first;
431 tc->tc_first = ts;
459 THREAD_SLEEP(t, &tc->tc_lock);
661 turnstile_chain_t *tc = &TURNSTILE_CHAIN(ts->ts_sobj); local
664 ASSERT(DISP_LOCK_HELD(&tc
720 turnstile_chain_t *tc = &TURNSTILE_CHAIN(ts->ts_sobj); local
[all...]
/opensolaris-onvv-gate/usr/src/lib/efcode/efdaemon/
H A Defdaemon.c58 char tc; local
137 nbytes = read(fd, &tc, sizeof (tc));
/opensolaris-onvv-gate/usr/src/uts/sun/io/ttymux/
H A Dttymux_impl.h141 #define SM_SETCFLAG(qi, tc) \
143 (qi->sm_ttycommon->t_cflag & 0xffff0000 | (tc)->c_cflag)
144 #define SM_SETLFLAG(qi, tc) \
146 (qi->sm_ttycommon->t_iflag & 0xffff0000 | (tc)->c_iflag)
/opensolaris-onvv-gate/usr/src/cmd/acct/
H A Dacctmerg.c170 struct tacct tc; local
173 memcpy(&tc, tp, sizeof(struct tacct));
178 tp->ta_uid == tc.ta_uid &&
179 (uidsum || EQN(tp->ta_name, tc.ta_name))) {
180 tacctadd(&tc, tp);
186 output(&tc);
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/t/x2p/
H A Ds2p.t811 for my $tc ( sort keys %testcase ){
817 my $script = $testcase{$tc}{script};
820 if( exists( $testcase{$tc}{datfil} ) ){
821 my( $datnam, $datdat ) = @{$testcase{$tc}{datfil}};
834 if( $indat ne $testcase{$tc}{input} ){
835 $indat = $testcase{$tc}{input};
843 $testcase{$tc}{expect} =~ s/\n\n/\n/ if $^O eq 'VMS';
848 is( $psedres, $testcase{$tc}{expect}, "psed $tc" );
860 is( $s2pres, $testcase{$tc}{expec
[all...]
/opensolaris-onvv-gate/usr/src/lib/librstp/common/
H A Dtopoch.c121 port->tc =
128 port->rcvdTcAck = port->tc = port->tcProp = False;
140 port->tc = False;
197 port->tc || port->tcProp)
203 if (port->tc)
/opensolaris-onvv-gate/usr/src/uts/intel/io/drm/
H A Di915_gem_debug.c603 unsigned int tc; local
651 for (tc = 0; tc <= 7; tc++) {
652 switch ((saved_s2 >> (tc * 4)) & 0xf) {
654 VERTEX_OUT("T%d.X = %f", tc, int_as_float(data[i]));
655 VERTEX_OUT("T%d.Y = %f", tc, int_as_float(data[i]));
658 VERTEX_OUT("T%d.X = %f", tc, int_as_float(data[i]));
659 VERTEX_OUT("T%d.Y = %f", tc, int_as_float(data[i]));
660 VERTEX_OUT("T%d.Z = %f", tc, int_as_floa
[all...]
/opensolaris-onvv-gate/usr/src/lib/libresolv/arpa/
H A Dnameser.h156 u_char tc:1; /* truncated message */ member in struct:__anon4208
168 u_char tc:1; /* truncated message */ member in struct:__anon4208
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dsys_bsd.c280 struct tchars tc; local
333 tc = ntc;
364 tc.t_startc = _POSIX_VDISABLE;
365 tc.t_stopc = _POSIX_VDISABLE;
383 tc.t_intrc = _POSIX_VDISABLE;
384 tc.t_quitc = _POSIX_VDISABLE;
385 tc.t_eofc = _POSIX_VDISABLE;
514 if (tc.t_brkc == (cc_t)(_POSIX_VDISABLE))
515 tc.t_brkc = esc;
524 tc
[all...]
/opensolaris-onvv-gate/usr/src/cmd/terminfo/
H A Dtermcap100 :do=^J:co#124:is=\r \E9:tc=1620:
103 :us=\EE:ue=\ER:so=\EW:se=\E&:tc=1620:
107 :co#124:us=\EE:ue=\ER:so=\EW:se=\E&:tc=1620:
236 :nd=\E[C:sr=\EM:so=\E[7m:se=\E[m:up=\E[A:us=\E[4m:ue=\E[m:tc=vt100:
243 :cm=5\E[%i%d;%dH:cl=50\E[H\E[2J:up=5\E[A:tc=dmdt80:
261 :l2=red:k3=\ER:l3=green:tc=vt52:
263 :do=^J:so=\ES:se=\ET:tc=h1552:
288 :am:tc=esprit:
320 :li#25:tc=dm1520:
335 :ku=\E[A:kd=\E[B:kl=\E[D:tc
[all...]
/opensolaris-onvv-gate/usr/src/cmd/tbl/
H A DMakefile35 t8.c t9.c tb.c tc.c te.c tf.c tg.c ti.c \

Completed in 208 milliseconds

123