/titanic_51/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_51/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | cubetype.sh | 149 Cube_t cc 150 cc[2]=(x=2 y=3 name=two colors+=([table]=white) items+=(pencil) z=6) 151 [[ ${cc[0].x} == 8 ]] || err_exit 'cc[0].x !=8' 152 [[ ${cc[2].y} == 3 ]] || err_exit '${cc[2].y} != 3' 153 (( cc[2].y == 3 )) || err_exit '(( cc[2].y != 3))' 154 [[ ${cc[2].colors[table]} == white ]] || err_exit '${cc[ [all...] |
/titanic_51/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_51/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 208 __m_cc_mbs(cc,mbs,n) __m_cc_mbs() argument 287 __m_mbs_cc(const char * mbs,attr_t at,short co,cchar_t * cc) __m_mbs_cc() argument 340 __m_wcs_cc(const wchar_t * wcs,attr_t at,short co,cchar_t * cc) __m_wcs_cc() argument 377 __m_wc_cc(wint_t wc,cchar_t * cc) __m_wc_cc() argument 402 __m_cc_sort(cc) __m_cc_sort() argument 444 __m_cc_width(cc) __m_cc_width() argument 512 __m_cc_replace(w,y,x,cc,as_is) __m_cc_replace() argument 605 __m_cc_add(w,y,x,cc,as_is,yp,xp) __m_cc_add() argument 754 cchar_t cc; global() local 807 __m_cc_write(cc) __m_cc_write() argument [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)) < 176 wins_wch(w,cc) wins_wch() argument [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 in wattrset() [all...] |
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 in attrset() [all...] |
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()
|
/titanic_51/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 in __m_cc_chtype() 216 __m_cc_mbs(const cchar_t * cc,char * mbs,int n) __m_cc_mbs() argument 291 __m_mbs_cc(const char * mbs,attr_t at,short co,cchar_t * cc) __m_mbs_cc() argument 345 __m_wcs_cc(const wchar_t * wcs,attr_t at,short co,cchar_t * cc) __m_wcs_cc() argument 383 __m_wc_cc(wint_t wc,cchar_t * cc) __m_wc_cc() argument 423 __m_cc_sort(cchar_t * cc) __m_cc_sort() argument 518 __m_cc_replace(WINDOW * w,int y,int x,const cchar_t * cc,int as_is) __m_cc_replace() argument 633 __m_cc_add(WINDOW * w,int y,int x,const cchar_t * cc,int as_is,int * yp,int * xp) __m_cc_add() argument 705 __m_cc_add_k(WINDOW * w,int y,int x,const cchar_t * cc,int as_is,int * yp,int * xp) __m_cc_add_k() argument 735 __m_cc_modify(WINDOW * w,int y,int x,const cchar_t * cc) __m_cc_modify() argument 924 cchar_t cc; __m_cc_expand() local 993 __m_cc_write(const cchar_t * cc) __m_cc_write() argument [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, 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_51/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; 53 else { /* signs the same, compute magnitude cc */ 55 cc = fcc_greater; 57 cc = fcc_less; 60 cc = fcc_equal; /* same infinity */ 62 cc [all...] |
/titanic_51/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; 55 else { /* signs the same, compute magnitude cc */ 57 cc = fcc_greater; 59 cc = fcc_less; 62 cc = fcc_equal; /* same infinity */ 64 cc [all...] |
/titanic_51/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | Makefile | 47 cc ld ldd :PACKAGE_INIT: mamake.c proto.c ratz.c release.c target 51 cc.specialize cc.pentium4 \ 53 cc.darwin.i386 cc.darwin.i386-64 cc.darwin ldd.darwin \ 54 cc.hp.ia64 cc.hp.pa cc.hp.pa64 ld.hp.pa ldd.hp.pa \ 55 cc [all...] |
/titanic_51/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 in cmd_cpuerr_common() 276 cmd_case_t *cc; cmd_xxu_hdlr() local 346 cmd_case_t *cc; cmd_xxc_hdlr() local 478 cmd_case_t *cc; cmd_xxcu_initial() local [all...] |
/titanic_51/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) [all...] |
/titanic_51/usr/src/contrib/ast/src/lib/libast/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.index); 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.index); in _win_iconv() 274 if (cc in _win_iconv() 1049 register Conv_t* cc; _ast_iconv_open() local 1182 Conv_t* cc; _ast_iconv_close() local 1237 Conv_t* cc = (Conv_t*)cd; _ast_iconv() local [all...] |
/titanic_51/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 in safte_softc_init() 296 struct scfg *cc = ssc->ses_private; safte_rdstat() local 746 struct scfg *cc = ssc->ses_private; safte_set_encstat() local 793 struct scfg *cc; safte_set_objstat() local 950 struct scfg *cc = ssc->ses_private; set_objstat_sel() local 1044 struct scfg *cc = ssc->ses_private; wrbuf16() local 1088 struct scfg *cc = ssc->ses_private; wrslot_stat() local 1138 struct scfg *cc = ssc->ses_private; perf_slotop() local [all...] |
/titanic_51/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_51/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()
|