Home
last modified time | relevance | path

Searched refs:gch (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/cmd/tip/
H A Dtip.c352 unsigned char gch, c; in tipin() local
368 gch = getchar()&0377; in tipin()
369 if ((gch == character(value(ESCAPE))) && bol) { in tipin()
370 if (!(gch = escape())) in tipin()
372 } else if (!cumode && gch == character(value(RAISECHAR))) { in tipin()
375 } else if (gch == '\r') { in tipin()
377 parwrite(FD, &gch, 1); in tipin()
381 } else if (!cumode && gch == character(value(FORCE))) in tipin()
382 gch = getchar()&0377; in tipin()
383 bol = any(gch, value(EOL)); in tipin()
[all …]
/titanic_44/usr/src/cmd/sgs/lex/common/
H A Dparser.y584 switch(c=gch()){
599 while((c=gch()) && c != '\n');
611 while((c=gch()) && c != '\n') {
613 if((c=gch())=='*') {
614 c=gch();
617 if ((c=gch()) == '/') goto w_loop;
618 c = gch();
650 c = gch();
651 c = gch();
701 if(digit(c=gch())){ /* iteration */
[all …]
H A Dsub1.c48 while (((c = gch()) != 0) && c != '\n') { in getl()
412 if (digit((dd = gch())) || in usescape()
429 dd = gch(); in usescape()
439 while ('0' <= (d = gch()) && d <= '7') { in usescape()
497 while (c = gch()) { in cpycom()
500 if ((c = gch()) == '/') { in cpycom()
501 while ((c = gch()) == ' ' || c == '\t') in cpycom()
537 c = gch(); in cpyact()
543 (void) gch(); /* eat up an extra '|' */ in cpyact()
568 c = gch(); in cpyact()
[all …]
H A Dldefs.h267 int gch(void);
H A Dmain.c145 (void) gch();
/titanic_44/usr/src/cmd/refer/
H A Dglue5.c57 static char gch(void);
275 if ((c = gch()) == 0) in cgotofn()
305 while ((c = gch()) != '\n') in cgotofn()
315 gch(void) in gch() function