Home
last modified time | relevance | path

Searched refs:code_ptr (Results 1 – 14 of 14) sorted by relevance

/external/e2fsprogs/lib/ss/
Drequest_tbl.c22 void ss_add_request_table(sci_idx, rqtbl_ptr, position, code_ptr) in ss_add_request_table() argument
26 int *code_ptr;
39 *code_ptr = errno;
52 *code_ptr = 0;
55 void ss_delete_request_table(sci_idx, rqtbl_ptr, code_ptr) in ss_delete_request_table() argument
58 int *code_ptr;
63 *code_ptr = SS_ET_TABLE_NOT_FOUND;
69 *code_ptr = 0;
Dhelp.c130 void ss_add_info_dir(sci_idx, info_dir, code_ptr) in ss_add_info_dir() argument
133 int *code_ptr;
142 *code_ptr = SS_ET_NO_INFO_DIR;
146 *code_ptr = errno;
157 *code_ptr = errno;
164 *code_ptr = 0;
167 void ss_delete_info_dir(sci_idx, info_dir, code_ptr) in ss_delete_info_dir() argument
170 int *code_ptr;
182 *code_ptr = 0;
186 *code_ptr = SS_ET_NO_INFO_DIR;
Dss_internal.h81 #define ss_current_request(sci_idx,code_ptr) \ argument
82 (*code_ptr=0,ss_info(sci_idx)->current_request)
83 void ss_add_info_dir (int sci_idx, char *info_dir, int *code_ptr);
84 void ss_delete_info_dir (int sci_idx, char *info_dir, int *code_ptr);
Dinvocation.c24 request_table_ptr, code_ptr) in ss_create_invocation() argument
28 int *code_ptr;
34 *code_ptr = 0;
62 new_table->abbrev_info = ss_abbrev_initialize("/etc/passwd", code_ptr);
/external/qemu/tcg/sparc/
Dtcg-target.c103 static void patch_reloc(uint8_t *code_ptr, int type, in patch_reloc() argument
111 *(uint32_t *)code_ptr = value; in patch_reloc()
114 value -= (long)code_ptr; in patch_reloc()
118 *(uint32_t *)code_ptr = ((*(uint32_t *)code_ptr) & ~0x3fffff) | value; in patch_reloc()
121 value -= (long)code_ptr; in patch_reloc()
125 *(uint32_t *)code_ptr = ((*(uint32_t *)code_ptr) & ~0x7ffff) | value; in patch_reloc()
477 val = l->u.value - (tcg_target_long)s->code_ptr; in tcg_out_branch_i32()
479 | INSN_OFF22(l->u.value - (unsigned long)s->code_ptr))); in tcg_out_branch_i32()
481 tcg_out_reloc(s, s->code_ptr, R_SPARC_WDISP22, label_index, 0); in tcg_out_branch_i32()
493 val = l->u.value - (tcg_target_long)s->code_ptr; in tcg_out_branch_i64()
[all …]
/external/qemu/tcg/x86_64/
Dtcg-target.c80 static void patch_reloc(uint8_t *code_ptr, int type, in patch_reloc() argument
88 *(uint32_t *)code_ptr = value; in patch_reloc()
93 *(uint32_t *)code_ptr = value; in patch_reloc()
96 value -= (long)code_ptr; in patch_reloc()
99 *(uint32_t *)code_ptr = value; in patch_reloc()
277 val = offset - ((tcg_target_long)s->code_ptr + 5 + (-rm - 1)); in tcg_out_modrm_offset()
384 disp = target - s->code_ptr - 5; in tcg_out_goto()
385 if (disp == (target - s->code_ptr - 5)) { in tcg_out_goto()
472 val = l->u.value - (tcg_target_long)s->code_ptr; in tcg_out_jxx()
497 tcg_out_reloc(s, s->code_ptr, R_386_PC32, label_index, -4); in tcg_out_jxx()
[all …]
/external/qemu/tcg/i386/
Dtcg-target.c86 static void patch_reloc(uint8_t *code_ptr, int type, in patch_reloc() argument
92 value -= (uintptr_t)code_ptr; in patch_reloc()
96 *(uint32_t *)code_ptr = value; in patch_reloc()
99 value -= (uintptr_t)code_ptr; in patch_reloc()
103 *(uint8_t *)code_ptr = value; in patch_reloc()
425 tcg_target_long pc = (tcg_target_long)s->code_ptr + 5 + ~rm; in tcg_out_modrm_sib_offset()
722 val = l->u.value - (tcg_target_long)s->code_ptr; in tcg_out_jxx()
749 tcg_out_reloc(s, s->code_ptr, R_386_PC8, label_index, -1); in tcg_out_jxx()
750 s->code_ptr += 1; in tcg_out_jxx()
757 tcg_out_reloc(s, s->code_ptr, R_386_PC32, label_index, -4); in tcg_out_jxx()
[all …]
/external/qemu/tcg/ppc64/
Dtcg-target.c196 static void patch_reloc (uint8_t *code_ptr, int type, in patch_reloc() argument
202 reloc_pc14 (code_ptr, value); in patch_reloc()
205 reloc_pc24 (code_ptr, value); in patch_reloc()
492 disp = target - (tcg_target_long) s->code_ptr; in tcg_out_b()
641 label1_ptr = s->code_ptr; in tcg_out_qemu_ld()
670 label2_ptr = s->code_ptr; in tcg_out_qemu_ld()
675 reloc_pc14 (label1_ptr, (tcg_target_long) s->code_ptr); in tcg_out_qemu_ld()
760 reloc_pc24 (label2_ptr, (tcg_target_long) s->code_ptr); in tcg_out_qemu_ld()
787 label1_ptr = s->code_ptr; in tcg_out_qemu_st()
799 label2_ptr = s->code_ptr; in tcg_out_qemu_st()
[all …]
/external/qemu/tcg/arm/
Dtcg-target.c116 static inline void reloc_abs32(void *code_ptr, tcg_target_long target) in reloc_abs32() argument
118 *(uint32_t *) code_ptr = target; in reloc_abs32()
121 static inline void reloc_pc24(void *code_ptr, tcg_target_long target) in reloc_pc24() argument
123 uint32_t offset = ((target - ((tcg_target_long) code_ptr + 8)) >> 2); in reloc_pc24()
125 *(uint32_t *) code_ptr = ((*(uint32_t *) code_ptr) & ~0xffffff) in reloc_pc24()
129 static void patch_reloc(uint8_t *code_ptr, int type, in patch_reloc() argument
134 reloc_abs32(code_ptr, value); in patch_reloc()
143 reloc_pc24(code_ptr, value); in patch_reloc()
360 s->code_ptr += 3; in tcg_out_b_noaddr()
362 s->code_ptr += 3; in tcg_out_b_noaddr()
[all …]
/external/qemu/tcg/ppc/
Dtcg-target.c205 static void patch_reloc(uint8_t *code_ptr, int type, in patch_reloc() argument
211 reloc_pc14 (code_ptr, value); in patch_reloc()
214 reloc_pc24 (code_ptr, value); in patch_reloc()
472 disp = target - (tcg_target_long) s->code_ptr; in tcg_out_b()
587 label1_ptr = s->code_ptr; in tcg_out_qemu_ld()
634 label2_ptr = s->code_ptr; in tcg_out_qemu_ld()
639 reloc_pc14 (label1_ptr, (tcg_target_long) s->code_ptr); in tcg_out_qemu_ld()
720 reloc_pc24 (label2_ptr, (tcg_target_long) s->code_ptr); in tcg_out_qemu_ld()
783 label1_ptr = s->code_ptr; in tcg_out_qemu_st()
834 label2_ptr = s->code_ptr; in tcg_out_qemu_st()
[all …]
/external/qemu/tcg/hppa/
Dtcg-target.c147 static void patch_reloc(uint8_t *code_ptr, int type, in patch_reloc() argument
150 uint32_t *insn_ptr = (uint32_t *)code_ptr; in patch_reloc()
155 pcrel = (value - ((tcg_target_long)code_ptr + 8)) >> 2; in patch_reloc()
630 disp = (val - ((tcg_target_long)s->code_ptr + 8)) >> 2; in tcg_out_call()
720 val -= (tcg_target_long)s->code_ptr + 8; in tcg_out_branch()
727 uint32_t old_insn = *(uint32_t *)s->code_ptr; in tcg_out_branch()
729 tcg_out_reloc(s, s->code_ptr, R_PARISC_PCREL17F, label_index, 0); in tcg_out_branch()
773 val -= (tcg_target_long)s->code_ptr + 8; in tcg_out_brcond()
784 uint32_t old_insn = *(uint32_t *)s->code_ptr; in tcg_out_brcond()
786 tcg_out_reloc(s, s->code_ptr, R_PARISC_PCREL12F, label_index, 0); in tcg_out_brcond()
[all …]
/external/qemu/tcg/
Dtcg.c68 static void patch_reloc(uint8_t *code_ptr, int type,
96 *s->code_ptr++ = v; in tcg_out8()
101 *(uint16_t *)s->code_ptr = v; in tcg_out16()
102 s->code_ptr += 2; in tcg_out16()
107 *(uint32_t *)s->code_ptr = v; in tcg_out32()
108 s->code_ptr += 4; in tcg_out32()
113 static void tcg_out_reloc(TCGContext *s, uint8_t *code_ptr, int type, in tcg_out_reloc() argument
124 patch_reloc(code_ptr, type, l->u.value, addend); in tcg_out_reloc()
129 r->ptr = code_ptr; in tcg_out_reloc()
259 s->code_ptr = s->code_buf; in tcg_prologue_init()
[all …]
Dtcg.h301 uint8_t *code_ptr; member
/external/v8/src/
Dplatform-macos.cc260 char* code_ptr = getsectdatafromheader_64( in LogSharedLibraryAddresses() local
267 char* code_ptr = getsectdatafromheader(header, SEG_TEXT, SECT_TEXT, &size); in LogSharedLibraryAddresses() local
269 if (code_ptr == NULL) continue; in LogSharedLibraryAddresses()
271 const uintptr_t start = reinterpret_cast<uintptr_t>(code_ptr) + slide; in LogSharedLibraryAddresses()