Home
last modified time | relevance | path

Searched refs:peek (Results 1 – 25 of 28) sorted by relevance

12

/titanic_41/usr/src/cmd/sgs/m4/common/
H A Dm4y.y85 static int peek(int c, int r1, int r2);
104 return (peek('*', POWER, '*')); in yylex()
106 return (peek('=', GE, GT)); in yylex()
108 return (peek('=', LE, LT)); in yylex()
110 return (peek('=', EQ, EQ)); in yylex()
112 return (peek('|', OROR, '|')); in yylex()
114 return (peek('&', ANDAND, '&')); in yylex()
116 return (peek('=', NE, '!')); in yylex()
154 peek(int c, int r1, int r2) in peek() function
H A Dm4y_xpg4.y90 static int peek(char c, int r1, int r2);
110 return (peek('*', POWER, '*')); in yylex()
116 return (peek('=', EQ, EQ)); in yylex()
118 return (peek('|', OROR, '|')); in yylex()
120 return (peek('&', ANDAND, '&')); in yylex()
122 return (peek('=', NE, '!')); in yylex()
160 peek(char c, int r1, int r2) in peek() function
/titanic_41/usr/src/cmd/sgs/lex/common/
H A Dsub1.c425 if (!digit(peek) && in usescape()
426 !('A' <= peek && peek <= 'F') && in usescape()
427 !('a' <= peek && peek <= 'f')) in usescape()
441 if (!('0' <= peek && peek <= '7')) break; in usescape()
542 if (peek == '|') in cpyact()
624 if (peek == '\n' && !brac && copy_line) { in cpyact()
638 c = pres = peek; in gch()
639 peek = pushptr > pushc ? *--pushptr : getwc(fin); in gch()
640 while (peek == EOF) { in gch()
653 peek = getwc(fin); in gch()
[all …]
H A Dparser.y629 if(peek == ' ' || peek == '\t' || sectbegin == TRUE){
640 if(peek == '{'){ /* included code */
649 if(peek == '%'){
657 if(peek == ' ' || peek == '\t' || peek == '\n'){
665 if(peek == '\n' || peek == ' ' || peek == '\t' || peek == '|' || peek == '/'){
736 if (peek == '^')
843 if(c=='-' && !ESCAPE && prev!='[' && peek!=']'){
909 if(alpha(peek)){
913 while(alpha(peek)) {
921 if(peek == '?' || peek == '*' || peek == '+')
H A Donce.h72 int peek = '\n'; /* next input character */ variable
H A Dldefs.h192 extern int peek; /* next input character */
/titanic_41/usr/src/lib/libast/common/sfio/
H A Dsfvscanf.c39 static void _sfbuf(Sfio_t* f, int* peek) in _sfbuf() argument
41 static void _sfbuf(f, peek) in _sfbuf()
43 int* peek;
47 { if(*peek) /* try peeking for a share stream if possible */
53 *peek = 0; /* can't peek, back to normal reads */
67 int peek; /* != 0 if unseekable/share stream */ member
75 (sc)->peek = peek, (sc)->n_input = n_input)
79 peek = (sc)->peek, n_input = (sc)->n_input)
104 if(sc->peek)
108 _sfbuf(sc->f, &sc->peek);
[all …]
/titanic_41/usr/src/cmd/ttymon/
H A Dtmpeek.c158 static struct strpeek peek; local
166 peekp = &peek;
173 ret = ioctl(fd, I_PEEK, &peek);
/titanic_41/usr/src/lib/libc/port/locale/
H A Dmbftowc.c38 _mbftowc(char *s, wchar_t *wc, int (*peek)(void), int *errorc) in _mbftowc()
46 c = peek(); in _mbftowc()
/titanic_41/usr/src/lib/libcmd/common/
H A Dcksum.c183 register int peek; in pr() local
199 peek = 0; in pr()
203 if (peek) in pr()
205 peek = 0; in pr()
214 peek = 1; in pr()
222 if (peek) in pr()
/titanic_41/usr/src/lib/libast/common/features/
H A Dlib328 { struct strpeek peek;
332 peek.flags = 0;
333 peek.ctlbuf.maxlen = peek.ctlbuf.len = sizeof(ctlbuf);
334 peek.ctlbuf.buf = ctlbuf;
335 peek.databuf.maxlen = peek.databuf.len = sizeof(databuf);
336 peek.databuf.buf = databuf;
338 return ioctl(fds[0],I_PEEK,&peek) < 0;
/titanic_41/usr/src/cmd/listen/
H A Dnlps_serv.c345 struct strpeek peek; in nullfix() local
352 peekp = &peek; in nullfix()
359 ret = ioctl(0, I_PEEK, &peek); in nullfix()
392 ret = ioctl(0, I_PEEK, &peek); in nullfix()
/titanic_41/usr/src/cmd/rpcgen/
H A Drpc_scan.h113 extern void peek(token *);
H A Drpc_parse.c270 peek(&tok); in def_struct()
364 peek(&tok); in def_program()
621 peek(&tok); in get_prog_declaration()
753 peek(&tok); in unsigned_dec()
H A Drpc_scan.c120 peek(token *tokp) in peek() function
132 peek(tokp); in peekscan()
/titanic_41/usr/src/lib/libast/common/misc/
H A Dfindlib.h64 int peek; member
H A Dfastfind.c505 if ((fp->decode.peek = sfgetc(fp->fp)) != FF_OFF) in findopen()
723 c = fp->decode.peek; in findread()
766 fp->decode.peek = c; in findread()
911 fp->decode.peek = c; in findread()
923 fp->decode.peek = c; in findread()
/titanic_41/usr/src/cmd/sendmail/aux/
H A Dmail.local.c576 int peek; local
611 peek = fgetc(stdin);
612 if (peek == '\n')
618 (void) ungetc(peek, stdin);
/titanic_41/usr/src/uts/common/io/rge/
H A Drge_chip.c2001 boolean_t peek; in rge_pp_ioctl() local
2010 peek = B_TRUE; in rge_pp_ioctl()
2014 peek = B_FALSE; in rge_pp_ioctl()
2041 ppfn = peek ? rge_chip_peek_cfg : rge_chip_poke_cfg; in rge_pp_ioctl()
2051 ppfn = peek ? rge_chip_peek_reg : rge_chip_poke_reg; in rge_pp_ioctl()
2066 ppfn = peek ? rge_chip_peek_mii : rge_chip_poke_mii; in rge_pp_ioctl()
2076 ppfn = peek ? rge_chip_peek_mem : rge_chip_poke_mem; in rge_pp_ioctl()
2102 ppfn = peek ? rge_chip_peek_mem : rge_chip_poke_mem; in rge_pp_ioctl()
2133 return (peek ? IOC_REPLY : IOC_ACK); in rge_pp_ioctl()
/titanic_41/usr/src/uts/common/io/nge/
H A Dnge_chip.c1852 boolean_t peek; in nge_pp_ioctl() local
1861 peek = B_TRUE; in nge_pp_ioctl()
1865 peek = B_FALSE; in nge_pp_ioctl()
1892 ppfn = peek ? nge_chip_peek_cfg : nge_chip_poke_cfg; in nge_pp_ioctl()
1902 ppfn = peek ? nge_chip_peek_reg : nge_chip_poke_reg; in nge_pp_ioctl()
1909 ppfn = peek ? nge_chip_peek_mii : nge_chip_poke_mii; in nge_pp_ioctl()
1916 ppfn = peek ? nge_chip_peek_seeprom : nge_chip_poke_seeprom; in nge_pp_ioctl()
1950 return (peek ? IOC_REPLY : IOC_ACK); in nge_pp_ioctl()
/titanic_41/usr/src/uts/common/io/bge/
H A Dbge_chip2.c5958 boolean_t peek; in bge_pp_ioctl() local
5967 peek = B_TRUE; in bge_pp_ioctl()
5971 peek = B_FALSE; in bge_pp_ioctl()
5998 ppfn = peek ? bge_chip_peek_cfg : bge_chip_poke_cfg; in bge_pp_ioctl()
6008 ppfn = peek ? bge_chip_peek_reg : bge_chip_poke_reg; in bge_pp_ioctl()
6018 ppfn = peek ? bge_chip_peek_nic : bge_chip_poke_nic; in bge_pp_ioctl()
6033 ppfn = peek ? bge_chip_peek_mii : bge_chip_poke_mii; in bge_pp_ioctl()
6050 ppfn = peek ? bge_chip_peek_seeprom : bge_chip_poke_seeprom; in bge_pp_ioctl()
6064 ppfn = peek ? bge_chip_peek_flash : bge_chip_poke_flash; in bge_pp_ioctl()
6075 ppfn = peek ? bge_chip_peek_mem : bge_chip_poke_mem; in bge_pp_ioctl()
[all …]
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dmacro.c1289 int peek=1,cc=fcget(); in varsub() local
1293 peek = 2; in varsub()
1298 peek++; in varsub()
1300 fcseek(-peek); in varsub()
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.c105 int peek; /* just peeking, don't track suspects */ member
301 Nfmep->peek = 1; in prune_propagations()
1452 nfmep->peek = 1; in upsets_eval()
1458 nfmep->peek = 0; in upsets_eval()
1682 fmep->peek = 1; in fme_receive_report()
1692 fmep->peek = 0; in fme_receive_report()
4185 if (fmep->peek == 0 && ep->is_suspect == 0) { in hypothesise()
/titanic_41/usr/src/uts/common/io/e1000g/
H A De1000g_main.c4955 boolean_t peek; in e1000g_pp_ioctl() local
4960 peek = B_TRUE; in e1000g_pp_ioctl()
4964 peek = B_FALSE; in e1000g_pp_ioctl()
5008 ppfn = peek ? e1000g_ioc_peek_reg : e1000g_ioc_poke_reg; in e1000g_pp_ioctl()
5017 ppfn = peek ? e1000g_ioc_peek_mem : e1000g_ioc_poke_mem; in e1000g_pp_ioctl()
5033 return (peek ? IOC_REPLY : IOC_ACK); in e1000g_pp_ioctl()
/titanic_41/usr/src/lib/libpp/common/
H A DRELEASE38 ppcall.c: fix '(' peek bug that missed the MARK
57 03-05-18 ppcall.c: add SYM_FUNCTION '(' peek to avoid inappropriate ungetchr()

12