Searched defs:code_ptr (Results 1 - 11 of 11) sorted by relevance

/external/harfbuzz_ng/src/hb-ucdn/
H A Ducdn.c154 static uint32_t decode_utf16(const unsigned short **code_ptr) argument
156 const unsigned short *code = *code_ptr;
159 *code_ptr += 1;
162 *code_ptr += 2;
/external/qemu/tcg/x86_64/
H A Dtcg-target.c80 static void patch_reloc(uint8_t *code_ptr, int type, argument
88 *(uint32_t *)code_ptr = value;
93 *(uint32_t *)code_ptr = value;
96 value -= (long)code_ptr;
99 *(uint32_t *)code_ptr = value;
277 val = offset - ((tcg_target_long)s->code_ptr + 5 + (-rm - 1));
384 disp = target - s->code_ptr - 5;
385 if (disp == (target - s->code_ptr - 5)) {
472 val = l->u.value - (tcg_target_long)s->code_ptr;
497 tcg_out_reloc(s, s->code_ptr, R_386_PC3
[all...]
/external/qemu/tcg/arm/
H A Dtcg-target.c116 static inline void reloc_abs32(void *code_ptr, tcg_target_long target) argument
118 *(uint32_t *) code_ptr = target;
121 static inline void reloc_pc24(void *code_ptr, tcg_target_long target) argument
123 uint32_t offset = ((target - ((tcg_target_long) code_ptr + 8)) >> 2);
125 *(uint32_t *) code_ptr = ((*(uint32_t *) code_ptr) & ~0xffffff)
129 static void patch_reloc(uint8_t *code_ptr, int type, argument
134 reloc_abs32(code_ptr, value);
143 reloc_pc24(code_ptr, value);
360 s->code_ptr
[all...]
/external/qemu/tcg/hppa/
H A Dtcg-target.c147 static void patch_reloc(uint8_t *code_ptr, int type, argument
150 uint32_t *insn_ptr = (uint32_t *)code_ptr;
155 pcrel = (value - ((tcg_target_long)code_ptr + 8)) >> 2;
630 disp = (val - ((tcg_target_long)s->code_ptr + 8)) >> 2;
720 val -= (tcg_target_long)s->code_ptr + 8;
727 uint32_t old_insn = *(uint32_t *)s->code_ptr;
729 tcg_out_reloc(s, s->code_ptr, R_PARISC_PCREL17F, label_index, 0);
773 val -= (tcg_target_long)s->code_ptr + 8;
784 uint32_t old_insn = *(uint32_t *)s->code_ptr;
786 tcg_out_reloc(s, s->code_ptr, R_PARISC_PCREL12
[all...]
/external/qemu/tcg/i386/
H A Dtcg-target.c86 static void patch_reloc(uint8_t *code_ptr, int type, argument
92 value -= (uintptr_t)code_ptr;
96 *(uint32_t *)code_ptr = value;
99 value -= (uintptr_t)code_ptr;
103 *(uint8_t *)code_ptr = value;
425 tcg_target_long pc = (tcg_target_long)s->code_ptr + 5 + ~rm;
722 val = l->u.value - (tcg_target_long)s->code_ptr;
749 tcg_out_reloc(s, s->code_ptr, R_386_PC8, label_index, -1);
750 s->code_ptr += 1;
757 tcg_out_reloc(s, s->code_ptr, R_386_PC3
[all...]
/external/qemu/tcg/ppc/
H A Dtcg-target.c205 static void patch_reloc(uint8_t *code_ptr, int type, argument
211 reloc_pc14 (code_ptr, value);
214 reloc_pc24 (code_ptr, value);
472 disp = target - (tcg_target_long) s->code_ptr;
587 label1_ptr = s->code_ptr;
634 label2_ptr = s->code_ptr;
639 reloc_pc14 (label1_ptr, (tcg_target_long) s->code_ptr);
720 reloc_pc24 (label2_ptr, (tcg_target_long) s->code_ptr);
783 label1_ptr = s->code_ptr;
834 label2_ptr = s->code_ptr;
[all...]
/external/qemu/tcg/ppc64/
H A Dtcg-target.c196 static void patch_reloc (uint8_t *code_ptr, int type, argument
202 reloc_pc14 (code_ptr, value);
205 reloc_pc24 (code_ptr, value);
492 disp = target - (tcg_target_long) s->code_ptr;
641 label1_ptr = s->code_ptr;
670 label2_ptr = s->code_ptr;
675 reloc_pc14 (label1_ptr, (tcg_target_long) s->code_ptr);
760 reloc_pc24 (label2_ptr, (tcg_target_long) s->code_ptr);
787 label1_ptr = s->code_ptr;
799 label2_ptr = s->code_ptr;
[all...]
/external/qemu/tcg/sparc/
H A Dtcg-target.c103 static void patch_reloc(uint8_t *code_ptr, int type, argument
111 *(uint32_t *)code_ptr = value;
114 value -= (long)code_ptr;
118 *(uint32_t *)code_ptr = ((*(uint32_t *)code_ptr) & ~0x3fffff) | value;
121 value -= (long)code_ptr;
125 *(uint32_t *)code_ptr = ((*(uint32_t *)code_ptr) & ~0x7ffff) | value;
477 val = l->u.value - (tcg_target_long)s->code_ptr;
479 | INSN_OFF22(l->u.value - (unsigned long)s->code_ptr)));
[all...]
/external/qemu/tcg/
H A Dtcg.c68 static void patch_reloc(uint8_t *code_ptr, int type,
96 *s->code_ptr++ = v;
101 *(uint16_t *)s->code_ptr = v;
102 s->code_ptr += 2;
107 *(uint32_t *)s->code_ptr = v;
108 s->code_ptr += 4;
113 static void tcg_out_reloc(TCGContext *s, uint8_t *code_ptr, int type, argument
124 patch_reloc(code_ptr, type, l->u.value, addend);
129 r->ptr = code_ptr;
259 s->code_ptr
[all...]
H A Dtcg.h301 uint8_t *code_ptr; member in struct:TCGContext
/external/v8/src/
H A Dplatform-macos.cc260 char* code_ptr = getsectdatafromheader_64( local
267 char* code_ptr = getsectdatafromheader(header, SEG_TEXT, SECT_TEXT, &size); local
269 if (code_ptr == NULL) continue;
271 const uintptr_t start = reinterpret_cast<uintptr_t>(code_ptr) + slide;

Completed in 1231 milliseconds