/external/libpcap/pcap/ |
D | compiler-tests.h | 83 #define PCAP_IS_AT_LEAST_GNUC_VERSION(major, minor) 0 argument 85 #define PCAP_IS_AT_LEAST_GNUC_VERSION(major, minor) \ argument 87 (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor))) 95 #define PCAP_IS_AT_LEAST_CLANG_VERSION(major, minor) 0 argument 97 #define PCAP_IS_AT_LEAST_CLANG_VERSION(major, minor) \ argument 99 (__clang_major__ == (major) && __clang_minor__ >= (minor))) 121 #define PCAP_IS_AT_LEAST_SUNC_VERSION(major,minor) 0 argument 123 #define PCAP_SUNPRO_VERSION_TO_BCD(major, minor) \ argument 124 (((minor) >= 10) ? \ 125 (((major) << 12) | (((minor)/10) << 8) | (((minor)%10) << 4)) : \ [all …]
|
/external/brotli/c/include/brotli/ |
D | port.h | 17 #define BROTLI_MAKE_VERSION(major, minor, revision) \ argument 18 (((major) * 1000000) + ((minor) * 1000) + (revision)) 28 #define BROTLI_GNUC_VERSION_CHECK(major, minor, patch) \ argument 29 (BROTLI_GNUC_VERSION >= BROTLI_MAKE_VERSION(major, minor, patch)) 31 #define BROTLI_GNUC_VERSION_CHECK(major, minor, patch) (0) argument 50 #define BROTLI_MSVC_VERSION_CHECK(major, minor, patch) (0) argument 52 #define BROTLI_MSVC_VERSION_CHECK(major, minor, patch) \ argument 53 (_MSC_FULL_VER >= ((major * 10000000) + (minor * 100000) + (patch))) 55 #define BROTLI_MSVC_VERSION_CHECK(major, minor, patch) \ argument 56 (_MSC_FULL_VER >= ((major * 1000000) + (minor * 10000) + (patch))) [all …]
|
/external/harfbuzz_ng/test/api/ |
D | test-version.c | 35 unsigned int major, minor, micro; in test_version() local 38 hb_version (&major, &minor, µ); in test_version() 41 g_assert_cmpint (minor, ==, HB_VERSION_MINOR); in test_version() 44 s = g_strdup_printf ("%u.%u.%u", major, minor, micro); in test_version() 49 g_assert (HB_VERSION_ATLEAST (major, minor, micro)); in test_version() 51 g_assert (HB_VERSION_ATLEAST (major-1, minor, micro)); in test_version() 52 if (minor) in test_version() 53 g_assert (HB_VERSION_ATLEAST (major, minor-1, micro)); in test_version() 55 g_assert (HB_VERSION_ATLEAST (major, minor, micro-1)); in test_version() 56 g_assert (!HB_VERSION_ATLEAST (major+1, minor, micro)); in test_version() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | QRDecompositionImpl.java | 88 for (int minor = 0; minor < FastMath.min(m, n); minor++) { in QRDecompositionImpl() 90 final double[] qrtMinor = qrt[minor]; in QRDecompositionImpl() 100 for (int row = minor; row < m; row++) { in QRDecompositionImpl() 104 … final double a = (qrtMinor[minor] > 0) ? -FastMath.sqrt(xNormSqr) : FastMath.sqrt(xNormSqr); in QRDecompositionImpl() 105 rDiag[minor] = a; in QRDecompositionImpl() 117 qrtMinor[minor] -= a; // now |v|^2 = -2a*(qr[minor][minor]) in QRDecompositionImpl() 131 for (int col = minor+1; col < n; col++) { in QRDecompositionImpl() 134 for (int row = minor; row < m; row++) { in QRDecompositionImpl() 137 alpha /= a * qrtMinor[minor]; in QRDecompositionImpl() 140 for (int row = minor; row < m; row++) { in QRDecompositionImpl() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsMSAInstrFormats.td | 31 class MSA_BIT_B_FMT<bits<3> major, bits<6> minor>: MSAInst { 41 let Inst{5-0} = minor; 44 class MSA_BIT_H_FMT<bits<3> major, bits<6> minor>: MSAInst { 54 let Inst{5-0} = minor; 57 class MSA_BIT_W_FMT<bits<3> major, bits<6> minor>: MSAInst { 67 let Inst{5-0} = minor; 70 class MSA_BIT_D_FMT<bits<3> major, bits<6> minor>: MSAInst { 80 let Inst{5-0} = minor; 83 class MSA_2R_FILL_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst { 91 let Inst{5-0} = minor; [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsMSAInstrFormats.td | 30 class MSA_BIT_B_FMT<bits<3> major, bits<6> minor>: MSAInst { 40 let Inst{5-0} = minor; 43 class MSA_BIT_H_FMT<bits<3> major, bits<6> minor>: MSAInst { 53 let Inst{5-0} = minor; 56 class MSA_BIT_W_FMT<bits<3> major, bits<6> minor>: MSAInst { 66 let Inst{5-0} = minor; 69 class MSA_BIT_D_FMT<bits<3> major, bits<6> minor>: MSAInst { 79 let Inst{5-0} = minor; 82 class MSA_2R_FILL_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst { 90 let Inst{5-0} = minor; [all …]
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/util/ |
D | TlsProtocolVersion.java | 31 public final int minor; field in TlsProtocolVersion 33 private TlsProtocolVersion(int major, int minor, String name) { in TlsProtocolVersion() argument 35 this.minor = minor; in TlsProtocolVersion() 38 public static TlsProtocolVersion valueOf(int major, int minor) { in valueOf() argument 40 switch (minor) { in valueOf() 53 return new TlsProtocolVersion(major, minor, major + "." + minor); in valueOf() 57 int minor = in.readUnsignedByte(); in read() local 58 return TlsProtocolVersion.valueOf(major, minor); in read() 69 result = prime * result + minor; in hashCode() 87 if (minor != other.minor) { in equals()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/util/ |
D | TlsProtocolVersion.java | 29 public final int minor; field in TlsProtocolVersion 31 private TlsProtocolVersion(int major, int minor, String name) { in TlsProtocolVersion() argument 33 this.minor = minor; in TlsProtocolVersion() 36 public static TlsProtocolVersion valueOf(int major, int minor) { in valueOf() argument 38 switch (minor) { in valueOf() 51 return new TlsProtocolVersion(major, minor, major + "." + minor); in valueOf() 55 int minor = in.readUnsignedByte(); in read() local 56 return TlsProtocolVersion.valueOf(major, minor); in read() 67 result = prime * result + minor; in hashCode() 85 if (minor != other.minor) { in equals()
|
/external/apache-http/src/org/apache/http/ |
D | ProtocolVersion.java | 73 protected final int minor; field in ProtocolVersion 83 public ProtocolVersion(String protocol, int major, int minor) { in ProtocolVersion() argument 92 if (minor < 0) { in ProtocolVersion() 98 this.minor = minor; in ProtocolVersion() 125 return minor; in getMinor() 144 public ProtocolVersion forVersion(int major, int minor) { in forVersion() argument 146 if ((major == this.major) && (minor == this.minor)) { in forVersion() 151 return new ProtocolVersion(this.protocol, major, minor); in forVersion() 161 return this.protocol.hashCode() ^ (this.major * 100000) ^ this.minor; in hashCode() 189 (this.minor == that.minor)); in equals() [all …]
|
D | HttpVersion.java | 74 public HttpVersion(int major, int minor) { in HttpVersion() argument 75 super(HTTP, major, minor); in HttpVersion() 87 public ProtocolVersion forVersion(int major, int minor) { in forVersion() argument 89 if ((major == this.major) && (minor == this.minor)) { in forVersion() 94 if (minor == 0) { in forVersion() 97 if (minor == 1) { in forVersion() 101 if ((major == 0) && (minor == 9)) { in forVersion() 106 return new HttpVersion(major, minor); in forVersion()
|
/external/skqp/src/gpu/gl/ |
D | GrGLUtil.cpp | 72 int major, minor; in GrGLGetStandardInUseFromString() local 75 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString() 82 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString() 89 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString() 102 int major, minor, rev, driverMajor, driverMinor, driverPoint; in GrGLGetDriverInfo() local 118 (3 == sscanf(versionString, "OpenGL ES %d.%d %8s", &major, &minor, suffix) && in GrGLGetDriverInfo() 128 &major, &minor, &rev, &driverMajor, &driverMinor); in GrGLGetDriverInfo() 136 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo() 139 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo() 151 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo() [all …]
|
/external/angle/src/libANGLE/ |
D | Version.inc | 21 #undef minor 25 minor(minor_) 31 return std::tie(a.major, a.minor) == std::tie(b.major, b.minor); 36 return std::tie(a.major, a.minor) != std::tie(b.major, b.minor); 41 return std::tie(a.major, a.minor) >= std::tie(b.major, b.minor); 46 return std::tie(a.major, a.minor) <= std::tie(b.major, b.minor); 51 return std::tie(a.major, a.minor) < std::tie(b.major, b.minor); 56 return std::tie(a.major, a.minor) > std::tie(b.major, b.minor);
|
/external/skia/src/gpu/gl/ |
D | GrGLUtil.cpp | 73 int major, minor; in GrGLGetStandardInUseFromString() local 76 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString() 83 n = sscanf(versionString, "OpenGL ES %d.%d (WebGL %d.%d", &esMajor, &esMinor, &major, &minor); in GrGLGetStandardInUseFromString() 90 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString() 97 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString() 110 int major, minor, rev, driverMajor, driverMinor, driverPoint; in GrGLGetDriverInfo() local 126 (3 == sscanf(versionString, "OpenGL ES %d.%d %8s", &major, &minor, suffix) && in GrGLGetDriverInfo() 136 &major, &minor, &rev, &driverMajor, &driverMinor); in GrGLGetDriverInfo() 144 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo() 147 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo() [all …]
|
/external/rust/crates/syn/0.15.42/ |
D | build.rs | 14 if compiler.minor >= 17 { in main() 18 if compiler.minor >= 19 { in main() 22 if compiler.minor >= 20 { in main() 27 if compiler.minor >= 30 { in main() 37 minor: u32, field 67 let minor = match u32::from_str(next) { in rustc_version() localVariable 68 Ok(minor) => minor, in rustc_version() 73 minor: minor, in rustc_version()
|
/external/tensorflow/tensorflow/tools/ci_build/ |
D | update_version.py | 70 def __init__(self, major, minor, patch, identifier_string, version_type): argument 81 self.minor = minor 89 self.minor, 104 self.minor, 110 self.minor, 129 major, minor, extension = string.split(".", 2) 140 minor, 188 replace_string_in_line("#define TF_MINOR_VERSION %s" % old_version.minor, 189 "#define TF_MINOR_VERSION %s" % new_version.minor, 210 old_version.minor), [all …]
|
/external/mesa3d/src/vulkan/util/ |
D | vk_util.c | 35 int minor = minor_string ? atoi(minor_string + 1) : 0; in vk_get_driver_version() local 40 if (minor == 0) { in vk_get_driver_version() 41 minor = 99; in vk_get_driver_version() 44 --minor; in vk_get_driver_version() 48 return VK_MAKE_VERSION(major, minor, patch); in vk_get_driver_version() 61 int minor = minor_str ? atoi(minor_str + 1) : 0; in vk_get_version_override() local 65 if (major < 1 || minor < 0 || patch < 0 || minor > 1023 || patch > 4095) in vk_get_version_override() 68 return VK_MAKE_VERSION(major, minor, patch); in vk_get_version_override()
|
/external/deqp/external/vulkancts/scripts/ |
D | gen_ext_deps.py | 40 def VK_MAKE_VERSION(major, minor, patch): argument 41 return (((major) << 22) | ((minor) << 12) | (patch)) 66 for ( major, minor, ext, extDeps ) in extDepsDict: 68 yield '\tstd::make_tuple({}, {}, "{}", "{}"),'.format(major, minor, ext, dep) 74 for ( version, major, minor ) in apiVersions: 75 yield '\tstd::make_tuple({}, {}, {}),'.format(version, major, minor) 113 for (major,minor) in apiVersionID: 114 apiVersions.append((VK_MAKE_VERSION(major, minor, 0),major,minor)) 121 for (version,major,minor) in apiVersions: 126 allExtDepsDict[info.type].append( ( major, minor, ext, extDeps ) ) [all …]
|
/external/deqp/framework/opengl/ |
D | gluRenderContext.hpp | 79 ApiType (int major, int minor, Profile profile) : m_bits(pack(major, minor, profile)) {} in ApiType() argument 91 static ApiType es (int major, int minor) { return ApiType(major, minor, PROFILE_ES); } in es() argument 92 static ApiType core (int major, int minor) { return ApiType(major, minor, PROFILE_CORE); } in core() argument 93 …static ApiType compatibility (int major, int minor) { return ApiType(major, minor, PROFILE_COMPAT… in compatibility() argument 99 static deUint32 pack (int major, int minor, Profile profile); 116 inline deUint32 ApiType::pack (int major, int minor, Profile profile) in pack() argument 121 DE_ASSERT((deUint32(minor) & ~((1<<MINOR_BITS)-1)) == 0); in pack() 125 bits |= deUint32(minor) << MINOR_SHIFT; in pack() 147 ContextType (int major, int minor, Profile profile, ContextFlags flags = ContextFlags(0)); 168 inline ContextType::ContextType (int major, int minor, Profile profile, ContextFlags flags) in ContextType() argument [all …]
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/ |
D | py_utils.cc | 42 void GetLinkedTensorRTVersion(int* major, int* minor, int* patch) { in GetLinkedTensorRTVersion() argument 45 *minor = NV_TENSORRT_MINOR; in GetLinkedTensorRTVersion() 49 *minor = 0; in GetLinkedTensorRTVersion() 54 void GetLoadedTensorRTVersion(int* major, int* minor, int* patch) { in GetLoadedTensorRTVersion() argument 59 *minor = ver / 100; in GetLoadedTensorRTVersion() 60 *patch = ver - *minor * 100; in GetLoadedTensorRTVersion() 63 *minor = 0; in GetLoadedTensorRTVersion()
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | AbstractTestLog.java | 23 static public boolean isICUVersionBefore(int major, int minor) { in isICUVersionBefore() argument 24 return isICUVersionBefore(major, minor, 0); in isICUVersionBefore() 30 static public boolean isICUVersionBefore(int major, int minor, int milli) { in isICUVersionBefore() argument 31 return VersionInfo.ICU_VERSION.compareTo(VersionInfo.getInstance(major, minor, milli)) < 0; in isICUVersionBefore() 37 static public boolean isICUVersionAtLeast(int major, int minor) { in isICUVersionAtLeast() argument 38 return isICUVersionAtLeast(major, minor, 0); in isICUVersionAtLeast() 44 static public boolean isICUVersionAtLeast(int major, int minor, int milli) { in isICUVersionAtLeast() argument 45 return !isICUVersionBefore(major, minor, milli); in isICUVersionAtLeast()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | AbstractTestLog.java | 24 static public boolean isICUVersionBefore(int major, int minor) { in isICUVersionBefore() argument 25 return isICUVersionBefore(major, minor, 0); in isICUVersionBefore() 31 static public boolean isICUVersionBefore(int major, int minor, int milli) { in isICUVersionBefore() argument 32 return VersionInfo.ICU_VERSION.compareTo(VersionInfo.getInstance(major, minor, milli)) < 0; in isICUVersionBefore() 38 static public boolean isICUVersionAtLeast(int major, int minor) { in isICUVersionAtLeast() argument 39 return isICUVersionAtLeast(major, minor, 0); in isICUVersionAtLeast() 45 static public boolean isICUVersionAtLeast(int major, int minor, int milli) { in isICUVersionAtLeast() argument 46 return !isICUVersionBefore(major, minor, milli); in isICUVersionAtLeast()
|
/external/python/setuptools/setuptools/ |
D | pep425tags.py | 55 sys.pypy_version_info.minor) 160 def get_darwin_arches(major, minor, machine): argument 166 def _supports_arch(major, minor, arch): argument 189 return (major, minor) <= (10, 5) 191 return (major, minor) == (10, 5) 193 return (major, minor) >= (10, 4) 195 return (major, minor) >= (10, 5) 198 if _supports_arch(major, minor, garch): 209 if _supports_arch(major, minor, machine): 213 if machine in groups[garch] and _supports_arch(major, minor, garch): [all …]
|
/external/libiio/src/bindings/csharp/ |
D | Context.cs | 31 public readonly uint minor; field in iio.Version 34 internal Version(uint major, uint minor, string git_tag) in Version() argument 37 this.minor = minor; in Version() 74 …private static extern void iio_library_get_version(ref uint major, ref uint minor, [Out()] StringB… in iio_library_get_version() argument 77 …c extern int iio_context_get_version(IntPtr ctx, ref uint major, ref uint minor, [Out()] StringBui… in iio_context_get_version() argument 159 uint minor = 0; in Context() 161 iio_library_get_version(ref major, ref minor, builder); in Context() 162 library_version = new Version(major, minor, builder.ToString()); in Context() 165 minor = 0; in Context() 167 int err = iio_context_get_version(ctx, ref major, ref minor, builder); in Context() [all …]
|
/external/rust/crates/syn/1.0.7/ |
D | build.rs | 14 if compiler.minor < 36 { in main() 24 minor: u32, field 54 let minor = match u32::from_str(next) { in rustc_version() localVariable 55 Ok(minor) => minor, in rustc_version() 60 minor: minor, in rustc_version()
|
/external/cldr/tools/java/com/ibm/icu/dev/test/ |
D | AbstractTestLog.java | 20 static public boolean isICUVersionBefore(int major, int minor) { in isICUVersionBefore() argument 21 return isICUVersionBefore(major, minor, 0); in isICUVersionBefore() 27 static public boolean isICUVersionBefore(int major, int minor, int milli) { in isICUVersionBefore() argument 28 return VersionInfo.ICU_VERSION.compareTo(VersionInfo.getInstance(major, minor, milli)) < 0; in isICUVersionBefore() 34 static public boolean isICUVersionAtLeast(int major, int minor) { in isICUVersionAtLeast() argument 35 return isICUVersionAtLeast(major, minor, 0); in isICUVersionAtLeast() 41 static public boolean isICUVersionAtLeast(int major, int minor, int milli) { in isICUVersionAtLeast() argument 42 return !isICUVersionBefore(major, minor, milli); in isICUVersionAtLeast()
|