Home
last modified time | relevance | path

Searched refs:linemap (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dlinemap.c81 yasm_linemap_set(yasm_linemap *linemap, const char *filename, in yasm_linemap_set() argument
91 virtual_line = linemap->current; in yasm_linemap_set()
95 for (i = linemap->map_size; i > 0; i--) { in yasm_linemap_set()
96 if (linemap->map_vector[i-1].line < virtual_line) { in yasm_linemap_set()
97 if (i < linemap->map_size) { in yasm_linemap_set()
98 mapping = &linemap->map_vector[i]; in yasm_linemap_set()
99 linemap->map_size = i + 1; in yasm_linemap_set()
107 if (linemap->map_size >= linemap->map_allocated) { in yasm_linemap_set()
109 linemap->map_vector = yasm_xrealloc(linemap->map_vector, in yasm_linemap_set()
110 2*linemap->map_allocated*sizeof(line_mapping)); in yasm_linemap_set()
[all …]
Dlinemap.h47 void yasm_linemap_destroy(yasm_linemap *linemap);
54 unsigned long yasm_linemap_get_current(yasm_linemap *linemap);
66 int yasm_linemap_get_source(yasm_linemap *linemap, unsigned long line,
79 void yasm_linemap_add_source(yasm_linemap *linemap,
88 unsigned long yasm_linemap_goto_next(yasm_linemap *linemap);
100 void yasm_linemap_set(yasm_linemap *linemap, /*@null@*/ const char *filename,
113 unsigned long yasm_linemap_poke(yasm_linemap *linemap,
124 void yasm_linemap_lookup(yasm_linemap *linemap, unsigned long line,
138 (yasm_linemap *linemap, /*@null@*/ void *d,
Ddbgfmt.h70 void (*generate) (yasm_object *object, yasm_linemap *linemap,
101 void yasm_dbgfmt_generate(yasm_object *object, yasm_linemap *linemap,
116 #define yasm_dbgfmt_generate(object, linemap, ews) \ argument
118 (object, linemap, ews)
Dlistfmt.h69 void (*output) (yasm_listfmt *listfmt, FILE *f, yasm_linemap *linemap,
104 yasm_linemap *linemap, yasm_arch *arch);
119 #define yasm_listfmt_output(listfmt, f, linemap, a) \ argument
120 ((yasm_listfmt_base *)listfmt)->module->output(listfmt, f, linemap, a)
Dparser.h64 yasm_linemap *linemap, yasm_errwarns *errwarns);
DMakefile.inc17 libyasm_a_SOURCES += libyasm/linemap.c
65 modinclude_HEADERS += libyasm/linemap.h
Dbc-incbin.c250 yasm_linemap *linemap, unsigned long line) in yasm_bc_create_incbin() argument
256 yasm_linemap_lookup(linemap, line, &incbin->from, &xline); in yasm_bc_create_incbin()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/
Dnasm-parser.c36 yasm_linemap *linemap, yasm_errwarns *errwarns, int tasm) in nasm_do_parse() argument
44 parser_nasm.linemap = linemap; in nasm_do_parse()
80 int save_input, yasm_linemap *linemap, in nasm_parser_do_parse() argument
83 nasm_do_parse(object, pp, save_input, linemap, errwarns, 0); in nasm_parser_do_parse()
112 int save_input, yasm_linemap *linemap, in tasm_parser_do_parse() argument
117 nasm_do_parse(object, pp, save_input, linemap, errwarns, 1); in tasm_parser_do_parse()
Dnasm-parser-struct.h56 /*@dependent@*/ yasm_linemap *linemap; member
/external/chromium_org/third_party/yasm/source/patched-yasm/frontends/yasm/
Dyasm.c85 /*@only@*/ yasm_linemap *linemap);
248 yasm_linemap *linemap; in do_preproc_only() local
256 linemap = yasm_linemap_create(); in do_preproc_only()
257 yasm_linemap_set(linemap, in_filename, 0, 1, 1); in do_preproc_only()
289 linemap, errwarns); in do_preproc_only()
330 yasm_errwarns_output_all(errwarns, linemap, warning_error, in do_preproc_only()
334 yasm_linemap_destroy(linemap); in do_preproc_only()
340 yasm_errwarns_output_all(errwarns, linemap, warning_error, in do_preproc_only()
342 yasm_linemap_destroy(linemap); in do_preproc_only()
355 yasm_linemap *linemap; in do_assemble() local
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/frontends/tasm/
Dtasm.c84 /*@only@*/ yasm_linemap *linemap);
263 yasm_linemap *linemap; in do_assemble() local
268 linemap = yasm_linemap_create(); in do_assemble()
269 yasm_linemap_set(linemap, in_filename, 0, 1, 1); in do_assemble()
347 object->symtab, linemap, errwarns); in do_assemble()
362 linemap, errwarns); in do_assemble()
364 check_errors(errwarns, object, linemap); in do_assemble()
368 check_errors(errwarns, object, linemap); in do_assemble()
372 check_errors(errwarns, object, linemap); in do_assemble()
375 yasm_dbgfmt_generate(object, linemap, errwarns); in do_assemble()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/
Dgas-parser.c39 int save_input, yasm_linemap *linemap, in gas_parser_do_parse() argument
46 parser_gas.linemap = linemap; in gas_parser_do_parse()
92 yasm_linemap_get_current(parser_gas.linemap)-2); in gas_parser_do_parse()
Dgas-parse-intel.c45 (to)->linemap = (from)->linemap; \
Dgas-parser.h92 /*@dependent@*/ yasm_linemap *linemap; member
150 #define cur_line (yasm_linemap_get_current(parser_gas->linemap))
Dgas-parse.c323 yasm_linemap_set(parser_gas->linemap, filename, 0, line, 1); in cpp_line_marker()
431 yasm_linemap_set(parser_gas->linemap, filename, 0, line, incr); in nasm_line_marker()
474 yasm_linemap_set(parser_gas->linemap, NULL, 0, in dir_line()
479 yasm_linemap_set(parser_gas->linemap, parser_gas->dir_file, 0, in dir_line()
830 yasm_linemap_lookup(parser_gas->linemap, cur_line, &old_fn, in dir_file()
832 yasm_linemap_set(parser_gas->linemap, filename, 0, old_line, in dir_file()
837 yasm_linemap_set(parser_gas->linemap, filename, 0, in dir_file()
1760 yasm_linemap_add_source(parser_gas->linemap, in gas_parser_parse()
1763 yasm_linemap_goto_next(parser_gas->linemap); in gas_parser_parse()
/external/chromium_org/third_party/cython/src/Cython/Tests/
DTestStringIOTree.py24 linemap = dict(enumerate(code.splitlines())) variable
67 tree.write(linemap[lineno] + '\n')
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/codeview/
Dcv-dbgfmt.c92 cv_dbgfmt_generate(yasm_object *object, yasm_linemap *linemap, in cv_dbgfmt_generate() argument
95 yasm_cv__generate_symline(object, linemap, errwarns); in cv_dbgfmt_generate()
Dcv-dbgfmt.h53 (yasm_object *object, yasm_linemap *linemap, yasm_errwarns *errwarns);
Dcv-symline.c418 yasm_linemap *linemap; member
440 yasm_linemap_lookup(info->linemap, bc->line, &filename, &line); in cv_generate_line_bc()
554 yasm_cv__generate_symline(yasm_object *object, yasm_linemap *linemap, in yasm_cv__generate_symline() argument
567 yasm_linemap_traverse_filenames(linemap, dbgfmt_cv, in yasm_cv__generate_symline()
572 info.linemap = linemap; in yasm_cv__generate_symline()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/stabs/
Dstabs-dbgfmt.c99 yasm_linemap *linemap; member
257 yasm_linemap_lookup(info->linemap, bc->line, &info->curfile, in stabs_dbgfmt_generate_bcs()
312 stabs_dbgfmt_generate(yasm_object *object, yasm_linemap *linemap, in stabs_dbgfmt_generate() argument
331 info.linemap = linemap; in stabs_dbgfmt_generate()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/
Ddwarf2-line.c480 yasm_linemap *linemap; member
533 yasm_linemap_lookup(info->linemap, bc->line, &pathname, &info->loc.line); in dwarf2_generate_line_bc()
563 yasm_linemap *linemap; member
617 bcinfo.linemap = info->linemap; in dwarf2_generate_line_section()
685 yasm_dwarf2__generate_line(yasm_object *object, yasm_linemap *linemap, in yasm_dwarf2__generate_line() argument
700 yasm_linemap_traverse_filenames(linemap, dbgfmt_dwarf2, in yasm_dwarf2__generate_line()
708 info.linemap = linemap; in yasm_dwarf2__generate_line()
Ddwarf2-dbgfmt.h108 (yasm_object *object, yasm_linemap *linemap, yasm_errwarns *errwarns,
Ddwarf2-dbgfmt.c149 dwarf2_dbgfmt_generate(yasm_object *object, yasm_linemap *linemap, in dwarf2_dbgfmt_generate() argument
159 debug_line = yasm_dwarf2__generate_line(object, linemap, errwarns, in dwarf2_dbgfmt_generate()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/null/
Dnull-dbgfmt.c50 null_dbgfmt_generate(yasm_object *object, yasm_linemap *linemap, in null_dbgfmt_generate() argument
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/listfmts/nasm/
Dnasm-listfmt.c143 nasm_listfmt_output(yasm_listfmt *listfmt, FILE *f, yasm_linemap *linemap, in nasm_listfmt_output() argument
163 while (!yasm_linemap_get_source(linemap, line, &bc, &source)) { in nasm_listfmt_output()

12