Searched refs:linemap (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dlinemap.c33 #include "linemap.h"
81 yasm_linemap_set(yasm_linemap *linemap, const char *filename, argument
91 virtual_line = linemap->current;
95 for (i = linemap->map_size; i > 0; i--) {
96 if (linemap->map_vector[i-1].line < virtual_line) {
97 if (i < linemap->map_size) {
98 mapping = &linemap->map_vector[i];
99 linemap->map_size = i + 1;
107 if (linemap->map_size >= linemap
141 yasm_linemap_poke(yasm_linemap *linemap, const char *filename, unsigned long file_line) argument
167 yasm_linemap *linemap = yasm_xmalloc(sizeof(yasm_linemap)); local
191 yasm_linemap_destroy(yasm_linemap *linemap) argument
209 yasm_linemap_get_current(yasm_linemap *linemap) argument
215 yasm_linemap_add_source(yasm_linemap *linemap, yasm_bytecode *bc, const char *source) argument
240 yasm_linemap_goto_next(yasm_linemap *linemap) argument
246 yasm_linemap_lookup(yasm_linemap *linemap, unsigned long line, const char **filename, unsigned long *file_line) argument
273 yasm_linemap_traverse_filenames(yasm_linemap *linemap, void *d, int (*func) (const char *filename, void *d)) argument
280 yasm_linemap_get_source(yasm_linemap *linemap, unsigned long line, yasm_bytecode **bcp, const char **sourcep) argument
[all...]
H A Dlinemap.h2 * \file libyasm/linemap.h
44 * \param linemap line mapping repository
47 void yasm_linemap_destroy(yasm_linemap *linemap);
50 * \param linemap line mapping repository
54 unsigned long yasm_linemap_get_current(yasm_linemap *linemap);
57 * \param linemap line mapping repository
66 int yasm_linemap_get_source(yasm_linemap *linemap, unsigned long line,
73 * \param linemap line mapping repository
79 void yasm_linemap_add_source(yasm_linemap *linemap,
84 * \param linemap lin
[all...]
H A Ddbgfmt.h70 void (*generate) (yasm_object *object, yasm_linemap *linemap,
97 * \param linemap virtual/physical line mapping
101 void yasm_dbgfmt_generate(yasm_object *object, yasm_linemap *linemap,
116 #define yasm_dbgfmt_generate(object, linemap, ews) \
118 (object, linemap, ews)
H A Dparser.h57 * lines of source into the object's linemap (via
64 yasm_linemap *linemap, yasm_errwarns *errwarns);
H A Dlistfmt.h69 void (*output) (yasm_listfmt *listfmt, FILE *f, yasm_linemap *linemap,
100 * \param linemap line mapping repository
104 yasm_linemap *linemap, yasm_arch *arch);
119 #define yasm_listfmt_output(listfmt, f, linemap, a) \
120 ((yasm_listfmt_base *)listfmt)->module->output(listfmt, f, linemap, a)
H A Dbc-incbin.c32 #include "linemap.h"
250 yasm_linemap *linemap, unsigned long line)
256 yasm_linemap_lookup(linemap, line, &incbin->from, &xline);
249 yasm_bc_create_incbin(char *filename, yasm_expr *start, yasm_expr *maxlen, yasm_linemap *linemap, unsigned long line) argument
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/
H A Dnasm-parser.c36 yasm_linemap *linemap, yasm_errwarns *errwarns, int tasm)
44 parser_nasm.linemap = linemap;
80 int save_input, yasm_linemap *linemap,
83 nasm_do_parse(object, pp, save_input, linemap, errwarns, 0);
112 int save_input, yasm_linemap *linemap,
117 nasm_do_parse(object, pp, save_input, linemap, errwarns, 1);
35 nasm_do_parse(yasm_object *object, yasm_preproc *pp, int save_input, yasm_linemap *linemap, yasm_errwarns *errwarns, int tasm) argument
79 nasm_parser_do_parse(yasm_object *object, yasm_preproc *pp, int save_input, yasm_linemap *linemap, yasm_errwarns *errwarns) argument
111 tasm_parser_do_parse(yasm_object *object, yasm_preproc *pp, int save_input, yasm_linemap *linemap, yasm_errwarns *errwarns) argument
H A Dnasm-parser-struct.h56 /*@dependent@*/ yasm_linemap *linemap; member in struct:yasm_parser_nasm
H A Dnasm-parser.h113 #define cur_line (yasm_linemap_get_current(parser_nasm->linemap))
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/codeview/
H A Dcv-dbgfmt.h53 (yasm_object *object, yasm_linemap *linemap, yasm_errwarns *errwarns);
H A Dcv-dbgfmt.c92 cv_dbgfmt_generate(yasm_object *object, yasm_linemap *linemap, argument
95 yasm_cv__generate_symline(object, linemap, errwarns);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/null/
H A Dnull-dbgfmt.c50 null_dbgfmt_generate(yasm_object *object, yasm_linemap *linemap, argument
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/
H A Dgas-parser.c39 int save_input, yasm_linemap *linemap,
46 parser_gas.linemap = linemap;
89 * in the linemap.
92 yasm_linemap_get_current(parser_gas.linemap)-2);
38 gas_parser_do_parse(yasm_object *object, yasm_preproc *pp, int save_input, yasm_linemap *linemap, yasm_errwarns *errwarns) argument
H A Dgas-parse-intel.c45 (to)->linemap = (from)->linemap; \
H A Dgas-parser.h81 /* .line/.file: we have to see both to start setting linemap versions */
92 /*@dependent@*/ yasm_linemap *linemap; member in struct:yasm_parser_gas
150 #define cur_line (yasm_linemap_get_current(parser_gas->linemap))
H A Dgas-parse.c322 /* Set linemap. */
323 yasm_linemap_set(parser_gas->linemap, filename, 0, line, 1);
430 /* Set linemap. */
431 yasm_linemap_set(parser_gas->linemap, filename, 0, line, incr);
474 yasm_linemap_set(parser_gas->linemap, NULL, 0,
479 yasm_linemap_set(parser_gas->linemap, parser_gas->dir_file, 0,
830 yasm_linemap_lookup(parser_gas->linemap, cur_line, &old_fn,
832 yasm_linemap_set(parser_gas->linemap, filename, 0, old_line,
837 yasm_linemap_set(parser_gas->linemap, filename, 0,
1760 yasm_linemap_add_source(parser_gas->linemap,
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/frontends/tasm/
H A Dtasm.c84 /*@only@*/ yasm_linemap *linemap);
263 yasm_linemap *linemap; local
268 linemap = yasm_linemap_create();
269 yasm_linemap_set(linemap, in_filename, 0, 1, 1);
347 object->symtab, linemap, errwarns);
362 linemap, errwarns);
364 check_errors(errwarns, object, linemap);
368 check_errors(errwarns, object, linemap);
372 check_errors(errwarns, object, linemap);
375 yasm_dbgfmt_generate(object, linemap, errwarn
587 check_errors(yasm_errwarns *errwarns, yasm_object *object, yasm_linemap *linemap) argument
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/frontends/yasm/
H A Dyasm.c85 /*@only@*/ yasm_linemap *linemap);
248 yasm_linemap *linemap; local
256 linemap = yasm_linemap_create();
257 yasm_linemap_set(linemap, in_filename, 0, 1, 1);
289 linemap, errwarns);
330 yasm_errwarns_output_all(errwarns, linemap, warning_error,
334 yasm_linemap_destroy(linemap);
340 yasm_errwarns_output_all(errwarns, linemap, warning_error,
342 yasm_linemap_destroy(linemap);
355 yasm_linemap *linemap; local
743 check_errors(yasm_errwarns *errwarns, yasm_object *object, yasm_linemap *linemap) argument
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/
H A Dlibyasm.h49 #include <libyasm/linemap.h>
H A Dsplint.sh41 libyasm/linemap.c \
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/
H A Ddwarf2-dbgfmt.h108 (yasm_object *object, yasm_linemap *linemap, yasm_errwarns *errwarns,
H A Ddwarf2-line.c480 yasm_linemap *linemap; member in struct:dwarf2_line_bc_info
533 yasm_linemap_lookup(info->linemap, bc->line, &pathname, &info->loc.line);
563 yasm_linemap *linemap; member in struct:dwarf2_line_info
617 bcinfo.linemap = info->linemap;
685 yasm_dwarf2__generate_line(yasm_object *object, yasm_linemap *linemap, argument
699 /* Generate dirs and filenames based on linemap */
700 yasm_linemap_traverse_filenames(linemap, dbgfmt_dwarf2,
708 info.linemap = linemap;
[all...]
H A Ddwarf2-dbgfmt.c149 dwarf2_dbgfmt_generate(yasm_object *object, yasm_linemap *linemap, argument
159 debug_line = yasm_dwarf2__generate_line(object, linemap, errwarns,
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/stabs/
H A Dstabs-dbgfmt.c99 yasm_linemap *linemap; member in struct:__anon15619
257 yasm_linemap_lookup(info->linemap, bc->line, &info->curfile,
312 stabs_dbgfmt_generate(yasm_object *object, yasm_linemap *linemap, argument
331 info.linemap = linemap;
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/listfmts/nasm/
H A Dnasm-listfmt.c143 nasm_listfmt_output(yasm_listfmt *listfmt, FILE *f, yasm_linemap *linemap, argument
163 while (!yasm_linemap_get_source(linemap, line, &bc, &source)) {

Completed in 305 milliseconds

12