| /freebsd/usr.sbin/sa/tests/ |
| H A D | legacy_test.sh | 7 ARCH=`uname -m` 27 install -c -m 644 $LCDIR/v1-$ARCH-acct.in v1-$ARCH-acct.in 28 install -c -m 644 $LCDIR/v2-$ARCH-acct.in v2-$ARCH-acct.in 33 sa -u v1-$ARCH-acct.in | check 1 $DIR/v1-$ARCH-u.out 34 sa -u v2-$ARCH-acct.in | check 2 $DIR/v2-$ARCH-u.out 37 sa -i v1-$ARCH-acct.in | check 3 $DIR/v1-$ARCH-sav.out 38 sa -im v1-$ARCH-acct.in | check 4 $DIR/v1-$ARCH-usr.out 41 sa -P $DIR/v1-$ARCH-sav.in -U $DIR/v1-$ARCH-usr.in /dev/null | 42 check 5 $DIR/v1-$ARCH-sav.out 43 sa -m -P $DIR/v1-$ARCH-sav.in -U $DIR/v1-$ARCH-usr.in /dev/null | [all …]
|
| H A D | prime.sh | 21 ARCH=`uname -m` 26 $SANEW -u $LCDIR/v1-$ARCH-acct.in >v1-$ARCH-u.out 27 $SANEW -u $LCDIR/v2-$ARCH-acct.in >v2-$ARCH-u.out 28 $SANEW -i $LCDIR/v1-$ARCH-acct.in >v1-$ARCH-sav.out 29 $SANEW -im $LCDIR/v1-$ARCH-acct.in >v1-$ARCH-usr.out 30 cp $LCDIR/v1-$ARCH-acct.in acct.in 31 rm -f v1-$ARCH-sav.in v1-$ARCH-usr.in 32 $SAOLD -s -P v1-$ARCH-sav.in -U v1-$ARCH-usr.in acct.in >/dev/null 33 cp $LCDIR/v1-$ARCH-acct.in acct.in 34 rm -f v2-$ARCH-sav.in v2-$ARCH-usr.in [all …]
|
| /freebsd/usr.bin/lastcomm/tests/ |
| H A D | legacy_test.sh | 6 ARCH=`uname -m` 25 cat $DIR/v1-$ARCH-acct.in $DIR/v2-$ARCH-acct.in >v1v2-$ARCH-acct.in 26 cat $DIR/v2-$ARCH.out $DIR/v1-$ARCH.out >v1v2-$ARCH.out 30 lastcomm -cesuS -f $DIR/v1-$ARCH-acct.in | check 1 $DIR/v1-$ARCH.out 31 lastcomm -cesuS -f - <$DIR/v1-$ARCH-acct.in | tail -r | check 2 $DIR/v1-$ARCH.out 32 lastcomm -cesuS -f $DIR/v2-$ARCH-acct.in | check 3 $DIR/v2-$ARCH.out 33 lastcomm -cesuS -f - <$DIR/v2-$ARCH-acct.in | tail -r | check 4 $DIR/v2-$ARCH.out 34 lastcomm -cesuS -f v1v2-$ARCH-acct.in | check 5 v1v2-$ARCH.out 35 lastcomm -cesuS -f - <v1v2-$ARCH-acct.in | tail -r | check 6 v1v2-$ARCH.out
|
| /freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | Architecture.cpp | 24 #define ARCHINFO(Arch, Type, Subtype, NumBits) \ in getArchitectureFromCpuType() argument 27 return AK_##Arch; in getArchitectureFromCpuType() 36 #define ARCHINFO(Arch, Type, Subtype, NumBits) .Case(#Arch, AK_##Arch) in getArchitectureFromName() argument 42 StringRef getArchitectureName(Architecture Arch) { in getArchitectureName() argument 43 switch (Arch) { in getArchitectureName() 44 #define ARCHINFO(Arch, Type, Subtype, NumBits) \ in getArchitectureName() argument 45 case AK_##Arch: \ in getArchitectureName() 46 return #Arch; in getArchitectureName() 58 std::pair<uint32_t, uint32_t> getCPUTypeFromArchitecture(Architecture Arch) { in getCPUTypeFromArchitecture() argument 59 switch (Arch) { in getCPUTypeFromArchitecture() [all …]
|
| H A D | InterfaceFile.cpp | 74 return Archs.has(Target_.Arch); in targets() 217 InterfaceFile::remove(Architecture Arch) const { in remove() 218 if (getArchitectures() == Arch) in remove() 220 getArchitectureName(Arch) + "'", in remove() 223 if (!getArchitectures().has(Arch)) { in remove() 226 if (Doc->getArchitectures().has(Arch)) { in remove() 241 IF->addTargets(targets(ArchitectureSet::All().clear(Arch))); in remove() 250 if (It.first.Arch != Arch) in remove() 255 if (Target.Arch != Arch) in remove() 261 if (Target.Arch != Arch) in remove() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
| H A D | ThreadElfCore.cpp | 90 ArchSpec arch = process->GetArchitecture(); in CreateRegisterContextForFrame() local 93 switch (arch.GetTriple().getOS()) { in CreateRegisterContextForFrame() 95 switch (arch.GetMachine()) { in CreateRegisterContextForFrame() 100 reg_interface = new RegisterContextFreeBSD_powerpc32(arch); in CreateRegisterContextForFrame() 104 reg_interface = new RegisterContextFreeBSD_powerpc64(arch); in CreateRegisterContextForFrame() 107 reg_interface = new RegisterContextFreeBSD_mips64(arch); in CreateRegisterContextForFrame() 110 reg_interface = new RegisterContextFreeBSD_i386(arch); in CreateRegisterContextForFrame() 113 reg_interface = new RegisterContextFreeBSD_x86_64(arch); in CreateRegisterContextForFrame() 122 switch (arch.GetMachine()) { in CreateRegisterContextForFrame() 126 reg_interface = new RegisterContextNetBSD_i386(arch); in CreateRegisterContextForFrame() [all …]
|
| /freebsd/usr.bin/clang/lld/ |
| H A D | Makefile | 40 SRCS+= ELF/Arch/AArch64.cpp 41 SRCS+= ELF/Arch/AMDGPU.cpp 42 SRCS+= ELF/Arch/ARM.cpp 43 SRCS+= ELF/Arch/AVR.cpp 44 SRCS+= ELF/Arch/Hexagon.cpp 45 SRCS+= ELF/Arch/LoongArch.cpp 46 SRCS+= ELF/Arch/MSP430.cpp 47 SRCS+= ELF/Arch/Mips.cpp 48 SRCS+= ELF/Arch/MipsArchTree.cpp 49 SRCS+= ELF/Arch/PPC.cpp [all …]
|
| /freebsd/contrib/bmake/ |
| H A D | arch.c | 1 /* $NetBSD: arch.c,v 1.224 2026/04/06 17:13:54 rillig Exp $ */ 149 /* "@(#)arch.c 8.2 (Berkeley) 1/2/94" */ 150 MAKE_RCSID("$NetBSD: arch.c,v 1.224 2026/04/06 17:13:54 rillig Exp $"); 157 typedef struct Arch { struct 163 } Arch; argument 169 static int ArchSVR4Entry(Arch *, char *, size_t, FILE *); 193 # define ARMAG "!<arch>\n" 202 ArchFree(Arch *a) in ArchFree() 419 FILE *arch; in ArchStatMember() local 423 Arch *ar; in ArchStatMember() [all …]
|
| /freebsd/contrib/libarchive/tar/test/ |
| H A D | test_option_exclude_vcs.c | 30 assertMakeDir(".arch-ids", 0755); in DEFINE_TEST() 31 assertMakeFile(".arch-ids/somefile", 0644, ""); in DEFINE_TEST() 32 assertMakeDir("{arch}", 0755); in DEFINE_TEST() 33 assertMakeFile("{arch}/somefile", 0644, ""); in DEFINE_TEST() 74 assertIsDir(".arch-ids", 0755); in DEFINE_TEST() 75 assertFileExists(".arch-ids/somefile"); in DEFINE_TEST() 76 assertIsDir("{arch}", 0755); in DEFINE_TEST() 77 assertFileExists("{arch}/somefile"); in DEFINE_TEST() 114 assertFileNotExists(".arch-ids"); in DEFINE_TEST() 115 assertFileNotExists(".arch-ids/somefile"); in DEFINE_TEST() [all …]
|
| /freebsd/sys/contrib/openzfs/config/ |
| H A D | deb.am | 38 arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \ 40 pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \ 48 arch=`$(RPM) -qp $${name}-dkms-$${version}.src.rpm --qf %{arch} | tail -1`; \ 50 pkg1=$${name}-dkms-$${version}.$${arch}.rpm; \ 57 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \ 59 pkg1=$${name}-$${version}.$${arch}.rpm; \ 60 pkg2=libnvpair3-$${version}.$${arch}.rpm; \ 61 pkg3=libzfs7-$${version}.$${arch}.rpm; \ 62 pkg4=libzpool7-$${version}.$${arch}.rpm; \ 63 pkg5=libzfs7-devel-$${version}.$${arch}.rpm; \ [all …]
|
| H A D | tgz.am | 16 arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \ 17 pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \ 24 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \ 25 pkg1=$${name}-$${version}.$${arch}.rpm; \ 26 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \ 27 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
|
| /freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
| H A D | ARMTargetParserCommon.cpp | 19 StringRef ARM::getArchSynonym(StringRef Arch) { in getArchSynonym() argument 20 return StringSwitch<StringRef>(Arch) in getArchSynonym() 52 .Default(Arch); in getArchSynonym() 55 StringRef ARM::getCanonicalArchName(StringRef Arch) { in getCanonicalArchName() argument 57 StringRef A = Arch; in getCanonicalArchName() 94 return Arch; in getCanonicalArchName() 106 // Arch will either be a 'v' name (v7a) or a marketing name (xscale). in getCanonicalArchName() 110 ARM::ISAKind ARM::parseArchISA(StringRef Arch) { in parseArchISA() argument 111 return StringSwitch<ISAKind>(Arch) in parseArchISA() 119 ARM::EndianKind ARM::parseArchEndian(StringRef Arch) { in parseArchEndian() argument [all …]
|
| H A D | RISCVISAInfo.cpp | 1 //===-- RISCVISAInfo.cpp - RISC-V Arch String Parser ----------------------===// 479 RISCVISAInfo::parseNormalizedArchString(StringRef Arch) { in parseNormalizedArchString() argument 482 Arch, [](char C) { return isDigit(C) || isLower(C) || C == '_'; })) in parseNormalizedArchString() 487 if (Arch.consume_front("rv32")) in parseNormalizedArchString() 489 else if (Arch.consume_front("rv64")) in parseNormalizedArchString() 492 if (XLen == 0 || Arch.empty() || (Arch[0] != 'i' && Arch[0] != 'e')) in parseNormalizedArchString() 493 return getError("arch string must begin with valid base ISA"); in parseNormalizedArchString() 500 while (!Arch.empty()) { in parseNormalizedArchString() 501 if (Arch[0] == '_') { in parseNormalizedArchString() 502 if (Arch.size() == 1 || Arch[1] == '_') in parseNormalizedArchString() [all …]
|
| H A D | AArch64TargetParser.cpp | 10 // such as FPU/CPU/ARCH and extension names. 30 static unsigned checkArchVersion(llvm::StringRef Arch) { in checkArchVersion() argument 31 if (Arch.size() >= 2 && Arch[0] == 'v' && std::isdigit(Arch[1])) in checkArchVersion() 32 return (Arch[1] - 48); in checkArchVersion() 41 return &Cpu->Arch; in getArchForCpu() 59 // Transitively enable the Arch Extensions which correspond to each feature. in getFMVPriority() 71 // Construct a bitmask for all the transitively enabled Arch Extensions. in getFMVPriority() 81 // Transitively enable the Arch Extensions which correspond to each feature. in getCpuSupportsMask() 88 // Construct a bitmask for all the transitively enabled Arch Extensions. in getCpuSupportsMask() 145 const AArch64::ArchInfo *AArch64::parseArch(StringRef Arch) { in parseArch() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/ |
| H A D | DylibReader.cpp | 63 auto Arch = getArchitectureName(ArchT); in constructTriples() local 70 emplace(Triples, {Arch, "apple", "macos" + OSVersion}); in constructTriples() 75 emplace(Triples, {Arch, "apple", "ios" + OSVersion, "simulator"}); in constructTriples() 77 emplace(Triples, {Arch, "apple", "ios" + OSVersion}); in constructTriples() 82 emplace(Triples, {Arch, "apple", "tvos" + OSVersion, "simulator"}); in constructTriples() 84 emplace(Triples, {Arch, "apple", "tvos" + OSVersion}); in constructTriples() 89 emplace(Triples, {Arch, "apple", "watchos" + OSVersion, "simulator"}); in constructTriples() 91 emplace(Triples, {Arch, "apple", "watchos" + OSVersion}); in constructTriples() 97 emplace(Triples, {Arch, "apple", "macos" + OSVersion}); in constructTriples() 100 emplace(Triples, {Arch, "apple", "ios" + OSVersion}); in constructTriples() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/ |
| H A D | Target.h | 32 Target(Architecture Arch, PlatformType Platform, 34 : Arch(Arch), Platform(Platform), MinDeployment(MinDeployment) {} in Arch() function 36 : Arch(mapToArchitecture(Triple)), Platform(mapToPlatformType(Triple)), in Target() 43 Architecture Arch; variable 50 return std::tie(LHS.Arch, LHS.Platform) == std::tie(RHS.Arch, RHS.Platform); 59 return std::tie(LHS.Arch, LHS.Platform) < std::tie(RHS.Arch, RHS.Platform); 63 return LHS.Arch == RHS; 67 return LHS.Arch != RHS;
|
| /freebsd/sys/contrib/device-tree/scripts/ |
| H A D | rewrite-index.pl | 34 # a standard arch/ARCH/boot/dts first. 36 # symlink: arch/microblaze/boot/dts/system.dts -> ../../platform/generic/system.dts 40 # arch/mips/lantiq/dts/easy50712.dts 41 # arch/mips/lantiq/dts/danube.dtsi 42 # arch/mips/netlogic/dts/xlp_evp.dts 43 # arch/mips/ralink/dts/rt3050.dtsi 44 # arch/mips/ralink/dts/rt3052_eval.dts 47 # arch/mips/cavium-octeon/octeon_68xx.dts 48 # arch/mips/cavium-octeon/octeon_3xxx.dts 49 # arch/mips/mti-sead3/sead3.dts [all …]
|
| /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/kyua/ |
| H A D | .travis.yml | 12 env: ARCH=amd64 DO=distcheck AS_ROOT=no 16 env: ARCH=amd64 DO=distcheck AS_ROOT=no 20 env: ARCH=amd64 DO=apidocs 24 env: ARCH=amd64 DO=style 28 env: ARCH=amd64 DO=distcheck AS_ROOT=yes UNPRIVILEGED_USER=no 32 env: ARCH=amd64 DO=distcheck AS_ROOT=yes UNPRIVILEGED_USER=yes 38 # env: ARCH=i386 DO=distcheck AS_ROOT=no 42 # env: ARCH=i386 DO=distcheck AS_ROOT=no
|
| /freebsd/sys/contrib/device-tree/ |
| H A D | Makefile | 94 $(Q)$(MAKE) ARCH=$* all_arch 97 $(Q)$(MAKE) ARCH=$* clean_arch 99 ifeq ($(ARCH),) 107 $(ALL_DTB) $(ALL_DTBO): ARCH=$(word 2,$(subst /, ,$@)) macro 109 $(Q)$(MAKE) ARCH=$(ARCH) $@ 113 ARCH_DTS := $(shell find src/$(ARCH) -name \*.dts) 114 ARCH_DTSO := $(shell find src/$(ARCH) -name \*.dtso) 119 src := src/$(ARCH) 120 obj := src/$(ARCH) 183 @echo " all_<ARCH>: Build all device tree binaries for <ARCH>" [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | OffloadArch.h | 124 static inline bool IsIntelCPUOffloadArch(OffloadArch Arch) { in IsIntelCPUOffloadArch() argument 125 return Arch >= OffloadArch::GRANITERAPIDS && Arch < OffloadArch::BMG_G21; in IsIntelCPUOffloadArch() 128 static inline bool IsIntelGPUOffloadArch(OffloadArch Arch) { in IsIntelGPUOffloadArch() argument 129 return Arch >= OffloadArch::BMG_G21 && Arch < OffloadArch::LAST; in IsIntelGPUOffloadArch() 132 static inline bool IsIntelOffloadArch(OffloadArch Arch) { in IsIntelOffloadArch() argument 133 return IsIntelCPUOffloadArch(Arch) || IsIntelGPUOffloadArch(Arch); in IsIntelOffloadArch()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
| H A D | ARMTargetParser.h | 10 // such as FPU/CPU/ARCH/extensions and specific support such as HWDIV. 37 // Arch extension modifiers for CPUs. 81 // List of Arch Extension names. 105 // Arch names. 115 // When finding the Arch for a CPU, first-found prevails. Sort them accordingly. 191 // List of canonical arch names (use getArchSynonym). 192 // This table also provides the build attribute fields for CPU arch 193 // and Arch ID, according to the Addenda to the ARM ABI, chapters 205 ARMBuildAttrs::CPUArch ArchAttr; // Arch ID in build attributes. 260 LLVM_ABI StringRef getDefaultCPU(StringRef Arch); [all …]
|
| /freebsd/contrib/jemalloc/scripts/ |
| H A D | gen_travis.py | 172 def format_job(os, arch, combination): argument 205 job += ' arch: {}\n'.format(arch) 231 def generate_jobs(os, arch, exclude, max_unusual_opts, unusuals=all_unusuals): argument 235 jobs.append(format_job(os, arch, combination)) 239 def generate_linux(arch): argument 243 max_unusual_opts = MAX_UNUSUAL_OPTIONS if arch == AMD64 else 1 246 if arch == PPC64LE: 250 return generate_jobs(os, arch, exclude, max_unusual_opts) 253 def generate_macos(arch): argument 265 return generate_jobs(os, arch, exclude, max_unusual_opts) [all …]
|
| /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/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() 169 // Only one arch and none was specified. in CreateTargetInternal() 174 } else if (arch.IsValid()) { in CreateTargetInternal() 176 module_spec.GetArchitecture() = arch; in CreateTargetInternal() 219 if (!prefer_platform_arch && arch.IsValid()) { in CreateTargetInternal() 221 arch, {}, ArchSpec::CompatibleMatch, nullptr)) { in CreateTargetInternal() 222 platform_sp = platform_list.GetOrCreate(arch, {}, &platform_arch); in CreateTargetInternal() [all …]
|