Home
last modified time | relevance | path

Searched refs:YASM_WRITE_8 (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/
Delf-x86-amd64.c78 YASM_WRITE_8(bufp, ELF64_ST_INFO(entry->bind, entry->type)); in elf_x86_amd64_write_symtab_entry()
79 YASM_WRITE_8(bufp, ELF64_ST_OTHER(entry->vis)); in elf_x86_amd64_write_symtab_entry()
216 YASM_WRITE_8(bufp, ELFCLASS64); /* elf class */ in elf_x86_amd64_write_proghead()
217 YASM_WRITE_8(bufp, ELFDATA2LSB); /* data encoding :: MSB? */ in elf_x86_amd64_write_proghead()
218 YASM_WRITE_8(bufp, EV_CURRENT); /* elf version */ in elf_x86_amd64_write_proghead()
219 YASM_WRITE_8(bufp, ELFOSABI_SYSV); /* os/abi */ in elf_x86_amd64_write_proghead()
220 YASM_WRITE_8(bufp, 0); /* SYSV v3 ABI=0 */ in elf_x86_amd64_write_proghead()
222 YASM_WRITE_8(bufp, 0); in elf_x86_amd64_write_proghead()
Delf-x86-x86.c86 YASM_WRITE_8(bufp, ELF32_ST_INFO(entry->bind, entry->type)); in elf_x86_x86_write_symtab_entry()
87 YASM_WRITE_8(bufp, ELF32_ST_OTHER(entry->vis)); in elf_x86_x86_write_symtab_entry()
205 YASM_WRITE_8(bufp, ELFCLASS32); /* elf class */ in elf_x86_x86_write_proghead()
206 YASM_WRITE_8(bufp, ELFDATA2LSB); /* data encoding :: MSB? */ in elf_x86_x86_write_proghead()
207 YASM_WRITE_8(bufp, EV_CURRENT); /* elf version */ in elf_x86_x86_write_proghead()
209 YASM_WRITE_8(bufp, 0); in elf_x86_x86_write_proghead()
Delf.c941 YASM_WRITE_8(bufp, ELFMAG0); /* ELF magic number */ in elf_proghead_write_to_file()
942 YASM_WRITE_8(bufp, ELFMAG1); in elf_proghead_write_to_file()
943 YASM_WRITE_8(bufp, ELFMAG2); in elf_proghead_write_to_file()
944 YASM_WRITE_8(bufp, ELFMAG3); in elf_proghead_write_to_file()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/
Drdf-objfmt.c405 YASM_WRITE_8(localbuf, RDFREC_SEGRELOC); in rdf_objfmt_output_section_reloc()
407 YASM_WRITE_8(localbuf, RDFREC_RELOC); in rdf_objfmt_output_section_reloc()
408 YASM_WRITE_8(localbuf, 8); /* record length */ in rdf_objfmt_output_section_reloc()
410 YASM_WRITE_8(localbuf, rsd->scnum + in rdf_objfmt_output_section_reloc()
414 YASM_WRITE_8(localbuf, reloc->size); /* size of relocation */ in rdf_objfmt_output_section_reloc()
572 YASM_WRITE_8(localbuf, RDFREC_GLOBAL); in rdf_objfmt_output_sym()
573 YASM_WRITE_8(localbuf, 6+len+1); /* record length */ in rdf_objfmt_output_sym()
574 YASM_WRITE_8(localbuf, rdf_parse_flags(sym)); /* flags */ in rdf_objfmt_output_sym()
575 YASM_WRITE_8(localbuf, scnum); /* segment referred to */ in rdf_objfmt_output_sym()
589 YASM_WRITE_8(localbuf, RDFREC_COMMON); in rdf_objfmt_output_sym()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/
Ddwarf2-dbgfmt.c262 YASM_WRITE_8(buf, 0xff); in dwarf2_head_bc_tobytes()
263 YASM_WRITE_8(buf, 0xff); in dwarf2_head_bc_tobytes()
264 YASM_WRITE_8(buf, 0xff); in dwarf2_head_bc_tobytes()
265 YASM_WRITE_8(buf, 0xff); in dwarf2_head_bc_tobytes()
297 YASM_WRITE_8(buf, dbgfmt_dwarf2->sizeof_address); in dwarf2_head_bc_tobytes()
301 YASM_WRITE_8(buf, 0); in dwarf2_head_bc_tobytes()
Ddwarf2-line.c799 YASM_WRITE_8(buf, dbgfmt_dwarf2->min_insn_len); /* minimum_instr_len */ in dwarf2_spp_bc_tobytes()
800 YASM_WRITE_8(buf, DWARF2_LINE_DEFAULT_IS_STMT); /* default_is_stmt */ in dwarf2_spp_bc_tobytes()
801 YASM_WRITE_8(buf, DWARF2_LINE_BASE); /* line_base */ in dwarf2_spp_bc_tobytes()
802 YASM_WRITE_8(buf, DWARF2_LINE_RANGE); /* line_range */ in dwarf2_spp_bc_tobytes()
803 YASM_WRITE_8(buf, DWARF2_LINE_OPCODE_BASE); /* opcode_base */ in dwarf2_spp_bc_tobytes()
807 YASM_WRITE_8(buf, line_opcode_num_operands[i]); in dwarf2_spp_bc_tobytes()
816 YASM_WRITE_8(buf, 0); in dwarf2_spp_bc_tobytes()
826 YASM_WRITE_8(buf, 0); /* time */ in dwarf2_spp_bc_tobytes()
827 YASM_WRITE_8(buf, 0); /* length */ in dwarf2_spp_bc_tobytes()
830 YASM_WRITE_8(buf, 0); in dwarf2_spp_bc_tobytes()
[all …]
Ddwarf2-info.c409 YASM_WRITE_8(buf, 0); in dwarf2_abbrev_bc_tobytes()
416 YASM_WRITE_8(buf, abbrev->has_children); in dwarf2_abbrev_bc_tobytes()
423 YASM_WRITE_8(buf, 0); in dwarf2_abbrev_bc_tobytes()
424 YASM_WRITE_8(buf, 0); in dwarf2_abbrev_bc_tobytes()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/
Dwin64-except.c293 YASM_WRITE_8(buf, 1 | (UNW_FLAG_EHANDLER << 3)); in win64_uwinfo_bc_tobytes()
295 YASM_WRITE_8(buf, 1); in win64_uwinfo_bc_tobytes()
322 YASM_WRITE_8(buf, ((unsigned long)intv & 0xF0) | (info->framereg & 0x0F)); in win64_uwinfo_bc_tobytes()
490 YASM_WRITE_8(buf, (code->info << 4) | (code->opcode & 0xF)); in win64_uwcode_bc_tobytes()
548 YASM_WRITE_8(buf, (code->info << 4) | (code->opcode & 0xF)); in win64_uwcode_bc_tobytes()
Dcoff-objfmt.c1091 YASM_WRITE_8(localbuf, csymd->sclass); /* storage class */ in coff_objfmt_output_sym()
1092 YASM_WRITE_8(localbuf, csymd->numaux); /* number of aux entries */ in coff_objfmt_output_sym()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/codeview/
Dcv-type.c626 YASM_WRITE_8(buf, leaf->args[arg].i); in cv_leaf_tobytes()
652 YASM_WRITE_8(buf, len); in cv_leaf_tobytes()
765 YASM_WRITE_8(buf, CV_LF_PAD3); in cv_type_bc_tobytes()
767 YASM_WRITE_8(buf, CV_LF_PAD2); in cv_type_bc_tobytes()
769 YASM_WRITE_8(buf, CV_LF_PAD1); in cv_type_bc_tobytes()
Dcv-symline.c826 YASM_WRITE_8(buf, fi->fn->digest[i]); in cv8_fileinfo_bc_tobytes()
829 YASM_WRITE_8(buf, 0); in cv8_fileinfo_bc_tobytes()
830 YASM_WRITE_8(buf, 0); in cv8_fileinfo_bc_tobytes()
888 YASM_WRITE_8(buf, 0); in cv8_lineinfo_bc_tobytes()
889 YASM_WRITE_8(buf, 0); in cv8_lineinfo_bc_tobytes()
1054 YASM_WRITE_8(buf, cvs->args[arg].i); in cv_sym_bc_tobytes()
1083 YASM_WRITE_8(buf, len); in cv_sym_bc_tobytes()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/
Dx86bc.c787 YASM_WRITE_8(*bufp, (unsigned char)segreg); in x86_common_tobytes()
789 YASM_WRITE_8(*bufp, 0x67); in x86_common_tobytes()
793 YASM_WRITE_8(*bufp, 0x66); in x86_common_tobytes()
795 YASM_WRITE_8(*bufp, common->lockrep_pre); in x86_common_tobytes()
803 YASM_WRITE_8(*bufp, opcode->opcode[i]); in x86_opcode_tobytes()
820 YASM_WRITE_8(*bufp, insn->special_prefix); in x86_bc_insn_tobytes()
842 YASM_WRITE_8(*bufp, insn->rex); in x86_bc_insn_tobytes()
855 YASM_WRITE_8(*bufp, x86_ea->modrm); in x86_bc_insn_tobytes()
861 YASM_WRITE_8(*bufp, x86_ea->sib); in x86_bc_insn_tobytes()
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dbc-org.c139 YASM_WRITE_8(*bufp, org->fill); /* XXX: handle more than 8 bit? */ in bc_org_tobytes()
Dfile.h249 #define YASM_WRITE_8(ptr, val) \ macro
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/xdf/
Dxdf-objfmt.c362 YASM_WRITE_8(localbuf, reloc->type); /* type of relocation */ in xdf_objfmt_output_section()
363 YASM_WRITE_8(localbuf, reloc->size); /* size of relocation */ in xdf_objfmt_output_section()
364 YASM_WRITE_8(localbuf, reloc->shift); /* relocation shift */ in xdf_objfmt_output_section()
365 YASM_WRITE_8(localbuf, 0); /* flags */ in xdf_objfmt_output_section()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/stabs/
Dstabs-dbgfmt.c420 YASM_WRITE_8(buf, stab->type); in stabs_bc_stab_tobytes()
421 YASM_WRITE_8(buf, stab->other); in stabs_bc_stab_tobytes()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/macho/
Dmacho-objfmt.c948 YASM_WRITE_8(localbuf, n_type); /* type of symbol entry */ in macho_objfmt_output_symtable()
950 YASM_WRITE_8(localbuf, n_sect); /* referring section where symbol is found */ in macho_objfmt_output_symtable()