/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/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 …]
|
/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 | 79 return Archs.has(Target_.Arch); in targets() 219 InterfaceFile::remove(Architecture Arch) const { in remove() 220 if (getArchitectures() == Arch) in remove() 222 getArchitectureName(Arch) + "'", in remove() 225 if (!getArchitectures().has(Arch)) { in remove() 228 if (Doc->getArchitectures().has(Arch)) { in remove() 241 IF->addTargets(targets(ArchitectureSet::All().clear(Arch))); in remove() 249 if (It.first.Arch != Arch) in remove() 254 if (Target.Arch != Arch) in remove() 260 if (Target.Arch != Arch) in remove() [all …]
|
/freebsd/usr.bin/clang/lld/ |
H A D | Makefile | 39 SRCS+= ELF/Arch/AArch64.cpp 40 SRCS+= ELF/Arch/AMDGPU.cpp 41 SRCS+= ELF/Arch/ARM.cpp 42 SRCS+= ELF/Arch/AVR.cpp 43 SRCS+= ELF/Arch/Hexagon.cpp 44 SRCS+= ELF/Arch/LoongArch.cpp 45 SRCS+= ELF/Arch/MSP430.cpp 46 SRCS+= ELF/Arch/Mips.cpp 47 SRCS+= ELF/Arch/MipsArchTree.cpp 48 SRCS+= ELF/Arch/PPC.cpp [all …]
|
/freebsd/contrib/bmake/ |
H A D | arch.c | 1 /* $NetBSD: arch.c,v 1.222 2024/08/06 17:46:01 rillig Exp $ */ 149 /* "@(#)arch.c 8.2 (Berkeley) 1/2/94" */ 150 MAKE_RCSID("$NetBSD: arch.c,v 1.222 2024/08/06 17:46:01 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 | 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/llvm/lib/TargetParser/ |
H A D | ARMTargetParserCommon.cpp | 19 StringRef ARM::getArchSynonym(StringRef Arch) { in getArchSynonym() argument 20 return StringSwitch<StringRef>(Arch) in getArchSynonym() 51 .Default(Arch); in getArchSynonym() 54 StringRef ARM::getCanonicalArchName(StringRef Arch) { in getCanonicalArchName() argument 56 StringRef A = Arch; in getCanonicalArchName() 93 return Arch; in getCanonicalArchName() 105 // Arch will either be a 'v' name (v7a) or a marketing name (xscale). in getCanonicalArchName() 109 ARM::ISAKind ARM::parseArchISA(StringRef Arch) { in parseArchISA() argument 110 return StringSwitch<ISAKind>(Arch) in parseArchISA() 118 ARM::EndianKind ARM::parseArchEndian(StringRef Arch) { in parseArchEndian() argument [all …]
|
H A D | RISCVISAInfo.cpp | 1 //===-- RISCVISAInfo.cpp - RISC-V Arch String Parser ----------------------===// 481 RISCVISAInfo::parseNormalizedArchString(StringRef Arch) { in parseNormalizedArchString() argument 484 Arch, [](char C) { return isDigit(C) || isLower(C) || C == '_'; })) in parseNormalizedArchString() 489 if (Arch.consume_front("rv32")) in parseNormalizedArchString() 491 else if (Arch.consume_front("rv64")) in parseNormalizedArchString() 494 if (XLen == 0 || Arch.empty() || (Arch[0] != 'i' && Arch[0] != 'e')) in parseNormalizedArchString() 495 return getError("arch string must begin with valid base ISA"); in parseNormalizedArchString() 502 while (!Arch.empty()) { in parseNormalizedArchString() 503 if (Arch[0] == '_') { in parseNormalizedArchString() 504 if (Arch.size() == 1 || Arch[1] == '_') in parseNormalizedArchString() [all …]
|
H A D | LoongArchTargetParser.cpp | 10 // such as CPU/ARCH and extension names. 30 bool LoongArch::isValidArchName(StringRef Arch) { in isValidArchName() argument 32 if (A.Name == Arch) in isValidArchName() 37 bool LoongArch::getArchFeatures(StringRef Arch, in getArchFeatures() argument 40 if (A.Name == Arch) { in getArchFeatures() 48 if (Arch == "la64v1.0" || Arch == "la64v1.1") { in getArchFeatures() 53 if (Arch == "la64v1.1") in getArchFeatures() 69 // TODO: use a real 32-bit arch name. in getDefaultArch()
|
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/ |
H A D | DylibReader.cpp | 64 auto Arch = getArchitectureName(ArchT); in constructTriples() local 71 emplace(Triples, {Arch, "apple", "macos" + OSVersion}); in constructTriples() 76 emplace(Triples, {Arch, "apple", "ios" + OSVersion, "simulator"}); in constructTriples() 78 emplace(Triples, {Arch, "apple", "ios" + OSVersion}); in constructTriples() 83 emplace(Triples, {Arch, "apple", "tvos" + OSVersion, "simulator"}); in constructTriples() 85 emplace(Triples, {Arch, "apple", "tvos" + OSVersion}); in constructTriples() 90 emplace(Triples, {Arch, "apple", "watchos" + OSVersion, "simulator"}); in constructTriples() 92 emplace(Triples, {Arch, "apple", "watchos" + OSVersion}); in constructTriples() 98 emplace(Triples, {Arch, "apple", "macos" + OSVersion}); in constructTriples() 101 emplace(Triples, {Arch, "apple", "ios" + OSVersion}); in constructTriples() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/ |
H A D | Target.h | 31 Target(Architecture Arch, PlatformType Platform, 33 : Arch(Arch), Platform(Platform), MinDeployment(MinDeployment) {} in Arch() argument 35 : Arch(mapToArchitecture(Triple)), Platform(mapToPlatformType(Triple)), in Target() 42 Architecture Arch; variable 49 return std::tie(LHS.Arch, LHS.Platform) == std::tie(RHS.Arch, RHS.Platform); 58 return std::tie(LHS.Arch, LHS.Platform) < std::tie(RHS.Arch, RHS.Platform); 62 return LHS.Arch == RHS; 66 return LHS.Arch != RHS;
|
H A D | ArchitectureSet.h | 40 ArchitectureSet(Architecture Arch) : ArchitectureSet() { set(Arch); } in ArchitectureSet() argument 45 void set(Architecture Arch) { in set() 46 if (Arch == AK_unknown) in set() 48 ArchSet |= 1U << static_cast<int>(Arch); 51 ArchitectureSet clear(Architecture Arch) { in has() argument 52 ArchSet &= ~(1U << static_cast<int>(Arch)); in has() 56 bool has(Architecture Arch) const { in contains() 57 return ArchSet & (1U << static_cast<int>(Arch)); in contains() 137 ArchitectureSet &operator|=(const Architecture &Arch) { 43 set(Architecture Arch) set() argument 49 clear(Architecture Arch) clear() argument [all...] |
/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/llvm/include/llvm/TargetParser/ |
H A D | ARMTargetParser.h | 10 // such as FPU/CPU/ARCH/extensions and specific support such as HWDIV. 29 // Arch extension modifiers for CPUs. 72 // List of Arch Extension names. 96 // Arch names. 106 // When finding the Arch for a CPU, first-found prevails. Sort them accordingly. 182 // List of canonical arch names (use getArchSynonym). 183 // This table also provides the build attribute fields for CPU arch 184 // and Arch ID, according to the Addenda to the ARM ABI, chapters 196 ARMBuildAttrs::CPUArch ArchAttr; // Arch ID in build attributes. 249 StringRef getDefaultCPU(StringRef Arch); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
H A D | IFSHandler.cpp | 106 IO.mapOptional("Arch", Target.ArchString); in mapping() 201 "IFS arch '" + *Stub->Target.ArchString + "' is unsupported"); in readIFSFromBuffer() 202 Stub->Target.Arch = eMachine; in readIFSFromBuffer() 216 if (Stub.Target.Arch) { in writeIFSToOutputStream() 218 std::string(ELF::convertEMachineToArchName(*Stub.Target.Arch)); in writeIFSToOutputStream() 238 if (Stub.Target.Arch && *Stub.Target.Arch != *OverrideArch) { in overrideIFSTarget() 240 "Supplied Arch conflicts with the text stub", OverrideEC); in overrideIFSTarget() 242 Stub.Target.Arch = *OverrideArch; in overrideIFSTarget() 272 if (Stub.Target.Arch || Stu in validateIFSTarget() [all...] |
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | AVR.cpp | 27 StringRef Arch; // The __AVR_ARCH__ value. member 352 static bool ArchHasELPM(StringRef Arch) { in ArchHasELPM() argument 353 return llvm::StringSwitch<bool>(Arch) in ArchHasELPM() 359 static bool ArchHasELPMX(StringRef Arch) { in ArchHasELPMX() argument 360 return llvm::StringSwitch<bool>(Arch) in ArchHasELPMX() 366 static bool ArchHasMOVW(StringRef Arch) { in ArchHasMOVW() argument 367 return llvm::StringSwitch<bool>(Arch) in ArchHasMOVW() 373 static bool ArchHasLPMX(StringRef Arch) { in ArchHasLPMX() argument 374 return ArchHasMOVW(Arch); // same architectures in ArchHasLPMX() 377 static bool ArchHasMUL(StringRef Arch) { in ArchHasMUL() argument [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 …]
|