Home
last modified time | relevance | path

Searched refs:precbc (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dsymrec.c72 /*@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 …]
Dexpr.c143 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 …]
Dvalue.h98 int yasm_value_finalize(yasm_value *value, /*@null@*/ yasm_bytecode *precbc);
122 /*@null@*/ yasm_bytecode *precbc,
Dsymrec.h137 /*@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);
Dexpr.h59 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,
Dsection.c834 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 …]
Dbytecode.c220 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()
Dvalue.c130 /*@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()
Dbytecode.h446 unsigned long yasm_bc_next_offset(yasm_bytecode *precbc);
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/
Dvalue.pxi49 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))
Dsymrec.pxi208 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/
Dcv-dbgfmt.c85 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()
Dcv-symline.c534 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/
Dmacho-objfmt.c667 /*@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/
Drdf-objfmt.c230 /*@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/
Dbin-objfmt.c497 /*@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/
Ddwarf2-line.c108 /*@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()
Ddwarf2-dbgfmt.c142 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/
Dxdf-objfmt.c461 /*@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/
Delf-objfmt.c262 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()
Delf.c515 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/
Dx86arch.h198 yasm_bytecode *precbc);
Dx86bc.c161 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/
Dcoff-objfmt.c1007 /*@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()