/freebsd/contrib/flex/src/ |
H A D | scan.l | 76 if(yyleng < MAXLINE) \ 209 if(yyleng < MAXLINE) 462 if(yyleng-1 < MAXLINE) 574 yyless( yyleng - 2 ); /* put back '/', '*' */ 639 if(yyleng < MAXLINE) 694 end_ch = yytext[yyleng-1]; 697 if(yyleng-1 < MAXLINE) 706 nmstr[yyleng - 2 - end_is_ws] = '\0'; /* chop trailing brace */
|
H A D | FlexLexer.h | 64 int YYLeng() const { return yyleng; } in YYLeng() 103 int yyleng; variable
|
H A D | flex.skl | 77 #define yyleng M4_YY_PREFIX[[leng]] 305 #define yyleng YY_G(yyleng_r) 403 extern int yyleng; 429 for ( yyl = n; yyl < yyleng; ++yyl )\ 572 int yyleng; 662 %% [2.0] code to fiddle yytext and yyleng for yymore() goes here \ 1013 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) 1016 #define ECHO LexerOutput( yytext, yyleng ) 1148 /* Code executed at the beginning of each rule, after yytext and yyleng 2490 yytext[yyleng] = YY_G(yy_hold_char); \ [all …]
|
/freebsd/usr.bin/lex/ |
H A D | initscan.c | 158 extern int yyleng; 272 int yyleng; variable 352 yyleng = (int) (yy_cp - yy_bp); \ 1922 if(yyleng < MAXLINE) \ 2101 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) 2184 if ( yyleng > 0 ) \ 2186 (yytext[yyleng - 1] == '\n'); \ 2399 if(yyleng < MAXLINE) 2581 buf_strnappend(&top_buf, yytext, yyleng); 2589 buf_strnappend(&top_buf, yytext, yyleng); [all …]
|
/freebsd/tools/build/bootstrap-m4/ |
H A D | inittokenizer.c | 159 extern int yyleng; 273 int yyleng; variable 356 yyleng = (int) (yy_cp - yy_bp); \ 598 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) 1633 yytext[yyleng] = (yy_hold_char); \ 1637 yyleng = yyless_macro_arg; \ 1673 return yyleng; in yyget_leng()
|
/freebsd/crypto/heimdal/lib/com_err/ |
H A D | lex.c | 160 extern yy_size_t yyleng; 274 yy_size_t yyleng; variable 357 yyleng = (size_t) (yy_cp - yy_bp); \ 616 #define ECHO fwrite( yytext, yyleng, 1, yyout ) 1649 yytext[yyleng] = (yy_hold_char); \ 1653 yyleng = yyless_macro_arg; \ 1689 return yyleng; in yyget_leng()
|
/freebsd/crypto/heimdal/lib/sl/ |
H A D | slc-lex.c | 160 extern yy_size_t yyleng; 274 yy_size_t yyleng; variable 357 yyleng = (size_t) (yy_cp - yy_bp); \ 595 #define ECHO fwrite( yytext, yyleng, 1, yyout ) 1586 yytext[yyleng] = (yy_hold_char); \ 1590 yyleng = yyless_macro_arg; \ 1626 return yyleng; in yyget_leng()
|
/freebsd/usr.sbin/jail/ |
H A D | jaillex.l | 163 yylval->cs = d = emalloc(yyleng - trimr - triml + 1); 164 se = yytext + (yyleng - trimr);
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | lex.c | 160 extern yy_size_t yyleng; 274 yy_size_t yyleng; variable 357 yyleng = (size_t) (yy_cp - yy_bp); \ 939 #define ECHO fwrite( yytext, yyleng, 1, yyout ) 2514 yytext[yyleng] = (yy_hold_char); \ 2518 yyleng = yyless_macro_arg; \ 2554 return yyleng; in yyget_leng()
|
/freebsd/contrib/unbound/util/ |
H A D | configlexer.c | 159 extern int yyleng; 272 int yyleng; variable 353 yyleng = (int) (yy_cp - (yytext_ptr)); \ 4611 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) 6719 yytext[yyleng - 1] = '\0'; 6759 yytext[yyleng - 1] = '\0'; 6829 yytext[yyleng - 1] = '\0'; 6917 yytext[yyleng - 1] = '\0'; 7727 yytext[yyleng] = (yy_hold_char); \ 7731 yyleng = yyless_macro_arg; \ [all …]
|
H A D | configlexer.lex | 715 ub_c_text[yyleng - 1] = '\0';
|
/freebsd/sbin/veriexec/ |
H A D | manifest_lexer.l | 78 yytext[yyleng - 1] = '#';
|
/freebsd/sys/dev/aic7xxx/aicasm/ |
H A D | aicasm_scan.l | 402 yptr = ycopy + yyleng; 420 yytext[yyleng-1] = '\0';
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_lex.l | 419 yylval.l_str = strndup(yytext + 1, yyleng - 2); 625 char *q = yytext + yyleng - 1;
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_qos_parser_l.l | 377 for (i = 0; i < yyleng; i++)
|
/freebsd/contrib/flex/ |
H A D | ONEWS | 593 with incorrect yytext/yyleng values). 731 - "yyleng" is now a global, and may be modified by the user (though 1079 - yyleng is now a bona fide global integer. 1190 - yyleng is a macro; it cannot be accessed outside of the 1193 - yytext and yyleng should not be modified within a flex action.
|
H A D | NEWS | 390 ** yyleng has proper declarations now; this caused flex to generate 711 provided for use in actions, e.g., yytext, yyleng, etc
|
H A D | ChangeLog | 1035 * src/flex.skl: fwrite wants a size_t, yyleng is int per posix 4551 * flex.skl: Changed type of yyleng from size_t to int. This fixes 5316 constructs--as millaway points out, this is better known as yyleng 10285 yyleng is an int. unput() callable in section 3. yymore hacks.
|