/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/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/testing/src/main/java/libcore/tlswire/util/ |
D | TlsProtocolVersion.java | 28 public final int minor; field in TlsProtocolVersion 30 private TlsProtocolVersion(int major, int minor, String name) { in TlsProtocolVersion() argument 32 this.minor = minor; in TlsProtocolVersion() 35 public static TlsProtocolVersion valueOf(int major, int minor) { in valueOf() argument 37 switch (minor) { in valueOf() 48 return new TlsProtocolVersion(major, minor, major + "." + minor); in valueOf() 52 int minor = in.readUnsignedByte(); in read() local 53 return TlsProtocolVersion.valueOf(major, minor); in read() 64 result = prime * result + minor; in hashCode() 82 if (minor != other.minor) { in equals()
|
/external/skia/src/gpu/gl/ |
D | GrGLUtil.cpp | 71 int major, minor; in GrGLGetStandardInUseFromString() local 74 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString() 81 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString() 88 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString() 101 int major, minor, rev, driverMajor, driverMinor; in GrGLGetDriverInfo() local 117 (3 == sscanf(versionString, "OpenGL ES %d.%d %8s", &major, &minor, suffix) && in GrGLGetDriverInfo() 127 &major, &minor, &rev, &driverMajor, &driverMinor); in GrGLGetDriverInfo() 135 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo() 146 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo() 155 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo() [all …]
|
/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/deqp/framework/opengl/ |
D | gluRenderContext.hpp | 74 ApiType (int major, int minor, Profile profile) : m_bits(pack(major, minor, profile)) {} in ApiType() argument 86 static ApiType es (int major, int minor) { return ApiType(major, minor, PROFILE_ES); } in es() argument 87 static ApiType core (int major, int minor) { return ApiType(major, minor, PROFILE_CORE); } in core() argument 88 …static ApiType compatibility (int major, int minor) { return ApiType(major, minor, PROFILE_COMPAT… in compatibility() argument 94 static deUint32 pack (int major, int minor, Profile profile); 111 inline deUint32 ApiType::pack (int major, int minor, Profile profile) in pack() argument 116 DE_ASSERT((deUint32(minor) & ~((1<<MINOR_BITS)-1)) == 0); in pack() 120 bits |= deUint32(minor) << MINOR_SHIFT; in pack() 142 ContextType (int major, int minor, Profile profile, ContextFlags flags = ContextFlags(0)); 163 inline ContextType::ContextType (int major, int minor, Profile profile, ContextFlags flags) in ContextType() argument [all …]
|
/external/brotli/appveyor/ |
D | install.ps1 | 55 return ([int]$matches.major, [int]$matches.minor, [int]$matches.micro, in ParsePythonVersion() 59 return ($version_obj.major, $version_obj.minor, $version_obj.build, "") in ParsePythonVersion() 64 $major, $minor, $micro, $prerelease = ParsePythonVersion $python_version in DownloadPython() 67 -or ($major -eq 3 -and $minor -le 2 -and $micro -eq 0) ` in DownloadPython() 69 $dir = "$major.$minor" in DownloadPython() 70 $python_version = "$major.$minor$prerelease" in DownloadPython() 72 $dir = "$major.$minor.$micro" in DownloadPython() 77 -or ($major -eq 3 -and $minor -eq 1) ` in DownloadPython() 78 -or ($major -eq 3 -and $minor -eq 2) ` in DownloadPython() 79 -or ($major -eq 3 -and $minor -eq 3) ` in DownloadPython() [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/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() 237 GLuint major, minor, version; in compute_version() local 392 minor = 5; in compute_version() 396 minor = 4; in compute_version() 400 minor = 3; in compute_version() 404 minor = 2; in compute_version() 408 minor = 1; in compute_version() 412 minor = 0; in compute_version() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | VersionInfo.java | 281 public static VersionInfo getInstance(int major, int minor, int milli, in getInstance() argument 286 if (major < 0 || major > 255 || minor < 0 || minor > 255 || in getInstance() 290 int version = getInt(major, minor, milli, micro); in getInstance() 313 public static VersionInfo getInstance(int major, int minor, int milli) in getInstance() argument 315 return getInstance(major, minor, milli, 0); in getInstance() 327 public static VersionInfo getInstance(int major, int minor) in getInstance() argument 329 return getInstance(major, minor, 0, 0); in getInstance() 590 private static int getInt(int major, int minor, int milli, int micro) in getInt() argument 592 return (major << 24) | (minor << 16) | (milli << 8) | micro; in getInt() 607 int minor = ICU_VERSION.getMinor() + 1; in main() local [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | VersionInfo.java | 252 public static VersionInfo getInstance(int major, int minor, int milli, in getInstance() argument 257 if (major < 0 || major > 255 || minor < 0 || minor > 255 || in getInstance() 261 int version = getInt(major, minor, milli, micro); in getInstance() 283 public static VersionInfo getInstance(int major, int minor, int milli) in getInstance() argument 285 return getInstance(major, minor, milli, 0); in getInstance() 296 public static VersionInfo getInstance(int major, int minor) in getInstance() argument 298 return getInstance(major, minor, 0, 0); in getInstance() 551 private static int getInt(int major, int minor, int milli, int micro) in getInt() argument 553 return (major << 24) | (minor << 16) | (milli << 8) | micro; in getInt() 568 int minor = ICU_VERSION.getMinor() + 1; in main() local [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux_s390.cc | 125 unsigned int major, minor, patch = 0; in FixedCVE_2016_2143() local 134 minor = internal_simple_strtoll(ptr+1, &ptr, 10); in FixedCVE_2016_2143() 143 if (minor == 2 && patch >= 79) in FixedCVE_2016_2143() 146 if (minor == 12 && patch >= 58) in FixedCVE_2016_2143() 152 if (minor == 1 && patch >= 21) in FixedCVE_2016_2143() 155 if (minor == 4 && patch >= 6) in FixedCVE_2016_2143() 158 return minor >= 5; in FixedCVE_2016_2143()
|
/external/rootdev/ |
D | rootdev_test.sh | 109 out=$("${ROOTDEV}" --dev $dev --block $block --major 10 --minor 1 2>/dev/null) 120 out=$("${ROOTDEV}" --dev $dev --block $block --major 10 --minor 0 2>/dev/null) 132 out=$("${ROOTDEV}" --dev $dev --block $block --major 10 --minor 0 2>/dev/null) 144 out=$("${ROOTDEV}" -i --dev $dev --block $block --major 10 --minor 0 2>/dev/null) 169 out=$("${ROOTDEV}" --dev $dev --block $block --major 254 --minor 0 \ 182 out=$("${ROOTDEV}" -s --dev $dev --block $block --major 254 --minor 0 \ 195 out=$("${ROOTDEV}" -s --dev $dev --block $block --major 10 --minor 1 \ 211 out=$("${ROOTDEV}" -s --dev $dev --block $block --major 254 --minor 0 \ 227 out=$("${ROOTDEV}" -i -s --dev $dev --block $block --major 254 --minor 0 \ 253 out=$("${ROOTDEV}" --dev $dev --block $block --major 11 --minor 2 \ [all …]
|
/external/webrtc/webrtc/base/ |
D | win32.h | 97 bool GetOsVersion(int* major, int* minor, int* build); 105 int major, minor; in IsWindowsXpOrLater() local 106 return (GetOsVersion(&major, &minor, NULL) && in IsWindowsXpOrLater() 108 (major == kWindows2000 && minor >= 1))); in IsWindowsXpOrLater() 112 int major, minor; in IsWindows8OrLater() local 113 return (GetOsVersion(&major, &minor, NULL) && in IsWindows8OrLater() 115 (major == kWindowsVista && minor >= 2))); in IsWindows8OrLater()
|
D | macutils.cc | 86 bool GetOSVersion(int* major, int* minor, int* bugfix) { in GetOSVersion() argument 87 ASSERT(major && minor && bugfix); in GetOSVersion() 93 *minor = (*major >> 4) & 0xF; in GetOSVersion() 98 GetGestalt(gestaltSystemVersionMinor, minor) && in GetOSVersion() 103 int major = 0, minor = 0, bugfix = 0; in GetOSVersionName() local 104 if (!GetOSVersion(&major, &minor, &bugfix)) { in GetOSVersionName() 110 if ((major < 10) || (minor < 3)) { in GetOSVersionName() 113 switch (minor) { in GetOSVersionName()
|
/external/harfbuzz_ng/src/ |
D | hb-version.h | 45 #define HB_VERSION_ATLEAST(major,minor,micro) \ argument 46 ((major)*10000+(minor)*100+(micro) <= \ 52 unsigned int *minor, 60 unsigned int minor,
|
/external/skia/third_party/harfbuzz/ |
D | hb-version.h | 45 #define HB_VERSION_ATLEAST(major,minor,micro) \ argument 46 ((major)*10000+(minor)*100+(micro) <= \ 52 unsigned int *minor, 60 unsigned int minor,
|
/external/ltp/testcases/kernel/device-drivers/v4l/kernel_space/ |
D | video_dummy.c | 15 int minor = iminor(inode); in dummy_open() local 17 printk(KERN_DEBUG "video_dummy: open called (minor=%d)\n", minor); in dummy_open() 24 int minor = iminor(inode); in dummy_close() local 26 printk(KERN_DEBUG "video_dummy: close called (minor=%d)\n", minor); in dummy_close() 68 .minor = -1,
|
/external/curl/tests/ |
D | sshhelp.pm | 406 my $minor; 425 $minor = $2; 428 $versnum = (100*$major) + (10*$minor) + $patch; 429 $versstr = "$sshid $major.$minor.$patch"; 435 $minor = $2; 438 $versnum = (100*$major) + (10*$minor) + $patch; 439 $versstr = "$sshid $major.$minor.$patch";
|
/external/clang/lib/Basic/ |
D | VersionTuple.cpp | 60 unsigned major = 0, minor = 0, micro = 0, build = 0; in tryParse() local 73 if (parseInt(input, minor)) return true; in tryParse() 76 *this = VersionTuple(major, minor); in tryParse() 86 *this = VersionTuple(major, minor, micro); in tryParse() 98 *this = VersionTuple(major, minor, micro, build); in tryParse()
|
/external/strace/tests/ |
D | ustat.c | 59 major(dev), minor(dev), ust, sprintrc(rc)); in main() 63 major(dev), minor(dev), in main() 71 major(dev), minor(dev), sprintrc(rc)); in main() 75 major(dev), minor(dev), buf, sprintrc(rc)); in main()
|
/external/strace/tests-mx32/ |
D | ustat.c | 59 major(dev), minor(dev), ust, sprintrc(rc)); in main() 63 major(dev), minor(dev), in main() 71 major(dev), minor(dev), sprintrc(rc)); in main() 75 major(dev), minor(dev), buf, sprintrc(rc)); in main()
|