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

/freebsd-11-stable/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-11-stable/contrib/binutils/gas/
H A Ditbl-lex.l64 yytext[yyleng] = 0;
69 yytext[yyleng] = 0;
74 yytext[yyleng] = 0;
79 yytext[yyleng] = 0;
/freebsd-11-stable/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-11-stable/contrib/amd/amd/
H A Dsun_map_tok.l70 # define ECHO __IGNORE(fwrite( yytext, yyleng, 1, yyout ))
155 sun_map_tokpos += yyleng;
161 sun_map_tokpos += yyleng;
H A Dconf_tok.l73 # define ECHO __IGNORE(fwrite( yytext, yyleng, 1, yyout ))
/freebsd-11-stable/contrib/dtc/
H A Ddtc-lexer.l51 srcpos_update(&yylloc, yytext, yyleng); \
81 yytext[yyleng-1] = '\0';
96 fnstart = memchr(yytext, '"', yyleng);
97 for (fnend = yytext + yyleng - 1;
123 yyleng-2);
168 yylval.labelref[yyleng-1] = '\0';
198 d = data_copy_escape_string(yytext+1, yyleng-2);
222 yytext[yyleng-1] = '\0';
/freebsd-11-stable/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-11-stable/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-11-stable/usr.sbin/jail/
H A Djaillex.l66 for (s = yytext; s < yytext + yyleng; s++)
181 yylval.cs = d = emalloc(yyleng - trimr - triml + 1);
182 se = yytext + (yyleng - trimr);
/freebsd-11-stable/contrib/amd/fsinfo/
H A Dfsi_lex.l101 # define ECHO __IGNORE(fwrite( yytext, yyleng, 1, yyout ))
H A Dnull_lex.c16 #define yyleng null_leng macro
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/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 278 milliseconds