/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/ |
H A D | PackedVersion.h | 23 uint32_t Version{0}; 27 explicit constexpr PackedVersion(uint32_t RawVersion) : Version(RawVersion) {} in PackedVersion() 29 : Version((Major << 16) | ((Minor & 0xff) << 8) | (Subminor & 0xff)) {} in PackedVersion() 31 bool empty() const { return Version == 0; } in empty() 34 unsigned getMajor() const { return Version >> 16; } in getMajor() 37 unsigned getMinor() const { return (Version >> 8) & 0xff; } in getMinor() 40 unsigned getSubminor() const { return Version & 0xff; } in getSubminor() 45 bool operator<(const PackedVersion &O) const { return Version < O.Version; } in operator <() 47 bool operator==(const PackedVersion &O) const { return Version 56 operator <<(raw_ostream &OS, const PackedVersion &Version) operator <<() argument [all...] |
/third_party/qrcodegen/rust-no-heap/examples/ |
H A D | qrcodegen-demo.rs | 33 use qrcodegen::Version; 54 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_basic_demo() 55 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_basic_demo() 57 errcorlvl, Version::MIN, Version::MAX, None, true).unwrap(); in do_basic_demo() 68 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() 69 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() 71 &mut tempbuffer, &mut outbuffer, QrCodeEcc::Medium, Version::MIN, Version::MAX, None, true).unwrap(); in do_variety_demo() 76 let mut outbuffer = vec![0u8; Version in do_variety_demo() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Version.h | 7 // Version.h: Encapsulation of a GL version. 15 struct Version struct 17 constexpr Version(); 18 constexpr Version(unsigned int major, unsigned int minor); 24 bool operator==(const Version &a, const Version &b); 25 bool operator!=(const Version &a, const Version &b); 26 bool operator>=(const Version &a, const Version [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | renderergl_utils.cpp | 419 static void LimitVersion(gl::Version *curVersion, const gl::Version &maxVersion) in LimitVersion() 430 gl::Version *maxSupportedESVersion) in GenerateTextureFormatCaps() 450 if (functions->isAtLeastGLES(gl::Version(3, 0)) && in GenerateTextureFormatCaps() 546 glFormatInfo.isRequiredRenderbufferFormat(gl::Version(3, 0)) && in GenerateTextureFormatCaps() 549 LimitVersion(maxSupportedESVersion, gl::Version(2, 0)); in GenerateTextureFormatCaps() 644 gl::Version *maxSupportedESVersion, in GenerateCaps() 648 *maxSupportedESVersion = gl::Version(3, 1); in GenerateCaps() 665 if (functions->isAtLeastGL(gl::Version(4, 3)) || in GenerateCaps() 667 functions->isAtLeastGLES(gl::Version( in GenerateCaps() [all...] |
H A D | CompilerGL.cpp | 27 if (functions->isAtLeastGL(gl::Version(4, 5))) in GetShaderOutputType() 31 else if (functions->isAtLeastGL(gl::Version(4, 4))) in GetShaderOutputType() 35 else if (functions->isAtLeastGL(gl::Version(4, 3))) in GetShaderOutputType() 39 else if (functions->isAtLeastGL(gl::Version(4, 2))) in GetShaderOutputType() 43 else if (functions->isAtLeastGL(gl::Version(4, 1))) in GetShaderOutputType() 47 else if (functions->isAtLeastGL(gl::Version(4, 0))) in GetShaderOutputType() 51 else if (functions->isAtLeastGL(gl::Version(3, 3))) in GetShaderOutputType() 55 else if (functions->isAtLeastGL(gl::Version(3, 2))) in GetShaderOutputType() 59 else if (functions->isAtLeastGL(gl::Version(3, 1))) in GetShaderOutputType() 63 else if (functions->isAtLeastGL(gl::Version( in GetShaderOutputType() [all...] |
H A D | FunctionsGL.cpp | 21 gl::Version *outVersion, in GetGLVersion() 33 *outVersion = gl::Version(version[0] - '0', version[2] - '0'); in GetGLVersion() 40 *outVersion = gl::Version(version[10] - '0', version[12] - '0'); in GetGLVersion() 110 if (isAtLeastGL(gl::Version(3, 0)) || isAtLeastGLES(gl::Version(3, 0))) in initialize() 145 if (isAtLeastGL(gl::Version(3, 2))) in initialize() 199 bool FunctionsGL::isAtLeastGL(const gl::Version &glVersion) const in isAtLeastGL() 204 bool FunctionsGL::isAtMostGL(const gl::Version &glVersion) const in isAtMostGL() 209 bool FunctionsGL::isAtLeastGLES(const gl::Version &glesVersion) const in isAtLeastGLES() 214 bool FunctionsGL::isAtMostGLES(const gl::Version [all...] |
/third_party/gn/src/gn/ |
H A D | version.cc | 16 Version::Version(int major, int minor, int patch) in Version() function in Version 20 std::optional<Version> Version::FromString(std::string s) { in FromString() 40 return Version(major, minor, patch); in FromString() 46 bool Version::operator==(const Version& other) const { in operator ==() 51 bool Version::operator<(const Version& other) const { in operator <() 56 bool Version [all...] |
H A D | version.h | 19 class Version { class 21 Version(int major, int minor, int patch); 23 static std::optional<Version> FromString(std::string s); 29 bool operator==(const Version& other) const; 30 bool operator<(const Version& other) const; 31 bool operator!=(const Version& other) const; 32 bool operator>=(const Version& other) const; 33 bool operator>(const Version& other) const; 34 bool operator<=(const Version& other) const;
|
H A D | version_unittest.cc | 10 Version v0_0_1{0, 0, 1}; in TEST() 11 ASSERT_EQ(Version::FromString("0.0.1"), v0_0_1); in TEST() 12 Version v0_1_0{0, 1, 0}; in TEST() 13 ASSERT_EQ(Version::FromString("0.1.0"), v0_1_0); in TEST() 14 Version v1_0_0{1, 0, 0}; in TEST() 15 ASSERT_EQ(Version::FromString("1.0.0"), v1_0_0); in TEST() 19 Version v0_0_1{0, 0, 1}; in TEST() 20 Version v0_1_0{0, 1, 0}; in TEST() 32 ASSERT_EQ(Version::FromString("0.0.1")->Describe(), "0.0.1"); in TEST()
|
/third_party/rust/crates/version_check/src/ |
H A D | version.rs | 3 /// Version number: `major.minor.patch`, ignoring release channel. 5 pub struct Version(u64); structure names 7 impl Version { impls 14 /// use version_check::Version; 16 /// match Version::read() { 17 /// Some(d) => format!("Version is: {}", d), 21 pub fn read() -> Option<Version> { in read() 24 .and_then(|version| Version::parse(&version)) in read() 35 /// use version_check::Version; 37 /// let version = Version [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/regres/llvm/ |
H A D | llvm.go | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 37 // Version holds the build version information of an LLVM toolchain. 38 type Version struct { type 42 func (v Version) String() string { 47 func (v Version) GreaterEqual(rhs Version) bool { 64 func (v Version) Download() ([]byte, error) { 69 func (v Version) DownloadForOS(osName string) ([]byte, error) { 106 func (v Version) DownloadInfoForOS(os string) (url, sig, key string, err error) { 108 case Version{1 [all...] |
/third_party/node/deps/v8/src/utils/ |
H A D | version.cc | 20 int Version::major_ = V8_MAJOR_VERSION; 21 int Version::minor_ = V8_MINOR_VERSION; 22 int Version::build_ = V8_BUILD_NUMBER; 23 int Version::patch_ = V8_PATCH_LEVEL; 24 const char* Version::embedder_ = V8_EMBEDDER_STRING; 25 bool Version::candidate_ = (V8_IS_CANDIDATE_VERSION != 0); 26 const char* Version::soname_ = SONAME; 27 const char* Version::version_string_ = V8_VERSION_STRING; 30 void Version::GetString(base::Vector<char> str) { in GetString() 42 void Version [all...] |
/third_party/vk-gl-cts/framework/egl/ |
H A D | egluDefs.cpp | 7 * Licensed under the Apache License, Version 2.0 (the "License"); 77 bool Version::operator< (const Version& v) const in operator <() 87 bool Version::operator== (const Version& v) const in operator ==() 94 bool Version::operator!= (const Version& v) const in operator !=() 99 bool Version::operator> (const Version& v) const in operator >() 104 bool Version [all...] |
H A D | egluDefs.hpp | 9 * Licensed under the Apache License, Version 2.0 (the "License"); 62 class Version class 65 Version (int major, int minor) : m_major(major), m_minor(minor) {} in Version() function in eglu::Version 70 bool operator< (const Version& v) const; 71 bool operator== (const Version& v) const; 73 bool operator!= (const Version& v) const; 74 bool operator> (const Version& v) const; 75 bool operator<= (const Version& v) const; 76 bool operator>= (const Version& v) const;
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/schema/ |
H A D | schema.go | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 49 Version string 1000 Name: "'Version'", 18648 Name: "'Version'", 18653 Name: "'DWARF Version'", 19614 Version: "", 19621 Version: "", 19628 Version: "", 19635 Version: "", 19642 Version [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/schema/ |
H A D | schema.go | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 49 Version string 1000 Name: "'Version'", 18648 Name: "'Version'", 18653 Name: "'DWARF Version'", 19614 Version: "", 19621 Version: "", 19628 Version: "", 19635 Version: "", 19642 Version [all...] |
/third_party/spirv-tools/utils/vscode/src/schema/ |
H A D | schema.go | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 49 Version string 1000 Name: "'Version'", 18648 Name: "'Version'", 18653 Name: "'DWARF Version'", 19614 Version: "", 19621 Version: "", 19628 Version: "", 19635 Version: "", 19642 Version [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/ |
H A D | specifiers.py | 1 # This file is dual licensed under the terms of the Apache License, Version 8 from packaging.version import Version 27 from .version import Version namespace 29 UnparsedVersion = Union[Version, str] 31 CallableOperator = Callable[[Version, str], bool] 34 def _coerce_version(version: UnparsedVersion) -> Version: 35 if not isinstance(version, Version): 36 version = Version(version) 275 if Version(version).is_prerelease: 376 def _compare_compatible(self, prospective: Version, spe [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDGPUBaseInfo.cpp | 228 auto Version = getIsaVersion(STI->getCPU()); in streamIsaVersion() local 235 << Version.Major in streamIsaVersion() 236 << Version.Minor in streamIsaVersion() 237 << Version.Stepping; in streamIsaVersion() 328 IsaVersion Version = getIsaVersion(STI->getCPU()); in getSGPRAllocGranule() local 329 if (Version.Major >= 10) in getSGPRAllocGranule() 331 if (Version.Major >= 8) in getSGPRAllocGranule() 341 IsaVersion Version = getIsaVersion(STI->getCPU()); in getTotalNumSGPRs() local 342 if (Version.Major >= 8) in getTotalNumSGPRs() 351 IsaVersion Version in getAddressableNumSGPRs() 362 IsaVersion Version = getIsaVersion(STI->getCPU()); getMinNumSGPRs() local 381 IsaVersion Version = getIsaVersion(STI->getCPU()); getMaxNumSGPRs() local 399 IsaVersion Version = getIsaVersion(STI->getCPU()); getNumExtraSGPRs() local 484 IsaVersion Version = getIsaVersion(STI->getCPU()); initDefaultAMDKernelCodeT() local 520 IsaVersion Version = getIsaVersion(STI->getCPU()); getDefaultAmdhsaKernelDescriptor() local 605 getVmcntBitMask(const IsaVersion &Version) getVmcntBitMask() argument 614 getExpcntBitMask(const IsaVersion &Version) getExpcntBitMask() argument 618 getLgkmcntBitMask(const IsaVersion &Version) getLgkmcntBitMask() argument 622 getWaitcntBitMask(const IsaVersion &Version) getWaitcntBitMask() argument 635 decodeVmcnt(const IsaVersion &Version, unsigned Waitcnt) decodeVmcnt() argument 647 decodeExpcnt(const IsaVersion &Version, unsigned Waitcnt) decodeExpcnt() argument 651 decodeLgkmcnt(const IsaVersion &Version, unsigned Waitcnt) decodeLgkmcnt() argument 656 decodeWaitcnt(const IsaVersion &Version, unsigned Waitcnt, unsigned &Vmcnt, unsigned &Expcnt, unsigned &Lgkmcnt) decodeWaitcnt() argument 663 decodeWaitcnt(const IsaVersion &Version, unsigned Encoded) decodeWaitcnt() argument 671 encodeVmcnt(const IsaVersion &Version, unsigned Waitcnt, unsigned Vmcnt) encodeVmcnt() argument 682 encodeExpcnt(const IsaVersion &Version, unsigned Waitcnt, unsigned Expcnt) encodeExpcnt() argument 687 encodeLgkmcnt(const IsaVersion &Version, unsigned Waitcnt, unsigned Lgkmcnt) encodeLgkmcnt() argument 693 encodeWaitcnt(const IsaVersion &Version, unsigned Vmcnt, unsigned Expcnt, unsigned Lgkmcnt) encodeWaitcnt() argument 702 encodeWaitcnt(const IsaVersion &Version, const Waitcnt &Decoded) encodeWaitcnt() argument [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | plugin.pb.h | 76 class Version; 85 template<> PROTOC_EXPORT PROTOBUF_NAMESPACE_ID::compiler::Version* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::compiler::Version>(Arena*); 115 class PROTOC_EXPORT Version PROTOBUF_FINAL : 116 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.Version) */ { 118 inline Version() : Version(nullptr) {} in Version() function in compiler::PROTOBUF_FINAL 119 virtual ~Version(); 121 Version(const Version 123 : Version() { Version() function in compiler::PROTOBUF_FINAL [all...] |
/third_party/skia/src/sfnt/ |
H A D | SkOTTable_OS_2.h | 27 union Version { union 45 static_assert(sizeof(SkOTTableOS2::Version::VA) == 68, "sizeof_SkOTTableOS2__VA_not_68"); 46 static_assert(sizeof(SkOTTableOS2::Version::V0) == 78, "sizeof_SkOTTableOS2__V0_not_78"); 47 static_assert(sizeof(SkOTTableOS2::Version::V1) == 86, "sizeof_SkOTTableOS2__V1_not_86"); 48 static_assert(sizeof(SkOTTableOS2::Version::V2) == 96, "sizeof_SkOTTableOS2__V2_not_96"); 49 static_assert(sizeof(SkOTTableOS2::Version::V3) == 96, "sizeof_SkOTTableOS2__V3_not_96"); 50 static_assert(sizeof(SkOTTableOS2::Version::V4) == 96, "sizeof_SkOTTableOS2__V4_not_96");
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFExpression.h | 64 DwarfVersion Version; ///< Dwarf version where the Op was introduced. member 67 Description(DwarfVersion Version = DwarfNA, Encoding Op1 = SizeNA, in Description() 69 : Version(Version) { in Description() 90 bool extract(DataExtractor Data, uint16_t Version, uint8_t AddressSize, 110 !Op.extract(Expr->Data, Expr->Version, Expr->AddressSize, Offset); in iterator() 118 !Op.extract(Expr->Data, Expr->Version, Expr->AddressSize, Offset); in operator ++() 130 DWARFExpression(DataExtractor Data, uint16_t Version, uint8_t AddressSize) in DWARFExpression() argument 131 : Data(Data), Version(Version), AddressSiz in DWARFExpression() 145 uint16_t Version; global() member in llvm::DWARFExpression::Operation [all...] |
/third_party/qrcodegen/rust/examples/ |
H A D | qrcodegen-demo.rs | 32 use qrcodegen::Version; 145 let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::High, Version::MIN, Version::MAX, None, true).unwrap(); // Automatic mask in do_mask_demo() 147 let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::High, Version::MIN, Version::MAX, Some(Mask::new(3)), true).unwrap(); // Force mask 3 in do_mask_demo() 152 let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::Medium, Version::MIN, Version::MAX, Some(Mask::new(0)), true).unwrap(); // Force mask 0 in do_mask_demo() 154 let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::Medium, Version::MIN, Version::MAX, Some(Mask::new(1)), true).unwrap(); // Force mask 1 in do_mask_demo() 156 let qr = QrCode::encode_segments_advanced(&segs, QrCodeEcc::Medium, Version in do_mask_demo() [all...] |
/third_party/rust/crates/rust-openssl/openssl-sys/build/ |
H A D | main.rs | 21 enum Version { enum 105 Version::Openssl10x if target.contains("windows") => vec!["ssleay32", "libeay32"], in main() 106 Version::Openssl3xx | Version::Openssl11x if target.contains("windows-msvc") => { in main() 127 fn postprocess(include_dirs: &[PathBuf]) -> Version { in postprocess() 131 if version != Version::Boringssl { in postprocess() 142 fn validate_headers(include_dirs: &[PathBuf]) -> Version { in validate_headers() 220 return Version::Boringssl; in validate_headers() 282 Version::Libressl in validate_headers() 290 Version in validate_headers() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugAddr.cpp | 23 uint16_t Version, in extract() 35 if (Version == 0) { in extract() 41 UnitVersion = Version; in extract() 72 HeaderData.Version = Data.getU16(OffsetPtr); in extract() 77 HeaderData.Version = UnitVersion; in extract() 89 if (HeaderData.Version > 5) { in extract() 92 HeaderData.Version, HeaderOffset); in extract() 98 if (HeaderData.Version != UnitVersion) in extract() 104 HeaderOffset, HeaderData.Version, UnitVersion); in extract() 147 HeaderData.Length, HeaderData.Version, HeaderDat in dump() 21 extract(DWARFDataExtractor Data, uint64_t *OffsetPtr, uint16_t Version, uint8_t AddrSize, std::function<void(Error)> WarnCallback) extract() argument [all...] |