Searched refs:yylval (Results 1 – 13 of 13) sorted by relevance
/toolchain/binutils/binutils-2.25/binutils/ |
D | syslex.l | 55 yylval.s = malloc (yyleng - 1); 56 memcpy (yylval.s, yytext + 1, yyleng - 2); 57 yylval.s[yyleng - 2] = '\0'; 62 yylval.i = strtol(yytext,0,16); 67 yylval.i = atoi(yytext); 72 "bits" { yylval.i =1 ;return UNIT;} 73 "bit" { yylval.i = 1; return UNIT;} 74 "bytes" { yylval.i= 8; return UNIT;} 75 "byte" { yylval.i = 8; return UNIT;} 77 "int" { yylval.s = "INT"; return TYPE;} [all …]
|
D | deflex.l | 63 [0-9][x0-9A-Fa-f]* { yylval.number = strtol (yytext,0,0); 67 yylval.id = xstrdup (yytext); 72 yylval.id = xstrdup (yytext+1); 73 yylval.id[yyleng-2] = 0; 78 yylval.id = xstrdup (yytext+1); 79 yylval.id[yyleng-2] = 0;
|
D | rclex.c | 811 yylval.i.val = read_digit (ch); in yylex() 812 yylval.i.dword = 0; in yylex() 817 yylval.i.dword = 1; in yylex() 829 yylval.s = s; in yylex() 832 yylval.ss.length = length; in yylex() 833 yylval.ss.s = s; in yylex() 846 yylval.uni = us; in yylex() 849 yylval.suni.length = length; in yylex() 850 yylval.suni.s = us; in yylex() 869 yylval.s = s; in yylex() [all …]
|
D | mclex.c | 317 yylval.tok = k; in mc_token() 355 yylval.ustr = get_diff (input_stream_pos, start_token); in yylex() 385 yylval.ustr = get_diff (input_stream_pos, start_token); in yylex() 397 yylval.ustr = get_diff (input_stream_pos, start_token); in yylex() 409 yylval.ustr = get_diff (input_stream_pos, start_token); in yylex() 423 yylval.ival = parse_digit (ch); in yylex() 434 yylval.ustr = get_diff (input_stream_pos, start_token); in yylex()
|
D | arlex.l | 82 yylval.name = xstrdup (yytext);
|
D | nlmheader.y | 827 yylval.string = xstrdup (lex_buf); in yylex() 847 yylval.string = xstrdup (lex_buf); in yylex()
|
/toolchain/binutils/binutils-2.25/gas/config/ |
D | m68k-parse.y | 44 #define yylval m68k_lval macro 850 yylval.reg = reg; in yylex() 882 yylval.indexreg.reg = reg; in yylex() 885 yylval.indexreg.size = SIZE_UNSPEC; in yylex() 893 yylval.indexreg.size = SIZE_WORD; in yylex() 898 yylval.indexreg.size = SIZE_LONG; in yylex() 903 yylval.indexreg.size = SIZE_UNSPEC; in yylex() 908 yylval.indexreg.scale = 1; in yylex() 932 yylval.indexreg.scale = scale.X_add_number; in yylex() 975 yylval.exp.size = SIZE_UNSPEC; in yylex() [all …]
|
D | bfin-lex.l | 31 #define _REG yylval.reg 52 [wW]32 yylval.value = M_W32; return MMOD; 59 [tT][fF][uU] yylval.value = M_TFU; return MMOD; 61 <FLAGS>[tT] yylval.value = M_T; return MMOD; 77 [sS]2[rR][nN][dD] yylval.value = M_S2RND; return MMOD; 90 [rR][0-7]"."[lLhHbB] return parse_halfreg(&yylval.reg, T_REG_R, yytext); 100 [rR][0-7] return parse_reg (&yylval.reg, T_REG_R, yytext); 107 [pP][0-5]"."[lLhH] return parse_halfreg (&yylval.reg, T_REG_P, yytext); 108 [pP][0-5] return parse_reg (&yylval.reg, T_REG_P, yytext); 122 [mM][0-3]"."[lLhH] return parse_halfreg (&yylval.reg, T_REG_M, yytext); [all …]
|
/toolchain/binutils/binutils-2.25/ld/ |
D | ldlex.l | 88 #define RTOKEN(x) { yylval.token = x; return x; } 144 <DEFSYMEXP>{FILENAMECHAR1}{SYMBOLCHARN}* { yylval.name = xstrdup (yytext); return NAME; } 148 yylval.integer = bfd_scan_vma (yytext + 1, 0, 16); 149 yylval.bigint.str = NULL; 173 yylval.integer = bfd_scan_vma (yytext, 0, 175 yylval.bigint.str = NULL; 187 yylval.integer = bfd_scan_vma (s, 0, ibase); 188 yylval.bigint.str = NULL; 192 yylval.integer *= 1024 * 1024; 197 yylval.integer *= 1024; [all …]
|
D | ldfile.c | 214 arg1 = yylval.name; in ldfile_try_open_bfd() 225 arg2 = yylval.name; in ldfile_try_open_bfd() 233 arg3 = yylval.name; in ldfile_try_open_bfd() 259 free (yylval.name); in ldfile_try_open_bfd() 262 if (yylval.bigint.str) in ldfile_try_open_bfd() 263 free (yylval.bigint.str); in ldfile_try_open_bfd()
|
D | deffilep.y | 45 #define yylval def_lval macro 1354 yylval.digits = def_pool_strdup (buffer); in def_lex() 1403 yylval.id = def_pool_strdup (buffer); in def_lex() 1418 yylval.id = def_pool_strdup (buffer); in def_lex()
|
/toolchain/binutils/binutils-2.25/gas/ |
D | itbl-lex.l | 64 yylval.processor = strtoul (yytext+1, 0, 0); 69 yylval.num = strtoul (yytext, 0, 0); 74 yylval.num = strtoul (yytext, 0, 0); 79 yylval.str = strdup (yytext);
|
/toolchain/binutils/binutils-2.25/intl/ |
D | plural.c | 9 #define yylval __gettextlval macro 493 yylval = (Value); \ 528 # define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM) 530 # define YYLEX yylex (&yylval, &yylloc) 534 # define YYLEX yylex (&yylval, YYLEX_PARAM) 536 # define YYLEX yylex (&yylval) 675 YYSTYPE yylval; \ 921 YYPRINT (stderr, yychar, yylval); in yyparse() 962 *++yyvsp = yylval; in yyparse() 1299 *++yyvsp = yylval; in yyparse()
|