/freebsd-src/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-src/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-src/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
H A D | ThreadElfCore.cpp | 86 ArchSpec arch = process->GetArchitecture(); in CreateRegisterContextForFrame() 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() 85 ArchSpec arch = process->GetArchitecture(); CreateRegisterContextForFrame() local 254 GetSize(const lldb_private::ArchSpec & arch) GetSize() argument 281 Parse(const DataExtractor & data,const ArchSpec & arch) Parse() argument 328 GetSize(const lldb_private::ArchSpec & arch) GetSize() argument 350 Parse(const DataExtractor & data,const ArchSpec & arch) Parse() argument 402 GetSize(const lldb_private::ArchSpec & arch) GetSize() argument 417 Parse(const DataExtractor & data,const ArchSpec & arch) Parse() argument [all...] |
/freebsd-src/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 ! in remove() [all...] |
/freebsd-src/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/PP [all...] |
/freebsd-src/contrib/bmake/ |
H A D | arch.c | 1 /* $NetBSD: arch.c,v 1.221 2024/07/07 07:50:57 rillig Exp $ */ 149 /* "@(#)arch.c 8.2 (Berkeley) 1/2/94" */ 150 MAKE_RCSID("$NetBSD: arch.c,v 1.221 2024/07/07 07:50:57 rillig Exp $"); 157 typedef struct Arch { struct 163 } Arch; typedef 169 static int ArchSVR4Entry(Arch *, char *, size_t, FILE *); 193 # define ARMAG "!<arch>\n" 202 ArchFree(Arch *a) in ArchFree() 420 FILE *arch; in ArchStatMember() local 424 Arch *a in ArchStatMember() 593 ArchSVR4Entry(Arch * ar,char * inout_name,size_t size,FILE * arch) ArchSVR4Entry() argument 695 FILE *arch; ArchFindMember() local [all...] |
/freebsd-src/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} [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-src/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 in DEFINE_TEST() [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/ |
H A D | DylibReader.cpp | 64 auto Arch = getArchitectureName(ArchT); in constructTriples() 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, "appl in constructTriples() 62 auto Arch = getArchitectureName(ArchT); constructTriples() local 333 load(MachOObjectFile * Obj,RecordsSlice & Slice,const ParseOption & Opt,const Architecture Arch) load() argument 358 const auto Arch = getArchitectureFromCpuType(Obj->getHeader().cputype, readFile() local 382 auto Arch = readFile() local [all...] |
/freebsd-src/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 | AArch64TargetParser.cpp | 10 // such as FPU/CPU/ARCH and extension names. 30 static unsigned checkArchVersion(llvm::StringRef Arch) { in checkArchVersion() 31 if (Arch.size() >= 2 && Arch[0] == 'v' && std::isdigit(Arch[1])) 32 return (Arch[1] - 48); in getArchForCpu() 41 return &Cpu->Arch; in getArchForCpu() 108 const AArch64::ArchInfo *AArch64::parseArch(StringRef Arch) { in parseArch() 109 Arch = llvm::ARM::getCanonicalArchName(Arch); in parseArch() 26 checkArchVersion(llvm::StringRef Arch) checkArchVersion() argument 103 parseArch(StringRef Arch) parseArch() argument 251 addArchDefaults(const ArchInfo & Arch) addArchDefaults() argument [all...] |
/freebsd-src/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() argument 46 if (Arch == AK_unknown) in set() 48 ArchSet |= 1U << static_cast<int>(Arch); in set() 51 ArchitectureSet clear(Architecture Arch) { in clear() argument 52 ArchSet &= ~(1U << static_cast<int>(Arch)); in clear() 56 bool has(Architecture Arch) const { in has() argument 57 return ArchSet & (1U << static_cast<int>(Arch)); in has() 137 ArchitectureSet &operator|=(const Architecture &Arch) { 138 set(Arch);
|
/freebsd-src/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-src/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-src/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-src/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 /, ,$@)) 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) 106 $(ALL_DTB): ARCH=$(word 2,$(subst /, ,$@)) global() macro [all...] |
/freebsd-src/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-src/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 || Stub.Target.BitWidth || Stub.Target.Endianness || in validateIFSTarget() 280 Stub.Target.Arch = TargetFromTriple.Arch; in validateIFSTarget() [all …]
|
/freebsd-src/usr.sbin/config/ |
H A D | config.5 | 97 .Pa sys/conf/options . Ns Aq Ar arch . 108 .Ar arch 110 .Pa sys/conf/files . Ns Aq Ar arch . 183 .Pa files . Ns Aq Ar arch ) . 253 .It Ic machine Ar arch Op Ar cpuarch 257 .Ar arch 283 .Ar arch . 284 .Ar arch 408 .Ar arch 410 .Pa sys/conf/options . Ns Aq Ar arch [all...] |
/freebsd-src/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-src/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 …]
|