Home
last modified time | relevance | path

Searched refs:cntl (Results 1 – 20 of 20) sorted by relevance

/titanic_50/usr/src/lib/libast/common/disc/
H A Dsfdcdio.c36 int cntl; /* file control flags */ member
66 if(!(di->cntl & FDIRECT) )
67 { di->cntl |= FDIRECT;
68 (void)fcntl(f->file, F_SETFL, di->cntl);
90 if(done < n && (di->cntl & FDIRECT) )
92 di->cntl &= ~FDIRECT;
93 (void)fcntl(f->file, F_SETFL, di->cntl);
145 if(di->cntl&FDIRECT)
146 { di->cntl &= ~FDIRECT;
147 (void)fcntl(f->file,F_SETFL,di->cntl);
[all …]
/titanic_50/usr/src/cmd/bnu/
H A Dpk1.c245 if (((h->sum + h->cntl) & 0xffff) == CHECK) {
246 pkcntl(h->cntl, pk);
250 DEBUG(7, "bad header (k == 9) 0%o\n", h->cntl&0xff);
258 pk->p_rpr = h->cntl & MOD8;
267 pkdata(h->cntl, h->sum, pk, bp);
360 pkxstart(pk, cntl, x) in pkxstart() argument
363 char cntl;
373 checkword = cntl;
376 checkword = pk->p_osum[x] ^ (unsigned)(cntl & 0377);
383 *p = cntl;
[all …]
H A Dpk0.c57 int cntl, val; local
60 cntl = (c>>3) & MOD8;
69 switch(cntl) {
131 char m, cntl, *p, imask, **bp; in pkaccept() local
164 if (((cntl=pk->p_is[x])&0200)==0) { in pkaccept()
175 sum = (unsigned)chksum(pk->p_ib[x], pk->p_rsize) ^ (unsigned)(cntl&0377); in pkaccept()
178 seq = (cntl>>3) & MOD8; in pkaccept()
195 if (cntl&B_SHORT) { in pkaccept()
H A Dpk.h48 char cntl; member
/titanic_50/usr/src/lib/libshell/common/edit/
H A Demacs.c262 ed_ungetchar(ep->ed,cntl('N')); in ed_emacsread()
273 ed_ungetchar(ep->ed,cntl('Y')); in ed_emacsread()
324 case cntl('V'): in ed_emacsread()
330 case cntl('X'): in ed_emacsread()
338 case cntl('S') : in ed_emacsread()
339 case cntl('Q') : in ed_emacsread()
372 case cntl('Y') : in ed_emacsread()
426 case cntl('W') : in ed_emacsread()
437 ed_ungetchar(ep->ed,cntl('D')); in ed_emacsread()
443 case cntl('D') : in ed_emacsread()
[all …]
H A Dedit.c67 # define printchar(c) ((c) ^ ('A'-cntl('A')))
74 case cntl('A'): return('A'); in printchar()
75 case cntl('B'): return('B'); in printchar()
76 case cntl('C'): return('C'); in printchar()
77 case cntl('D'): return('D'); in printchar()
78 case cntl('E'): return('E'); in printchar()
79 case cntl('F'): return('F'); in printchar()
80 case cntl('G'): return('G'); in printchar()
81 case cntl('H'): return('H'); in printchar()
82 case cntl('I'): return('I'); in printchar()
[all …]
H A Dvi.c804 case cntl('L'): /** Redraw line **/ in cntlmode()
817 case cntl('V'): in cntlmode()
2350 ed_ungetchar(vp->ed,cntl('L')); in textmod()
/titanic_50/usr/src/lib/libcurses/screen/
H A Dtgetwch.c46 tgetwch(int cntl) in tgetwch() argument
54 if ((c = (int)tgetch(cntl)) == ERR) in tgetwch()
63 if ((c = (int)tgetch(cntl)) == ERR) in tgetwch()
H A Dllib-lcurses1023 wchar_t tgetwch(int cntl);
/titanic_50/usr/src/uts/sun4u/opl/io/
H A Dmc-opl.c1334 uint32_t cntl; in do_rewrite() local
1354 cntl = LD_MAC_REG(MAC_PTRL_CNTL(mcp, bank)); in do_rewrite()
1355 if (!(cntl & MAC_CNTL_PTRL_STATUS)) { in do_rewrite()
1377 cntl = LD_MAC_REG(MAC_PTRL_CNTL(mcp, bank)); in do_rewrite()
1382 } while (!(cntl & MAC_CNTL_REW_END)); in do_rewrite()
1385 return (cntl); in do_rewrite()
1578 uint32_t cntl; in mc_scrub_ce() local
1589 cntl = do_rewrite(mcp, bank, flt_stat->mf_err_add, 0); in mc_scrub_ce()
1591 if (cntl == 0) { in mc_scrub_ce()
1599 if (cntl & MAC_CNTL_REW_UE) { in mc_scrub_ce()
[all …]
/titanic_50/usr/src/uts/common/io/
H A Drlmod.c598 char cntl; in rlmodwput() local
611 cntl = rmip->oobdata[0] | TIOCPKT_FLUSHWRITE; in rlmodwput()
620 if ((tmpmp = make_expmblk(cntl))) { in rlmodwput()
673 cntl = rmip->oobdata[0] | TIOCPKT_FLUSHWRITE; in rlmodwput()
680 if ((mp = make_expmblk(cntl)) == NULL) { in rlmodwput()
746 char cntl; in rlmodwsrv() local
756 cntl = rmip->oobdata[0] | TIOCPKT_FLUSHWRITE; in rlmodwsrv()
763 if ((tmpmp = make_expmblk(cntl))) { in rlmodwsrv()
805 make_expmblk(char cntl) in make_expmblk() argument
830 (*(char *)(mp->b_rptr)) = cntl; in make_expmblk()
[all …]
/titanic_50/usr/src/lib/iconv_modules/zh/common/
H A Dzh_TW-iso2022-7%zh_TW-euc.c96 GxCntl *cntl; member
503 if ((ret->cntl = yGxCntl(ret->conv)) == NULL) { in aTWNiconv()
509 free(ret->cntl); in aTWNiconv()
528 if ((ret = yescSeq(this->cntl, this->iobuf)) == -1) in aisotoeuc()
548 ydeGxCntl(this->cntl); in adeTWNiconv()
556 ydeGxCntl(this->cntl); in areset()
559 this->cntl = yGxCntl(this->conv); in areset()
/titanic_50/usr/src/uts/common/io/nxge/npi/
H A Dnpi_txc.c430 txc_control_t cntl; in npi_txc_global_enable() local
433 cntl.value = 0; in npi_txc_global_enable()
434 cntl.bits.ldw.txc_enabled = 1; in npi_txc_global_enable()
437 NXGE_REG_WR64(handle, TXC_CONTROL_REG, val | cntl.value); in npi_txc_global_enable()
456 txc_control_t cntl; in npi_txc_global_disable() local
460 cntl.value = 0; in npi_txc_global_disable()
461 cntl.bits.ldw.txc_enabled = 0; in npi_txc_global_disable()
464 NXGE_REG_WR64(handle, TXC_CONTROL_REG, val | cntl.value); in npi_txc_global_disable()
/titanic_50/usr/src/lib/libshell/common/include/
H A Dedit.h161 #define ESC cntl('[')
170 # define cntl(x) (x&037) macro
172 # define cntl(c) (c=='D'?55:(c=='E'?45:(c=='F'?46:(c=='G'?'\a':(c=='H'?'\b': \ macro
/titanic_50/usr/src/lib/libcmd/common/
H A Dcmp.c74 #define cntl(x) (x&037) macro
75 #define printchar(c) ((c) ^ ('A'-cntl('A')))
H A Dstty.c354 #define cntl(x) (((x)=='?')?0177:((x)&037)) macro
356 #define cntl(x) (((x)=='?')?ccmapc(0177,CC_ASCII,CC_NATIVE):ccmapc(ccmapc(x,CC_NATIVE,CC_ASCII)&03… macro
398 sp->c_cc[tp->mask] = cntl(tp->val); in sane()
623 return(cntl(cp[1])); in gettchar()
H A DRELEASE207 01-07-16 stty: fix cntl() macro for CC_NATIVE!=CC_ASCII
/titanic_50/usr/src/cmd/sgs/libelf/common/
H A Dlibelf.msg112 @ EREQ_CNTLCMD "Request error: cntl() ELF_C_..."
113 @ EREQ_CNTLWRT "Request error: cntl() ELF_C_FD... on output file"
/titanic_50/usr/src/cmd/sgs/libelf/
H A DMakefile.com30 COMOBJS= ar.o begin.o cntl.o cook.o \
/titanic_50/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_common.c182 uchar_t cntl; member
1290 outb(MISMIC_CNTL_REGISTER, aspen_bmc[i].cntl); in apic_shutdown()