/illumos-gate/usr/src/cmd/genmsg/ |
H A D | genmsg.l | 127 return (yytext[0]); 138 return (yytext[0]); 233 return (yytext[0]); 240 yylval.id = atoi(yytext); 251 yylval.id = atoi(yytext); 256 yytext); 266 yytext); 279 yylval.id = atoi(yytext); 329 yytext); 346 yytext); [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_lex.l | 147 return (yytext[0]); 157 return (yytext[0]); 236 return yytext[0]; 245 return (yytext[0]); 379 switch (yytext[2]) { 400 switch (yytext[2]) { 521 return (yytext[0]); 589 s = strchr2esc(yytext, strlen(yytext)); 761 char yytext[YYLMAX]; 818 yytext = s->yytext; [all …]
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | scanner.l | 53 #define notpp() (ppdefine == NO && (*yytext != '#' || yytext[1] == '#')) 128 first = strlen(yytext); 142 last = strlen(yytext); 144 yyleng = strlen(yytext); 360 yytext[0] = '\7'; 364 while (isalnum(yytext[first]) || yytext[first] == '_') { 543 yytext[yyleng] = '\0'; 698 first = s - yytext; 702 yytext[0] = '\1'; 911 yytext[yyleng] = '\0'; [all …]
|
H A D | crossref.c | 122 strncmp(yytext + first, yytext + in crossref() 216 if ((c = yytext[i]) == ' ' || c == '\t') { in putcrossref() 241 c = yytext[j]; in putcrossref() 242 yytext[j] = '\0'; in putcrossref() 244 putposting(yytext + i, type); in putcrossref() 246 putstring(yytext + i); in putcrossref() 248 yytext[j] = (char)c; in putcrossref() 291 while ((j = yytext[i]) == ' ' || j == '\t') { in putcrossref() 295 while (isalpha(yytext[i])) { in putcrossref() 300 while ((j = yytext[i]) == ' ' || in putcrossref() [all …]
|
H A D | display.c | 225 linenum, yytext) < 4) { in display() 269 while ((s = strchr(yytext, '\t')) != NULL) { in display() 273 s = yytext; in display() 503 function, linenum, yytext)) != EOF) { in countrefs()
|
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/sgs/lex/common/ |
H A D | yyless.c | 47 #pragma weak yytext macro 48 extern CHR yytext[]; 50 #define YYTEXT yytext 63 #pragma weak yytext macro 64 extern CHR yytext[]; 66 #define YYTEXT yytext 78 #pragma weak yytext macro 79 extern CHR yytext[]; 130 yyleng = wcstombs((char *)yytext, YYTEXT, YYLENG*MB_LEN_MAX); in yyless()
|
H A D | ncform | 54 yylastch = yytext; 57 yylastch = yytext+yyleng; 85 int x = yylastch - yytext; 88 if (yytext == yy_tbuf) { 93 yytext = (char *) realloc(yytext, yytextsz); 94 if (!yytext) { 96 "Cannot realloc yytext\n"); 99 yylastch = yytext + x; 200 yytext[yyleng] = 0; 204 sprint(yytext); [all …]
|
H A D | reject.c | 38 #pragma weak yytext macro 42 #define YYTEXT yytext 53 #pragma weak yytext macro 57 #define YYTEXT yytext 67 #pragma weak yytext macro 80 extern unsigned char yytext[]; 129 yyleng = wcstombs((char *)yytext, YYTEXT, YYLENG*MB_LEN_MAX); in YYREJECT() 153 yyleng = wcstombs((char *)yytext, YYTEXT, YYLENG*MB_LEN_MAX); in yyracc()
|
H A D | nrform | 51 common /yyxel/ yyleng, yytext 75 yytext(yyleng) = ch 82 call unput(yytext(yyleng)) 97 call unput(yytext(yyleng)) 109 call unput(yytext(yyleng)) 124 call unput(yytext(yyleng)) 144 call unput(yytext(yyleng)) 148 yyprev = lexshf(yytext(yyleng)) 152 yytext(yyleng+1) = 0 155 call unput(yytext(yyleng)) [all …]
|
H A D | nceucform | 97 yytext = (wchar_t *) 100 memcpy(yytext, yy_tbuf, 115 yytext = (wchar_t *) 116 realloc(yytext, 236 yyleng=wcstombs((char *)yytext, YYTEXT, sizeof(yytext)-1); 238 if(yyleng>=sizeof(yytext)-1) 239 fprintf(yyout, "yytext[] too short\n");
|
/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); 329 return (id_or_type(yytext)); 353 yyintdecimal = yytext[0] != '0'; 588 char *p = strchr(yytext, '*'); 589 char *q = yytext + yyleng - 1; 591 if (p != NULL && p > yytext) [all …]
|
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.l | 171 yylval.ival = strtoll(yytext, NULL, 0); 181 yylval.uval = strtoull(yytext, NULL, 0); 192 if (strcmp(yytext, "true") == 0) 201 if((yylval.sval = strdup(yytext+1)) == NULL) { 212 yylval.dval = strtod(yytext, (char **)NULL); 222 if ((yylval.sval = strdup(yytext)) == NULL) { 230 if ((yylval.sval = strdup(yytext)) == NULL) { 248 if (yytext[0] == '\0') { 254 yytext); 256 if (yytext[0] == '\0') { [all …]
|
/illumos-gate/usr/src/cmd/oawk/ |
H A D | awk.lx.l | 106 if (watoi(yytext+1)==0) { 110 yylval = fieldadr(watoi(yytext+1)); 119 yylval = (int)setsymtab(yytext, NULL, watof(yytext), 158 <A>. { yylval = yytext[0]; RETURN(yytext[0]); } 173 <reg>\\. { if (yytext[1]=='n') yylval = '\n'; 174 else if (yytext[1] == 't') yylval = '\t'; 175 else if (yytext[1] == 'b') yylval = '\b'; 176 else if (yytext[1] == 'r') yylval = '\r'; 177 else if (yytext[1] == 'f') yylval = '\f'; 178 else yylval = yytext[1]; [all …]
|
/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; 149 yytext[yylast++] = *s; 150 yytext[yylast] = '\0'; 160 if ((yytext[offset] == '\'' || yytext[offset] == '"') && 161 (yytext[offset] == yytext[offset + max - 1])) { 212 bcopy(yytext + yypos, yytext, in yylex() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg_lex.l | 222 yylval.strval = safe_strdup(yytext); 227 yylval.strval = safe_strdup(yytext); 232 yylval.strval = safe_strdup(yytext); 237 yylval.strval = safe_strdup(yytext); 243 return (yytext[0]); 249 return (yytext[0]); 255 return (yytext[0]); 276 if (yytext[0] == '\0') { 288 lex_lineno, (yytext[0] == '\n') ? "\\n" : yytext); 291 (yytext[0] == '\n') ? "\\n" : yytext);
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itm_comp.l | 76 yylval.num = strtoul(yytext, (char **)NULL, 10); 80 {OCTAL} { yylval.num = strtoul(yytext, (char **)NULL, 8); 88 {ITMNAME} { yylval.data = str_to_data(yyleng, yytext); 92 {ATNAME} { return at_name_to_token(yytext); 95 {MAPTYPE_NAME} { yylval.num = at_name_to_token(yytext); 96 yylval.data = name_data(yyleng, yytext); 101 {NAME} { yylval.num = at_name_to_token(yytext); 105 yylval.data = name_data(yyleng, yytext); 147 cmd_opt.my_name, yytext[0]); 176 s, itm_input_file, yylineno, yytext); in yyerror() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | gram.y | 192 static char yytext[INMAX]; in yylex() local 234 cp1 = yytext; in yylex() 235 cp2 = &yytext[INMAX - 1]; in yylex() 259 yylval.string = makestr(yytext); in yylex() 268 cp1 = yytext; in yylex() 269 cp2 = &yytext[INMAX - 1]; in yylex() 292 if (yytext[0] == '-' && yytext[2] == '\0') { in yylex() 293 switch (yytext[1]) { in yylex() 323 if (!strcmp(yytext, "install")) in yylex() 325 else if (!strcmp(yytext, "notify")) in yylex() [all …]
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_lex.l | 93 yylval.l_string = inj_strndup(yytext + 1, yyleng - 2); 98 yylval.l_string = inj_strdup(yytext); 103 yylval.l_string = inj_strdup(yytext); 108 yylval.l_string = inj_strdup(yytext); 114 . { return (yytext[0]); } 137 (void) fprintf(stderr, " near \"%s\"\n", yytext);
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg_lex.l | 357 yylval.strval = create_token(yytext); 362 yylval.strval = create_token(yytext); 367 yylval.strval = create_token(yytext); 372 yylval.strval = create_token(yytext + 1); 379 yylval.strval = create_token(yytext + 1); 387 return (yytext[0]); 393 return (yytext[0]); 399 return (yytext[0]); 527 if (yytext[0] == '\0') { 539 lex_lineno, (yytext[0] == '\n') ? "\\n" : yytext); [all …]
|
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/ |
H A D | lex.l | 47 {hexnumber} {yylval.addr = hexstr_to_num(yytext); return (NUMBER);} 48 {decnumber} {yylval.addr = atoi(yytext); return (NUMBER);} 66 {symbol} {yylval.str = strdup(yytext); return (SYMBOL);} 68 yylval.str = strdup(yytext + 1); 72 yylval.str = strdup(yytext + 1);
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | xgettext.c | 46 extern char yytext[]; 497 lstrcat(curr_line, yytext); in handle_macro_line() 516 lstrcat(curr_line, yytext); in handle_cplus_comment_line() 541 lstrcat(curr_line, yytext); in handle_open_comment() 566 lstrcat(curr_line, yytext); in handle_close_comment() 593 lstrcat(curr_line, yytext); in handle_gettext() 625 lstrcat(curr_line, yytext); in handle_dgettext() 658 lstrcat(curr_line, yytext); in handle_dcgettext() 680 lstrcat(curr_line, yytext); in handle_textdomain() 698 lstrcat(curr_line, yytext); in handle_open_paren() [all …]
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | acl_lex.l | 228 yylval.str = strdup(yytext); 353 yylval.str = strdup(yytext); 491 if (yytext[0] != '\n' && yytext[0] != '\0') { 600 yylval.str = strdup(yytext); 641 if (yytext[0] != '\n' && yytext[0] != '\0') { 669 yylval.str = strdup(yytext); 679 yylval.str = strdup(yytext); 772 cnt = strlen(yytext); 778 strcpy(yylval.str, yytext);
|
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | nameSyntaxLex.l | 58 [0-9]+ { yylval.num = atoi (yytext); return NUMBER; } 59 [_a-zA-Z0-9]+ { yylval.name = strdup(yytext); return NAME; }
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb_lex.l | 122 [-0-9a-zA-Z._]+ { yylval.strval = yytext; return WORD; } 124 . { return yytext[0]; } 133 cmd_no, yytext);
|