/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
D | symrec.c | 72 /*@dependent@*/ yasm_bytecode *precbc; member 332 yasm_bytecode *precbc, int in_table, in yasm_symtab_define_label() argument 338 rec->value.precbc = precbc; in yasm_symtab_define_label() 339 if (in_table && precbc) in yasm_symtab_define_label() 340 yasm_bc__add_symrec(precbc, rec); in yasm_symtab_define_label() 346 yasm_bytecode *precbc, unsigned long line) in yasm_symtab_define_curpos() argument 351 rec->value.precbc = precbc; in yasm_symtab_define_curpos() 549 yasm_symrec_get_label_bytecodep *precbc) in yasm_symrec_get_label() argument 552 || !sym->value.precbc) { in yasm_symrec_get_label() 553 *precbc = (yasm_symrec_get_label_bytecodep)0xDEADBEEF; in yasm_symrec_get_label() [all …]
|
D | expr.c | 143 yasm_expr_precbc(yasm_bytecode *precbc) in yasm_expr_precbc() argument 147 e->data.precbc = precbc; in yasm_expr_precbc() 205 yasm_bytecode *precbc, in expr_xform_bc_dist_base() argument 211 /*@dependent@*/ /*@null@*/ yasm_bytecode *precbc; in expr_xform_bc_dist_base() local 240 precbc = sube->terms[1].data.precbc; in expr_xform_bc_dist_base() 247 precbc = sube->terms[0].data.precbc; in expr_xform_bc_dist_base() 257 if (sym && !yasm_symrec_get_label(sym, &precbc)) in expr_xform_bc_dist_base() 259 sect2 = yasm_bc_get_section(precbc); in expr_xform_bc_dist_base() 266 (precbc2 = e->terms[j].data.precbc))) && in expr_xform_bc_dist_base() 269 callback(&e->terms[j], precbc, precbc2, cbd)) { in expr_xform_bc_dist_base() [all …]
|
D | value.h | 98 int yasm_value_finalize(yasm_value *value, /*@null@*/ yasm_bytecode *precbc); 122 /*@null@*/ yasm_bytecode *precbc,
|
D | symrec.h | 137 /*@dependent@*/ yasm_bytecode *precbc, int in_table, unsigned long line); 152 /*@dependent@*/ yasm_bytecode *precbc, unsigned long line); 323 /*@out@*/ yasm_symrec_get_label_bytecodep *precbc);
|
D | expr.h | 59 yasm_bytecode *precbc; /**< Direct bytecode ref (YASM_EXPR_PRECBC) */ member 99 /*@only@*/ yasm_expr__item *yasm_expr_precbc(/*@keep@*/ yasm_bytecode *precbc); 371 yasm_bytecode *precbc,
|
D | section.c | 834 yasm_bytecode *precbc, *precbc2; member 925 add_span_term(unsigned int subst, yasm_bytecode *precbc, in add_span_term() argument 937 span->terms[subst].precbc = precbc; in add_span_term() 942 intn = yasm_calc_bc_dist(precbc, precbc2); in add_span_term() 968 ((span->bc->bc_index > span->terms[i].precbc->bc_index && in span_create_terms() 971 span->bc->bc_index <= span->terms[i].precbc->bc_index))) in span_create_terms() 993 span->rel_term->precbc = NULL; in span_create_terms() 1140 if (term->precbc) in optimize_itree_add() 1141 precbc_index = term->precbc->bc_index; in optimize_itree_add() 1251 if (term->precbc) in optimize_term_expand() [all …]
|
D | bytecode.c | 220 yasm_bc_next_offset(yasm_bytecode *precbc) in yasm_bc_next_offset() argument 222 return precbc->offset + precbc->len*precbc->mult_int; in yasm_bc_next_offset()
|
D | value.c | 130 /*@dependent@*/ /*@null@*/ yasm_bytecode *precbc; in value_finalize_scan() local 236 if (!yasm_symrec_get_label(sym, &precbc)) { in value_finalize_scan() 242 sect2 = yasm_bc_get_section(precbc); in value_finalize_scan() 449 yasm_bytecode *precbc, unsigned int size) in yasm_value_finalize_expr() argument 456 return yasm_value_finalize(value, precbc); in yasm_value_finalize_expr() 460 yasm_value_finalize(yasm_value *value, yasm_bytecode *precbc) in yasm_value_finalize() argument 543 if (value_finalize_scan(value, value->abs, precbc, 0)) in yasm_value_finalize()
|
D | bytecode.h | 446 unsigned long yasm_bc_next_offset(yasm_bytecode *precbc);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/ |
D | value.pxi | 49 def finalize(self, precbc=None): argument 50 if precbc is None: 52 elif isinstance(precbc, Bytecode): 53 return yasm_value_finalize(&self.value, (<Bytecode>precbc).bc) 55 raise TypeError("Invalid precbc type '%s'" % type(precbc))
|
D | symrec.pxi | 208 def define_label(self, name, precbc, in_table, line): argument 209 if not isinstance(precbc, Bytecode): 212 (<Bytecode>precbc).bc, in_table, line))
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/codeview/ |
D | cv-dbgfmt.c | 85 yasm_bytecode *precbc = yasm_section_bcs_last(sect); in yasm_cv__append_bc() local 86 bc->offset = yasm_bc_next_offset(precbc); in yasm_cv__append_bc() 88 return precbc; in yasm_cv__append_bc()
|
D | cv-symline.c | 534 yasm_bytecode *precbc; in cv_generate_sym() local 541 if (name[0] == '.' || !yasm_symrec_get_label(sym, &precbc)) in cv_generate_sym() 545 if (yasm_section_is_code(yasm_bc_get_section(precbc))) in cv_generate_sym()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/macho/ |
D | macho-objfmt.c | 667 /*@dependent@*/ /*@null@*/ yasm_bytecode *precbc; in macho_objfmt_output_relocs() local 669 if (yasm_symrec_get_label(reloc->reloc.sym, &precbc) && in macho_objfmt_output_relocs() 670 (dsect = yasm_bc_get_section(precbc)) && in macho_objfmt_output_relocs() 705 /*@dependent@*/ /*@null@*/ yasm_bytecode *precbc; in macho_objfmt_is_section_label() local 708 if (yasm_symrec_get_label(sym, &precbc)) { in macho_objfmt_is_section_label() 709 if (precbc) in macho_objfmt_is_section_label() 710 sect = yasm_bc_get_section(precbc); in macho_objfmt_is_section_label() 844 /*@dependent@*/ /*@null@*/ yasm_bytecode *precbc; in macho_objfmt_output_symtable() local 856 if (yasm_symrec_get_label(sym, &precbc)) { in macho_objfmt_output_symtable() 857 if (precbc) in macho_objfmt_output_symtable() [all …]
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/ |
D | rdf-objfmt.c | 230 /*@dependent@*/ yasm_bytecode *precbc; in rdf_objfmt_output_value() local 248 if (yasm_symrec_get_label(value->rel, &precbc)) { in rdf_objfmt_output_value() 255 sect = yasm_bc_get_section(precbc); in rdf_objfmt_output_value() 260 intn_plus = yasm_bc_next_offset(precbc); in rdf_objfmt_output_value() 527 /*@dependent@*/ /*@null@*/ yasm_bytecode *precbc; in rdf_objfmt_output_sym() local 536 if (yasm_symrec_get_label(sym, &precbc)) { in rdf_objfmt_output_sym() 539 if (precbc) in rdf_objfmt_output_sym() 540 sect = yasm_bc_get_section(precbc); in rdf_objfmt_output_sym() 552 value = yasm_bc_next_offset(precbc); in rdf_objfmt_output_sym()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/ |
D | bin-objfmt.c | 497 /*@dependent@*/ /*@null@*/ yasm_bytecode *precbc; in bin_objfmt_expr_xform() local 505 yasm_symrec_get_label(e->terms[i].data.sym, &precbc)) || in bin_objfmt_expr_xform() 507 (precbc = e->terms[i].data.precbc))) && in bin_objfmt_expr_xform() 508 (sect = yasm_bc_get_section(precbc)) && in bin_objfmt_expr_xform() 509 (dist = yasm_calc_bc_dist(yasm_section_bcs_first(sect), precbc))) { in bin_objfmt_expr_xform() 651 /*@dependent@*/ yasm_bytecode *precbc; in map_symrec_count() local 658 } else if (yasm_symrec_get_label(sym, &precbc) && in map_symrec_count() 659 yasm_bc_get_section(precbc) == info->section) { in map_symrec_count() 670 /*@dependent@*/ yasm_bytecode *precbc; in map_symrec_output() local 683 } else if (yasm_symrec_get_label(sym, &precbc) && in map_symrec_output() [all …]
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/ |
D | dwarf2-line.c | 108 /*@null@*/ yasm_bytecode *precbc; member 410 if (!state->precbc) { in dwarf2_dbgfmt_gen_line_op() 422 if (state->precbc->offset > loc->bc->offset) in dwarf2_dbgfmt_gen_line_op() 424 addr_delta = loc->bc->offset - state->precbc->offset; in dwarf2_dbgfmt_gen_line_op() 473 state->precbc = loc->bc; in dwarf2_dbgfmt_gen_line_op() 610 state.precbc = NULL; in dwarf2_generate_line_section() 660 if (!state.precbc) in dwarf2_generate_line_section() 661 state.precbc = yasm_section_bcs_first(sect); in dwarf2_generate_line_section() 663 addr_delta = yasm_bc_next_offset(bc) - state.precbc->offset; in dwarf2_generate_line_section()
|
D | dwarf2-dbgfmt.c | 142 yasm_bytecode *precbc = yasm_section_bcs_last(sect); in yasm_dwarf2__append_bc() local 143 bc->offset = yasm_bc_next_offset(precbc); in yasm_dwarf2__append_bc() 145 return precbc; in yasm_dwarf2__append_bc()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/xdf/ |
D | xdf-objfmt.c | 461 /*@dependent@*/ /*@null@*/ yasm_bytecode *precbc; in xdf_objfmt_output_sym() local 469 if (yasm_symrec_get_label(sym, &precbc)) { in xdf_objfmt_output_sym() 470 if (precbc) in xdf_objfmt_output_sym() 471 sect = yasm_bc_get_section(precbc); in xdf_objfmt_output_sym() 484 if (precbc) in xdf_objfmt_output_sym() 485 value += yasm_bc_next_offset(precbc); in xdf_objfmt_output_sym()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/ |
D | elf-objfmt.c | 262 yasm_bytecode *precbc=NULL; in elf_objfmt_build_symtab() local 286 if (!yasm_symrec_get_label(sym, &precbc)) { in elf_objfmt_build_symtab() 289 precbc = NULL; in elf_objfmt_build_symtab() 292 if (precbc) in elf_objfmt_build_symtab() 293 sect = yasm_bc_get_section(precbc); in elf_objfmt_build_symtab() 340 if (precbc) in elf_objfmt_build_symtab() 341 value = yasm_bc_next_offset(precbc); in elf_objfmt_build_symtab()
|
D | elf.c | 515 yasm_bytecode *precbc; in elf_symtab_write_to_file() local 518 if (yasm_symrec_get_label(entry->sym, &precbc) && in elf_symtab_write_to_file() 519 (sect = yasm_bc_get_section(precbc)) && in elf_symtab_write_to_file()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/ |
D | x86arch.h | 198 yasm_bytecode *precbc);
|
D | x86bc.c | 161 yasm_bytecode *precbc) in yasm_x86__ea_init() argument 163 if (yasm_value_finalize(&x86_ea->ea.disp, precbc)) in yasm_x86__ea_init()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/ |
D | coff-objfmt.c | 1007 /*@dependent@*/ /*@null@*/ yasm_bytecode *precbc; in coff_objfmt_output_sym() local 1023 if (yasm_symrec_get_label(sym, &precbc)) { in coff_objfmt_output_sym() 1024 if (precbc) in coff_objfmt_output_sym() 1025 sect = yasm_bc_get_section(precbc); in coff_objfmt_output_sym() 1042 if (precbc) in coff_objfmt_output_sym() 1043 value += yasm_bc_next_offset(precbc); in coff_objfmt_output_sym()
|