Lines Matching refs:Swap
798 elfcpp::Swap<32, big_endian>::writeval(view, in do_fixed_endian_v4bx_write()
802 elfcpp::Swap<32, big_endian>::writeval(view, in do_fixed_endian_v4bx_write()
805 elfcpp::Swap<32, big_endian>::writeval(view, in do_fixed_endian_v4bx_write()
3098 static inline typename elfcpp::Swap<32, big_endian>::Valtype
3100 typename elfcpp::Swap<32, big_endian>::Valtype val) in extract_arm_movw_movt_addend()
3109 static inline typename elfcpp::Swap<32, big_endian>::Valtype
3111 typename elfcpp::Swap<32, big_endian>::Valtype val, in insert_val_arm_movw_movt()
3112 typename elfcpp::Swap<32, big_endian>::Valtype x) in insert_val_arm_movw_movt()
3132 static inline typename elfcpp::Swap<32, big_endian>::Valtype
3134 typename elfcpp::Swap<32, big_endian>::Valtype val) in extract_thumb_movw_movt_addend()
3146 static inline typename elfcpp::Swap<32, big_endian>::Valtype
3148 typename elfcpp::Swap<32, big_endian>::Valtype val, in insert_val_thumb_movw_movt()
3149 typename elfcpp::Swap<32, big_endian>::Valtype x) in insert_val_thumb_movw_movt()
3162 calc_grp_kn(typename elfcpp::Swap<32, big_endian>::Valtype residual) in calc_grp_kn()
3181 static typename elfcpp::Swap<32, big_endian>::Valtype
3182 calc_grp_residual(typename elfcpp::Swap<32, big_endian>::Valtype residual, in calc_grp_residual()
3199 static typename elfcpp::Swap<32, big_endian>::Valtype
3200 calc_grp_gn(typename elfcpp::Swap<32, big_endian>::Valtype residual, in calc_grp_gn()
3203 typename elfcpp::Swap<32, big_endian>::Valtype gn = 0; in calc_grp_gn()
3322 typedef typename elfcpp::Swap<8, big_endian>::Valtype Valtype; in abs8()
3324 Valtype val = elfcpp::Swap<8, big_endian>::readval(wv); in abs8()
3328 elfcpp::Swap<8, big_endian>::writeval(wv, val); in abs8()
3342 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in thm_abs5()
3343 typedef typename elfcpp::Swap<32, big_endian>::Valtype Reltype; in thm_abs5()
3345 Valtype val = elfcpp::Swap<16, big_endian>::readval(wv); in thm_abs5()
3349 elfcpp::Swap<16, big_endian>::writeval(wv, val); in thm_abs5()
3361 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in abs12()
3362 typedef typename elfcpp::Swap<32, big_endian>::Valtype Reltype; in abs12()
3364 Valtype val = elfcpp::Swap<32, big_endian>::readval(wv); in abs12()
3368 elfcpp::Swap<32, big_endian>::writeval(wv, val); in abs12()
3435 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in thm_jump6()
3436 typedef typename elfcpp::Swap<16, big_endian>::Valtype Reltype; in thm_jump6()
3438 Valtype val = elfcpp::Swap<16, big_endian>::readval(wv); in thm_jump6()
3443 elfcpp::Swap<16, big_endian>::writeval(wv, val); in thm_jump6()
3457 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in thm_jump8()
3459 Valtype val = elfcpp::Swap<16, big_endian>::readval(wv); in thm_jump8()
3462 elfcpp::Swap<16, big_endian>::writeval(wv, ((val & 0xff00) in thm_jump8()
3477 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in thm_jump11()
3479 Valtype val = elfcpp::Swap<16, big_endian>::readval(wv); in thm_jump11()
3482 elfcpp::Swap<16, big_endian>::writeval(wv, ((val & 0xf800) in thm_jump11()
3512 typename elfcpp::Swap<32, big_endian>::Valtype got_offset) in got_brel()
3559 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in movw()
3561 Valtype val = elfcpp::Swap<32, big_endian>::readval(wv); in movw()
3566 elfcpp::Swap<32, big_endian>::writeval(wv, val); in movw()
3581 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in movt()
3583 Valtype val = elfcpp::Swap<32, big_endian>::readval(wv); in movt()
3587 elfcpp::Swap<32, big_endian>::writeval(wv, val); in movt()
3604 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in thm_movw()
3605 typedef typename elfcpp::Swap<32, big_endian>::Valtype Reltype; in thm_movw()
3607 Reltype val = (elfcpp::Swap<16, big_endian>::readval(wv) << 16) in thm_movw()
3608 | elfcpp::Swap<16, big_endian>::readval(wv + 1); in thm_movw()
3613 elfcpp::Swap<16, big_endian>::writeval(wv, val >> 16); in thm_movw()
3614 elfcpp::Swap<16, big_endian>::writeval(wv + 1, val & 0xffff); in thm_movw()
3629 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in thm_movt()
3630 typedef typename elfcpp::Swap<32, big_endian>::Valtype Reltype; in thm_movt()
3632 Reltype val = (elfcpp::Swap<16, big_endian>::readval(wv) << 16) in thm_movt()
3633 | elfcpp::Swap<16, big_endian>::readval(wv + 1); in thm_movt()
3637 elfcpp::Swap<16, big_endian>::writeval(wv, val >> 16); in thm_movt()
3638 elfcpp::Swap<16, big_endian>::writeval(wv + 1, val & 0xffff); in thm_movt()
3650 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in thm_alu11()
3651 typedef typename elfcpp::Swap<32, big_endian>::Valtype Reltype; in thm_alu11()
3653 Reltype insn = (elfcpp::Swap<16, big_endian>::readval(wv) << 16) in thm_alu11()
3654 | elfcpp::Swap<16, big_endian>::readval(wv + 1); in thm_alu11()
3690 elfcpp::Swap<16, big_endian>::writeval(wv, insn >> 16); in thm_alu11()
3691 elfcpp::Swap<16, big_endian>::writeval(wv + 1, insn & 0xffff); in thm_alu11()
3703 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in thm_pc8()
3704 typedef typename elfcpp::Swap<16, big_endian>::Valtype Reltype; in thm_pc8()
3706 Valtype insn = elfcpp::Swap<16, big_endian>::readval(wv); in thm_pc8()
3712 elfcpp::Swap<16, big_endian>::writeval(wv, insn); in thm_pc8()
3725 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in thm_pc12()
3726 typedef typename elfcpp::Swap<32, big_endian>::Valtype Reltype; in thm_pc12()
3728 Reltype insn = (elfcpp::Swap<16, big_endian>::readval(wv) << 16) in thm_pc12()
3729 | elfcpp::Swap<16, big_endian>::readval(wv + 1); in thm_pc12()
3745 elfcpp::Swap<16, big_endian>::writeval(wv, insn >> 16); in thm_pc12()
3746 elfcpp::Swap<16, big_endian>::writeval(wv + 1, insn & 0xffff); in thm_pc12()
3760 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in v4bx()
3762 Valtype val = elfcpp::Swap<32, big_endian>::readval(wv); in v4bx()
3790 elfcpp::Swap<32, big_endian>::writeval(wv, val); in v4bx()
3814 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in arm_grp_alu()
3816 Valtype insn = elfcpp::Swap<32, big_endian>::readval(wv); in arm_grp_alu()
3851 elfcpp::Swap<32, big_endian>::writeval(wv, insn); in arm_grp_alu()
3869 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in arm_grp_ldr()
3871 Valtype insn = elfcpp::Swap<32, big_endian>::readval(wv); in arm_grp_ldr()
3889 elfcpp::Swap<32, big_endian>::writeval(wv, insn); in arm_grp_ldr()
3907 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in arm_grp_ldrs()
3909 Valtype insn = elfcpp::Swap<32, big_endian>::readval(wv); in arm_grp_ldrs()
3927 elfcpp::Swap<32, big_endian>::writeval(wv, insn); in arm_grp_ldrs()
3945 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in arm_grp_ldc()
3947 Valtype insn = elfcpp::Swap<32, big_endian>::readval(wv); in arm_grp_ldc()
3965 elfcpp::Swap<32, big_endian>::writeval(wv, insn); in arm_grp_ldc()
3990 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in arm_branch_common()
3992 Valtype val = elfcpp::Swap<32, big_endian>::readval(wv); in arm_branch_common()
4043 elfcpp::Swap<32, big_endian>::writeval(wv, val); in arm_branch_common()
4093 elfcpp::Swap<32, big_endian>::writeval(wv, val); in arm_branch_common()
4119 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in thumb_branch_common()
4121 uint32_t upper_insn = elfcpp::Swap<16, big_endian>::readval(wv); in thumb_branch_common()
4122 uint32_t lower_insn = elfcpp::Swap<16, big_endian>::readval(wv + 1); in thumb_branch_common()
4170 elfcpp::Swap<16, big_endian>::writeval(wv, 0xf3af); in thumb_branch_common()
4171 elfcpp::Swap<16, big_endian>::writeval(wv + 1, 0x8000); in thumb_branch_common()
4175 elfcpp::Swap<16, big_endian>::writeval(wv, 0xe000); in thumb_branch_common()
4176 elfcpp::Swap<16, big_endian>::writeval(wv + 1, 0xbf00); in thumb_branch_common()
4254 elfcpp::Swap<16, big_endian>::writeval(wv, upper_insn); in thumb_branch_common()
4255 elfcpp::Swap<16, big_endian>::writeval(wv + 1, lower_insn); in thumb_branch_common()
4280 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in thm_jump19()
4282 uint32_t upper_insn = elfcpp::Swap<16, big_endian>::readval(wv); in thm_jump19()
4283 uint32_t lower_insn = elfcpp::Swap<16, big_endian>::readval(wv + 1); in thm_jump19()
4303 elfcpp::Swap<16, big_endian>::writeval(wv, upper_insn); in thm_jump19()
4304 elfcpp::Swap<16, big_endian>::writeval(wv + 1, lower_insn); in thm_jump19()
4529 elfcpp::Swap<16, false>::writeval(pov, insns[i].data() & 0xffff); in do_fixed_endian_write()
4531 elfcpp::Swap<16, big_endian>::writeval(pov, in do_fixed_endian_write()
4536 elfcpp::Swap<16, false>::writeval(pov, this->thumb16_special(i)); in do_fixed_endian_write()
4538 elfcpp::Swap<16, big_endian>::writeval(pov, in do_fixed_endian_write()
4547 elfcpp::Swap<16, false>::writeval(pov, hi); in do_fixed_endian_write()
4548 elfcpp::Swap<16, false>::writeval(pov + 2, lo); in do_fixed_endian_write()
4552 elfcpp::Swap<16, big_endian>::writeval(pov, hi); in do_fixed_endian_write()
4553 elfcpp::Swap<16, big_endian>::writeval(pov + 2, lo); in do_fixed_endian_write()
4559 elfcpp::Swap<32, false>::writeval(pov, insns[i].data()); in do_fixed_endian_write()
4561 elfcpp::Swap<32, big_endian>::writeval(pov, insns[i].data()); in do_fixed_endian_write()
4564 elfcpp::Swap<32, big_endian>::writeval(pov, insns[i].data()); in do_fixed_endian_write()
5691 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in process_exidx_section()
5694 uint32_t second_word = elfcpp::Swap<32, big_endian>::readval(wv); in process_exidx_section()
6742 typedef typename elfcpp::Swap<32, big_endian> in do_relocate_sections()
6746 uint32_t val = elfcpp::Swap<32, false>::readval(wv); in do_relocate_sections()
6747 elfcpp::Swap<32, true>::writeval(wv, val); in do_relocate_sections()
6755 typedef typename elfcpp::Swap<16, big_endian> in do_relocate_sections()
6759 uint16_t val = elfcpp::Swap<16, false>::readval(wv); in do_relocate_sections()
6760 elfcpp::Swap<16, true>::writeval(wv, val); in do_relocate_sections()
7264 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in operator ()()
7266 Valtype val = elfcpp::Swap<32, big_endian>::readval(wv); in operator ()()
7274 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in operator ()()
7276 Valtype upper_insn = elfcpp::Swap<16, big_endian>::readval(wv); in operator ()()
7277 Valtype lower_insn = elfcpp::Swap<16, big_endian>::readval(wv + 1); in operator ()()
7283 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in operator ()()
7285 Valtype upper_insn = elfcpp::Swap<16, big_endian>::readval(wv); in operator ()()
7286 Valtype lower_insn = elfcpp::Swap<16, big_endian>::readval(wv + 1); in operator ()()
7431 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in do_write()
7445 elfcpp::Swap<32, big_endian>::writeval(wv, x); in do_write()
7917 elfcpp::Swap<32, false>::writeval(pov + i * 4, in do_fill_first_plt_entry()
7922 elfcpp::Swap<32, big_endian>::writeval(pov + i * 4, in do_fill_first_plt_entry()
7927 elfcpp::Swap<32, big_endian>::writeval(pov + 16, in do_fill_first_plt_entry()
7991 elfcpp::Swap<32, false>::writeval(pov, plt_insn0); in do_fill_plt_entry()
7992 elfcpp::Swap<32, false>::writeval(pov + 4, plt_insn1); in do_fill_plt_entry()
7993 elfcpp::Swap<32, false>::writeval(pov + 8, plt_insn2); in do_fill_plt_entry()
7997 elfcpp::Swap<32, big_endian>::writeval(pov, plt_insn0); in do_fill_plt_entry()
7998 elfcpp::Swap<32, big_endian>::writeval(pov + 4, plt_insn1); in do_fill_plt_entry()
7999 elfcpp::Swap<32, big_endian>::writeval(pov + 8, plt_insn2); in do_fill_plt_entry()
8062 elfcpp::Swap<32, false>::writeval(pov, plt_insn0); in do_fill_plt_entry()
8063 elfcpp::Swap<32, false>::writeval(pov + 4, plt_insn1); in do_fill_plt_entry()
8064 elfcpp::Swap<32, false>::writeval(pov + 8, plt_insn2); in do_fill_plt_entry()
8065 elfcpp::Swap<32, false>::writeval(pov + 12, plt_insn3); in do_fill_plt_entry()
8069 elfcpp::Swap<32, big_endian>::writeval(pov, plt_insn0); in do_fill_plt_entry()
8070 elfcpp::Swap<32, big_endian>::writeval(pov + 4, plt_insn1); in do_fill_plt_entry()
8071 elfcpp::Swap<32, big_endian>::writeval(pov + 8, plt_insn2); in do_fill_plt_entry()
8072 elfcpp::Swap<32, big_endian>::writeval(pov + 12, plt_insn3); in do_fill_plt_entry()
8153 elfcpp::Swap<32, big_endian>::writeval(got_pov, value); in do_write()
12105 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype; in scan_reloc_section_for_stubs()
12109 elfcpp::Swap<32, big_endian>::readval(wv); in scan_reloc_section_for_stubs()
12672 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in scan_span_for_cortex_a8_erratum()
12674 uint32_t insn = elfcpp::Swap<16, big_endian>::readval(wv); in scan_span_for_cortex_a8_erratum()
12682 insn = (insn << 16) | elfcpp::Swap<16, big_endian>::readval(wv + 1); in scan_span_for_cortex_a8_erratum()
12828 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype; in apply_cortex_a8_workaround()
12830 Valtype upper_insn = elfcpp::Swap<16, big_endian>::readval(wv); in apply_cortex_a8_workaround()
12831 Valtype lower_insn = elfcpp::Swap<16, big_endian>::readval(wv + 1); in apply_cortex_a8_workaround()
12864 elfcpp::Swap<16, big_endian>::writeval(wv, upper_insn); in apply_cortex_a8_workaround()
12865 elfcpp::Swap<16, big_endian>::writeval(wv + 1, lower_insn); in apply_cortex_a8_workaround()
13154 elfcpp::Swap<32, big_endian>::writeval in do_fill_first_plt_entry()
13156 elfcpp::Swap<32, big_endian>::writeval in do_fill_first_plt_entry()
13160 elfcpp::Swap<32, big_endian>::writeval(pov + i * 4, first_plt_entry[i]); in do_fill_first_plt_entry()
13200 elfcpp::Swap<32, big_endian>::writeval in do_fill_plt_entry()
13202 elfcpp::Swap<32, big_endian>::writeval in do_fill_plt_entry()
13204 elfcpp::Swap<32, big_endian>::writeval in do_fill_plt_entry()
13206 elfcpp::Swap<32, big_endian>::writeval in do_fill_plt_entry()