/titanic_41/usr/src/lib/libshell/common/tests/ |
H A D | cubetype.sh | 150 Cube_t cc 151 cc[2]=(x=2 y=3 name=two colors+=([table]=white) items+=(pencil) z=6) 152 [[ ${cc[0].x} == 8 ]] || err_exit 'cc[0].x !=8' 153 [[ ${cc[2].y} == 3 ]] || err_exit '${cc[2].y} != 3' 154 (( cc[2].y == 3 )) || err_exit '(( cc[2].y != 3))' 155 [[ ${cc[2].colors[table]} == white ]] || err_exit '${cc[2].colors[table]} != white' 156 [[ ${cc[2].items[2]} == pencil ]] || err_exit '${cc[2].items[2]} != pencil' 157 (( cc[2].len == 7 )) || err_exit '(( cc[2].len != 7 ))' 158 [[ $(cc[2].len) == 7 ]] || err_exit '$(cc[2].len) != 7 ))' 159 [[ ${cc[2].len} == 7 ]] || err_exit '${cc[2].len} != 7 ))' [all …]
|
/titanic_41/usr/src/cmd/audio/utilities/ |
H A D | Makefile | 55 LIBCCSRCS = Audio.cc \ 56 AudioBuffer.cc \ 57 AudioCopy.cc \ 58 AudioDebug.cc \ 59 AudioError.cc \ 60 AudioExtent.cc \ 61 AudioFile.cc \ 62 AudioGain.cc \ 63 AudioHdr.cc \ 64 AudioHdrParse.cc \ [all …]
|
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | m_cc.c | 149 __m_chtype_cc(ch, cc) in __m_chtype_cc() argument 151 cchar_t *cc; 155 cc->_f = 1; 156 cc->_n = 1; 159 if (mbtowc(cc->_wc, &mb, 1) < 0) 162 cc->_co = (short) PAIR_NUMBER(ch); 163 cc->_at = (attr_t) ((ch & (A_ATTRIBUTES & ~A_COLOR)) >> 16); 172 __m_cc_chtype(cc) in __m_cc_chtype() argument 173 const cchar_t *cc; in __m_cc_chtype() 179 if (cc->_n != 1 || wctomb((char *) mb, cc->_wc[0]) != 1) [all …]
|
H A D | add_wch.c | 47 (add_wch)(cc) 48 const cchar_t *cc; 53 __m_trace("add_wch(%p)", cc); 56 code = wadd_wch(stdscr, cc); 62 (mvadd_wch)(y, x, cc) 64 const cchar_t *cc; variable 69 __m_trace("mvadd_wch(%d, %d, %p)", y, x, cc); 73 code = wadd_wch(stdscr, cc); 79 (mvwadd_wch)(w, y, x, cc) 82 const cchar_t *cc; variable [all …]
|
H A D | in_wch.c | 47 (in_wch)(cc) 48 cchar_t *cc; 53 __m_trace("in_wch(%p)", cc); 56 code = win_wch(stdscr, cc); 62 (mvin_wch)(y, x, cc) 64 cchar_t *cc; variable 69 __m_trace("mvin_wch(%d, %d, %p)", y, x, cc); 73 code = win_wch(stdscr, cc); 79 (mvwin_wch)(w, y, x, cc) 82 cchar_t *cc; variable [all …]
|
H A D | ins_wch.c | 47 (ins_wch)(cc) 48 const cchar_t *cc; 53 __m_trace("ins_wch(%p)", cc); 56 code = wins_wch(stdscr, cc); 62 (mvins_wch)(y, x, cc) 64 const cchar_t *cc; variable 69 __m_trace("mvins_wch(%d, %d, %p)", y, x, cc); 73 code = wins_wch(stdscr, cc); 79 (mvwins_wch)(w, y, x, cc) 82 const cchar_t *cc; variable [all …]
|
H A D | wins_wch.c | 52 __m_cc_ins(w, y, x, cc) in __m_cc_ins() argument 55 const cchar_t *cc; 61 if ((width = __m_cc_width(cc)) <= 0 || w->_maxx < x + width) 73 if (__m_cc_replace(w, y, x, cc, 0) != width) 97 __m_wins_wch(w, y, x, cc, yp, xp) in __m_wins_wch() argument 100 const cchar_t *cc; 108 __m_trace("__m_wins_wch(%p, %d, %d, %p, %p, %p)", w, y, x, cc, yp, xp); 113 switch (cc->_wc[0]) { 135 if (iswprint(cc->_wc[0])) { 136 if ((width = __m_cc_ins(w, y, x, cc)) <= 0) [all …]
|
H A D | wattron.c | 47 cchar_t cc; in wattron() local 53 (void) __m_chtype_cc((chtype) at, &cc); in wattron() 54 w->_fg._at |= cc._at; in wattron() 62 cchar_t cc; in wattroff() local 68 (void) __m_chtype_cc((chtype) at, &cc); in wattroff() 69 w->_fg._at &= ~cc._at; in wattroff() 77 cchar_t cc; in wattrset() local 83 (void) __m_chtype_cc((chtype) at, &cc); in wattrset() 84 w->_fg._co = cc._co; in wattrset() 85 w->_fg._at = cc._at; in wattrset()
|
H A D | attron.c | 47 cchar_t cc; in attron() local 53 (void) __m_chtype_cc((chtype) at, &cc); in attron() 54 stdscr->_fg._at |= cc._at; in attron() 62 cchar_t cc; in attroff() local 68 (void) __m_chtype_cc((chtype) at, &cc); in attroff() 69 stdscr->_fg._at &= ~cc._at; in attroff() 77 cchar_t cc; in attrset() local 83 (void) __m_chtype_cc((chtype) at, &cc); in attrset() 84 stdscr->_fg._co = cc._co; in attrset() 85 stdscr->_fg._at = cc._at; in attrset()
|
H A D | vidattr.c | 50 cchar_t cc; in vidattr() local 56 (void) __m_chtype_cc(ch, &cc); in vidattr() 57 code = vid_puts(cc._at, cc._co, (void *) 0, __m_putchar); in vidattr() 66 cchar_t cc; in vidputs() local 72 (void) __m_chtype_cc(ch, &cc); in vidputs() 73 code = vid_puts(cc._at, cc._co, (void *) 0, putout); in vidputs()
|
H A D | wadd_wch.c | 56 wadd_wch(w, cc) in wadd_wch() argument 58 const cchar_t *cc; 65 __m_trace("wadd_wch(%p, %p) at (%d, %d)", w, cc, w->_cury, w->_curx); 75 switch (cc->_wc[0]) { 77 if (iswprint(cc->_wc[0])) { 82 if (__m_cc_add(w, y, x, cc, 0, &y, &x) == ERR) 89 uc._at = cc->_at; 90 uc._co = cc->_co; 92 if ((p = wunctrl(cc)) == (wchar_t *) 0)
|
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | m_cc.c | 158 __m_chtype_cc(chtype ch, cchar_t *cc) in __m_chtype_cc() argument 162 cc->_f = 1; in __m_chtype_cc() 163 cc->_n = 1; in __m_chtype_cc() 166 cc->_co = (short)PAIR_NUMBER((int)ch); in __m_chtype_cc() 167 cc->_at = (attr_t)((ch & (A_ATTRIBUTES & ~A_COLOR)) >> 16); in __m_chtype_cc() 170 cc->_wc[0] = cc->_wc[1] = 0; in __m_chtype_cc() 171 else if (mbtowc(cc->_wc, &mb, 1) < 0) { in __m_chtype_cc() 181 __m_cc_chtype(const cchar_t *cc) in __m_cc_chtype() argument 187 if (cc->_n != 1 || wctomb((char *)mb, cc->_wc[0]) != 1) in __m_cc_chtype() 190 ch = ((chtype) cc->_at << 16) & ~A_COLOR; in __m_cc_chtype() [all …]
|
H A D | wattron.c | 52 cchar_t cc; in wattron() local 54 (void) __m_chtype_cc((chtype) at, &cc); in wattron() 55 w->_fg._at |= cc._at; in wattron() 56 w->_fg._co = cc._co; in wattron() 64 cchar_t cc; in wattroff() local 66 (void) __m_chtype_cc((chtype) at, &cc); in wattroff() 67 w->_fg._at &= ~cc._at; in wattroff() 68 if (cc._co) in wattroff() 77 cchar_t cc; in wattrset() local 79 (void) __m_chtype_cc((chtype) at, &cc); in wattrset() [all …]
|
H A D | wadd_wch.c | 53 __m_wadd_wch(WINDOW *w, const cchar_t *cc) in __m_wadd_wch() argument 57 int code = wadd_wch(w, cc); in __m_wadd_wch() 74 wadd_wch(WINDOW *w, const cchar_t *cc) in wadd_wch() argument 90 if (iswprint(cc->_wc[0]) || cc->_wc[0] == L'\n' || in wadd_wch() 91 cc->_wc[0] == L'\b' || cc->_wc[0] == L'\r') { in wadd_wch() 92 if (__m_cc_add(w, y, x, cc, 0, &y, &x) == ERR) in wadd_wch() 94 } else if (cc->_wc[0] == L'\t') { in wadd_wch() 99 if (__m_cc_add(w, y, x, cc, 0, &y, &x) == ERR) { in wadd_wch() 109 uc._at = cc->_at; in wadd_wch() 110 uc._co = cc->_co; in wadd_wch() [all …]
|
H A D | vidattr.c | 53 cchar_t cc; in vidattr() local 55 (void) __m_chtype_cc(ch, &cc); in vidattr() 56 code = vid_puts(cc._at, cc._co, NULL, __m_putchar); in vidattr() 65 cchar_t cc; in vidputs() local 67 (void) __m_chtype_cc(ch, &cc); in vidputs() 68 code = vid_puts(cc._at, cc._co, NULL, putout); in vidputs()
|
H A D | setcchar.c | 53 setcchar(cchar_t *cc, const wchar_t *wcs, attr_t at, in setcchar() argument 59 i = __m_wc_cc((wint_t)0, cc); in setcchar() 60 cc->_at = at; in setcchar() 61 cc->_co = co; in setcchar() 65 i = __m_wc_cc((wint_t)wcs[0], cc); in setcchar() 66 cc->_at = at; in setcchar() 67 cc->_co = co; in setcchar() 71 i = __m_wcs_cc(wcs, at, co, cc); in setcchar()
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | _Qfcompare.c | 38 enum fcc_type cc; local 45 cc = fcc_unordered; 47 cc = fcc_equal; 50 cc = fcc_greater; 52 cc = fcc_less; 55 cc = fcc_greater; 57 cc = fcc_less; 60 cc = fcc_equal; /* same infinity */ 62 cc = fcc_greater; 64 cc = fcc_less; [all …]
|
/titanic_41/usr/src/uts/sparc/fpu/ |
H A D | compare.c | 40 enum fcc_type cc; local 47 cc = fcc_unordered; 49 cc = fcc_equal; 52 cc = fcc_greater; 54 cc = fcc_less; 57 cc = fcc_greater; 59 cc = fcc_less; 62 cc = fcc_equal; /* same infinity */ 64 cc = fcc_greater; 66 cc = fcc_less; [all …]
|
/titanic_41/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_cpuerr.c | 55 cmd_case_t *cc, cmd_ptrsubtype_t pstype, const char *serdnm, in cmd_cpuerr_common() argument 61 if (cc->cc_cp != NULL && fmd_case_solved(hdl, cc->cc_cp)) in cmd_cpuerr_common() 64 if (cc->cc_cp == NULL) { in cmd_cpuerr_common() 65 cc->cc_cp = cmd_case_create(hdl, &cpu->cpu_header, pstype, in cmd_cpuerr_common() 68 cc->cc_serdnm = cmd_cpu_serdnm_create(hdl, cpu, in cmd_cpuerr_common() 70 fmd_serd_create(hdl, cc->cc_serdnm, in cmd_cpuerr_common() 77 fmd_hdl_debug(hdl, "adding event to %s\n", cc->cc_serdnm); in cmd_cpuerr_common() 78 if (fmd_serd_record(hdl, cc->cc_serdnm, ep) == FMD_B_FALSE) in cmd_cpuerr_common() 81 fmd_case_add_serd(hdl, cc->cc_cp, cc->cc_serdnm); in cmd_cpuerr_common() 83 if (cc->cc_serdnm != NULL) { in cmd_cpuerr_common() [all …]
|
/titanic_41/usr/src/lib/libfru/ |
H A D | Makefile.targ | 34 pics/%.o objs/%.o: ../libfru/%.cc 35 $(COMPILE.cc) -o $@ $< 38 pics/%.o objs/%.o: ../libfrureg/%.cc 39 $(COMPILE.cc) -o $@ $< 42 pics/%.o objs/%.o: ../libgenutil/%.cc 43 $(COMPILE.cc) -o $@ $< 47 pics/y.tab.cc pics/y.tab.h: ../libfru/nameSyntaxYacc.y 49 $(SED) -f ../libfru/yy-sed y.tab.c > pics/y.tab.cc 53 pics/nameSyntaxYacc.o: pics/y.tab.cc 54 $(COMPILE.cc) -I../libfru -Ipics -o $@ pics/y.tab.cc [all …]
|
/titanic_41/usr/src/uts/common/io/scsi/targets/ |
H A D | ses_safte.c | 71 #define ALARM_OFFSET(cc) (cc)->slotoff - 1 argument 160 struct scfg *cc; in safte_softc_init() local 203 cc = ssc->ses_private; in safte_softc_init() 204 ssc->ses_nobjects = cc->Nfans + cc->Npwr + cc->Nslots + cc->DoorLock + in safte_softc_init() 205 cc->Ntherm + cc->Nspkrs + NPSEUDO_THERM + NPSEUDO_ALARM; in safte_softc_init() 217 for (i = 0; i < cc->Nfans; i++) in safte_softc_init() 219 cc->pwroff = (uchar_t)r; in safte_softc_init() 220 for (i = 0; i < cc->Npwr; i++) in safte_softc_init() 222 for (i = 0; i < cc->DoorLock; i++) in safte_softc_init() 224 for (i = 0; i < cc->Nspkrs; i++) in safte_softc_init() [all …]
|
/titanic_41/usr/src/lib/libast/common/comp/ |
H A D | iconv.c | 239 _win_iconv_open(register Conv_t* cc, const char* t, const char* f) in _win_iconv_open() argument 244 if ((cc->from.index = _win_codeset(f)) < 0) in _win_iconv_open() 246 if ((cc->to.index = _win_codeset(t)) < 0) in _win_iconv_open() 249 error(DEBUG_TRACE, "AHA#%d _win_iconv_open f=0x%04x t=0x%04x\n", __LINE__, cc->from.index, cc->to.i… in _win_iconv_open() 251 return (_ast_iconv_t)cc; in _win_iconv_open() 262 Conv_t* cc = (Conv_t*)cd; in _win_iconv() local 272 error(DEBUG_TRACE, "AHA#%d _win_iconv from=0x%04x to=0x%04x\n", __LINE__, cc->from.index, cc->to.in… in _win_iconv() 274 if (cc->from.index == cc->to.index) in _win_iconv() 292 if (cc->to.index == CP_UCS2) in _win_iconv() 294 …if ((tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, *tn)) && tz <… in _win_iconv() [all …]
|
/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | cipher.c | 195 cipher_init(CipherContext *cc, Cipher *cipher, in cipher_init() argument 213 cc->plaintext = (cipher->number == SSH_CIPHER_NONE); in cipher_init() 221 cc->cipher = cipher; in cipher_init() 225 EVP_CIPHER_CTX_init(&cc->evp); in cipher_init() 232 if (EVP_CipherInit(&cc->evp, type, NULL, (u_char *)iv, in cipher_init() 236 klen = EVP_CIPHER_CTX_key_length(&cc->evp); in cipher_init() 239 if (EVP_CIPHER_CTX_set_key_length(&cc->evp, keylen) == 0) in cipher_init() 243 if (EVP_CipherInit(&cc->evp, NULL, (u_char *)key, NULL, -1) == 0) in cipher_init() 250 if (EVP_Cipher(&cc->evp, discard, junk, in cipher_init() 260 cipher_crypt(CipherContext *cc, u_char *dest, const u_char *src, u_int len) in cipher_crypt() argument [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | net_read.c | 44 int cc, len2 = 0; in krb5_net_read() local 47 cc = SOCKET_READ((SOCKET)fd, buf, len); in krb5_net_read() 48 if (cc < 0) { in krb5_net_read() 55 return(cc); /* errno is already set */ in krb5_net_read() 57 else if (cc == 0) { in krb5_net_read() 60 buf += cc; in krb5_net_read() 61 len2 += cc; in krb5_net_read() 62 len -= cc; in krb5_net_read()
|
/titanic_41/usr/src/uts/sparc/v9/fpu/ |
H A D | v9instr.c | 153 enum cc_type cc) /* FSR condition code field from fcc[0-3] */ in fmovcc_fcc() argument 164 switch (cc) { in fmovcc_fcc() 268 enum cc_type cc) /* CCR condition code field from tstate */ in fmovcc_icc() argument 280 ccr_type cc; in fmovcc_icc() member 285 switch (cc) { in fmovcc_icc() 300 moveit = (int)(ccr.cc.z); in fmovcc_icc() 303 moveit = (int)(ccr.cc.z | (ccr.cc.n ^ ccr.cc.v)); in fmovcc_icc() 306 moveit = (int)(ccr.cc.n ^ ccr.cc.v); in fmovcc_icc() 309 moveit = (int)(ccr.cc.c | ccr.cc.z); in fmovcc_icc() 312 moveit = (int)(ccr.cc.c); in fmovcc_icc() [all …]
|