Home
last modified time | relevance | path

Searched refs:arch (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/external/valgrind/main/coregrind/m_sigframe/
Dsigframe-s390x-linux.c65 do { zztst->arch.vex.guest_r##zzn = (unsigned long)(zzval); \
147 sigregs->regs.gprs[0] = tst->arch.vex.guest_r0; in save_sigregs()
148 sigregs->regs.gprs[1] = tst->arch.vex.guest_r1; in save_sigregs()
149 sigregs->regs.gprs[2] = tst->arch.vex.guest_r2; in save_sigregs()
150 sigregs->regs.gprs[3] = tst->arch.vex.guest_r3; in save_sigregs()
151 sigregs->regs.gprs[4] = tst->arch.vex.guest_r4; in save_sigregs()
152 sigregs->regs.gprs[5] = tst->arch.vex.guest_r5; in save_sigregs()
153 sigregs->regs.gprs[6] = tst->arch.vex.guest_r6; in save_sigregs()
154 sigregs->regs.gprs[7] = tst->arch.vex.guest_r7; in save_sigregs()
155 sigregs->regs.gprs[8] = tst->arch.vex.guest_r8; in save_sigregs()
[all …]
Dsigframe-amd64-linux.c344 # define SC2(reg,REG) sc->reg = tst->arch.vex.guest_##REG in synth_ucontext()
363 sc->eflags = LibVEX_GuestAMD64_get_rflags(&tst->arch.vex); in synth_ucontext()
429 frame->vex_shadow1 = tst->arch.vex_shadow1; in build_vg_sigframe()
430 frame->vex_shadow2 = tst->arch.vex_shadow2; in build_vg_sigframe()
432 frame->vex = tst->arch.vex; in build_vg_sigframe()
483 = (void*)tst->arch.vex.guest_RIP; in build_rt_sigframe()
520 tst->arch.vex.guest_RIP = (Addr) handler; in VG_()
521 tst->arch.vex.guest_RDI = (ULong) siginfo->si_signo; in VG_()
522 tst->arch.vex.guest_RSI = (Addr) &frame->sigInfo; in VG_()
523 tst->arch.vex.guest_RDX = (Addr) &frame->uContext; in VG_()
[all …]
Dsigframe-ppc64-linux.c121 do { tst->arch.vex.guest_LR = (zzval); \
128 do { tst->arch.vex.guest_GPR##zzn = (zzval); \
225 *(Addr *)sp = tst->arch.vex.guest_GPR1; in VG_()
247 = tst->arch.vex.guest_GPR##gpr in VG_()
254 frame->uc.uc_mcontext.gp_regs[VKI_PT_NIP] = tst->arch.vex.guest_CIA; in VG_()
256 frame->uc.uc_mcontext.gp_regs[VKI_PT_ORIG_R3] = tst->arch.vex.guest_GPR3; in VG_()
257 frame->uc.uc_mcontext.gp_regs[VKI_PT_CTR] = tst->arch.vex.guest_CTR; in VG_()
258 frame->uc.uc_mcontext.gp_regs[VKI_PT_LNK] = tst->arch.vex.guest_LR; in VG_()
260 &tst->arch.vex); in VG_()
262 &tst->arch.vex); in VG_()
[all …]
Dsigframe-x86-linux.c368 # define SC2(reg,REG) sc->reg = tst->arch.vex.guest_##REG in synth_ucontext()
385 sc->eflags = LibVEX_GuestX86_get_eflags(&tst->arch.vex); in synth_ucontext()
449 frame->vex_shadow1 = tst->arch.vex_shadow1; in build_vg_sigframe()
450 frame->vex_shadow2 = tst->arch.vex_shadow2; in build_vg_sigframe()
452 frame->vex = tst->arch.vex; in build_vg_sigframe()
567 = (void*)tst->arch.vex.guest_EIP; in build_rt_sigframe()
607 tst->arch.vex.guest_EIP = (Addr) handler; in VG_()
614 esp, tst->arch.vex.guest_EIP, tst->status); in VG_()
640 tst->arch.vex_shadow1 = frame->vex_shadow1; in restore_vg_sigframe()
641 tst->arch.vex_shadow2 = frame->vex_shadow2; in restore_vg_sigframe()
[all …]
Dsigframe-ppc32-linux.c123 do { tst->arch.vex.guest_LR = (zzval); \
130 do { tst->arch.vex.guest_GPR##zzn = (zzval); \
146 # define DO(gpr) mc->mc_gregs[VKI_PT_R0+gpr] = tst->arch.vex.guest_GPR##gpr in stack_mcontext()
153 mc->mc_gregs[VKI_PT_NIP] = tst->arch.vex.guest_CIA; in stack_mcontext()
155 mc->mc_gregs[VKI_PT_ORIG_R3] = tst->arch.vex.guest_GPR3; in stack_mcontext()
156 mc->mc_gregs[VKI_PT_CTR] = tst->arch.vex.guest_CTR; in stack_mcontext()
157 mc->mc_gregs[VKI_PT_LNK] = tst->arch.vex.guest_LR; in stack_mcontext()
158 mc->mc_gregs[VKI_PT_XER] = LibVEX_GuestPPC32_get_XER(&tst->arch.vex); in stack_mcontext()
159 mc->mc_gregs[VKI_PT_CCR] = LibVEX_GuestPPC32_get_CR(&tst->arch.vex); in stack_mcontext()
703 *(Addr *)sp = tst->arch.vex.guest_GPR1; in VG_()
[all …]
Dsigframe-arm-linux.c137 # define SC2(reg,REG) sc->arm_##reg = tst->arch.vex.guest_##REG in synth_ucontext()
193 priv->vex = tst->arch.vex; in build_sigframe()
194 priv->vex_shadow1 = tst->arch.vex_shadow1; in build_sigframe()
195 priv->vex_shadow2 = tst->arch.vex_shadow2; in build_sigframe()
241 rsf->info._sifields._sigfault._addr = (Addr *) (tst)->arch.vex.guest_R12; /* IP */ in VG_()
248 tst->arch.vex.guest_R1 = (Addr)&rsf->info; in VG_()
249 tst->arch.vex.guest_R2 = (Addr)&rsf->sig.uc; in VG_()
259 tst->arch.vex.guest_R0 = sigNo; in VG_()
262 tst->arch.vex.guest_R14 = (Addr) restorer; in VG_()
264 tst->arch.vex.guest_R15T = (Addr) handler; /* R15 == PC */ in VG_()
[all …]
Dsigframe-amd64-darwin.c145 frame->gst = tst->arch.vex; in VG_()
146 frame->gshadow1 = tst->arch.vex_shadow1; in VG_()
147 frame->gshadow2 = tst->arch.vex_shadow2; in VG_()
172 tst->arch.vex.guest_RDI = (ULong) sigNo; in VG_()
173 tst->arch.vex.guest_RSI = (Addr) &frame->fake_siginfo;/* oh well */ in VG_()
174 tst->arch.vex.guest_RDX = (Addr) &frame->fake_ucontext; /* oh well */ in VG_()
215 tst->arch.vex = frame->gst; in VG_()
216 tst->arch.vex_shadow1 = frame->gshadow1; in VG_()
217 tst->arch.vex_shadow2 = frame->gshadow2; in VG_()
225 tid, tst->arch.vex.guest_RIP); in VG_()
/external/valgrind/main/coregrind/m_coredump/
Dcoredump-elf.c227 ThreadArchState* arch = (ThreadArchState*)&tst->arch; in fill_prstatus() local
252 regs->eflags = LibVEX_GuestX86_get_eflags( &arch->vex ); in fill_prstatus()
253 regs->esp = arch->vex.guest_ESP; in fill_prstatus()
254 regs->eip = arch->vex.guest_EIP; in fill_prstatus()
256 regs->ebx = arch->vex.guest_EBX; in fill_prstatus()
257 regs->ecx = arch->vex.guest_ECX; in fill_prstatus()
258 regs->edx = arch->vex.guest_EDX; in fill_prstatus()
259 regs->esi = arch->vex.guest_ESI; in fill_prstatus()
260 regs->edi = arch->vex.guest_EDI; in fill_prstatus()
261 regs->ebp = arch->vex.guest_EBP; in fill_prstatus()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/system/
DJmeSystemDelegate.java105 private boolean is64Bit(String arch) { in is64Bit() argument
106 if (arch.equals("x86")) { in is64Bit()
108 } else if (arch.equals("amd64")) { in is64Bit()
110 } else if (arch.equals("x86_64")) { in is64Bit()
112 } else if (arch.equals("ppc") || arch.equals("PowerPC")) { in is64Bit()
114 } else if (arch.equals("ppc64")) { in is64Bit()
116 } else if (arch.equals("i386") || arch.equals("i686")) { in is64Bit()
118 } else if (arch.equals("universal")) { in is64Bit()
121 throw new UnsupportedOperationException("Unsupported architecture: " + arch); in is64Bit()
127 String arch = System.getProperty("os.arch").toLowerCase(); in getPlatform() local
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testScripts/
Druntests15 arch=
27 usage="usage: $0 -os <osType> -ws <windowingSystemType> -arch <architecture> [-noclean] [<test targ…
37 -arch) arch="$2"; shift;;
46 # for *nix systems, os, ws and arch values must be specified
59 if [ "x$arch" = "x" ]
68 # verify os, ws and arch values passed in are valid before running tests
69arch" = "linux-motif-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-x86" ] || [ "$os-$ws-$arch" = "solar…
84 …pdate -ws $ws -os $os -arch $arch -application org.eclipse.ant.core.antRunner -file test.xml setup…
89 …-Dosgi.arch=$arch org.eclipse.core.launcher.Main -application org.eclipse.ant.core.antRunner -file…
91 # display message to user if os, ws and arch are invalid
[all …]
/external/valgrind/main/tests/
Darch_test.c35 static Bool go(char* arch) in go() argument
38 if ( 0 == strcmp( arch, "x86" ) ) return True; in go()
41 if ( 0 == strcmp( arch, "x86" ) ) return True; in go()
42 if ( 0 == strcmp( arch, "amd64" ) ) return True; in go()
45 if ( 0 == strcmp( arch, "ppc32" ) ) return True; in go()
48 if ( 0 == strcmp( arch, "ppc64" ) ) return True; in go()
49 if ( 0 == strcmp( arch, "ppc32" ) ) return True; in go()
52 if ( 0 == strcmp( arch, "s390x" ) ) return True; in go()
55 if ( 0 == strcmp( arch, "arm" ) ) return True; in go()
/external/valgrind/main/
DAndroid.mk18 arch := arm
20 arch := x86
22 ifdef arch
28 -DVGA_$(arch)=1 \
30 -DVGP_$(arch)_linux=1 \
31 -DVGPV_$(arch)_linux_android=1 \
57 # Build libvex-($arch)-linux.a
/external/v8/tools/gcmole/
Dgcmole.lua170 local function FilesForArch(arch)
172 arch = arch,
294 local function GenerateGCSuspects(arch, files, cfg)
298 log ("** Building GC Suspects for %s", arch)
319 log ("** GCSuspects generated for %s", arch)
325 local function CheckCorrectnessForArch(arch)
326 local files = FilesForArch(arch)
327 local cfg = ARCHITECTURES[arch]
330 GenerateGCSuspects(arch, files, cfg)
348 arch)
[all …]
/external/valgrind/main/coregrind/m_initimg/
Dinitimg-linux.c971 ThreadArchState* arch = &VG_(threads)[1].arch; in VG_() local
981 LibVEX_GuestX86_initialise(&arch->vex); in VG_()
984 VG_(memset)(&arch->vex_shadow1, 0, sizeof(VexGuestX86State)); in VG_()
985 VG_(memset)(&arch->vex_shadow2, 0, sizeof(VexGuestX86State)); in VG_()
988 arch->vex.guest_ESP = iifii.initial_client_SP; in VG_()
989 arch->vex.guest_EIP = iifii.initial_client_IP; in VG_()
993 asm volatile("movw %%cs, %0" : : "m" (arch->vex.guest_CS)); in VG_()
994 asm volatile("movw %%ds, %0" : : "m" (arch->vex.guest_DS)); in VG_()
995 asm volatile("movw %%ss, %0" : : "m" (arch->vex.guest_SS)); in VG_()
1002 LibVEX_GuestAMD64_initialise(&arch->vex); in VG_()
[all …]
/external/compiler-rt/make/
Dlib_platforms.mk33 $$(foreach arch,$(AvailableArchs),\
34 $$(call Set,$$(var).$$(arch),UNDEFINED)))
61 $$(foreach arch,$(AvailableArchs),\
62 $$(if $$(call strneq,UNDEFINED,$$($$(var).$$(arch))),\
63 $$(call CopyVariable,$$(var).$$(arch),$(PlatformKey).$$(var).$$(arch))))\
65 $$(foreach arch,$(AvailableArchs),\
66 $$(if $$(call strneq,UNDEFINED,$$($$(var).$$(config).$$(arch))),\
67 $$(call CopyVariable,$$(var).$$(config).$$(arch),\
68 $(PlatformKey).$$(var).$$(config).$$(arch))))))
Dlib_info.mk39 $(foreach arch,$($(key).OnlyArchs),\
40 $(call Append,ArchFunctions.$(arch),$(sort \
44 $(foreach arch,$(AvailableArchs),\
45 $(call Set,ArchFunctions.$(arch),$(sort $(ArchFunctions.$(arch))))\
46 $(call Set,ArchOnlyFunctions.$(arch),\
47 $(call set_difference,$(ArchFunctions.$(arch)),$(CommonFunctions))))
DAppleBI.mk57 $(OBJROOT)/version.c -arch $* -dynamiclib \
64 $(SYMROOT)/libcompiler_rt.dylib: $(foreach arch,$(filter-out armv4t,$(RC_ARCHS)), \
65 $(OBJROOT)/libcompiler_rt-$(arch).dylib)
87 $(SYMROOT)/libcompiler_rt-static.a : $(foreach arch,$(RC_ARCHS), \
88 $(OBJROOT)/darwin_bni/Static/$(arch)/libcompiler_rt.a)
102 $(SYMROOT)/libcompiler_rt-dyld.a : $(foreach arch,$(RC_ARCHS), \
103 $(OBJROOT)/libcompiler_rt-dyld-$(arch).a)
/external/v8/tools/
Dtest-wrapper-gypbuild.py137 options.arch = []
142 options.arch = tokens[0]
145 options.arch = options.arch.split(',')
150 for arch in options.arch:
151 if not arch in ['ia32', 'x64', 'arm', 'mips']:
152 print "Unknown architecture %s" % arch
229 for arch in options.arch:
230 print ">>> running tests for %s.%s" % (arch, mode)
231 shellpath = workspace + '/' + options.outdir + '/' + arch + '.' + mode
235 ['--arch=' + arch] +
[all …]
/external/oprofile/m4/
Dconfigmodule.m442 arch="unknown"
47 test "$x86" = 1 && arch="x86"
49 if test "$arch" = "unknown"; then
53 test "$ia64" = 1 && arch="ia64"
56 test "$arch" = "unknown" && AC_MSG_ERROR(Unsupported architecture)
58 dnl check to see if kernel verion appropriate for arch
59 AC_MSG_CHECKING(arch/kernel version combination)
60 case "$arch" in
63 AC_MSG_ERROR([unsupported arch/kernel])) ;;
77 OPROFILE_MODULE_ARCH=$arch
/external/valgrind/main/coregrind/
Dm_machine.c49 return INSTR_PTR( VG_(threads)[tid].arch ); in VG_()
52 return STACK_PTR( VG_(threads)[tid].arch ); in VG_()
55 return FRAME_PTR( VG_(threads)[tid].arch ); in VG_()
59 INSTR_PTR( VG_(threads)[tid].arch ) = ip; in VG_()
62 STACK_PTR( VG_(threads)[tid].arch ) = sp; in VG_()
69 regs->r_pc = (ULong)VG_(threads)[tid].arch.vex.guest_EIP; in VG_()
70 regs->r_sp = (ULong)VG_(threads)[tid].arch.vex.guest_ESP; in VG_()
72 = VG_(threads)[tid].arch.vex.guest_EBP; in VG_()
74 regs->r_pc = VG_(threads)[tid].arch.vex.guest_RIP; in VG_()
75 regs->r_sp = VG_(threads)[tid].arch.vex.guest_RSP; in VG_()
[all …]
Dlauncher-darwin.c207 const char *arch; in main() local
318 arch = NULL; in main()
323 arch = valid_archs[i].valgrind_name; in main()
328 assert(NULL != arch); in main()
330 arch, archname); in main()
337 arch = default_arch; in main()
339 else if ((arch = select_arch(clientname, default_cputype,default_arch))) { in main()
341 VG_(debugLog)(1, "launcher", "selected arch '%s'\n", arch); in main()
348 arch = default_arch; in main()
410 asprintf(&toolfile, "%s/%s-%s-darwin", valgrind_lib, toolname, arch); in main()
[all …]
/external/chromium/build/
Dinstall-chroot.sh121 arch=
127 read arch
128 [ "${arch}" == 32 -o "${arch}" == 64 ] && break
130 [ "${arch}" == 32 ] && archflag="--arch i386" || archflag="--arch amd64"
131 arch="${arch}bit"
133 target="${distname}${arch}"
189 description=${brand} ${distname} ${arch}
196 personality=linux$([ "${arch}" != 64bit ] && echo 32)
282 "${host_distro}" = "${distname}" -a "${arch}" = 32bit ] && \
317 Successfully installed ${distname} ${arch}
/external/qemu/hw/
Dfw_cfg.c56 int arch = !!(s->cur_entry & FW_CFG_ARCH_LOCAL); in fw_cfg_write() local
57 FWCfgEntry *e = &s->entries[arch][s->cur_entry & FW_CFG_ENTRY_MASK]; in fw_cfg_write()
90 int arch = !!(s->cur_entry & FW_CFG_ARCH_LOCAL); in fw_cfg_read() local
91 FWCfgEntry *e = &s->entries[arch][s->cur_entry & FW_CFG_ENTRY_MASK]; in fw_cfg_read()
191 int arch = !!(key & FW_CFG_ARCH_LOCAL); in fw_cfg_add_bytes() local
198 s->entries[arch][key].data = data; in fw_cfg_add_bytes()
199 s->entries[arch][key].len = len; in fw_cfg_add_bytes()
235 int arch = !!(key & FW_CFG_ARCH_LOCAL); in fw_cfg_add_callback() local
245 s->entries[arch][key].data = data; in fw_cfg_add_callback()
246 s->entries[arch][key].len = len; in fw_cfg_add_callback()
[all …]
/external/valgrind/main/coregrind/m_ume/
Dmacho.c659 struct fat_arch arch; in load_fat_file() local
660 if (arch_offset + sizeof(arch) > size) { in load_fat_file()
665 res = VG_(pread)(fd, &arch, sizeof(arch), arch_offset); in load_fat_file()
666 arch_offset += sizeof(arch); in load_fat_file()
667 if (sr_isError(res) || sr_Res(res) != sizeof(arch)) { in load_fat_file()
669 arch.cputype, (ULong)arch_offset); in load_fat_file()
673 arch.cputype = VG_(ntohl)(arch.cputype); in load_fat_file()
674 arch.cpusubtype = VG_(ntohl)(arch.cpusubtype); in load_fat_file()
675 arch.offset = VG_(ntohl)(arch.offset); in load_fat_file()
676 arch.size = VG_(ntohl)(arch.size); in load_fat_file()
[all …]
/external/llvm/lib/MC/MCDisassembler/
DEDDisassembler.cpp58 static const char *tripleFromArch(Triple::ArchType arch) { in tripleFromArch() argument
62 if (arch == triplemap[infoIndex].Arch) in tripleFromArch()
75 static int getLLVMSyntaxVariant(Triple::ArchType arch, in getLLVMSyntaxVariant() argument
80 if (arch == Triple::x86 || arch == Triple::x86_64) in getLLVMSyntaxVariant()
84 if (arch == Triple::x86 || arch == Triple::x86_64) in getLLVMSyntaxVariant()
88 if (arch == Triple::arm || arch == Triple::thumb) in getLLVMSyntaxVariant()
96 EDDisassembler *EDDisassembler::getDisassembler(Triple::ArchType arch, in getDisassembler() argument
98 const char *triple = tripleFromArch(arch); in getDisassembler()

12345678910>>...13