Home
last modified time | relevance | path

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

12345678910>>...66

/external/ltp/testcases/kernel/device-drivers/block/block_dev_kernel/
Dltp_block_dev.c111 int major[MAX_MAJOR + 1]; in tc02() local
121 memset(major, 0, sizeof(major)); in tc02()
123 for (i = 0; i < sizeof(major) / sizeof(*major); ++i) { in tc02()
124 major[i] = register_blkdev(0, BLK_DEV_NAME); in tc02()
125 prk_debug("major[%i] = %i\n", i, major[i]); in tc02()
127 if (major[i] == -EBUSY) { in tc02()
129 major[i]); in tc02()
130 } else if (major[i] < 0) { in tc02()
132 major[i]); in tc02()
137 for (i = 0; i < sizeof(major) / sizeof(*major); ++i) { in tc02()
[all …]
/external/libpcap/pcap/
Dcompiler-tests.h83 #define PCAP_IS_AT_LEAST_GNUC_VERSION(major, minor) 0 argument
85 #define PCAP_IS_AT_LEAST_GNUC_VERSION(major, minor) \ argument
86 (__GNUC__ > (major) || \
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
98 (__clang_major__ > (major) || \
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
[all …]
/external/brotli/c/include/brotli/
Dport.h17 #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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsMSAInstrFormats.td31 class MSA_BIT_B_FMT<bits<3> major, bits<6> minor>: MSAInst {
36 let Inst{25-23} = major;
44 class MSA_BIT_H_FMT<bits<3> major, bits<6> minor>: MSAInst {
49 let Inst{25-23} = major;
57 class MSA_BIT_W_FMT<bits<3> major, bits<6> minor>: MSAInst {
62 let Inst{25-23} = major;
70 class MSA_BIT_D_FMT<bits<3> major, bits<6> minor>: MSAInst {
75 let Inst{25-23} = major;
83 class MSA_2R_FILL_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst {
87 let Inst{25-18} = major;
[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/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/util/
DTlsProtocolVersion.java30 public final int major; field in TlsProtocolVersion
33 private TlsProtocolVersion(int major, int minor, String name) { in TlsProtocolVersion() argument
34 this.major = major; in TlsProtocolVersion()
38 public static TlsProtocolVersion valueOf(int major, int minor) { in valueOf() argument
39 if (major == 3) { in valueOf()
53 return new TlsProtocolVersion(major, minor, major + "." + minor); in valueOf()
56 int major = in.readUnsignedByte(); in read() local
58 return TlsProtocolVersion.valueOf(major, minor); in read()
68 result = prime * result + major; in hashCode()
84 if (major != other.major) { in equals()
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/util/
DTlsProtocolVersion.java28 public final int major; field in TlsProtocolVersion
31 private TlsProtocolVersion(int major, int minor, String name) { in TlsProtocolVersion() argument
32 this.major = major; in TlsProtocolVersion()
36 public static TlsProtocolVersion valueOf(int major, int minor) { in valueOf() argument
37 if (major == 3) { in valueOf()
51 return new TlsProtocolVersion(major, minor, major + "." + minor); in valueOf()
54 int major = in.readUnsignedByte(); in read() local
56 return TlsProtocolVersion.valueOf(major, minor); in read()
66 result = prime * result + major; in hashCode()
82 if (major != other.major) { in equals()
/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/skqp/src/gpu/gl/
DGrGLUtil.cpp72 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/angle/src/libANGLE/
DVersion.inc20 #undef major
24 : major(major_),
31 return std::tie(a.major, a.minor) == std::tie(b.major, b.minor);
36 return std::tie(a.major, a.minor) != std::tie(b.major, b.minor);
41 return std::tie(a.major, a.minor) >= std::tie(b.major, b.minor);
46 return std::tie(a.major, a.minor) <= std::tie(b.major, b.minor);
51 return std::tie(a.major, a.minor) < std::tie(b.major, b.minor);
56 return std::tie(a.major, a.minor) > std::tie(b.major, b.minor);
/external/skia/src/gpu/gl/
DGrGLUtil.cpp73 int major, minor; in GrGLGetStandardInUseFromString() local
76 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
83 n = sscanf(versionString, "OpenGL ES %d.%d (WebGL %d.%d", &esMajor, &esMinor, &major, &minor); in GrGLGetStandardInUseFromString()
90 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString()
97 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
110 int major, minor, rev, driverMajor, driverMinor, driverPoint; in GrGLGetDriverInfo() local
126 (3 == sscanf(versionString, "OpenGL ES %d.%d %8s", &major, &minor, suffix) && in GrGLGetDriverInfo()
136 &major, &minor, &rev, &driverMajor, &driverMinor); in GrGLGetDriverInfo()
144 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo()
147 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo()
[all …]
/external/tensorflow/tensorflow/tools/ci_build/
Dupdate_version.py70 def __init__(self, major, minor, patch, identifier_string, version_type): argument
80 self.major = major
88 self.string = "%s.%s.%s%s" % (self.major,
103 return_string = "%s.%s.%s%s" % (self.major,
109 return_string = "%s.%s.%s" % (self.major,
129 major, minor, extension = string.split(".", 2)
139 return Version(major,
185 replace_string_in_line("#define TF_MAJOR_VERSION %s" % old_version.major,
186 "#define TF_MAJOR_VERSION %s" % new_version.major,
209 replace_string_in_line(r"%s\.%s\.([[:alnum:]]+)-" % (old_version.major,
[all …]
/external/deqp/external/vulkancts/scripts/
Dgen_ext_deps.py40 def VK_MAKE_VERSION(major, minor, patch): argument
41 return (((major) << 22) | ((minor) << 12) | (patch))
66 for ( major, minor, ext, extDeps ) in extDepsDict:
68 yield '\tstd::make_tuple({}, {}, "{}", "{}"),'.format(major, minor, ext, dep)
74 for ( version, major, minor ) in apiVersions:
75 yield '\tstd::make_tuple({}, {}, {}),'.format(version, major, minor)
113 for (major,minor) in apiVersionID:
114 apiVersions.append((VK_MAKE_VERSION(major, minor, 0),major,minor))
121 for (version,major,minor) in apiVersions:
126 allExtDepsDict[info.type].append( ( major, minor, ext, extDeps ) )
[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/python/setuptools/setuptools/
Dpep425tags.py54 return (sys.version_info[0], sys.pypy_version_info.major,
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/deqp/framework/opengl/
DgluRenderContext.hpp79 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
120 DE_ASSERT((deUint32(major) & ~((1<<MAJOR_BITS)-1)) == 0); in pack()
124 bits |= deUint32(major) << MAJOR_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/
Dpy_utils.cc42 void GetLinkedTensorRTVersion(int* major, int* minor, int* patch) { in GetLinkedTensorRTVersion() argument
44 *major = NV_TENSORRT_MAJOR; in GetLinkedTensorRTVersion()
48 *major = 0; in GetLinkedTensorRTVersion()
54 void GetLoadedTensorRTVersion(int* major, int* minor, int* patch) { in GetLoadedTensorRTVersion() argument
57 *major = ver / 1000; in GetLoadedTensorRTVersion()
58 ver = ver - *major * 1000; in GetLoadedTensorRTVersion()
62 *major = 0; in GetLoadedTensorRTVersion()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dtransport_security_common_api.cc35 versions->max_rpc_version.major = max_major; in grpc_gcp_rpc_protocol_versions_set_max()
52 versions->min_rpc_version.major = min_major; in grpc_gcp_rpc_protocol_versions_set_min()
138 grpc_gcp_rpc_protocol_versions_set_max(dst, src->max_rpc_version.major, in grpc_gcp_rpc_protocol_versions_copy()
140 grpc_gcp_rpc_protocol_versions_set_min(dst, src->min_rpc_version.major, in grpc_gcp_rpc_protocol_versions_copy()
151 if ((v1->major > v2->major) || in grpc_gcp_rpc_protocol_version_compare()
152 (v1->major == v2->major && v1->minor > v2->minor)) { in grpc_gcp_rpc_protocol_version_compare()
155 if ((v1->major < v2->major) || in grpc_gcp_rpc_protocol_version_compare()
156 (v1->major == v2->major && v1->minor < v2->minor)) { in grpc_gcp_rpc_protocol_version_compare()
/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/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/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/openssh/
Dgss-genr.c103 *major_status = ctxt->major; in ssh_gssapi_last_error()
110 gss_display_status(&lmin, ctxt->major, in ssh_gssapi_last_error()
200 ctx->major = gss_init_sec_context(&ctx->minor, in ssh_gssapi_init_ctx()
205 if (GSS_ERROR(ctx->major)) in ssh_gssapi_init_ctx()
208 return (ctx->major); in ssh_gssapi_init_ctx()
222 if ((ctx->major = gss_import_name(&ctx->minor, in ssh_gssapi_import_name()
227 return (ctx->major); in ssh_gssapi_import_name()
233 if ((ctx->major = gss_get_mic(&ctx->minor, ctx->context, in ssh_gssapi_sign()
237 return (ctx->major); in ssh_gssapi_sign()
256 OM_uint32 major, minor; in ssh_gssapi_check_mechanism() local
[all …]

12345678910>>...66