/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/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/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/skia/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/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/tensorflow/tensorflow/tools/ci_build/ |
D | update_version.py | 77 def __init__(self, major, minor, patch, identifier_string, version_type): argument 88 self.minor = minor 96 self.minor, 111 self.minor, 117 self.minor, 136 major, minor, extension = string.split(".", 2) 147 minor, 195 replace_string_in_line("#define TF_MINOR_VERSION %s" % old_version.minor, 196 "#define TF_MINOR_VERSION %s" % new_version.minor, 217 old_version.minor), [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 | 38 void GetLinkedTensorRTVersion(int* major, int* minor, int* patch) { in GetLinkedTensorRTVersion() argument 41 *minor = NV_TENSORRT_MINOR; in GetLinkedTensorRTVersion() 45 *minor = 0; in GetLinkedTensorRTVersion() 50 void GetLoadedTensorRTVersion(int* major, int* minor, int* patch) { in GetLoadedTensorRTVersion() argument 55 *minor = ver / 100; in GetLoadedTensorRTVersion() 56 *patch = ver - *minor * 100; in GetLoadedTensorRTVersion() 59 *minor = 0; in GetLoadedTensorRTVersion()
|
/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/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/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/syzkaller/vendor/golang.org/x/sys/unix/ |
D | dev_netbsd.go | 17 minor := uint32((dev & 0x000000ff) >> 0) 18 minor |= uint32((dev & 0xfff00000) >> 12) 19 return minor 24 func Mkdev(major, minor uint32) uint64 { 26 dev |= (uint64(minor) << 12) & 0xfff00000 27 dev |= (uint64(minor) << 0) & 0x000000ff
|
D | dev_openbsd.go | 17 minor := uint32((dev & 0x000000ff) >> 0) 18 minor |= uint32((dev & 0xffff0000) >> 8) 19 return minor 24 func Mkdev(major, minor uint32) uint64 { 26 dev |= (uint64(minor) << 8) & 0xffff0000 27 dev |= (uint64(minor) << 0) & 0x000000ff
|
D | dev_linux.go | 29 minor := uint32((dev & 0x00000000000000ff) >> 0) 30 minor |= uint32((dev & 0x00000ffffff00000) >> 12) 31 return minor 36 func Mkdev(major, minor uint32) uint64 { 39 dev |= (uint64(minor) & 0x000000ff) << 0 40 dev |= (uint64(minor) & 0xffffff00) << 12
|
/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()
|
/external/mesa3d/src/mesa/main/ |
D | version.c | 61 int major, minor, n; in get_gl_override() local 86 n = sscanf(version_str, "%u.%u", &major, &minor); in get_gl_override() 92 override[api].version = major * 10 + minor; in get_gl_override() 242 GLuint major, minor, version; in compute_version() local 409 minor = 6; in compute_version() 413 minor = 5; in compute_version() 417 minor = 4; in compute_version() 421 minor = 3; in compute_version() 425 minor = 2; in compute_version() 429 minor = 1; in compute_version() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | VersionInfo.java | 293 public static VersionInfo getInstance(int major, int minor, int milli, in getInstance() argument 298 if (major < 0 || major > 255 || minor < 0 || minor > 255 || in getInstance() 302 int version = getInt(major, minor, milli, micro); in getInstance() 325 public static VersionInfo getInstance(int major, int minor, int milli) in getInstance() argument 327 return getInstance(major, minor, milli, 0); in getInstance() 339 public static VersionInfo getInstance(int major, int minor) in getInstance() argument 341 return getInstance(major, minor, 0, 0); in getInstance() 604 private static int getInt(int major, int minor, int milli, int micro) in getInt() argument 606 return (major << 24) | (minor << 16) | (milli << 8) | micro; in getInt() 621 int minor = ICU_VERSION.getMinor() + 1; in main() local [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | VersionInfo.java | 262 public static VersionInfo getInstance(int major, int minor, int milli, in getInstance() argument 267 if (major < 0 || major > 255 || minor < 0 || minor > 255 || in getInstance() 271 int version = getInt(major, minor, milli, micro); in getInstance() 293 public static VersionInfo getInstance(int major, int minor, int milli) in getInstance() argument 295 return getInstance(major, minor, milli, 0); in getInstance() 306 public static VersionInfo getInstance(int major, int minor) in getInstance() argument 308 return getInstance(major, minor, 0, 0); in getInstance() 563 private static int getInt(int major, int minor, int milli, int micro) in getInt() argument 565 return (major << 24) | (minor << 16) | (milli << 8) | micro; in getInt() 580 int minor = ICU_VERSION.getMinor() + 1; in main() local [all …]
|