Home
last modified time | relevance | path

Searched refs:major (Results 1 – 25 of 718) sorted by relevance

12345678910>>...29

/external/harfbuzz_ng/test/api/
Dtest-version.c35 unsigned int major, minor, micro; in test_version() local
38 hb_version (&major, &minor, &micro); in test_version()
40 g_assert_cmpint (major, ==, HB_VERSION_MAJOR); 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()
50 if (major) in test_version()
51 g_assert (HB_VERSION_ATLEAST (major-1, minor, micro)); 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/opencv3/modules/calib3d/src/
Drho.cpp1919 …float major[3][8] = {{x2X2-x0X0,x2X2-x1X1,-x2X2 ,x2X2-x3X3,x2Y2-x0Y0,x2Y2-x1Y1,-x2Y2 ,x2Y2-x… in hFuncRefC() local
1934 major[0][1]=major[0][1]*scalar1-major[0][0]*scalar2; in hFuncRefC()
1935 major[1][1]=major[1][1]*scalar1-major[1][0]*scalar2; in hFuncRefC()
1936 major[2][1]=major[2][1]*scalar1-major[2][0]*scalar2; in hFuncRefC()
1938 major[0][5]=major[0][5]*scalar1-major[0][4]*scalar2; in hFuncRefC()
1939 major[1][5]=major[1][5]*scalar1-major[1][4]*scalar2; in hFuncRefC()
1940 major[2][5]=major[2][5]*scalar1-major[2][4]*scalar2; in hFuncRefC()
1945 major[0][3]=major[0][3]*scalar1-major[0][0]*scalar2; in hFuncRefC()
1946 major[1][3]=major[1][3]*scalar1-major[1][0]*scalar2; in hFuncRefC()
1947 major[2][3]=major[2][3]*scalar1-major[2][0]*scalar2; in hFuncRefC()
[all …]
/external/llvm/lib/Target/Mips/
DMipsMSAInstrFormats.td30 class MSA_BIT_B_FMT<bits<3> major, bits<6> minor>: MSAInst {
35 let Inst{25-23} = major;
43 class MSA_BIT_H_FMT<bits<3> major, bits<6> minor>: MSAInst {
48 let Inst{25-23} = major;
56 class MSA_BIT_W_FMT<bits<3> major, bits<6> minor>: MSAInst {
61 let Inst{25-23} = major;
69 class MSA_BIT_D_FMT<bits<3> major, bits<6> minor>: MSAInst {
74 let Inst{25-23} = major;
82 class MSA_2R_FILL_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst {
86 let Inst{25-18} = major;
[all …]
/external/skia/src/gpu/gl/
DGrGLUtil.cpp71 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/
DProtocolVersion.java70 protected final int major; field in ProtocolVersion
83 public ProtocolVersion(String protocol, int major, int minor) { in ProtocolVersion() argument
88 if (major < 0) { in ProtocolVersion()
97 this.major = major; in ProtocolVersion()
116 return major; in getMajor()
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()
188 (this.major == that.major) && in equals()
[all …]
DHttpVersion.java74 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()
93 if (major == 1) { in forVersion()
101 if ((major == 0) && (minor == 9)) { in forVersion()
106 return new HttpVersion(major, minor); in forVersion()
/external/dbus/dbus/
Ddbus-misc.c187 int major, minor, micro; in _dbus_misc_test() local
198 dbus_get_version (&major, &minor, &micro); in _dbus_misc_test()
200 _dbus_assert (major == DBUS_MAJOR_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/webrtc/webrtc/base/
Dwin32.h97 bool GetOsVersion(int* major, int* minor, int* build);
100 int major; in IsWindowsVistaOrLater() local
101 return (GetOsVersion(&major, NULL, NULL) && major >= kWindowsVista); in IsWindowsVistaOrLater()
105 int major, minor; in IsWindowsXpOrLater() local
106 return (GetOsVersion(&major, &minor, NULL) && in IsWindowsXpOrLater()
107 (major >= kWindowsVista || in IsWindowsXpOrLater()
108 (major == kWindows2000 && minor >= 1))); in IsWindowsXpOrLater()
112 int major, minor; in IsWindows8OrLater() local
113 return (GetOsVersion(&major, &minor, NULL) && in IsWindows8OrLater()
114 (major > kWindowsVista || in IsWindows8OrLater()
[all …]
Dmacutils.cc86 bool GetOSVersion(int* major, int* minor, int* bugfix) { in GetOSVersion() argument
87 ASSERT(major && minor && bugfix); in GetOSVersion()
88 if (!GetGestalt(gestaltSystemVersion, major)) { in GetOSVersion()
91 if (*major < 0x1040) { in GetOSVersion()
92 *bugfix = *major & 0xF; in GetOSVersion()
93 *minor = (*major >> 4) & 0xF; in GetOSVersion()
94 *major = (*major >> 8); in GetOSVersion()
97 return GetGestalt(gestaltSystemVersionMajor, major) && in GetOSVersion()
103 int major = 0, minor = 0, bugfix = 0; in GetOSVersionName() local
104 if (!GetOSVersion(&major, &minor, &bugfix)) { in GetOSVersionName()
[all …]
/external/chromium-trace/catapult/third_party/coverage/ci/
Dinstall.ps158 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() variable
69 if (($major -le 2 -and $micro -eq 0) ` in DownloadPython() variable
70 -or ($major -eq 3 -and $minor -le 2 -and $micro -eq 0) ` in DownloadPython() variable
72 $dir = "$major.$minor" in DownloadPython()
73 $python_version = "$major.$minor$prerelease" in DownloadPython()
75 $dir = "$major.$minor.$micro" in DownloadPython()
79 if (($major -le 2) ` in DownloadPython() variable
80 -or ($major -eq 3 -and $minor -eq 1) ` in DownloadPython() variable
[all …]
/external/deqp/framework/opengl/
DgluRenderContext.hpp74 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
115 DE_ASSERT((deUint32(major) & ~((1<<MAJOR_BITS)-1)) == 0); in pack()
119 bits |= deUint32(major) << MAJOR_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/eigen/doc/
DStorageOrders.dox5 …e two different storage orders for matrices and two-dimensional arrays: column-major and row-major.
11 \section TopicStorageOrdersIntro Column-major and row-major storage
16 We say that a matrix is stored in \b row-major order if it is stored row by row. The entire first r…
27 If this matrix is stored in row-major order, then the entries are laid out in memory as follows:
31 On the other hand, a matrix is stored in \b column-major order if it is stored column by column, st…
33 column-major order, it is laid out as follows:
56 parameter is set to \c RowMajor, then the matrix or array is stored in row-major order; if it is se…
57 \c ColMajor, then it is stored in column-major order. This mechanism is used in the above Eigen pro…
60 If the storage order is not specified, then Eigen defaults to storing the entry in column-major. Th…
65 the entries automatically. More generally, row-major and column-major matrices can be mixed in an e…
[all …]
/external/mesa3d/src/mesa/main/
Dversion.c41 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
183 major = 3; in compute_version()
187 major = 3; in compute_version()
191 major = 3; in compute_version()
195 major = 3; in compute_version()
199 major = 2; in compute_version()
203 major = 2; in compute_version()
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DAbstractTestLog.java19 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DAbstractTestLog.java20 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/opencv3/modules/core/src/
Dcuda_info.cpp144 bool hasPtx(int major, int minor) const;
145 bool hasBin(int major, int minor) const;
146 bool hasEqualOrLessPtx(int major, int minor) const;
147 bool hasEqualOrGreaterPtx(int major, int minor) const;
148 bool hasEqualOrGreaterBin(int major, int minor) const;
172 bool CudaArch::hasPtx(int major, int minor) const in hasPtx() argument
174 return std::find(ptx.begin(), ptx.end(), major * 10 + minor) != ptx.end(); in hasPtx()
177 bool CudaArch::hasBin(int major, int minor) const in hasBin() argument
179 return std::find(bin.begin(), bin.end(), major * 10 + minor) != bin.end(); in hasBin()
182 bool CudaArch::hasEqualOrLessPtx(int major, int minor) const in hasEqualOrLessPtx() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DVersionInfo.java245 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()
301 public static VersionInfo getInstance(int major) in getInstance() argument
303 return getInstance(major, 0, 0, 0); in getInstance()
525 private static int getInt(int major, int minor, int milli, int micro) in getInt() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVersionInfo.java273 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()
332 public static VersionInfo getInstance(int major) in getInstance() argument
334 return getInstance(major, 0, 0, 0); in getInstance()
562 private static int getInt(int major, int minor, int milli, int micro) in getInt() argument
[all …]
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_dri.c44 int major; member
68 if (cur->major > required->major && cur->major <= compat->major) in vmw_dri1_check_version()
70 if (cur->major == required->major && cur->minor >= required->minor) in vmw_dri1_check_version()
77 cur->major, in vmw_dri1_check_version()
79 cur->patch_level, required->major, required->minor, compat->major); in vmw_dri1_check_version()
97 drm_ver.major = ver->version_major; in svga_drm_winsys_screen_create()
/external/clang/lib/Basic/
DVersionTuple.cpp60 unsigned major = 0, minor = 0, micro = 0, build = 0; in tryParse() local
63 if (parseInt(input, major)) return true; in tryParse()
66 *this = VersionTuple(major); 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/rootdev/
Drootdev_test.sh109 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/harfbuzz_ng/src/
Dhb-version.h45 #define HB_VERSION_ATLEAST(major,minor,micro) \ argument
46 ((major)*10000+(minor)*100+(micro) <= \
51 hb_version (unsigned int *major,
59 hb_version_atleast (unsigned int major,
/external/v8/test/cctest/
Dtest-version.cc39 void SetVersion(int major, int minor, int build, int patch, in SetVersion() argument
41 Version::major_ = major; 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/
Dversion.py11 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/
Dsshhelp.pm405 my $major;
424 $major = $1;
428 $versnum = (100*$major) + (10*$minor) + $patch;
429 $versstr = "$sshid $major.$minor.$patch";
434 $major = $1;
438 $versnum = (100*$major) + (10*$minor) + $patch;
439 $versstr = "$sshid $major.$minor.$patch";

12345678910>>...29