Home
last modified time | relevance | path

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

12345678910>>...35

/external/ltp/testcases/kernel/device-drivers/block/block_dev_kernel/
Dltp_block_dev.c123 int major[MAX_MAJOR + 1]; in tc02() local
133 memset(major, 0, sizeof(major)); in tc02()
135 for (i = 0; i < sizeof(major) / sizeof(*major); ++i) { in tc02()
136 major[i] = register_blkdev(0, BLK_DEV_NAME); in tc02()
137 prk_debug("major[%i] = %i\n", i, major[i]); in tc02()
139 if (major[i] == -EBUSY) { in tc02()
141 major[i]); in tc02()
142 } else if (major[i] < 0) { in tc02()
144 major[i]); in tc02()
149 for (i = 0; i < sizeof(major) / sizeof(*major); ++i) { in tc02()
[all …]
/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/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
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/
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/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/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/openssh/
Dgss-genr.c104 *major_status = ctxt->major; in ssh_gssapi_last_error()
111 gss_display_status(&lmin, ctxt->major, in ssh_gssapi_last_error()
201 ctx->major = gss_init_sec_context(&ctx->minor, in ssh_gssapi_init_ctx()
206 if (GSS_ERROR(ctx->major)) in ssh_gssapi_init_ctx()
209 return (ctx->major); in ssh_gssapi_init_ctx()
223 if ((ctx->major = gss_import_name(&ctx->minor, in ssh_gssapi_import_name()
228 return (ctx->major); in ssh_gssapi_import_name()
234 if ((ctx->major = gss_get_mic(&ctx->minor, ctx->context, in ssh_gssapi_sign()
238 return (ctx->major); in ssh_gssapi_sign()
257 OM_uint32 major, minor; in ssh_gssapi_check_mechanism() local
[all …]
Dgss-serv.c116 return (ctx->major); in ssh_gssapi_acquire_cred()
119 if ((ctx->major = gss_acquire_cred(&ctx->minor, in ssh_gssapi_acquire_cred()
125 return (ctx->major); in ssh_gssapi_acquire_cred()
183 ctx->major = gss_accept_sec_context(&ctx->minor, in ssh_gssapi_accept_ctx()
188 if (GSS_ERROR(ctx->major)) in ssh_gssapi_accept_ctx()
196 status = ctx->major; in ssh_gssapi_accept_ctx()
203 (*flags & GSS_C_INTEG_FLAG))) && (ctx->major == GSS_S_COMPLETE)) { in ssh_gssapi_accept_ctx()
296 if ((ctx->major = gss_display_name(&ctx->minor, ctx->client, in ssh_gssapi_getclient()
299 return (ctx->major); in ssh_gssapi_getclient()
302 if ((ctx->major = gss_export_name(&ctx->minor, ctx->client, in ssh_gssapi_getclient()
[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/android_icu4j/src/main/tests/android/icu/dev/test/
DAbstractTestLog.java24 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/
DAbstractTestLog.java23 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/java/android/icu/util/
DVersionInfo.java252 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()
308 public static VersionInfo getInstance(int major) in getInstance() argument
310 return getInstance(major, 0, 0, 0); in getInstance()
551 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.java281 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()
340 public static VersionInfo getInstance(int major) in getInstance() argument
342 return getInstance(major, 0, 0, 0); in getInstance()
590 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/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/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/skia/third_party/harfbuzz/
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/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/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";
/external/ImageMagick/MagickCore/
DMagickCore.h51 #define MAGICKCORE_CHECK_VERSION(major,minor,micro) \ argument
52 ((MAGICKCORE_MAJOR_VERSION > (major)) || \
53 ((MAGICKCORE_MAJOR_VERSION == (major)) && \
55 ((MAGICKCORE_MAJOR_VERSION == (major)) && \
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_s390.cc125 unsigned int major, minor, patch = 0; in FixedCVE_2016_2143() local
130 major = internal_simple_strtoll(ptr, &ptr, 10); in FixedCVE_2016_2143()
138 if (major < 3) { in FixedCVE_2016_2143()
141 } else if (major == 3) { in FixedCVE_2016_2143()
150 } else if (major == 4) { in FixedCVE_2016_2143()

12345678910>>...35