/external/llvm-project/llvm/include/llvm/Support/ |
D | VersionTuple.h | 28 unsigned Major : 32; variable 41 : Major(0), Minor(0), HasMinor(false), Subminor(0), HasSubminor(false), in VersionTuple() 44 explicit VersionTuple(unsigned Major) in VersionTuple() argument 45 : Major(Major), Minor(0), HasMinor(false), Subminor(0), in VersionTuple() 48 explicit VersionTuple(unsigned Major, unsigned Minor) in VersionTuple() argument 49 : Major(Major), Minor(Minor), HasMinor(true), Subminor(0), in VersionTuple() 52 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor) in VersionTuple() argument 53 : Major(Major), Minor(Minor), HasMinor(true), Subminor(Subminor), in VersionTuple() 56 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor, in VersionTuple() argument 58 : Major(Major), Minor(Minor), HasMinor(true), Subminor(Subminor), in VersionTuple() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | VersionTuple.h | 27 unsigned Major : 32; variable 40 : Major(0), Minor(0), HasMinor(false), Subminor(0), HasSubminor(false), in VersionTuple() 43 explicit VersionTuple(unsigned Major) in VersionTuple() argument 44 : Major(Major), Minor(0), HasMinor(false), Subminor(0), in VersionTuple() 47 explicit VersionTuple(unsigned Major, unsigned Minor) in VersionTuple() argument 48 : Major(Major), Minor(Minor), HasMinor(true), Subminor(0), in VersionTuple() 51 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor) in VersionTuple() argument 52 : Major(Major), Minor(Minor), HasMinor(true), Subminor(Subminor), in VersionTuple() 55 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor, in VersionTuple() argument 57 : Major(Major), Minor(Minor), HasMinor(true), Subminor(Subminor), in VersionTuple() [all …]
|
/external/clang/include/clang/Basic/ |
D | VersionTuple.h | 27 unsigned Major : 31; variable 42 : Major(0), UsesUnderscores(false), Minor(0), HasMinor(false), in VersionTuple() 45 explicit VersionTuple(unsigned Major) in VersionTuple() argument 46 : Major(Major), UsesUnderscores(false), Minor(0), HasMinor(false), in VersionTuple() 49 explicit VersionTuple(unsigned Major, unsigned Minor, 51 : Major(Major), UsesUnderscores(UsesUnderscores), Minor(Minor), in Major() function 55 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor, 57 : Major(Major), UsesUnderscores(UsesUnderscores), Minor(Minor), in Major() function 61 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor, 63 : Major(Major), UsesUnderscores(UsesUnderscores), Minor(Minor), in Major() function [all …]
|
/external/tcpdump/tests/ |
D | aoe_1-v.out | 2 Major: 0xffff, Minor: 0xff, Command: Query Config Information, Tag: 0x00000000 5 Major: 0xffff, Minor: 0xff, Command: Query Config Information, Tag: 0x00000000 9 Major: 0x0014, Minor: 0x00, Command: Issue ATA Command, Tag: 0x0001cd4a 14 Major: 0x0014, Minor: 0x00, Command: Issue ATA Command, Tag: 0x0001cd4a 19 Major: 0x0014, Minor: 0x00, Command: Issue ATA Command, Tag: 0x0002cd63 24 Major: 0x0014, Minor: 0x00, Command: Issue ATA Command, Tag: 0x0003cd63 29 Major: 0x0014, Minor: 0x00, Command: Issue ATA Command, Tag: 0x0004cd63 34 Major: 0x0014, Minor: 0x00, Command: Issue ATA Command, Tag: 0x0005cd64 39 Major: 0x0014, Minor: 0x00, Command: Issue ATA Command, Tag: 0x0002cd63 44 Major: 0x0014, Minor: 0x00, Command: Issue ATA Command, Tag: 0x0003cd63 [all …]
|
/external/llvm-project/compiler-rt/lib/builtins/ |
D | os_version_check.c | 248 int32_t __isOSVersionAtLeast(int32_t Major, int32_t Minor, int32_t Subminor) { in __isOSVersionAtLeast() argument 253 if (Major < GlobalMajor) in __isOSVersionAtLeast() 255 if (Major > GlobalMajor) in __isOSVersionAtLeast() 264 static inline uint32_t ConstructVersion(uint32_t Major, uint32_t Minor, in ConstructVersion() argument 266 return ((Major & 0xffff) << 16) | ((Minor & 0xff) << 8) | (Subminor & 0xff); in ConstructVersion() 269 int32_t __isPlatformVersionAtLeast(uint32_t Platform, uint32_t Major, in __isPlatformVersionAtLeast() argument 274 return __isOSVersionAtLeast(Major, Minor, Subminor); in __isPlatformVersionAtLeast() 277 {Platform, ConstructVersion(Major, Minor, Subminor)}}; in __isPlatformVersionAtLeast() 309 int32_t __isOSVersionAtLeast(int32_t Major, int32_t Minor, int32_t Subminor) { in __isOSVersionAtLeast() argument 315 return SdkVersion >= Major || in __isOSVersionAtLeast() [all …]
|
/external/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
D | RISCV.cpp | 28 StringRef Major; member 88 std::string &Major, std::string &Minor) { in getExtensionVersion() argument 89 Major = std::string(In.take_while(isDigit)); in getExtensionVersion() 90 In = In.substr(Major.size()); in getExtensionVersion() 92 if (Major.size() && In.consume_front("p")) { in getExtensionVersion() 94 In = In.substr(Major.size() + 1); in getExtensionVersion() 124 } else if (Major.empty() && Minor.empty()) { in getExtensionVersion() 132 if (Major != SupportedVers.Major || Minor != SupportedVers.Minor) { in getExtensionVersion() 134 "unsupported version number " + Major; in getExtensionVersion() 138 + SupportedVers.Major.str() + "." in getExtensionVersion() [all …]
|
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | AMDGPUTargetStreamer.h | 24 virtual void EmitDirectiveHSACodeObjectVersion(uint32_t Major, 27 virtual void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor, 45 void EmitDirectiveHSACodeObjectVersion(uint32_t Major, 48 void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor, 81 void EmitDirectiveHSACodeObjectVersion(uint32_t Major, 84 void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor,
|
D | AMDGPUTargetStreamer.cpp | 39 AMDGPUTargetAsmStreamer::EmitDirectiveHSACodeObjectVersion(uint32_t Major, in EmitDirectiveHSACodeObjectVersion() argument 42 Twine(Major) << "," << Twine(Minor) << '\n'; in EmitDirectiveHSACodeObjectVersion() 46 AMDGPUTargetAsmStreamer::EmitDirectiveHSACodeObjectISA(uint32_t Major, in EmitDirectiveHSACodeObjectISA() argument 52 Twine(Major) << "," << Twine(Minor) << "," << Twine(Stepping) << in EmitDirectiveHSACodeObjectISA() 256 AMDGPUTargetELFStreamer::EmitDirectiveHSACodeObjectVersion(uint32_t Major, in EmitDirectiveHSACodeObjectVersion() argument 269 OS.EmitIntValue(Major, 4); // desc in EmitDirectiveHSACodeObjectVersion() 276 AMDGPUTargetELFStreamer::EmitDirectiveHSACodeObjectISA(uint32_t Major, in EmitDirectiveHSACodeObjectISA() argument 288 sizeof(Major) + sizeof(Minor) + sizeof(Stepping) + in EmitDirectiveHSACodeObjectISA() 299 OS.EmitIntValue(Major, 4); in EmitDirectiveHSACodeObjectISA()
|
/external/tcpdump/ |
D | parsenfsfh.c | 264 fsidp->Fsid_dev.Major = fhp[6]; in Parse_fh() 275 fsidp->Fsid_dev.Major = fhp[1]; in Parse_fh() 290 fsidp->Fsid_dev.Major = (temp>>20) & 0xFFF; in Parse_fh() 299 fsidp->Fsid_dev.Major = fhp[2]; in Parse_fh() 310 fsidp->Fsid_dev.Major = make_uint16(fhp[0], fhp[1]); in Parse_fh() 332 fsidp->Fsid_dev.Major = fhp[2]; in Parse_fh() 343 fsidp->Fsid_dev.Major = (temp>>2) & 0x3FFF; in Parse_fh() 357 fsidp->Fsid_dev.Major = fhp[1]; in Parse_fh() 379 fsidp->Fsid_dev.Major = tempa[2] + (tempa[3]<<1); in Parse_fh() 396 fsidp->Fsid_dev.Major = make_uint16(fhp[0], fhp[1]); in Parse_fh() [all …]
|
D | nfsfh.h | 48 uint32_t Major; member 51 #define dev_eq(a,b) ((a.Minor == b.Minor) && (a.Major == b.Major))
|
/external/llvm/include/llvm/ADT/ |
D | Triple.h | 288 void getEnvironmentVersion(unsigned &Major, unsigned &Minor, 300 void getOSVersion(unsigned &Major, unsigned &Minor, unsigned &Micro) const; 314 bool getMacOSXVersion(unsigned &Major, unsigned &Minor, 319 void getiOSVersion(unsigned &Major, unsigned &Minor, 324 void getWatchOSVersion(unsigned &Major, unsigned &Minor, 380 bool isOSVersionLT(unsigned Major, unsigned Minor = 0, 385 if (LHS[0] != Major) 386 return LHS[0] < Major; 404 bool isMacOSXVersionLT(unsigned Major, unsigned Minor = 0, 410 return isOSVersionLT(Major, Minor, Micro); [all …]
|
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/ |
D | tmod.c | 53 static int Major = TMOD_MAJOR; variable 241 rc = register_chrdev(Major, DEVICE_NAME, &tmod_fops); in tmod_init_module() 247 if (Major == 0) in tmod_init_module() 248 Major = rc; in tmod_init_module() 267 rc = unregister_chrdev(Major, DEVICE_NAME); in tmod_exit_module()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | Triple.h | 323 void getEnvironmentVersion(unsigned &Major, unsigned &Minor, 335 void getOSVersion(unsigned &Major, unsigned &Minor, unsigned &Micro) const; 349 bool getMacOSXVersion(unsigned &Major, unsigned &Minor, 354 void getiOSVersion(unsigned &Major, unsigned &Minor, 359 void getWatchOSVersion(unsigned &Major, unsigned &Minor, 415 bool isOSVersionLT(unsigned Major, unsigned Minor = 0, 420 if (LHS[0] != Major) 421 return LHS[0] < Major; 439 bool isMacOSXVersionLT(unsigned Major, unsigned Minor = 0, 445 return isOSVersionLT(Major, Minor, Micro); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | AMDGPUTargetStreamer.h | 44 virtual void EmitDirectiveHSACodeObjectVersion(uint32_t Major, 47 virtual void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor, 102 void EmitDirectiveHSACodeObjectVersion(uint32_t Major, 105 void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor, 149 void EmitDirectiveHSACodeObjectVersion(uint32_t Major, 152 void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor,
|
D | AMDGPUTargetStreamer.cpp | 178 uint32_t Major, uint32_t Minor) { in EmitDirectiveHSACodeObjectVersion() argument 180 Twine(Major) << "," << Twine(Minor) << '\n'; in EmitDirectiveHSACodeObjectVersion() 184 AMDGPUTargetAsmStreamer::EmitDirectiveHSACodeObjectISA(uint32_t Major, in EmitDirectiveHSACodeObjectISA() argument 190 Twine(Major) << "," << Twine(Minor) << "," << Twine(Stepping) << in EmitDirectiveHSACodeObjectISA() 296 if (IVersion.Major >= 10) in EmitAmdhsaKernelDescriptor() 326 if (IVersion.Major >= 7 && !ReserveFlatScr) in EmitAmdhsaKernelDescriptor() 328 if (IVersion.Major >= 8 && ReserveXNACK != hasXNACK(STI)) in EmitAmdhsaKernelDescriptor() 349 if (IVersion.Major >= 9) in EmitAmdhsaKernelDescriptor() 353 if (IVersion.Major >= 10) { in EmitAmdhsaKernelDescriptor() 457 uint32_t Major, uint32_t Minor) { in EmitDirectiveHSACodeObjectVersion() argument [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | AMDGPUTargetStreamer.h | 44 virtual void EmitDirectiveHSACodeObjectVersion(uint32_t Major, 47 virtual void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor, 102 void EmitDirectiveHSACodeObjectVersion(uint32_t Major, 105 void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor, 150 void EmitDirectiveHSACodeObjectVersion(uint32_t Major, 153 void EmitDirectiveHSACodeObjectISA(uint32_t Major, uint32_t Minor,
|
D | AMDGPUTargetStreamer.cpp | 199 uint32_t Major, uint32_t Minor) { in EmitDirectiveHSACodeObjectVersion() argument 201 Twine(Major) << "," << Twine(Minor) << '\n'; in EmitDirectiveHSACodeObjectVersion() 205 AMDGPUTargetAsmStreamer::EmitDirectiveHSACodeObjectISA(uint32_t Major, in EmitDirectiveHSACodeObjectISA() argument 211 Twine(Major) << "," << Twine(Minor) << "," << Twine(Stepping) << in EmitDirectiveHSACodeObjectISA() 317 if (IVersion.Major >= 10) in EmitAmdhsaKernelDescriptor() 347 if (IVersion.Major >= 7 && !ReserveFlatScr) in EmitAmdhsaKernelDescriptor() 349 if (IVersion.Major >= 8 && ReserveXNACK != hasXNACK(STI)) in EmitAmdhsaKernelDescriptor() 370 if (IVersion.Major >= 9) in EmitAmdhsaKernelDescriptor() 374 if (IVersion.Major >= 10) { in EmitAmdhsaKernelDescriptor() 489 uint32_t Major, uint32_t Minor) { in EmitDirectiveHSACodeObjectVersion() argument [all …]
|
/external/llvm-project/llvm/lib/Support/ |
D | Triple.cpp | 1045 static void parseVersionFromName(StringRef Name, unsigned &Major, in parseVersionFromName() argument 1048 Major = Minor = Micro = 0; in parseVersionFromName() 1051 unsigned *Components[3] = {&Major, &Minor, &Micro}; in parseVersionFromName() 1065 void Triple::getEnvironmentVersion(unsigned &Major, unsigned &Minor, in getEnvironmentVersion() argument 1072 parseVersionFromName(EnvironmentName, Major, Minor, Micro); in getEnvironmentVersion() 1075 void Triple::getOSVersion(unsigned &Major, unsigned &Minor, in getOSVersion() argument 1085 parseVersionFromName(OSName, Major, Minor, Micro); in getOSVersion() 1088 bool Triple::getMacOSXVersion(unsigned &Major, unsigned &Minor, in getMacOSXVersion() argument 1090 getOSVersion(Major, Minor, Micro); in getMacOSXVersion() 1096 if (Major == 0) in getMacOSXVersion() [all …]
|
/external/llvm-project/compiler-rt/test/builtins/TestCases/Darwin/ |
D | platform_version_check_test.c | 7 int32_t __isPlatformVersionAtLeast(uint32_t Platform, uint32_t Major, 12 int32_t check(uint32_t Major, uint32_t Minor, uint32_t Subminor) { in check() argument 14 __isPlatformVersionAtLeast(PLATFORM_MACOS, Major, Minor, Subminor); in check()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | Triple.h | 328 void getEnvironmentVersion(unsigned &Major, unsigned &Minor, 340 void getOSVersion(unsigned &Major, unsigned &Minor, unsigned &Micro) const; 354 bool getMacOSXVersion(unsigned &Major, unsigned &Minor, 359 void getiOSVersion(unsigned &Major, unsigned &Minor, 364 void getWatchOSVersion(unsigned &Major, unsigned &Minor, 420 bool isOSVersionLT(unsigned Major, unsigned Minor = 0, 425 if (LHS[0] != Major) 426 return LHS[0] < Major; 444 bool isMacOSXVersionLT(unsigned Major, unsigned Minor = 0, 670 bool isAndroidVersionLT(unsigned Major) const { in isAndroidVersionLT() argument [all …]
|
/external/llvm/lib/Support/ |
D | Triple.cpp | 919 static void parseVersionFromName(StringRef Name, unsigned &Major, in parseVersionFromName() argument 922 Major = Minor = Micro = 0; in parseVersionFromName() 925 unsigned *Components[3] = {&Major, &Minor, &Micro}; in parseVersionFromName() 939 void Triple::getEnvironmentVersion(unsigned &Major, unsigned &Minor, in getEnvironmentVersion() argument 946 parseVersionFromName(EnvironmentName, Major, Minor, Micro); in getEnvironmentVersion() 949 void Triple::getOSVersion(unsigned &Major, unsigned &Minor, in getOSVersion() argument 957 parseVersionFromName(OSName, Major, Minor, Micro); in getOSVersion() 960 bool Triple::getMacOSXVersion(unsigned &Major, unsigned &Minor, in getMacOSXVersion() argument 962 getOSVersion(Major, Minor, Micro); in getMacOSXVersion() 968 if (Major == 0) in getMacOSXVersion() [all …]
|
/external/swiftshader/tests/regres/llvm/ |
D | llvm.go | 39 Major, Minor, Point int member 43 return fmt.Sprintf("%v.%v.%v", v.Major, v.Minor, v.Point) 48 if v.Major > rhs.Major { 51 if v.Major < rhs.Major {
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/ |
D | AMDGPUBaseInfo.cpp | 235 << Version.Major in streamIsaVersion() 329 if (Version.Major >= 10) in getSGPRAllocGranule() 331 if (Version.Major >= 8) in getSGPRAllocGranule() 342 if (Version.Major >= 8) in getTotalNumSGPRs() 352 if (Version.Major >= 10) in getAddressableNumSGPRs() 354 if (Version.Major >= 8) in getAddressableNumSGPRs() 363 if (Version.Major >= 10) in getMinNumSGPRs() 382 if (Version.Major >= 10) in getMaxNumSGPRs() 384 if (Version.Major >= 8 && !Addressable) in getMaxNumSGPRs() 400 if (Version.Major >= 10) in getNumExtraSGPRs() [all …]
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | NetBSD.cpp | 268 unsigned Major, Minor, Micro; in ConstructJob() local 269 ToolChain.getTriple().getOSVersion(Major, Minor, Micro); in ConstructJob() 271 if (Major >= 7 || Major == 0) { in ConstructJob() 407 unsigned Major, Minor, Micro; in GetDefaultCXXStdlibType() local 408 getTriple().getOSVersion(Major, Minor, Micro); in GetDefaultCXXStdlibType() 409 if (Major >= 7 || Major == 0) { in GetDefaultCXXStdlibType() 503 unsigned Major, Minor, Micro; in addClangTargetOptions() local 504 getTriple().getOSVersion(Major, Minor, Micro); in addClangTargetOptions() 506 Major >= 9 || Major == 0 || in addClangTargetOptions()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Triple.cpp | 1035 static void parseVersionFromName(StringRef Name, unsigned &Major, in parseVersionFromName() argument 1038 Major = Minor = Micro = 0; in parseVersionFromName() 1041 unsigned *Components[3] = {&Major, &Minor, &Micro}; in parseVersionFromName() 1055 void Triple::getEnvironmentVersion(unsigned &Major, unsigned &Minor, in getEnvironmentVersion() argument 1062 parseVersionFromName(EnvironmentName, Major, Minor, Micro); in getEnvironmentVersion() 1065 void Triple::getOSVersion(unsigned &Major, unsigned &Minor, in getOSVersion() argument 1075 parseVersionFromName(OSName, Major, Minor, Micro); in getOSVersion() 1078 bool Triple::getMacOSXVersion(unsigned &Major, unsigned &Minor, in getMacOSXVersion() argument 1080 getOSVersion(Major, Minor, Micro); in getMacOSXVersion() 1086 if (Major == 0) in getMacOSXVersion() [all …]
|