Home
last modified time | relevance | path

Searched refs:nch (Results 1 – 14 of 14) sorted by relevance

/original-bsd/sys/vax/datakit/
H A Ddktty.c306 register int nch; local
352 nch = ndqb(&tp->t_outq, 0);
354 nch = ndqb(&tp->t_outq, 0200);
358 if (nch == 0) {
359 nch = getc(&tp->t_outq);
360 c = MIN((nch & 0xff) + 6, 0x7f);
377 if (nch) {
378 bcopy((caddr_t)tp->t_outq.c_cf, mtod(m, caddr_t), (unsigned) nch);
379 m->m_len = nch;
380 if (dk_xmit(d, m, 1, 0, dktxdun, (caddr_t) nch))
/original-bsd/sys/vax/uba/
H A Ddmx.c455 register int unit, nch; local
508 nch = ndqb(&tp->t_outq, 0);
510 if ((nch = ndqb(&tp->t_outq, 0200)) == 0) {
514 nch = getc(&tp->t_outq);
523 if (nch >= dmx_mindma) {
526 sc->dmx_dmacount[unit] = nch;
532 addr->tcc = ((car >> 2) & 0xc000) | nch;
534 } else if (nch) {
541 nch = MIN(nch, DMF_SILOCNT);
545 for (i = 0; i < nch; i++)
[all …]
H A Ddhu.c604 register int car, dhu, unit, nch; local
644 nch = ndqb(&tp->t_outq, 0);
646 nch = ndqb(&tp->t_outq, 0200);
650 if (nch == 0) {
651 nch = getc(&tp->t_outq);
652 timeout(ttrstrt, (caddr_t)tp, (nch&0x7f)+6);
660 if (nch) {
664 addr->dhubcr = nch;
H A Ddh.c505 register int car, dh, unit, nch; local
545 nch = ndqb(&tp->t_outq, 0);
547 nch = ndqb(&tp->t_outq, 0200);
551 if (nch == 0) {
552 nch = getc(&tp->t_outq);
553 timeout(ttrstrt, (caddr_t)tp, (nch&0x7f)+6);
561 if (nch) {
572 addr->dhbcr = -nch;
/original-bsd/sys/news3400/bm/
H A Dbmcons.c343 register int nch; local
383 nch = ndqb(&tp->t_outq, 0);
385 nch = ndqb(&tp->t_outq, 0200);
389 if (nch == 0) {
390 nch = getc(&tp->t_outq);
391 timeout(ttrstrt, (caddr_t)tp, (nch&0x7f)+6);
399 if (nch) {
401 cn_output(tp, nch);
/original-bsd/sys/vax/if/ACC/driver/
H A Dif_x29.c637 register int nch, local
724 nch = ndqb(&tp->t_outq, 0);
726 nch = ndqb(&tp->t_outq, 0200);
732 if (nch > (MLEN - 1) - cc)
733 nch = (MLEN - 1) - cc;
736 if (nch) {
749 unit, nch, j
754 cc += nch;
755 cp += nch;
1767 int nch; local
[all …]
/original-bsd/sys/news3400/iop/
H A Drs.c555 register int unit, nch; local
597 nch = ndqb(&tp->t_outq, 0);
599 nch = ndqb(&tp->t_outq, 0200);
603 if (nch == 0) {
604 nch = getc(&tp->t_outq);
605 timeout(ttrstrt, (caddr_t)tp, (nch&0x7f)+6);
613 if (nch) {
615 rs_output(unit, nch);
/original-bsd/sys/hp300/dev/
H A Ddcm.c575 int nch = 0; local
610 nch++;
640 dcmischeme[BOARD(unit)].dis_char += nch;
642 dsp->rchars += nch;
643 if (nch <= DCMRBSIZE)
644 dsp->rsilo[nch]++;
861 register int port, nch; local
906 nch = q_to_b(&tp->t_outq, buf, (head - next) & TX_MASK);
908 tch += nch;
912 printf("\thead %x tail %x nch %d\n", head, tail, nch);
[all …]
/original-bsd/games/larn/
H A Dheader.h336 extern char monstnamelist[],nch[],ndgg[],nlpts[],nomove,nosignal,nowelcome;
367 #define newchain() (nch[rund(10)])
H A Ddata.c619 char nch[] = { 0, 0, 0, 1, 1, 1, 2, 2, 3, 4 }; variable
/original-bsd/local/ditroff/ditroff.okeeffe/devver/vfont.desc/
H A Dmak.sh12 makevfont -nch -c chess > ch
/original-bsd/sys/sparc/dev/
H A Dzs.c966 register int s, nch; in zsstart() local
991 nch = ndqb(&tp->t_outq, 0); /* XXX */ in zsstart()
992 if (nch) { in zsstart()
1003 cs->cs_tbc = nch - 1; in zsstart()
/original-bsd/lib/libedit/
H A Dtty.c29 int nch, och; /* Internal and termio rep of chars */ member
743 for (tp = tty_map; tp->nch != -1; tp++) {
744 new[0] = t_n[tp->nch];
/original-bsd/lib/libc/regex/
H A Dregcomp.c78 static int nch __P((struct parse *p, cset *cs));
710 if (nch(p, cs) == 1) { /* optimize singleton sets */
1200 nch(p, cs) in nch() function