Home
last modified time | relevance | path

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

12345678910>>...31

/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.td40 class MSA_BIT_B_FMT<bits<3> major, bits<6> minor>: MSAInst {
45 let Inst{25-23} = major;
53 class MSA_BIT_H_FMT<bits<3> major, bits<6> minor>: MSAInst {
58 let Inst{25-23} = major;
66 class MSA_BIT_W_FMT<bits<3> major, bits<6> minor>: MSAInst {
71 let Inst{25-23} = major;
79 class MSA_BIT_D_FMT<bits<3> major, bits<6> minor>: MSAInst {
84 let Inst{25-23} = major;
92 class MSA_2R_FILL_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst {
96 let Inst{25-18} = major;
[all …]
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGLUtil.cpp56 bool get_gl_version_for_mesa(int mesaMajorVersion, int* major, int* minor) { in get_gl_version_for_mesa() argument
63 *major = 1; in get_gl_version_for_mesa()
67 *major = 2; in get_gl_version_for_mesa()
71 *major = 3; in get_gl_version_for_mesa()
75 *major = 3; in get_gl_version_for_mesa()
79 *major = 3; in get_gl_version_for_mesa()
106 int major, minor; in GrGLGetStandardInUseFromString() local
109 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
116 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString()
123 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
[all …]
/external/skia/src/gpu/gl/
DGrGLUtil.cpp56 bool get_gl_version_for_mesa(int mesaMajorVersion, int* major, int* minor) { in get_gl_version_for_mesa() argument
63 *major = 1; in get_gl_version_for_mesa()
67 *major = 2; in get_gl_version_for_mesa()
71 *major = 3; in get_gl_version_for_mesa()
75 *major = 3; in get_gl_version_for_mesa()
79 *major = 3; in get_gl_version_for_mesa()
106 int major, minor; in GrGLGetStandardInUseFromString() local
109 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
116 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString()
123 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
[all …]
/external/apache-http/src/org/apache/http/
DProtocolVersion.java65 protected final int major; field in ProtocolVersion
78 public ProtocolVersion(String protocol, int major, int minor) { in ProtocolVersion() argument
83 if (major < 0) { in ProtocolVersion()
92 this.major = major; in ProtocolVersion()
111 return major; in getMajor()
139 public ProtocolVersion forVersion(int major, int minor) { in forVersion() argument
141 if ((major == this.major) && (minor == this.minor)) { in forVersion()
146 return new ProtocolVersion(this.protocol, major, minor); in forVersion()
156 return this.protocol.hashCode() ^ (this.major * 100000) ^ this.minor; in hashCode()
183 (this.major == that.major) && in equals()
[all …]
DHttpVersion.java69 public HttpVersion(int major, int minor) { in HttpVersion() argument
70 super(HTTP, major, minor); in HttpVersion()
82 public ProtocolVersion forVersion(int major, int minor) { in forVersion() argument
84 if ((major == this.major) && (minor == this.minor)) { in forVersion()
88 if (major == 1) { in forVersion()
96 if ((major == 0) && (minor == 9)) { in forVersion()
101 return new HttpVersion(major, minor); in forVersion()
/external/deqp/framework/opengl/
DgluRenderContext.hpp74 ApiType (int major, int minor, Profile profile) : m_bits(pack(major, minor, profile)) {} in ApiType() argument
84 static ApiType es (int major, int minor) { return ApiType(major, minor, PROFILE_ES); } in es() argument
85 static ApiType core (int major, int minor) { return ApiType(major, minor, PROFILE_CORE); } in core() argument
86 …static ApiType compatibility (int major, int minor) { return ApiType(major, minor, PROFILE_COMPAT… in compatibility() argument
92 static deUint32 pack (int major, int minor, Profile profile);
109 inline deUint32 ApiType::pack (int major, int minor, Profile profile) in pack() argument
113 DE_ASSERT((deUint32(major) & ~((1<<MAJOR_BITS)-1)) == 0); in pack()
117 bits |= deUint32(major) << MAJOR_SHIFT; in pack()
140 ContextType (int major, int minor, Profile profile, ContextFlags flags = ContextFlags(0));
161 inline ContextType::ContextType (int major, int minor, Profile profile, ContextFlags flags) in ContextType() argument
[all …]
/external/chromium_org/third_party/libjingle/source/talk/base/
Dmacutils.cc103 bool GetOSVersion(int* major, int* minor, int* bugfix) { in GetOSVersion() argument
104 ASSERT(major && minor && bugfix); in GetOSVersion()
105 if (!GetGestalt(gestaltSystemVersion, major)) { in GetOSVersion()
108 if (*major < 0x1040) { in GetOSVersion()
109 *bugfix = *major & 0xF; in GetOSVersion()
110 *minor = (*major >> 4) & 0xF; in GetOSVersion()
111 *major = (*major >> 8); in GetOSVersion()
114 return GetGestalt(gestaltSystemVersionMajor, major) && in GetOSVersion()
120 int major = 0, minor = 0, bugfix = 0; in GetOSVersionName() local
121 if (!GetOSVersion(&major, &minor, &bugfix)) { in GetOSVersionName()
[all …]
Dwin32.h116 bool GetOsVersion(int* major, int* minor, int* build);
119 int major; in IsWindowsVistaOrLater() local
120 return (GetOsVersion(&major, NULL, NULL) && major >= kWindowsVista); in IsWindowsVistaOrLater()
124 int major, minor; in IsWindowsXpOrLater() local
125 return (GetOsVersion(&major, &minor, NULL) && in IsWindowsXpOrLater()
126 (major >= kWindowsVista || in IsWindowsXpOrLater()
127 (major == kWindows2000 && minor >= 1))); in IsWindowsXpOrLater()
/external/chromium_org/third_party/webrtc/base/
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 …]
Dwin32.h99 bool GetOsVersion(int* major, int* minor, int* build);
102 int major; in IsWindowsVistaOrLater() local
103 return (GetOsVersion(&major, NULL, NULL) && major >= kWindowsVista); in IsWindowsVistaOrLater()
107 int major, minor; in IsWindowsXpOrLater() local
108 return (GetOsVersion(&major, &minor, NULL) && in IsWindowsXpOrLater()
109 (major >= kWindowsVista || in IsWindowsXpOrLater()
110 (major == kWindows2000 && minor >= 1))); in IsWindowsXpOrLater()
/external/smack/src/com/kenai/jbosh/
DAttrVersion.java40 private final int major; field in AttrVersion
65 major = Integer.parseInt(majorStr); in AttrVersion()
72 if (major < 0) { in AttrVersion()
124 return major; in getMajor()
149 if (major < other.major) { in compareTo()
151 } else if (major > other.major) { in compareTo()
/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/chromium_org/third_party/mesa/src/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/chromium_org/ui/events/platform/x11/
Dx11_event_source.cc38 int major = 2, minor = USE_XI2_MT; in InitializeXInput2() local
40 int major = 2, minor = 0; in InitializeXInput2() local
42 if (XIQueryVersion(display, &major, &minor) == BadRequest) { in InitializeXInput2()
47 if (major < 2 || (major == 2 && minor < USE_XI2_MT)) { in InitializeXInput2()
48 DVLOG(1) << "XI version on server is " << major << "." << minor << ". " in InitializeXInput2()
62 int major = XkbMajorVersion; in InitializeXkb() local
64 if (!XkbQueryExtension(display, &opcode, &event, &error, &major, &minor)) { in InitializeXkb()
/external/bluetooth/bluedroid/bta/sys/
Dutl.c194 UINT8 minor, major; in utl_set_device_class() local
200 BTM_COD_MAJOR_CLASS(major, dev ); in utl_set_device_class()
206 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
222 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
229 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
238 FIELDS_TO_COD(dev_class, minor, major, service); in utl_set_device_class()
/external/chromium_org/third_party/libva/va/
Dva_compat.h85 #define VA_CPP_HELPER_ALIAS(func, major, minor, micro) \ argument
86 VA_CPP_HELPER_ALIAS_(func, major, minor, micro, "@")
87 #define VA_CPP_HELPER_ALIAS_DEFAULT(func, major, minor, micro) \ argument
88 VA_CPP_HELPER_ALIAS_(func, major, minor, micro, "@@")
89 #define VA_CPP_HELPER_ALIAS_(func, major, minor, micro, binding) \ argument
90 asm(".symver " #func "_" #major "_" #minor "_" #micro ", " \
91 #func binding "VA_API_" #major "." #minor "." #micro)
Dva_version.h82 #define VA_CHECK_VERSION(major,minor,micro) \ argument
83 (VA_MAJOR_VERSION > (major) || \
84 (VA_MAJOR_VERSION == (major) && VA_MINOR_VERSION > (minor)) || \
85 … (VA_MAJOR_VERSION == (major) && VA_MINOR_VERSION == (minor) && VA_MICRO_VERSION >= (micro)))
/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/chromium_org/third_party/mesa/src/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/chromium_org/chrome_elf/
Dthunk_getter.cc48 int major; member
54 int major; member
61 version_number_.major = version_info.dwMajorVersion; in OSInfo()
64 if ((version_number_.major == 5) && (version_number_.minor > 0)) { in OSInfo()
70 } else if (version_number_.major == 6) { in OSInfo()
88 } else if (version_number_.major > 6) { in OSInfo()
94 service_pack_.major = version_info.wServicePackMajor; in OSInfo()
/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/chromium_org/third_party/harfbuzz-ng/src/
Dhb-version.h45 #define HB_VERSION_CHECK(major,minor,micro) \ argument
46 ((major)*10000+(minor)*100+(micro) >= \
51 hb_version (unsigned int *major,
59 hb_version_check (unsigned int major,
/external/clang/lib/Basic/
DVersionTuple.cpp58 unsigned major = 0, minor = 0, micro = 0; in tryParse() local
61 if (parseInt(input, major)) return true; in tryParse()
64 *this = VersionTuple(major); in tryParse()
74 *this = VersionTuple(major, minor); in tryParse()
86 *this = VersionTuple(major, minor, micro); in tryParse()

12345678910>>...31