/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | yyless.c | 49 #pragma weak yytext macro 50 extern CHR yytext[]; 52 #define YYTEXT yytext 65 #pragma weak yytext macro 66 extern CHR yytext[]; 68 #define YYTEXT yytext 80 #pragma weak yytext macro 81 extern CHR yytext[]; 140 yyleng = wcstombs((char *)yytext, YYTEXT, YYLENG*MB_LEN_MAX);
|
H A D | ncform | 58 yylastch = yytext; 61 yylastch = yytext+yyleng; 83 if(yylastch > &yytext[YYLMAX]) { 88 if (yylastch >= &yytext[ yytextsz ]) { 89 int x = yylastch - yytext; 92 if (yytext == yy_tbuf) { 93 yytext = (char *) malloc(yytextsz); 94 memcpy(yytext, yy_tbuf, sizeof (yy_tbuf)); 97 yytext = (char *) realloc(yytext, yytexts [all...] |
H A D | reject.c | 40 #pragma weak yytext macro 44 #define YYTEXT yytext 55 #pragma weak yytext macro 59 #define YYTEXT yytext 69 #pragma weak yytext macro 82 extern unsigned char yytext[]; 136 yyleng = wcstombs((char *)yytext, YYTEXT, YYLENG*MB_LEN_MAX); 164 yyleng = wcstombs((char *)yytext, YYTEXT, YYLENG*MB_LEN_MAX);
|
H A D | nrform | 53 common /yyxel/ yyleng, yytext 54 integer yyfnd, yymorf, yylsta, yylsp, yytext, yyprev, yyleng, yytop 55 integer lexshf, yytext(YYLMAX), yyback, yybgin 77 yytext(yyleng) = ch 84 call unput(yytext(yyleng)) 99 call unput(yytext(yyleng)) 111 call unput(yytext(yyleng)) 126 call unput(yytext(yyleng)) 146 call unput(yytext(yyleng)) 150 yyprev = lexshf(yytext(yylen [all...] |
H A D | nceucform | 103 yytext = (wchar_t *) 106 memcpy(yytext, yy_tbuf, 121 yytext = (wchar_t *) 122 realloc(yytext, 242 yyleng=wcstombs((char *)yytext, YYTEXT, sizeof(yytext)-1); 244 if(yyleng>=sizeof(yytext)-1) 245 fprintf(yyout, "yytext[] too short\n");
|
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | nameSyntaxLex.l | 60 [0-9]+ { yylval.num = atoi (yytext); return NUMBER; } 61 [_a-zA-Z0-9]+ { yylval.name = strdup(yytext); return NAME; }
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | lexer.c | 42 int yytext[YYBUFSIZ+1]; variable 70 c = yytext[yypos++]; 94 yytext[yypos++] = c; 96 yytext[yypos] = '\0'; 107 yytext[--yypos] = c; 132 yychars[i] = (char)(yytext[i] & 0xff); 149 yytext[yylast++] = *s; 150 yytext[yylast] = '\0'; 160 if ((yytext[offset] == '\'' || yytext[offse [all...] |
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | scanner.l | 55 #define notpp() (ppdefine == NO && (*yytext != '#' || yytext[1] == '#')) 129 (void) strcat(yytext, " /* "); 130 first = strlen(yytext); 132 (void) strcat(yytext, "yylex"); 142 (void) strcat(yytext, "yyparse"); 144 last = strlen(yytext); 145 (void) strcat(yytext, " */"); 146 yyleng = strlen(yytext); 362 yytext[ [all...] |
H A D | crossref.c | 124 strncmp(yytext + first, yytext + 218 if ((c = yytext[i]) == ' ' || c == '\t') { 243 c = yytext[j]; 244 yytext[j] = '\0'; 246 putposting(yytext + i, type); 248 putstring(yytext + i); 250 yytext[j] = (char)c; 267 (j = dicode2[(unsigned)yytext[i + 1]]) != 0 && 293 while ((j = yytext[ [all...] |
H A D | global.h | 175 extern unsigned char yytext[]; /* input line text */ 177 extern char yytext[]; /* input line text */
|
/illumos-gate/usr/src/cmd/genmsg/ |
H A D | genmsg.l | 88 (void) fprintf(newfp, "%s", yytext); 94 (void) fprintf(newfp, "%s", yytext); 108 (void) fprintf(newfp, "%s", yytext); 122 (void) fprintf(newfp, "%c", yytext[0]); 127 return (yytext[0]); 133 (void) fprintf(newfp, "%c", yytext[0]); 138 return (yytext[0]); 144 (void) fprintf(newfp, "%s", yytext); 155 (void) fprintf(newfp, "%s", yytext); 166 (void) fprintf(newfp, "%s", yytext); [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_lex.l | 1 %pointer /* Make yytext a pointer, not an array */ 90 * This will prevent lex from trying to malloc() and resize our yytext variable, 141 return (yytext[0]); 151 return (yytext[0]); 160 yylval.l_string = strdup(yytext); 170 if ((yylval.l_dcmd = mdb_dcmd_lookup(yytext + 2)) == NULL) 171 yyperror("invalid command '%s'", yytext); 183 if ((yylval.l_dcmd = mdb_dcmd_lookup(yytext)) == NULL) 184 yyperror("invalid command '%s'", yytext); 197 arg.a_un.a_char = yytext[ [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_lex.l | 183 int i = atoi(yytext + 2); 197 "not defined\n", yytext); 213 int i = atoi(yytext + 1); 227 "not defined\n", yytext); 274 " overflow\n", yytext, v); 285 yypcb->pcb_hdl->dt_macros, yytext + 2); 291 "is not defined\n", yytext); 307 yypcb->pcb_hdl->dt_macros, yytext + 1); 311 "is not defined\n", yytext); 329 return (id_or_type(yytext)); [all...] |
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.l | 172 yylval.ival = strtoll(yytext, NULL, 0); 182 yylval.uval = strtoull(yytext, NULL, 0); 193 if (strcmp(yytext, "true") == 0) 202 if((yylval.sval = strdup(yytext+1)) == NULL) { 213 yylval.dval = strtod(yytext, (char **)NULL); 223 if ((yylval.sval = strdup(yytext)) == NULL) { 231 if ((yylval.sval = strdup(yytext)) == NULL) { 249 if (yytext[0] == '\0') { 255 yytext); 257 if (yytext[ [all...] |
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itm_comp.l | 78 yylval.num = strtoul(yytext, (char **)NULL, 10); 82 {OCTAL} { yylval.num = strtoul(yytext, (char **)NULL, 8); 86 {HEXADECIMAL} { yylval.data = hexadecimal_data(yyleng - 2, yytext + 2); 90 {ITMNAME} { yylval.data = str_to_data(yyleng, yytext); 94 {ATNAME} { return at_name_to_token(yytext); 97 {MAPTYPE_NAME} { yylval.num = at_name_to_token(yytext); 98 yylval.data = name_data(yyleng, yytext); 103 {NAME} { yylval.num = at_name_to_token(yytext); 107 yylval.data = name_data(yyleng, yytext); 149 cmd_opt.my_name, yytext[ [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | gram.y | 193 static char yytext[INMAX]; 234 cp1 = yytext; 235 cp2 = &yytext[INMAX - 1]; 259 yylval.string = makestr(yytext); 268 cp1 = yytext; 269 cp2 = &yytext[INMAX - 1]; 292 if (yytext[0] == '-' && yytext[2] == '\0') { 293 switch (yytext[1]) { 323 if (!strcmp(yytext, "instal [all...] |
/illumos-gate/usr/src/cmd/awk/ |
H A D | awk.lx.l | 60 # define RET(x) {if(dbg)printf("lex %s [%s]\n", tokname(x), yytext); return(x); } 73 #define CADD cbuf[clen++] = yytext[0]; \ 136 <A>"$"{D}+ { yylval.cp = fieldadr(atoi(yytext+1)); RET(FIELD); } 140 if (c == '(' || c == '[' || infunc && (n=isarg(yytext+1)) >= 0) { 141 unputstr(yytext+1); 144 yylval.cp = setsymtab((uchar *)yytext+1, 150 <A>NF { yylval.cp = setsymtab((uchar *)yytext, (uchar *)"", 0.0, NUM, symtab); RET(VARNF); } 153 yylval.cp = setsymtab((uchar *)yytext, tostring((uchar *)yytext), atof(yytext), CO [all...] |
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | prexlex.l | 103 ${ID} { yylval.strval = strdup(&yytext[1]); return SETNAME; } 104 &{ID} { yylval.strval = strdup(&yytext[1]); return FCNNAME; } 105 {ID} { yylval.strval = strdup(yytext); return IDENT; } 106 \'[^'\n]*\' { yylval.strval = qtstr(yytext); return VALSTR; } 108 \/([^/\\\n]|\\.)*\/ { yylval.strval = rgstr(yytext); return REGEXP; } 111 char scale = yytext[yyleng - 1]; 112 yylval.intval = atoi(yytext);
|
H A D | source.c | 248 extern char yytext[]; 256 top->path, top->linenum, s, yytext);
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | xgettext.c | 47 extern char yytext[]; 497 (void) printf("Macro line=<%s>\n", yytext); 500 lstrcat(curr_line, yytext); 503 lstrcat(qstring_buf, yytext); 505 extract_filename_linenumber(yytext); 519 lstrcat(curr_line, yytext); 522 lstrcat(qstring_buf, yytext); 544 lstrcat(curr_line, yytext); 547 lstrcat(qstring_buf, yytext); 569 lstrcat(curr_line, yytext); [all...] |
/illumos-gate/usr/src/cmd/oawk/ |
H A D | awk.lx.l | 53 #define CADD { cbuf[clen++]=yytext[0]; if (clen>=CBUFLEN-1) { yyerror(\ 109 if (watoi(yytext+1)==0) { 113 yylval = fieldadr(watoi(yytext+1)); 119 yylval = (int)setsymtab(yytext, NULL, 0.0, NUM, symtab); 122 yylval = (int)setsymtab(yytext, NULL, watof(yytext), 151 yylval = (int)setsymtab(yytext, tostring(L_0), 0.0, STR|NUM, 161 <A>. { yylval = yytext[0]; RETURN(yytext[0]); } 175 <reg>\\{D}{D}{D} { wsscanf(yytext [all...] |
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb_lex.l | 124 [-0-9a-zA-Z._]+ { yylval.strval = yytext; return WORD; } 126 . { return yytext[0]; } 135 cmd_no, yytext);
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | acl_lex.l | 226 yylval.str = strdup(yytext); 351 yylval.str = strdup(yytext); 489 if (yytext[0] != '\n' && yytext[0] != '\0') { 598 yylval.str = strdup(yytext); 639 if (yytext[0] != '\n' && yytext[0] != '\0') { 667 yylval.str = strdup(yytext); 677 yylval.str = strdup(yytext); 755 * The first set of characters is retrieved from yytext [all...] |
/illumos-gate/usr/src/cmd/cron/ |
H A D | att2.l | 85 [0-9] { yylval = yytext[0] - '0'; return(NUMB); }
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_lex.l | 95 yylval.l_string = inj_strndup(yytext + 1, yyleng - 2); 100 yylval.l_string = inj_strdup(yytext); 105 yylval.l_string = inj_strdup(yytext); 110 yylval.l_string = inj_strdup(yytext); 116 . { return (yytext[0]); } 139 (void) fprintf(stderr, " near \"%s\"\n", yytext);
|