Searched refs:locp (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/target/hexagon/idef-parser/ |
H A D | parser-helpers.c | 33 void yyerror(YYLTYPE *locp, in yyerror() argument 43 for (int i = locp->first_column; i < locp->last_column; i++) { in yyerror() 52 code_ptr[locp->first_column - 10 + i] != '\0' && in yyerror() 53 code_ptr[locp->first_column - 10 + i] != '\n'; in yyerror() 55 fprintf(stderr, "%c", code_ptr[locp->first_column - 10 + i]); in yyerror() 62 for (int i = 0; i < (locp->last_column - locp->first_column) - 1; i++) { in yyerror() 80 void str_print(Context *c, YYLTYPE *locp, const char *string) in str_print() argument 82 (void) locp; in str_print() 86 void uint8_print(Context *c, YYLTYPE *locp, uint8_t *num) in uint8_print() argument 88 (void) locp; in uint8_print() [all …]
|
H A D | parser-helpers.h | 45 void yyerror(YYLTYPE *locp, 51 #define yyassert(context, locp, condition, msg) \ argument 53 yyerror(locp, (context)->scanner, (context), (msg)); \ 65 void str_print(Context *c, YYLTYPE *locp, const char *string); 67 void uint8_print(Context *c, YYLTYPE *locp, uint8_t *num); 69 void uint64_print(Context *c, YYLTYPE *locp, uint64_t *num); 71 void int_print(Context *c, YYLTYPE *locp, int *num); 73 void uint_print(Context *c, YYLTYPE *locp, unsigned *num); 75 void tmp_print(Context *c, YYLTYPE *locp, HexTmp *tmp); 77 void pred_print(Context *c, YYLTYPE *locp, HexPred *pred, bool is_dotnew); [all …]
|