/external/igt-gpu-tools/assembler/ |
D | lex.l | 65 yylval.integer = BRW_CHANNEL_X; 69 yylval.integer = BRW_CHANNEL_Y; 73 yylval.integer = BRW_CHANNEL_Z; 77 yylval.integer = BRW_CHANNEL_W; 89 "mov" { yylval.integer = BRW_OPCODE_MOV; return MOV; } 90 "frc" { yylval.integer = BRW_OPCODE_FRC; return FRC; } 91 "rndu" { yylval.integer = BRW_OPCODE_RNDU; return RNDU; } 92 "rndd" { yylval.integer = BRW_OPCODE_RNDD; return RNDD; } 93 "rnde" { yylval.integer = BRW_OPCODE_RNDE; return RNDE; } 94 "rndz" { yylval.integer = BRW_OPCODE_RNDZ; return RNDZ; } [all …]
|
/external/mesa3d/src/intel/tools/ |
D | i965_lex.l | 52 add { yylval.integer = BRW_OPCODE_ADD; return ADD; } 53 addc { yylval.integer = BRW_OPCODE_ADDC; return ADDC; } 54 and { yylval.integer = BRW_OPCODE_AND; return AND; } 55 asr { yylval.integer = BRW_OPCODE_ASR; return ASR; } 56 avg { yylval.integer = BRW_OPCODE_AVG; return AVG; } 57 bfe { yylval.integer = BRW_OPCODE_BFE; return BFE; } 58 bfi1 { yylval.integer = BRW_OPCODE_BFI1; return BFI1; } 59 bfi2 { yylval.integer = BRW_OPCODE_BFI2; return BFI2; } 60 bfrev { yylval.integer = BRW_OPCODE_BFREV; return BFREV; } 61 brc { yylval.integer = BRW_OPCODE_BRC; return BRC; } [all …]
|
/external/libpcap/ |
D | scanner.l | 397 ${B} { yylval->s = sdup(yyextra, yytext); return AID; } 398 {MAC} { yylval->s = sdup(yyextra, yytext); return EID; } 399 {N} { return stou(yytext, yylval, yyextra); } 401 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 410 yylval->s = NULL; 413 yylval->s = sdup(yyextra, (char *)yytext); 417 yylval->s = NULL; 421 {B}:+({B}:+)+ { bpf_set_error(yyextra, "bogus ethernet address %s", yytext); yylval->s = NULL; ret… 422 icmptype { yylval->h = 0; return NUM; } 423 icmpcode { yylval->h = 1; return NUM; } [all …]
|
D | scanner.c | 3243 # define yylval yyg->yylval_r macro 3430 yylval = yylval_param; 4123 { yylval->s = sdup(yyextra, yytext); return AID; } 4128 { yylval->s = sdup(yyextra, yytext); return EID; } 4133 { return stou(yytext, yylval, yyextra); } 4139 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 4152 yylval->s = NULL; 4155 yylval->s = sdup(yyextra, (char *)yytext); 4159 yylval->s = NULL; 4167 { bpf_set_error(yyextra, "bogus ethernet address %s", yytext); yylval->s = NULL; return EID; } [all …]
|
/external/mesa3d/src/mesa/program/ |
D | program_lexer.l | 53 return handle_ident(yyextra, yytext, yylval); \ 73 & yylval->temp_inst)) { \ 74 yylval->temp_inst.Opcode = OPCODE_ ## opcode; \ 77 return handle_ident(yyextra, yytext, yylval); \ 177 yylval->integer = at_address; 186 TEMP { yylval->integer = at_temp; return TEMP; } 312 [_a-zA-Z$][_a-zA-Z0-9$]* { return handle_ident(yyextra, yytext, yylval); } 317 yylval->integer = strtol(yytext, NULL, 10); 321 yylval->real = _mesa_strtof(yytext, NULL); 325 yylval->real = _mesa_strtof(yytext, NULL); [all …]
|
/external/libnl/lib/route/cls/ |
D | ematch_grammar.l | 36 yylval->q.len = 32; 37 if (!(yylval->q.data = calloc(1, yylval->q.len))) 40 yylval->q.index = 0; 45 memcpy(yylval->q.data + yylval->q.index, yytext, 47 yylval->q.index += strlen(yytext); 58 yylval->i = strtoul(yytext, NULL, 0); 70 "&&" { yylval->i = TCF_EM_REL_AND; return LOGIC; } 72 "||" { yylval->i = TCF_EM_REL_OR; return LOGIC; } 76 [cC][mM][pP] { yylval->i = TCF_EM_CMP; return EMATCH_CMP; } 77 [pP][aA][tT][tT][eE][rR][nN] { yylval->i = TCF_EM_NBYTE; return EMATCH_NBYTE; } [all …]
|
/external/angle/src/compiler/preprocessor/ |
D | preprocessor.l | 132 *yylval = "Integer overflow on line number"; 144 yylval->assign(1, yytext[0]); 149 yylval->assign(yytext, yyleng); 154 yylval->assign(yytext, yyleng); 159 yylval->assign(yytext, yyleng); 166 yylval->assign(yytext, yyleng); 171 yylval->assign(yytext, yyleng); 175 yylval->assign(yytext, yyleng); 179 yylval->assign(yytext, yyleng); 183 yylval->assign(yytext, yyleng); [all …]
|
D | preprocessor_lex_autogen.cpp | 804 #define yylval yyg->yylval_r macro 997 yylval = yylval_param; 1108 *yylval = "Integer overflow on line number"; 1125 yylval->assign(1, yytext[0]); 1133 yylval->assign(yytext, yyleng); 1140 yylval->assign(yytext, yyleng); 1147 yylval->assign(yytext, yyleng); 1156 yylval->assign(yytext, yyleng); 1163 yylval->assign(yytext, yyleng); 1170 yylval->assign(yytext, yyleng); [all …]
|
/external/libnl/lib/route/ |
D | pktloc_grammar.l | 32 yylval->i = strtoul(yytext, NULL, 0); 36 "+" { return yylval->i = yytext[0]; } 38 [uU]8 { yylval->i = TCF_EM_ALIGN_U8; return ALIGN; } 39 [uU]16 { yylval->i = TCF_EM_ALIGN_U16; return ALIGN; } 40 [uU]32 { yylval->i = TCF_EM_ALIGN_U32; return ALIGN; } 43 [eE][tT][hH] { yylval->i = TCF_LAYER_LINK; return LAYER; } 45 [iI][pP] { yylval->i = TCF_LAYER_NETWORK; return LAYER; } 47 [tT][cC][pP] { yylval->i = TCF_LAYER_TRANSPORT; return LAYER; } 51 yylval->s = strdup(yytext); 52 if (yylval->s == NULL)
|
/external/mesa3d/src/freedreno/afuc/ |
D | lexer.l | 32 #define TOKEN(t) (yylval.tok = t) 33 extern YYSTYPE yylval; 43 0|[1-9][0-9]* yylval.num = strtoul(yytext, NULL, 0); return T_INT; 44 "0x"[0-9a-fA-F]* yylval.num = strtoul(yytext, NULL, 0); return T_HEX; 46 "$"[0-9a-fA-F][0-9a-fA-F] yylval.num = parse_reg(yytext); return T_REGISTER; 47 "$"[a-zA-Z][a-zA-Z0-9]* yylval.num = parse_reg(yytext); return T_REGISTER; 48 "b"[0-9][0-9]* yylval.num = parse_bit(yytext); return T_BIT; 49 "@"[a-zA-Z_][a-zA-Z0-9_]* yylval.num = parse_control_reg(yytext); return T_CONTROL_REG; 50 "#"[a-zA-Z_][a-zA-Z0-9_]* yylval.str = strdup(yytext+1); return T_LABEL_REF; /* label refe… 51 [a-zA-Z_][a-zA-Z0-9_]*":" yylval.str = parse_label_decl(yytext); return T_LABEL_DECL; /* la… [all …]
|
/external/one-true-awk/ |
D | lex.c | 32 extern YYSTYPE yylval; 197 yylval.cp = setsymtab(buf, cp, result, CON|NUM, symtab); in yylex() 199 yylval.cp = setsymtab(buf, cp, 0.0, STR, symtab); in yylex() 205 yylval.i = c; in yylex() 249 input(); yylval.i = NE; RET(NE); in yylex() 251 input(); yylval.i = NOTMATCH; RET(MATCHOP); in yylex() 255 yylval.i = MATCH; in yylex() 259 input(); yylval.i = LE; RET(LE); in yylex() 261 yylval.i = LT; RET(LT); in yylex() 265 input(); yylval.i = EQ; RET(EQ); in yylex() [all …]
|
/external/dtc/ |
D | dtc-lexer.l | 97 yylval.data = data_copy_escape_string(yytext+1, 149 yylval.labelref = xstrdup(yytext); 150 yylval.labelref[yyleng-1] = '\0'; 159 yylval.integer = strtoull(yytext, &e, 0); 183 yylval.integer = 0; 185 yylval.integer = (unsigned char)d.val[0]; 199 yylval.labelref = xstrdup(yytext+1); 206 yylval.labelref = xstrdup(yytext+2); 211 yylval.byte = strtol(yytext, NULL, 16); 212 DPRINT("Byte: %02x\n", (int)yylval.byte); [all …]
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd_lexer.l | 24 extern YYSTYPE yylval; 75 \* yylval.string = strdup(yytext); return WILDCARD; 76 [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ yylval.string = strdup(yytext); return DOTTED_DECIMAL_ADDRESS; 77 [0123456789]+ yylval.number = atoi(yytext); return NUMBER; 78 [a-zA-Z0-9]+(\.[a-zA-Z0-9]+)* yylval.string = strdup(yytext); return HOSTNAME; 79 [a-zA-Z0-9\.]+([a-zA-Z0-9\.]+)* yylval.string = strdup(yytext); return DOMAINNAME; 80 \"([^"\\\r\n]*(\\.[^"\\\r\n]*)*)\" yylval.string = StripQuotes(yytext); return QUOTEDSTRING;
|
/external/libconfig/lib/ |
D | scanner.l | 95 yylval->sval = libconfig_scanctx_take_string(yyextra); 134 {true} { yylval->ival = 1; return(TOK_BOOLEAN); } 135 {false} { yylval->ival = 0; return(TOK_BOOLEAN); } 136 {name} { yylval->sval = yytext; return(TOK_NAME); } 137 {float} { yylval->fval = atof(yytext); return(TOK_FLOAT); } 146 yylval->llval = llval; 151 yylval->ival = (int)llval; 155 {integer64} { yylval->llval = atoll(yytext); return(TOK_INTEGER64); } 157 yylval->ival = strtoul(yytext, NULL, 16); 161 yylval->llval = libconfig_parse_hex64(yytext);
|
/external/angle/src/compiler/translator/ |
D | glslang.l | 181 "true" { yylval->lex.b = true; return BOOLCONSTANT; } 182 "false" { yylval->lex.b = false; return BOOLCONSTANT; } 313 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); 323 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); 337 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); 396 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); 465 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); 506 yylval->lex.symbol = symbol; in check_type() 560 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); in ES3_reserved_ES3_1_keyword() 579 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); in ES3_keyword() [all …]
|
D | glslang_lex_autogen.cpp | 1031 #define yylval yyg->yylval_r macro 1225 yylval = yylval_param; 1532 yylval->lex.b = true; 1539 yylval->lex.b = false; 2187 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); 2199 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); 2215 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); 2271 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); 2622 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); 3610 return yylval; in yyget_lval() [all …]
|
/external/iproute2/tc/ |
D | emp_ematch.l | 8 #define yylval ematch_lval macro 86 yylval.b = bstr_new(strbuf, strbuf_index); 87 yylval.b->quoted = 1; 137 return yylval.i = *yytext; 140 yylval.b = bstr_alloc(yytext); 141 if (yylval.b == NULL)
|
/external/mksh/src/ |
D | syn.c | 196 iop = yylval.iop; in synio() 202 yylval.cp = wdcopy(IONDELIM_delim, ATEMP); in synio() 207 iop->delim = yylval.cp; in synio() 216 iop->ioname = yylval.cp; in synio() 329 is_wdvarassign(yylval.cp)) in get_command() 330 XPput(vars, yylval.cp); in get_command() 332 XPput(args, yylval.cp); in get_command() 337 is_wdvarassign(yylval.cp)) { in get_command() 357 XPput(args, yylval.cp); in get_command() 416 XPput(args, yylval.cp); in get_command() [all …]
|
/external/libtracefs/src/ |
D | sqlhist.l | 45 yylval->string = store_str(TRACE_SB, yyg->yytext_r); 51 yylval->string = store_str(TRACE_SB, yyg->yytext_r); 59 yylval->string = store_str(TRACE_SB, str); 65 yylval->number = strtol(yyg->yytext_r, NULL, 0); 71 yylval->number = strtol(yyg->yytext_r, NULL, 0);
|
D | sqlhist.tab.c | 87 extern int yylex(YYSTYPE *yylval, void *); 857 yylval = (Value); \ 1069 YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default); in yyparse() 1237 yychar = yylex (&yylval, scanner); in yyparse() 1259 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); in yyparse() 1282 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); in yyparse() 1285 *++yyvsp = yylval; in yyparse() 1624 yytoken, &yylval, sb); in yyparse() 1686 *++yyvsp = yylval; in yyparse() 1734 yytoken, &yylval, sb); in yyparse()
|
/external/libxkbcommon/src/xkbcomp/ |
D | scanner.c | 66 _xkbcommon_lex(YYSTYPE *yylval, struct scanner *s) in _xkbcommon_lex() argument 114 yylval->str = strdup(s->buf); in _xkbcommon_lex() 115 if (!yylval->str) in _xkbcommon_lex() 129 yylval->atom = xkb_atom_intern(s->ctx, s->buf, s->buf_pos - 1); in _xkbcommon_lex() 165 yylval->str = strdup(s->buf); in _xkbcommon_lex() 166 if (!yylval->str) in _xkbcommon_lex() 172 if (number(s, &yylval->num, &tok)) { in _xkbcommon_lex()
|
/external/mesa3d/src/compiler/glsl/ |
D | glsl_lexer.ll | 87 return classify_identifier(yyextra, yytext, yyleng, yylval); \ 100 yylval->type = gtype; \ 108 return classify_identifier(yyextra, yytext, yyleng, yylval); \ 144 yylval->type = gtype; \ 147 return classify_identifier(yyextra, yytext, yyleng, yylval); \ 207 literal_integer(yytext, yyleng, yyextra, yylval, yylloc, base) 380 yylval->identifier = id; 384 yylval->n = strtol(yytext, NULL, 10); 388 yylval->n = 0; 398 bool { yylval->type = glsl_type::bool_type; return BASIC_TYPE_TOK; } [all …]
|
/external/iproute2/misc/ |
D | ssfilter.y | 293 yylval = (void*)parse_devcond(curtok); in yylex() 294 if (yylval == NULL) { in yylex() 301 yylval = (void*)parse_markmask(curtok); in yylex() 302 if (yylval == NULL) { in yylex() 308 yylval = (void*)parse_hostcond(curtok, tok_type == SPORT || tok_type == DPORT); in yylex() 309 if (yylval == NULL) { in yylex()
|
/external/libiio/src/iiod/ |
D | lexer.l | 105 yylval->dev = dev; 139 yylval->chn = chn; 146 yylval->value = strtol(yytext, NULL, 10); 155 yylval->word = strdup(yytext);
|
/external/angle/tools/flex-bison/third_party/skeletons/ |
D | lalr1.java | 80 ]b4_yystype[ yylval = null; 583 yystack.push (yystate, yylval]b4_locations_if([, yylloc])[); 585 b4_dollar_pushdef([yylval], [], [], [yylloc])dnl 595 b4_dollar_pushdef([yylval], [], [], [yylloc])dnl 641 yylval = yylexval;]b4_locations_if([ 646 yylval = yylexer.getLVal();]b4_locations_if([[ 655 yylval]b4_locations_if([, yylloc])[);]])[ 699 yylval]b4_locations_if([, yylloc])[); 710 yystack.push(yystate, yylval]b4_locations_if([, yylloc])[);]b4_lac_if([[ 835 yylval]b4_locations_if([, yyloc])[);]])[ [all …]
|