Searched refs:yyleng (Results 1 - 21 of 21) sorted by relevance

/freebsd-10.3-release/contrib/binutils/binutils/
H A Dsyslex.l49 yylval.s = malloc (yyleng - 1);
50 memcpy (yylval.s, yytext + 1, yyleng - 2);
51 yylval.s[yyleng - 2] = '\0';
H A Ddeflex.l73 yylval.id[yyleng-2] = 0;
79 yylval.id[yyleng-2] = 0;
/freebsd-10.3-release/contrib/binutils/gas/
H A Ditbl-lex.l64 yytext[yyleng] = 0;
69 yytext[yyleng] = 0;
74 yytext[yyleng] = 0;
79 yytext[yyleng] = 0;
/freebsd-10.3-release/contrib/gcc/
H A Dgengtype-lex.l101 update_lineno (yytext, yyleng);
112 for (namestart = yytext + yyleng - 2; ISSPACE (*namestart); namestart--)
129 update_lineno (yytext, yyleng);
137 for (namestart = yytext + yyleng - 7; ISSPACE (*namestart); namestart--)
146 update_lineno (yytext, yyleng);
154 for (namestart = yytext + yyleng - 2; ISSPACE (*namestart); namestart--)
163 update_lineno (yytext, yyleng);
171 for (namestart = yytext + yyleng - 7; !ISIDNUM (*namestart); namestart--)
180 update_lineno (yytext, yyleng);
188 for (namestart = yytext + yyleng
[all...]
/freebsd-10.3-release/contrib/dtc/
H A Ddtc-lexer.l52 srcpos_update(&yylloc, yytext, yyleng); \
76 yytext[yyleng-1] = '\0';
110 yyleng-2);
150 yylval.labelref[yyleng-1] = '\0';
177 d = data_copy_escape_string(yytext+1, yyleng-2);
201 yytext[yyleng-1] = '\0';
/freebsd-10.3-release/contrib/gdb/gdb/
H A Dada-lex.l157 \"{OPER}\"/{WHITE}*"(" { return processId (yytext, yyleng); }
165 resize_tempbuf (yyleng+tempbuf_len);
166 strncpy (tempbuf+tempbuf_len, yytext, yyleng-1);
167 tempbuf_len += yyleng-1;
176 resize_tempbuf (yyleng-5+tempbuf_len+1);
177 strncpy (tempbuf+tempbuf_len, yytext, yyleng-6);
178 sscanf(yytext+yyleng-4, "%2x", &n);
179 tempbuf[yyleng-6+tempbuf_len] = (char) n;
180 tempbuf_len += yyleng-5;
185 resize_tempbuf (yyleng
[all...]
/freebsd-10.3-release/contrib/flex/
H A Dscan.l69 if(yyleng < MAXLINE) \
186 if(yyleng < MAXLINE)
262 buf_strnappend(&top_buf, yytext, yyleng);
267 buf_strnappend(&top_buf, yytext, yyleng);
272 buf_strnappend(&top_buf, yytext, yyleng);
279 buf_strnappend(&top_buf, yytext, yyleng);
294 if(yyleng < MAXLINE)
437 if(yyleng-1 < MAXLINE)
548 yyless( yyleng - 2 ); /* put back '/', '*' */
612 if(yyleng < MAXLIN
[all...]
H A DFlexLexer.h66 int YYLeng() const { return yyleng; }
96 int yyleng; member in class:FlexLexer
/freebsd-10.3-release/contrib/amd/fsinfo/
H A Dfsi_lex.l105 # define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
/freebsd-10.3-release/usr.sbin/jail/
H A Djaillex.l63 for (s = yytext; s < yytext + yyleng; s++)
178 yylval.cs = d = emalloc(yyleng - trimr - triml + 1);
179 se = yytext + (yyleng - trimr);
/freebsd-10.3-release/contrib/amd/amd/
H A Dconf_tok.l77 # define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
/freebsd-10.3-release/usr.bin/lex/
H A Dinitscan.c173 extern yy_size_t yyleng;
288 yy_size_t yyleng; variable
372 yyleng = (size_t) (yy_cp - (yytext_ptr)); \
1956 if(yyleng < MAXLINE) \
2112 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
2182 /* Code executed at the beginning of each rule, after yytext and yyleng
2195 if ( yyleng > 0 ) \
2197 (yytext[yyleng - 1] == '\n'); \
2430 if(yyleng < MAXLINE)
2607 buf_strnappend(&top_buf, yytext, yyleng);
[all...]
/freebsd-10.3-release/contrib/binutils/ld/
H A Dldlex.l155 switch (yytext[yyleng - 1]) {
189 if (yytext[yyleng - 1] == 'M'
190 || yytext[yyleng - 1] == 'm')
194 else if (yytext[yyleng - 1] == 'K'
195 || yytext[yyleng - 1]=='k')
404 yylval.name[yyleng - 2] = 0;
/freebsd-10.3-release/usr.bin/xlint/lint1/
H A Dscan.l395 sb->sb_len = yyleng;
412 s = getblk(yyleng + 1);
413 (void)memcpy(s, yytext, yyleng + 1);
415 sb->sb_len = yyleng;
474 len = yyleng;
671 len = yyleng;
/freebsd-10.3-release/contrib/ofed/libsdp/src/
H A Dconfig_scanner.c12 #define yyleng libsdp_yyleng macro
119 extern int yyleng;
243 int yyleng; variable
307 yyleng = (int) (yy_cp - yy_bp); \
629 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
679 /* Code executed at the beginning of each rule, after yytext and yyleng
692 if ( yyleng > 0 ) \
694 (yytext[yyleng - 1] == '\n'); \
1789 yytext[yyleng] = yy_hold_char; \
1793 yyleng
[all...]
/freebsd-10.3-release/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 )
1009 /* Code executed at the beginning of each rule, after yytext and yyleng
2514 yytext[yyleng] = (yy_hold_char); \
2518 yyleng = yyless_macro_arg; \
2554 return yyleng;
/freebsd-10.3-release/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 )
686 /* Code executed at the beginning of each rule, after yytext and yyleng
1649 yytext[yyleng] = (yy_hold_char); \
1653 yyleng = yyless_macro_arg; \
1689 return yyleng;
/freebsd-10.3-release/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 )
665 /* Code executed at the beginning of each rule, after yytext and yyleng
1586 yytext[yyleng] = (yy_hold_char); \
1590 yyleng = yyless_macro_arg; \
1626 return yyleng;
/freebsd-10.3-release/usr.bin/csup/
H A Drcstokenizer.h124 #define yyleng yyg->yyleng_r macro
H A Dlex.rcs.c131 #define yyleng yyg->yyleng_r macro
346 yyleng = (size_t) (yy_cp - yy_bp); \
693 #define ECHO fwrite( yytext, yyleng, 1, yyout )
763 /* Code executed at the beginning of each rule, after yytext and yyleng
1762 yytext[yyleng] = yyg->yy_hold_char; \
1766 yyleng = yyless_macro_arg; \
1831 return yyleng;
/freebsd-10.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_lex.l416 yylval.l_str = strndup(yytext + 1, yyleng - 2);
439 if (yyleng == 2)
443 yytext[yyleng - 1] = '\0';
622 char *q = yytext + yyleng - 1;

Completed in 424 milliseconds