/external/valgrind/main/tests/ |
H A D | arch_test.c | 13 // - 0 if the machine matches the asked-for arch 14 // - 1 if it doesn't match but does match the name of another arch 15 // - 2 if it doesn't match the name of any arch 34 static Bool go(char* arch) argument 37 if ( 0 == strcmp( arch, "x86" ) ) return True; 40 if ( 0 == strcmp( arch, "x86" ) ) return True; 41 if ( 0 == strcmp( arch, "amd64" ) ) return True; 44 if ( 0 == strcmp( arch, "ppc32" ) ) return True; 47 if ( 0 == strcmp( arch, "ppc64" ) ) return True; 48 if ( 0 == strcmp( arch, "ppc3 [all...] |
/external/llvm/lib/Linker/ |
H A D | LinkArchives.cpp | 118 Archive* arch = AutoArch.get(); local 120 if (!arch) 123 if (!arch->isBitcodeArchive()) { 141 // Find the modules we need to link into the target module. Note that arch 145 if (!arch->findModulesDefiningSymbols(UndefinedSymbols, Modules, &ErrMsg))
|
/external/valgrind/main/ |
H A D | Android.mk | 18 arch := arm macro 20 arch := x86 macro 22 ifdef arch 28 -DVGA_$(arch)=1 \ 30 -DVGP_$(arch)_linux=1 \ 31 -DVG_PLATFORM=\"$(arch)-linux\" \ 55 # Build libvex-($arch)-linux.a 58 LOCAL_MODULE := libvex-$(arch)-linux 102 # Build libcoregrind-$(arch)-linux.a 105 LOCAL_MODULE := libcoregrind-$(arch) [all...] |
/external/valgrind/tsan/ |
H A D | Android.mk | 18 arch := arm macro 20 arch := x86 macro 22 ifdef arch 28 -DVGA_$(arch)=1 \ 30 -DVGP_$(arch)_linux=1 \ 31 -DVG_PLATFORM=\"$(arch)-linux\" \ 54 # Build tsan-$(arch)-linux 57 LOCAL_MODULE := tsan-$(arch)-linux 83 LOCAL_STATIC_LIBRARIES := libcoregrind-$(arch)-linux libvex-$(arch) [all...] |
/external/valgrind/main/coregrind/m_initimg/ |
H A D | initimg-aix5.c | 297 ThreadArchState* arch = &VG_(threads)[1].arch; local 305 LibVEX_GuestPPC32_initialise(&arch->vex); 308 VG_(memset)(&arch->vex_shadow1, 0, sizeof(VexGuestPPC32State)); 309 VG_(memset)(&arch->vex_shadow2, 0, sizeof(VexGuestPPC32State)); 317 LibVEX_GuestPPC64_initialise(&arch->vex); 320 VG_(memset)(&arch->vex_shadow1, 0, sizeof(VexGuestPPC64State)); 321 VG_(memset)(&arch->vex_shadow2, 0, sizeof(VexGuestPPC64State)); 331 arch->vex.guest_GPR0 = (UWord)iifii.intregs37[0]; 332 arch [all...] |
H A D | initimg-darwin.c | 582 ThreadArchState* arch = &VG_(threads)[1].arch; local 591 LibVEX_GuestX86_initialise(&arch->vex); 594 VG_(memset)(&arch->vex_shadow1, 0, sizeof(VexGuestX86State)); 595 VG_(memset)(&arch->vex_shadow2, 0, sizeof(VexGuestX86State)); 598 arch->vex.guest_ESP = iifii.initial_client_SP; 599 arch->vex.guest_EIP = iifii.initial_client_IP; 606 LibVEX_GuestAMD64_initialise(&arch->vex); 609 VG_(memset)(&arch->vex_shadow1, 0, sizeof(VexGuestAMD64State)); 610 VG_(memset)(&arch [all...] |
H A D | initimg-linux.c | 960 ThreadArchState* arch = &VG_(threads)[1].arch; local 970 LibVEX_GuestX86_initialise(&arch->vex); 973 VG_(memset)(&arch->vex_shadow1, 0, sizeof(VexGuestX86State)); 974 VG_(memset)(&arch->vex_shadow2, 0, sizeof(VexGuestX86State)); 977 arch->vex.guest_ESP = iifii.initial_client_SP; 978 arch->vex.guest_EIP = iifii.initial_client_IP; 982 asm volatile("movw %%cs, %0" : : "m" (arch->vex.guest_CS)); 983 asm volatile("movw %%ds, %0" : : "m" (arch->vex.guest_DS)); 984 asm volatile("movw %%ss, %0" : : "m" (arch [all...] |
/external/llvm/lib/Archive/ |
H A D | ArchiveWriter.cpp | 418 OwningPtr<MemoryBuffer> arch; local 419 if (error_code ec = MemoryBuffer::getFile(TmpArchive.c_str(), arch)) { 424 const char* base = arch->getBufferStart(); 462 arch->getBufferSize()-sizeof(ARFILE_MAGIC)+1); 466 } // free arch.
|
/external/llvm/tools/llvm-nm/ |
H A D | llvm-nm.cpp | 322 OwningPtr<Binary> arch; local 323 if (error_code ec = object::createBinary(aPath.str(), arch)) { 327 if (object::Archive *a = dyn_cast<object::Archive>(arch.get())) {
|
/external/qemu/hw/ |
H A D | fw_cfg.c | 56 int arch = !!(s->cur_entry & FW_CFG_ARCH_LOCAL); local 57 FWCfgEntry *e = &s->entries[arch][s->cur_entry & FW_CFG_ENTRY_MASK]; 90 int arch = !!(s->cur_entry & FW_CFG_ARCH_LOCAL); local 91 FWCfgEntry *e = &s->entries[arch][s->cur_entry & FW_CFG_ENTRY_MASK]; 191 int arch = !!(key & FW_CFG_ARCH_LOCAL); local 198 s->entries[arch][key].data = data; 199 s->entries[arch][key].len = len; 235 int arch = !!(key & FW_CFG_ARCH_LOCAL); local 245 s->entries[arch][key].data = data; 246 s->entries[arch][ke [all...] |
/external/valgrind/main/VEX/priv/ |
H A D | main_main.c | 67 static Bool are_valid_hwcaps ( VexArch arch, UInt hwcaps ); 68 static HChar* show_hwcaps ( VexArch arch, UInt hwcaps ); 710 const HChar* LibVEX_ppVexArch ( VexArch arch ) 712 switch (arch) { 723 const HChar* LibVEX_ppVexHwCaps ( VexArch arch, UInt hwcaps ) argument 725 HChar* str = show_hwcaps(arch,hwcaps); 891 static HChar* show_hwcaps ( VexArch arch, UInt hwcaps ) argument 893 switch (arch) { 903 static Bool are_valid_hwcaps ( VexArch arch, UInt hwcaps ) argument 905 return show_hwcaps(arch,hwcap [all...] |
/external/valgrind/main/coregrind/ |
H A D | launcher-darwin.c | 140 /* Examine the client and work out which arch it is for */ 158 // If it's thin, return that arch. 168 // If it's fat, look for a good arch. 174 // If only one fat arch, use it. 179 // Scan fat headers for default arch. 184 // Scan fat headers for any supported arch. 207 const char *arch; local 240 if (0 == strncmp(argv[i], "--arch=", 7)) 289 VG_(debugLog)(1, "launcher", "arch '%s' IS NOT installed\n", valid_archs[i].valgrind_name); 292 VG_(debugLog)(1, "launcher", "arch ' [all...] |
H A D | pub_core_threadstate.h | 307 ThreadArchState arch; member in struct:__anon11128
|
/external/valgrind/main/coregrind/m_coredump/ |
H A D | coredump-elf.c | 226 ThreadArchState* arch = (ThreadArchState*)&tst->arch; local 246 regs->eflags = LibVEX_GuestX86_get_eflags( &arch->vex ); 247 regs->esp = arch->vex.guest_ESP; 248 regs->eip = arch->vex.guest_EIP; 250 regs->ebx = arch->vex.guest_EBX; 251 regs->ecx = arch->vex.guest_ECX; 252 regs->edx = arch->vex.guest_EDX; 253 regs->esi = arch->vex.guest_ESI; 254 regs->edi = arch 359 ThreadArchState* arch = (ThreadArchState*)&tst->arch; local 431 ThreadArchState* arch = (ThreadArchState*)&tst->arch; local [all...] |
/external/llvm/include/llvm/Bitcode/ |
H A D | Archive.h | 259 inline void splice(iterator dest, Archive& arch, iterator src) argument 260 { return members.splice(dest,arch.members,src); }
|
/external/llvm/lib/MC/MCDisassembler/ |
H A D | EDDisassembler.cpp | 59 /// @arg arch - The Triple::ArchType for the desired architecture 60 static const char *tripleFromArch(Triple::ArchType arch) { argument 64 if (arch == triplemap[infoIndex].Arch) 75 /// @arg arch - The target architecture 77 static int getLLVMSyntaxVariant(Triple::ArchType arch, argument 84 if (arch == Triple::x86 || arch == Triple::x86_64) 89 if (arch == Triple::x86 || arch == Triple::x86_64) 94 if (arch 115 getDisassembler(Triple::ArchType arch, AssemblySyntax syntax) argument [all...] |
/external/valgrind/main/coregrind/m_ume/ |
H A D | macho.c | 315 print("bad executable (no arch-compatible thread state)\n"); 655 // Scan arch headers looking for a good one 659 struct fat_arch arch; local 660 if (arch_offset + sizeof(arch) > size) { 665 res = VG_(pread)(fd, &arch, sizeof(arch), arch_offset); 666 arch_offset += sizeof(arch); 667 if (sr_isError(res) || sr_Res(res) != sizeof(arch)) { 668 VG_(printf)("bad executable (corrupt fat arch) %x %llu\n", 669 arch [all...] |
/external/clang/lib/Frontend/ |
H A D | InitHeaderSearch.cpp | 175 llvm::Triple::ArchType arch = triple.getArch(); local 176 bool is64bit = arch == llvm::Triple::ppc64 || arch == llvm::Triple::x86_64; 498 AddPath("/boot/develop/headers/os/arch", System, true, false, false);
|
/external/opencv/cxcore/src/ |
H A D | cxswitcher.cpp | 546 int arch = CV_GET_PROC_ARCH(cpu_info->model); local 557 const char** ipp_suffix = arch == CV_PROC_IA64 ? ipp_sfx_ia64 : 558 arch == CV_PROC_EM64T ? ipp_sfx_em64t : ipp_sfx_ia32; 559 const char** mkl_suffix = arch == CV_PROC_IA64 ? mkl_sfx_ia64 : 560 arch == CV_PROC_EM64T ? mkl_sfx_em64t : mkl_sfx_ia32; 589 (arch == CV_PROC_IA32_GENERIC || arch == CV_PROC_IA64 || arch == CV_PROC_EM64T) )
|
/external/valgrind/main/coregrind/m_debuginfo/ |
H A D | readmacho.c | 218 struct fat_arch arch; local 240 arch.cputype = VG_(ntohl)(arch_be->cputype); 241 arch.cpusubtype = VG_(ntohl)(arch_be->cpusubtype); 242 arch.offset = VG_(ntohl)(arch_be->offset); 243 arch.size = VG_(ntohl)(arch_be->size); 244 if (arch.cputype == cputype) { 245 if (ii->img_szB < arch.offset + arch.size) { 249 ii->macho_img = ii->img + arch.offset; 250 ii->macho_img_szB = arch [all...] |
/external/kernel-headers/original/linux/ |
H A D | module.h | 310 struct mod_arch_specific arch; member in struct:module
|
/external/qemu/ |
H A D | arm-dis.c | 87 unsigned long arch; /* Architecture defining this insn. */ member in struct:opcode32 94 unsigned long arch; /* Architecture defining this insn. */ member in struct:opcode16
|
H A D | dis-asm.h | 46 bfd_arch_unknown, /* File arch not known */ 268 enum bfd_architecture arch; member in struct:disassemble_info 436 (INFO).arch = bfd_arch_unknown, \
|
/external/v8/src/ |
H A D | log.cc | 1374 const char arch[] = "ia32"; local 1376 const char arch[] = "x64"; 1378 const char arch[] = "arm"; 1380 const char arch[] = "unknown"; 1383 msg.Append("code-info,%s,%d\n", arch, Code::kHeaderSize);
|
/external/clang/lib/CodeGen/ |
H A D | CGObjC.cpp | 380 static bool hasUnalignedAtomics(llvm::Triple::ArchType arch) { argument 389 llvm::Triple::ArchType arch) { 540 llvm::Triple::ArchType arch = local 546 if (IvarAlignment < IvarSize && !hasUnalignedAtomics(arch)) { 553 if (IvarSize > getMaxAtomicAccessSize(CGM, arch)) { 388 getMaxAtomicAccessSize(CodeGenModule &CGM, llvm::Triple::ArchType arch) argument
|