/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/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 115 &major, &minor, &rev, &driverMajor, &driverMinor); in GrGLGetDriverInfo() 124 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo() 135 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo() 144 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo() 152 n = sscanf(versionString, "OpenGL ES %d.%d (ANGLE %d.%d", &major, &minor, &driverMajor, 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/ltrace/ |
D | .gitignore | 40 testsuite/ltrace.minor/attach-process 41 testsuite/ltrace.minor/count-record 42 testsuite/ltrace.minor/demangle 43 testsuite/ltrace.minor/libdl-simple 44 testsuite/ltrace.minor/print-instruction-pointer 45 testsuite/ltrace.minor/time-record-T 46 testsuite/ltrace.minor/time-record-tt 47 testsuite/ltrace.minor/time-record-ttt 48 testsuite/ltrace.minor/trace-clone 49 testsuite/ltrace.minor/trace-exec [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/ |
D | Version.java | 50 public static boolean isHigher (int major, int minor, int revision) { 51 return isHigherEqual(major, minor, revision+1); 54 public static boolean isHigherEqual (int major, int minor, int revision) { 57 if (MINOR != minor) 58 return MINOR > minor; 62 public static boolean isLower (int major, int minor, int revision) { in isLower() argument 63 return isLowerEqual(major, minor, revision-1); in isLower() 66 public static boolean isLowerEqual (int major, int minor, int revision) { in isLowerEqual() argument 69 if (MINOR != minor) in isLowerEqual() 70 return MINOR < minor; in isLowerEqual()
|
/external/dbus/dbus/ |
D | dbus-misc.c | 187 int major, minor, micro; in _dbus_misc_test() local 198 dbus_get_version (&major, &minor, µ); in _dbus_misc_test() 201 _dbus_assert (minor == DBUS_MINOR_VERSION); in _dbus_misc_test() 216 _dbus_assert (MAKE_VERSION (major, minor, micro) == DBUS_VERSION); in _dbus_misc_test() 219 _dbus_assert (MAKE_VERSION (major - 1, minor, micro) < DBUS_VERSION); in _dbus_misc_test() 220 _dbus_assert (MAKE_VERSION (major, minor - 1, micro) < DBUS_VERSION); in _dbus_misc_test() 221 _dbus_assert (MAKE_VERSION (major, minor, micro - 1) < DBUS_VERSION); in _dbus_misc_test() 223 _dbus_assert (MAKE_VERSION (major + 1, minor, micro) > DBUS_VERSION); in _dbus_misc_test() 224 _dbus_assert (MAKE_VERSION (major, minor + 1, micro) > DBUS_VERSION); in _dbus_misc_test() 225 _dbus_assert (MAKE_VERSION (major, minor, micro + 1) > DBUS_VERSION); in _dbus_misc_test() [all …]
|
/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/mesa3d/src/mesa/main/ |
D | version.c | 41 int major, minor; in override_version() local 48 n = sscanf(version, "%u.%u", &major, &minor); in override_version() 54 ctx->Version = major * 10 + minor; in override_version() 87 GLuint major, minor; in compute_version() local 184 minor = 3; in compute_version() 188 minor = 2; in compute_version() 192 minor = 1; in compute_version() 196 minor = 0; in compute_version() 200 minor = 1; in compute_version() 204 minor = 0; in compute_version() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/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/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | AbstractTestLog.java | 19 static public boolean isICUVersionBefore(int major, int minor) { in isICUVersionBefore() argument 20 return isICUVersionBefore(major, minor, 0); in isICUVersionBefore() 26 static public boolean isICUVersionBefore(int major, int minor, int milli) { in isICUVersionBefore() argument 27 return VersionInfo.ICU_VERSION.compareTo(VersionInfo.getInstance(major, minor, milli)) < 0; in isICUVersionBefore() 33 static public boolean isICUVersionAtLeast(int major, int minor) { in isICUVersionAtLeast() argument 34 return isICUVersionAtLeast(major, minor, 0); in isICUVersionAtLeast() 40 static public boolean isICUVersionAtLeast(int major, int minor, int milli) { in isICUVersionAtLeast() argument 41 return !isICUVersionBefore(major, minor, milli); in isICUVersionAtLeast()
|
/external/chromium-trace/catapult/third_party/coverage/ci/ |
D | install.ps1 | 58 return ([int]$matches.major, [int]$matches.minor, [int]$matches.micro, in ParsePythonVersion() 62 return ($version_obj.major, $version_obj.minor, $version_obj.build, "") in ParsePythonVersion() 67 $major, $minor, $micro, $prerelease = ParsePythonVersion $python_version in DownloadPython() 70 -or ($major -eq 3 -and $minor -le 2 -and $micro -eq 0) ` in DownloadPython() 72 $dir = "$major.$minor" in DownloadPython() 73 $python_version = "$major.$minor$prerelease" in DownloadPython() 75 $dir = "$major.$minor.$micro" in DownloadPython() 80 -or ($major -eq 3 -and $minor -eq 1) ` in DownloadPython() 81 -or ($major -eq 3 -and $minor -eq 2) ` in DownloadPython() 82 -or ($major -eq 3 -and $minor -eq 3) ` in DownloadPython() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | VersionInfo.java | 273 public static VersionInfo getInstance(int major, int minor, int milli, in getInstance() argument 278 if (major < 0 || major > 255 || minor < 0 || minor > 255 || in getInstance() 282 int version = getInt(major, minor, milli, micro); in getInstance() 305 public static VersionInfo getInstance(int major, int minor, int milli) in getInstance() argument 307 return getInstance(major, minor, milli, 0); in getInstance() 319 public static VersionInfo getInstance(int major, int minor) in getInstance() argument 321 return getInstance(major, minor, 0, 0); in getInstance() 562 private static int getInt(int major, int minor, int milli, int micro) in getInt() argument 564 return (major << 24) | (minor << 16) | (milli << 8) | micro; in getInt() 579 int minor = ICU_VERSION.getMinor() + 1; in main() local [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | VersionInfo.java | 245 public static VersionInfo getInstance(int major, int minor, int milli, in getInstance() argument 250 if (major < 0 || major > 255 || minor < 0 || minor > 255 || in getInstance() 254 int version = getInt(major, minor, milli, micro); in getInstance() 276 public static VersionInfo getInstance(int major, int minor, int milli) in getInstance() argument 278 return getInstance(major, minor, milli, 0); in getInstance() 289 public static VersionInfo getInstance(int major, int minor) in getInstance() argument 291 return getInstance(major, minor, 0, 0); in getInstance() 525 private static int getInt(int major, int minor, int milli, int micro) in getInt() argument 527 return (major << 24) | (minor << 16) | (milli << 8) | micro; in getInt() 542 int minor = ICU_VERSION.getMinor() + 1; in main() local [all …]
|
/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/v8/test/cctest/ |
D | test-version.cc | 39 void SetVersion(int major, int minor, int build, int patch, in SetVersion() argument 42 Version::minor_ = minor; in SetVersion() 53 static void CheckVersion(int major, int minor, int build, in CheckVersion() argument 61 SetVersion(major, minor, build, patch, candidate, ""); in CheckVersion() 69 SetVersion(major, minor, build, patch, candidate, soname); in CheckVersion()
|
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
D | version.py | 11 def _make_version(major, minor, micro, releaselevel, serial): argument 14 version = "%d.%d" % (major, minor) 23 def _make_url(major, minor, micro, releaselevel, serial): argument 28 url += "/en/coverage-" + _make_version(major, minor, micro, releaselevel, serial)
|
/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/vixl/src/vixl/ |
D | compiler-intrinsics.h | 40 #define GCC_VERSION_OR_NEWER(major, minor, patchlevel) \ argument 42 ((major) * MAJOR + (minor) * MINOR + (patchlevel))) 44 #define GCC_VERSION_OR_NEWER(major, minor, patchlevel) \ 46 ((major) * MAJOR + (minor) * MINOR + (patchlevel))) 48 #define GCC_VERSION_OR_NEWER(major, minor, patchlevel) 0
|