/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() 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_CHECK (major, minor, micro)); in test_version() 50 g_assert (HB_VERSION_CHECK (major+1, minor, micro)); in test_version() 51 g_assert (HB_VERSION_CHECK (major, minor+1, micro)); in test_version() 52 g_assert (HB_VERSION_CHECK (major, minor, micro+1)); in test_version() 53 if (major) in test_version() 54 g_assert (!HB_VERSION_CHECK (major-1, minor, micro)); in test_version() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLUtil.cpp | 70 int major, minor; in GrGLGetBindingInUseFromString() local 73 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetBindingInUseFromString() 81 &major, &minor); in GrGLGetBindingInUseFromString() 88 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetBindingInUseFromString() 101 int major, minor; in GrGLGetVersionFromString() local 103 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetVersionFromString() 105 return GR_GL_VER(major, minor); in GrGLGetVersionFromString() 110 &major, &minor); in GrGLGetVersionFromString() 112 return GR_GL_VER(major, minor); in GrGLGetVersionFromString() 115 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetVersionFromString() [all …]
|
/external/apache-http/src/org/apache/http/ |
D | ProtocolVersion.java | 65 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 …]
|
D | HttpVersion.java | 69 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/smack/src/com/kenai/jbosh/ |
D | AttrVersion.java | 40 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/chromium/third_party/libjingle/source/talk/base/ |
D | macutils.cc | 109 bool GetOSVersion(int* major, int* minor, int* bugfix) { in GetOSVersion() argument 110 ASSERT(major && minor && bugfix); in GetOSVersion() 111 if (!GetGestalt(gestaltSystemVersion, major)) in GetOSVersion() 113 if (*major < 0x1040) { in GetOSVersion() 114 *bugfix = *major & 0xF; in GetOSVersion() 115 *minor = (*major >> 4) & 0xF; in GetOSVersion() 116 *major = (*major >> 8); in GetOSVersion() 119 return GetGestalt(gestaltSystemVersionMajor, major) in GetOSVersion() 125 int major = 0, minor = 0, bugfix = 0; in GetOSVersionName() local 126 if (!GetOSVersion(&major, &minor, &bugfix)) in GetOSVersionName() [all …]
|
D | win32.h | 100 bool GetOsVersion(int* major, int* minor, int* build); 103 int major; in IsWindowsVistaOrLater() local 104 return (GetOsVersion(&major, NULL, NULL) && major >= kWindowsVista); in IsWindowsVistaOrLater() 108 int major, minor; in IsWindowsXpOrLater() local 109 return (GetOsVersion(&major, &minor, NULL) && in IsWindowsXpOrLater() 110 (major >= kWindowsVista || in IsWindowsXpOrLater() 111 (major == kWindows2000 && minor >= 1))); in IsWindowsXpOrLater()
|
/external/openssh/ |
D | gss-serv.c | 94 return (ctx->major); in ssh_gssapi_acquire_cred() 97 if ((ctx->major = gss_acquire_cred(&ctx->minor, in ssh_gssapi_acquire_cred() 102 return (ctx->major); in ssh_gssapi_acquire_cred() 155 ctx->major = gss_accept_sec_context(&ctx->minor, in ssh_gssapi_accept_ctx() 160 if (GSS_ERROR(ctx->major)) in ssh_gssapi_accept_ctx() 168 status = ctx->major; in ssh_gssapi_accept_ctx() 175 (*flags & GSS_C_INTEG_FLAG))) && (ctx->major == GSS_S_COMPLETE)) { in ssh_gssapi_accept_ctx() 268 if ((ctx->major = gss_display_name(&ctx->minor, ctx->client, in ssh_gssapi_getclient() 271 return (ctx->major); in ssh_gssapi_getclient() 274 if ((ctx->major = gss_export_name(&ctx->minor, ctx->client, in ssh_gssapi_getclient() [all …]
|
D | gss-genr.c | 102 *major_status = ctxt->major; in ssh_gssapi_last_error() 109 gss_display_status(&lmin, ctxt->major, in ssh_gssapi_last_error() 199 ctx->major = gss_init_sec_context(&ctx->minor, in ssh_gssapi_init_ctx() 204 if (GSS_ERROR(ctx->major)) in ssh_gssapi_init_ctx() 207 return (ctx->major); in ssh_gssapi_init_ctx() 221 if ((ctx->major = gss_import_name(&ctx->minor, in ssh_gssapi_import_name() 226 return (ctx->major); in ssh_gssapi_import_name() 232 if ((ctx->major = gss_get_mic(&ctx->minor, ctx->context, in ssh_gssapi_sign() 236 return (ctx->major); in ssh_gssapi_sign() 255 OM_uint32 major, minor; in ssh_gssapi_check_mechanism() local [all …]
|
/external/eigen/doc/ |
D | I15_StorageOrders.dox | 5 …e two different storage orders for matrices and two-dimensional arrays: column-major and row-major. 14 \section TopicStorageOrdersIntro Column-major and row-major storage 19 We say that a matrix is stored in \b row-major order if it is stored row by row. The entire first r… 30 If this matrix is stored in row-major order, then the entries are laid out in memory as follows: 34 On the other hand, a matrix is stored in \b column-major order if it is stored column by column, st… 36 column-major order, it is laid out as follows: 59 parameter is set to \c RowMajor, then the matrix or array is stored in row-major order; if it is se… 60 \c ColMajor, then it is stored in column-major order. This mechanism is used in the above Eigen pro… 63 If the storage order is not specified, then Eigen defaults to storing the entry in column-major. Th… 68 the entries automatically. More generally, row-major and column-major matrices can be mixed in an e… [all …]
|
D | SparseQuickReference.dox | 18 i.e either row major or column major. The default is column major. Most arithmetic operations on sp… 25 SparseMatrix<std::complex<double>,RowMajor> sm2; // Compressed row major matrix of complex double. 78 sm1.outerSize(); // Number of columns (resp. rows) for a column major (resp. row major ) 79 sm1.innerSize(); // Number of rows (resp. columns) for a row major (resp. column major) 161 …// Index pointer to get the row indices (resp. column indices) for column major (resp. row major) … 163 …ach row (resp. column) in valuePtr() and innerIndexPtr() for column major (row major). The size is… 180 …re useful to extract a block of rows (resp. columns) from a row-major (resp. column major) sparse … 182 …er); // Returns the outer -th column (resp. row) of the matrix if sm is col-major (resp. row-major) 183 …r); // Returns the outer -th column (resp. row) of the matrix if mat is col-major (resp. row-major) 184 sm1.middleRows(start, numRows); // For row major matrices, get a range of numRows rows [all …]
|
/external/bluetooth/bluedroid/bta/sys/ |
D | utl.c | 194 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/harfbuzz_ng/src/ |
D | hb-version.h | 45 #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/ |
D | VersionTuple.cpp | 58 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()
|
/external/v8/test/cctest/ |
D | test-version.cc | 39 void SetVersion(int major, int minor, int build, int patch, in SetVersion() argument 41 Version::major_ = major; in SetVersion() 52 static void CheckVersion(int major, int minor, int build, in CheckVersion() argument 60 SetVersion(major, minor, build, patch, candidate, ""); in CheckVersion() 68 SetVersion(major, minor, build, patch, candidate, soname); in CheckVersion()
|
/external/libffi/ |
D | ltconfig | 988 soname_spec='${libname}${release}.so$major' 995 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 1006 … library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 1011 soname_spec='${libname}${release}.so$major' 1059 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 1060 soname_spec='${libname}${release}.so$major' 1121 …library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$share… 1122 soname_spec='${libname}${release}${major}$shared_ext' 1165 …library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.s… 1166 soname_spec='${libname}${release}.so$major' [all …]
|
/external/chromium/base/win/ |
D | windows_version.cc | 25 version_number_.major = version_info.dwMajorVersion; in OSInfo() 28 if ((version_number_.major == 5) && (version_number_.minor > 0)) { in OSInfo() 30 } else if (version_number_.major == 6) { in OSInfo() 35 } else if (version_number_.major > 6) { in OSInfo() 38 service_pack_.major = version_info.wServicePackMajor; in OSInfo()
|
/external/webkit/Source/WebCore/platform/win/ |
D | SystemInfo.cpp | 34 WindowsVersion windowsVersion(int* major, int* minor) in windowsVersion() argument 83 if (major) in windowsVersion() 84 *major = majorVersion; in windowsVersion() 92 int major, minor; in osVersionForUAString() local 93 WindowsVersion version = windowsVersion(&major, &minor); in osVersionForUAString() 114 return makeString(familyName, String::number(major), '.', String::number(minor)); in osVersionForUAString()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | StatusLine.java | 171 String major = null; in getVersionMajor() 177 if (major == null) in getVersionMajor() 178 major = "" + sipVersion.charAt(i); in getVersionMajor() 180 major += sipVersion.charAt(i); in getVersionMajor() 185 return major; in getVersionMajor()
|
D | RequestLine.java | 146 String major = null; in getVersionMajor() 152 if (major == null) in getVersionMajor() 153 major = "" + sipVersion.charAt(i); in getVersionMajor() 155 major += sipVersion.charAt(i); in getVersionMajor() 160 return major; in getVersionMajor()
|
/external/webkit/Source/WebKit/gtk/webkit/ |
D | webkitversion.h.in | 35 #define WEBKIT_CHECK_VERSION(major, minor, micro) \ argument 36 (WEBKIT_MAJOR_VERSION > (major) || \ 37 (WEBKIT_MAJOR_VERSION == (major) && WEBKIT_MINOR_VERSION > (minor)) || \ 38 (WEBKIT_MAJOR_VERSION == (major) && WEBKIT_MINOR_VERSION == (minor) && \ 51 webkit_check_version (guint major, guint minor, guint micro);
|
/external/kernel-headers/original/linux/ |
D | kdev_t.h | 43 unsigned major = MAJOR(dev); in new_encode_dev() local 45 return (minor & 0xff) | (major << 8) | ((minor & ~0xff) << 12); in new_encode_dev() 50 unsigned major = (dev & 0xfff00) >> 8; in new_decode_dev() local 52 return MKDEV(major, minor); in new_decode_dev()
|
/external/bluetooth/bluedroid/stack/gap/ |
D | gap_api.c | 771 UINT8 minor, major; in GAP_SetDeviceClass() local 777 BTM_COD_MAJOR_CLASS(major, dev ); in GAP_SetDeviceClass() 783 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in GAP_SetDeviceClass() 799 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in GAP_SetDeviceClass() 806 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in GAP_SetDeviceClass() 815 FIELDS_TO_COD(dev_class, minor, major, service); in GAP_SetDeviceClass() 840 BTM_COD_MAJOR_CLASS( p_cod->major, dev ); in GAP_ReadDeviceClass()
|
/external/chromium/base/ |
D | sys_info_win.cc | 58 std::string version(StringPrintf("%d.%d", version_number.major, in OperatingSystemVersion() 61 if (service_pack.major != 0) { in OperatingSystemVersion() 62 version += StringPrintf(" SP%d", service_pack.major); in OperatingSystemVersion() 103 *major_version = os_info->version_number().major; in OperatingSystemVersionNumbers()
|
/external/qemu/distrib/jpeg-6b/ |
D | ltconfig | 754 …#define LIBRARY_ID 1" >> $objdir/a2ixlibrary.data;$echo "#define VERSION $major" >> $objdir/a2ixli… 1117 soname_spec='${libname}${release}.so.$major' 1145 library_names_spec='${libname}${release}.sl.$versuffix ${libname}${release}.sl.$major $libname.sl' 1146 soname_spec='${libname}${release}.sl.$major' 1166 library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major $libname.so' 1167 soname_spec='${libname}${release}.so.$major' 1205 soname_spec='${libname}${release}.so.$major' 1206 library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major $libname.so' 1212 library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major $libname.so' 1213 soname_spec='${libname}${release}.so.$major' [all …]
|