Home
last modified time | relevance | path

Searched refs:yyleng (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/flex/src/
H A Dscan.l76 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 DFlexLexer.h64 int YYLeng() const { return yyleng; } in YYLeng()
103 int yyleng; variable
H A Dflex.skl77 #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 Dinitscan.c158 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 Dinittokenizer.c159 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 Dlex.c160 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 Dslc-lex.c160 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 Djaillex.l163 yylval->cs = d = emalloc(yyleng - trimr - triml + 1);
164 se = yytext + (yyleng - trimr);
/freebsd/crypto/heimdal/lib/asn1/
H A Dlex.c160 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 Dconfiglexer.c159 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 Dconfiglexer.lex715 ub_c_text[yyleng - 1] = '\0';
/freebsd/sbin/veriexec/
H A Dmanifest_lexer.l78 yytext[yyleng - 1] = '#';
/freebsd/sys/dev/aic7xxx/aicasm/
H A Daicasm_scan.l402 yptr = ycopy + yyleng;
420 yytext[yyleng-1] = '\0';
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_lex.l419 yylval.l_str = strndup(yytext + 1, yyleng - 2);
625 char *q = yytext + yyleng - 1;
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_qos_parser_l.l377 for (i = 0; i < yyleng; i++)
/freebsd/contrib/flex/
H A DONEWS593 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 DNEWS390 ** yyleng has proper declarations now; this caused flex to generate
711 provided for use in actions, e.g., yytext, yyleng, etc
H A DChangeLog1035 * 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.