/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
H A D | ThreadElfCore.cpp | 86 ArchSpec arch = process->GetArchitecture(); in CreateRegisterContextForFrame() local 89 switch (arch.GetTriple().getOS()) { in CreateRegisterContextForFrame() 91 switch (arch.GetMachine()) { in CreateRegisterContextForFrame() 96 reg_interface = new RegisterContextFreeBSD_powerpc32(arch); in CreateRegisterContextForFrame() 99 reg_interface = new RegisterContextFreeBSD_powerpc64(arch); in CreateRegisterContextForFrame() 102 reg_interface = new RegisterContextFreeBSD_mips64(arch); in CreateRegisterContextForFrame() 105 reg_interface = new RegisterContextFreeBSD_i386(arch); in CreateRegisterContextForFrame() 108 reg_interface = new RegisterContextFreeBSD_x86_64(arch); in CreateRegisterContextForFrame() 117 switch (arch.GetMachine()) { in CreateRegisterContextForFrame() 121 reg_interface = new RegisterContextNetBSD_i386(arch); in CreateRegisterContextForFrame() [all …]
|
H A D | ThreadElfCore.h | 57 const lldb_private::ArchSpec &arch); 64 static size_t GetSize(const lldb_private::ArchSpec &arch); 78 const lldb_private::ArchSpec &arch); 85 static size_t GetSize(const lldb_private::ArchSpec &arch); 113 const lldb_private::ArchSpec &arch); 120 static size_t GetSize(const lldb_private::ArchSpec &arch);
|
/freebsd/tools/tools/release/ |
H A D | chk_dokern.sh_and_drivers.conf | 30 arch=`dirname $f` 33 egrep -qw "^((pseudo-)?device|options)[[:space:]]+$x" ../sys/${arch}/conf/GENERIC || \ 34 echo $x not found in $arch/GENERIC 35 sed -e'/"SMALL"/,/^else$/d' ${arch}/dokern.sh | \ 37 echo "duplicate $x found in ${arch}/dokern.sh" 43 arch=`dirname $f` 49 ../sys/${arch}/conf/GENERIC || \ 50 echo $x not found in $arch/GENERIC 51 grep -qw ^$x ${arch}/drivers.conf && \ 52 echo "duplicate $x found in ${arch}/drivers.conf"
|
/freebsd/contrib/bmake/ |
H A D | arch.c | 420 FILE *arch; in ArchStatMember() local 465 arch = ArchFindMember(archive, member, &sarh, "r"); in ArchStatMember() 466 if (arch == NULL) in ArchStatMember() 469 fclose(arch); in ArchStatMember() 473 arch = fopen(archive, "r"); in ArchStatMember() 474 if (arch == NULL) in ArchStatMember() 477 if (fread(magic, SARMAG, 1, arch) != 1 || in ArchStatMember() 479 (void)fclose(arch); in ArchStatMember() 490 while (fread(&arh, sizeof arh, 1, arch) == 1) { in ArchStatMember() 512 switch (ArchSVR4Entry(ar, memName, size, arch)) { in ArchStatMember() [all …]
|
H A D | os.sh | 105 # Great! Solaris keeps moving arch(1) 107 arch=`Which arch /usr/bin:/usr/ucb` 115 # so use arch(1). 116 MACHINE_ARCH=`arch` 120 MACHINE_ARCH=`arch` 158 arch=`Which arch /usr/bin:/usr/ucb:$PATH` 159 MACHINE_ARCH=`$arch -s` 230 # we mount server:/share/arch/ [all...] |
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/OpenBSD/ |
H A D | PlatformOpenBSD.cpp | 43 PlatformSP PlatformOpenBSD::CreateInstance(bool force, const ArchSpec *arch) { in CreateInstance() argument 46 arch ? arch->GetArchitectureName() : "<null>", in CreateInstance() 47 arch ? arch->GetTriple().getTriple() : "<null>"); in CreateInstance() 50 if (!create && arch && arch->IsValid()) { in CreateInstance() 51 const llvm::Triple &triple = arch->GetTriple(); in CreateInstance() 61 create = !arch->TripleOSWasSpecified(); in CreateInstance() 157 MmapArgList PlatformOpenBSD::GetMmapArgumentList(const ArchSpec &arch, in GetMmapArgumentList() argument
|
/freebsd/sys/contrib/openzfs/config/ |
H A D | deb.am | 37 arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \ 39 pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \ 47 arch=`$(RPM) -qp $${name}-dkms-$${version}.src.rpm --qf %{arch} | tail -1`; \ 49 pkg1=$${name}-dkms-$${version}.$${arch}.rpm; \ 56 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \ 58 pkg1=$${name}-$${version}.$${arch}.rpm; \ 59 pkg2=libnvpair3-$${version}.$${arch}.rpm; \ 60 pkg3=libuutil3-$${version}.$${arch}.rpm; \ 61 pkg4=libzfs6-$${version}.$${arch}.rpm; \ 62 pkg5=libzpool6-$${version}.$${arch}.rpm; \ [all …]
|
H A D | tgz.am | 15 arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \ 16 pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \ 23 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \ 24 pkg1=$${name}-$${version}.$${arch}.rpm; \ 25 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \ 26 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | NativeProcessSoftwareSingleStep.cpp | 97 static int GetSoftwareBreakpointSize(const ArchSpec &arch, in GetSoftwareBreakpointSize() argument 99 if (arch.GetMachine() == llvm::Triple::arm) { in GetSoftwareBreakpointSize() 106 if (arch.IsMIPS() || arch.GetTriple().isPPC64() || in GetSoftwareBreakpointSize() 107 arch.GetTriple().isRISCV() || arch.GetTriple().isLoongArch()) in GetSoftwareBreakpointSize() 112 static Status SetSoftwareBreakpointOnPC(const ArchSpec &arch, lldb::addr_t pc, in SetSoftwareBreakpointOnPC() argument 115 int size_hint = GetSoftwareBreakpointSize(arch, next_flags); in SetSoftwareBreakpointOnPC() 134 const ArchSpec &arch = process.GetArchitecture(); in SetupSoftwareSingleStepping() local 137 EmulateInstruction::FindPlugin(arch, eInstructionTypePCModifying, in SetupSoftwareSingleStepping() 163 SetSoftwareBreakpointOnPC(arch, next_pc, /* next_flags */ 0x0, process); in SetupSoftwareSingleStepping() 207 auto result = SetSoftwareBreakpointOnPC(arch, next_pc, next_flags, process); in SetupSoftwareSingleStepping()
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | TargetList.cpp | 89 const ArchSpec arch(triple_str); in CreateTargetInternal() local 90 if (!triple_str.empty() && !arch.IsValid()) { in CreateTargetInternal() 96 ArchSpec platform_arch(arch); in CreateTargetInternal() 104 debugger.GetCommandInterpreter(), arch, select_platform, error, in CreateTargetInternal() 174 } else if (arch.IsValid()) { in CreateTargetInternal() 176 module_spec.GetArchitecture() = arch; in CreateTargetInternal() 218 if (!prefer_platform_arch && arch.IsValid()) { in CreateTargetInternal() 220 arch, {}, ArchSpec::CompatibleMatch, nullptr)) { in CreateTargetInternal() 221 platform_sp = platform_list.GetOrCreate(arch, {}, &platform_arch); in CreateTargetInternal() 239 platform_arch = arch; in CreateTargetInternal() [all …]
|
H A D | UnwindAssembly.cpp | 17 UnwindAssemblySP UnwindAssembly::FindPlugin(const ArchSpec &arch) { in FindPlugin() argument 24 UnwindAssemblySP assembly_profiler_up(create_callback(arch)); in FindPlugin() 31 UnwindAssembly::UnwindAssembly(const ArchSpec &arch) : m_arch(arch) {} in UnwindAssembly() argument
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
H A D | history_007_pos.ksh | 68 for arch in "i386" "sparc"; do 69 log_must cp $tst_dir/${arch}.orig_history.txt $import_dir 70 orig_cmds_f=$import_dir/${arch}.orig_history.txt 72 orig_cmds_f1=$import_dir/${arch}.orig_history_1.txt 75 log_must cp $tst_dir/${arch}.migratedpool.DAT.Z $import_dir 76 log_must uncompress -f $import_dir/${arch}.migratedpool.DAT.Z
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/LoongArch/ |
H A D | EmulateInstructionLoongArch.h | 32 static bool SupportsThisArch(const ArchSpec &arch); 35 CreateInstance(const lldb_private::ArchSpec &arch, InstructionType inst_type); 42 EmulateInstructionLoongArch(const ArchSpec &arch) : EmulateInstruction(arch) { in EmulateInstructionLoongArch() argument 43 m_arch_subtype = arch.GetMachine(); in EmulateInstructionLoongArch() 52 bool SetTargetTriple(const ArchSpec &arch) override; 55 bool TestEmulation(Stream &out_stream, ArchSpec &arch,
|
/freebsd/crypto/openssl/Configurations/ |
H A D | 15-android.conf | 54 my ($sysroot, $api, $arch); 57 $arch = $1; 60 $sysroot =~ m|/android-([0-9]+)/arch-(\w+)/?$|; 61 ($api, $arch) = ($1, $2); 82 $sysroot = "@platforms[$#platforms]/arch-$arch"; 83 $sysroot =~ m|/android-([0-9]+)/arch-$arch|; 101 my $triarch = $triplet{$arch}; 164 bn_ops => $arch =~ m/64$/ ? "SIXTY_FOUR_BIT_LONG"
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/FreeBSD/ |
H A D | PlatformFreeBSD.cpp | 48 PlatformSP PlatformFreeBSD::CreateInstance(bool force, const ArchSpec *arch) { in CreateInstance() argument 50 LLDB_LOG(log, "force = {0}, arch=({1}, {2})", force, in CreateInstance() 51 arch ? arch->GetArchitectureName() : "<null>", in CreateInstance() 52 arch ? arch->GetTriple().getTriple() : "<null>"); in CreateInstance() 55 if (!create && arch && arch->IsValid()) { in CreateInstance() 56 const llvm::Triple &triple = arch->GetTriple(); in CreateInstance() 66 create = !arch in CreateInstance() 172 GetMmapArgumentList(const ArchSpec & arch,addr_t addr,addr_t length,unsigned prot,unsigned flags,addr_t fd,addr_t offset) GetMmapArgumentList() argument [all...] |
/freebsd/tests/sys/cddl/zfs/tests/history/ |
H A D | history_007_pos.ksh | 81 for arch in "i386" "sparc"; do 82 log_must $CP $tst_dir/${arch}.orig_history.txt $import_dir 83 orig_cmds_f=$import_dir/${arch}.orig_history.txt 85 orig_cmds_f1=$import_dir/${arch}.orig_history_1.txt 88 log_must $CP $tst_dir/${arch}.migratedpool.DAT.Z $import_dir 89 log_must $UNCOMPRESS $import_dir/${arch}.migratedpool.DAT.Z
|
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
H A D | ArchitectureSet.cpp | 43 for (auto arch : *this) { in operator std::string() 44 result.append(std::string(getArchitectureName(arch))); in operator std::string() 54 for (auto arch : *this) { in operator std::vector<Architecture>() 55 if (arch == AK_unknown) in operator std::vector<Architecture>() 57 archs.emplace_back(arch); in operator std::vector<Architecture>()
|
/freebsd/contrib/opencsd/decoder/source/ |
H A D | trc_core_arch_map.cpp | 127 ap.arch = ARCH_V7; in getPatternMatchCoreName() 129 ap.arch = ARCH_AA64; /* default to 8.3+*/ in getPatternMatchCoreName() 132 ap.arch = ARCH_V8; in getPatternMatchCoreName() 134 ap.arch = ARCH_V8r3; in getPatternMatchCoreName() 149 ap.arch = ARCH_UNKNOWN; /*reset arch, return unknown*/ in getPatternMatchCoreName() 152 ap.arch = ARCH_UNKNOWN; /*reset arch, return unknown*/ in getPatternMatchCoreName() 165 ap.arch = ARCH_AA64; in getPatternMatchCoreName()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSDKernel/ |
H A D | ThreadFreeBSDKernel.cpp | 56 ArchSpec arch = process->GetTarget().GetArchitecture(); in CreateRegisterContextForFrame() local 58 switch (arch.GetMachine()) { in CreateRegisterContextForFrame() 62 *this, std::make_unique<RegisterInfoPOSIX_arm64>(arch, 0), in CreateRegisterContextForFrame() 67 *this, new RegisterContextFreeBSD_i386(arch), m_pcb_addr); in CreateRegisterContextForFrame() 72 *this, new RegisterContextFreeBSD_x86_64(arch), m_pcb_addr); in CreateRegisterContextForFrame()
|
/freebsd/crypto/openssl/VMS/ |
H A D | openssl_startup.com.in | 55 $ arch := VAX 57 $ arch = F$EDIT(F$GETSYI("ARCH_NAME"),"UPCASE") 58 $ IF arch .EQS. "" THEN GOTO unknown_arch 80 .OR. F$SEARCH("WRK_INSTALLTOP:[LIB]''arch'.DIR;1") .EQS. "" - 81 .OR. F$SEARCH("WRK_INSTALLTOP:[EXE]''arch'.DIR;1") .EQS. "" - 84 $ WRITE SYS$ERROR "''INSTALLTOP' doesn't look like an OpenSSL installation for ''arch'" 98 $ DEF OSSL$LIB OSSL$INSTROOT:[LIB.'arch'] 99 $ DEF OSSL$SHARE OSSL$INSTROOT:[LIB.'arch'] 100 $ DEF OSSL$ENGINES'sv''pz' OSSL$INSTROOT:[ENGINES'sv''pz'.'arch'] 101 $ DEF OSSL$MODULES'pz' OSSL$INSTROOT:[MODULES'pz'.'arch'] [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/ |
H A D | EmulateInstructionRISCV.h | 43 static bool SupportsThisArch(const ArchSpec &arch); 46 CreateInstance(const lldb_private::ArchSpec &arch, InstructionType inst_type); 53 EmulateInstructionRISCV(const ArchSpec &arch) : EmulateInstruction(arch) {} in EmulateInstructionRISCV() argument 61 bool SetTargetTriple(const ArchSpec &arch) override; 65 bool TestEmulation(Stream &out_stream, ArchSpec &arch,
|
/freebsd/contrib/mandoc/ |
H A D | cgi.c | 54 char *arch; /* architecture */ member 212 req->q.arch = NULL; in parse_query_string() 271 set_query_attr(&req->q.arch, &val); in parse_query_string() 474 if (NULL == req->q.arch) in resp_searchform() 479 if (NULL != req->q.arch && in resp_searchform() 480 0 == strcmp(arch_names[i], req->q.arch)) in resp_searchform() 532 validate_arch(const char *arch) in validate_arch() argument 537 if (strcmp(arch, arch_names[i]) == 0) in validate_arch() 615 if (req->q.arch != NULL) in pg_redirect() 616 printf("%s/", req->q.arch); in pg_redirect() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | Disassembler.cpp | 58 DisassemblerSP Disassembler::FindPlugin(const ArchSpec &arch, in FindPlugin() argument 62 arch.GetArchitectureName(), plugin_name); in FindPlugin() 70 if (auto disasm_sp = create_callback(arch, flavor)) in FindPlugin() 78 if (auto disasm_sp = create_callback(arch, flavor)) in FindPlugin() 86 const ArchSpec &arch, in FindPluginForTarget() argument 93 if (arch.GetTriple().getArch() == llvm::Triple::x86 || in FindPluginForTarget() 94 arch.GetTriple().getArch() == llvm::Triple::x86_64) in FindPluginForTarget() 97 return FindPlugin(arch, flavor, plugin_name); in FindPluginForTarget() 119 const ArchSpec &arch, const char *plugin_name, const char *flavor, in DisassembleRange() argument 128 Disassembler::FindPluginForTarget(target, arch, flavor, plugin_name); in DisassembleRange() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
H A D | ThreadMinidump.cpp | 66 ArchSpec arch = process->GetArchitecture(); in CreateRegisterContextForFrame() local 70 switch (arch.GetMachine()) { in CreateRegisterContextForFrame() 72 reg_interface = new RegisterContextLinux_i386(arch); in CreateRegisterContextForFrame() 82 reg_interface = new RegisterContextLinux_x86_64(arch); in CreateRegisterContextForFrame() 101 const bool apple = arch.GetTriple().getVendor() == llvm::Triple::Apple; in CreateRegisterContextForFrame()
|
/freebsd/lib/libkvm/ |
H A D | kvm.c | 191 kd->arch = *parch; in _kvm_open() 195 if (kd->arch == NULL) { in _kvm_open() 203 if (!kd->arch->ka_native(kd) && kd->resolve_symbol == NULL) { in _kvm_open() 212 if (kd->arch->ka_initvtop(kd) < 0) in _kvm_open() 282 kd->arch->ka_freevtop(kd); in kvm_close() 396 cc = kd->arch->ka_kvatop(kd, kva, &pa); in kvm_read2() 460 cc = kd->arch->ka_kvatop(kd, kva, &pa); in kvm_write() 496 return (kd->arch->ka_native(kd)); in kvm_native() 503 if (kd->arch->ka_walk_pages == NULL) in kvm_walk_pages() 506 return (kd->arch->ka_walk_pages(kd, cb, closure)); in kvm_walk_pages() [all …]
|