/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() 41 g_assert_cmpint (minor, ==, HB_VERSION_MINOR); 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() 51 g_assert (HB_VERSION_ATLEAST (major-1, minor, micro)); in test_version() 52 if (minor) 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/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | QRDecompositionImpl.java | 88 for (int minor = 0; minor < FastMath.min(m, n); minor++) { in QRDecompositionImpl() 90 final double[] qrtMinor = qrt[minor]; in QRDecompositionImpl() 100 for (int row = minor; row < m; row++) { in QRDecompositionImpl() 104 … final double a = (qrtMinor[minor] > 0) ? -FastMath.sqrt(xNormSqr) : FastMath.sqrt(xNormSqr); in QRDecompositionImpl() 105 rDiag[minor] = a; in QRDecompositionImpl() 117 qrtMinor[minor] -= a; // now |v|^2 = -2a*(qr[minor][minor]) in QRDecompositionImpl() 131 for (int col = minor+1; col < n; col++) { in QRDecompositionImpl() 134 for (int row = minor; row < m; row++) { in QRDecompositionImpl() 137 alpha /= a * qrtMinor[minor]; in QRDecompositionImpl() 140 for (int row = minor; row < m; row++) { in QRDecompositionImpl() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsMSAInstrFormats.td | 40 class MSA_BIT_B_FMT<bits<3> major, bits<6> minor>: MSAInst { 50 let Inst{5-0} = minor; 53 class MSA_BIT_H_FMT<bits<3> major, bits<6> minor>: MSAInst { 63 let Inst{5-0} = minor; 66 class MSA_BIT_W_FMT<bits<3> major, bits<6> minor>: MSAInst { 76 let Inst{5-0} = minor; 79 class MSA_BIT_D_FMT<bits<3> major, bits<6> minor>: MSAInst { 89 let Inst{5-0} = minor; 92 class MSA_2R_FILL_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst { 100 let Inst{5-0} = minor; [all …]
|
/external/apache-http/src/org/apache/http/ |
D | ProtocolVersion.java | 73 protected final int minor; field in ProtocolVersion 83 public ProtocolVersion(String protocol, int major, int minor) { in ProtocolVersion() argument 92 if (minor < 0) { in ProtocolVersion() 98 this.minor = minor; in ProtocolVersion() 125 return minor; in getMinor() 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() 189 (this.minor == that.minor)); in equals() [all …]
|
D | HttpVersion.java | 74 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() 94 if (minor == 0) { in forVersion() 97 if (minor == 1) { in forVersion() 101 if ((major == 0) && (minor == 9)) { in forVersion() 106 return new HttpVersion(major, minor); in forVersion()
|
/external/skia/src/gpu/gl/ |
D | GrGLUtil.cpp | 71 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() 96 int major, minor, mesaMajor, mesaMinor; in GrGLIsMesaFromVersionString() local 101 int n = sscanf(versionString, "%d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor); in GrGLIsMesaFromVersionString() 105 …int n = sscanf(versionString, "OpenGL ES %d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor… in GrGLIsMesaFromVersionString() 121 int major, minor; in GrGLGetVersionFromString() local 125 int n = sscanf(versionString, "%d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor); in GrGLGetVersionFromString() 127 return GR_GL_VER(major, minor); in GrGLGetVersionFromString() [all …]
|
/external/ltrace/ |
D | .gitignore | 40 testsuite/ltrace.minor/attach-process 41 testsuite/ltrace.minor/count-record 42 testsuite/ltrace.minor/demangle 43 testsuite/ltrace.minor/libdl-simple 44 testsuite/ltrace.minor/print-instruction-pointer 45 testsuite/ltrace.minor/time-record-T 46 testsuite/ltrace.minor/time-record-tt 47 testsuite/ltrace.minor/time-record-ttt 48 testsuite/ltrace.minor/trace-clone 49 testsuite/ltrace.minor/trace-exec [all …]
|
/external/deqp/framework/opengl/ |
D | gluRenderContext.hpp | 74 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 116 DE_ASSERT((deUint32(minor) & ~((1<<MINOR_BITS)-1)) == 0); in pack() 120 bits |= deUint32(minor) << MINOR_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/mesa3d/src/mesa/main/ |
D | version.c | 41 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 184 minor = 3; in compute_version() 188 minor = 2; in compute_version() 192 minor = 1; in compute_version() 196 minor = 0; in compute_version() 200 minor = 1; in compute_version() 204 minor = 0; in compute_version() [all …]
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | AbstractTestLog.java | 19 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/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | VersionInfo.java | 267 public static VersionInfo getInstance(int major, int minor, int milli, in getInstance() argument 272 if (major < 0 || major > 255 || minor < 0 || minor > 255 || in getInstance() 276 int version = getInt(major, minor, milli, micro); in getInstance() 299 public static VersionInfo getInstance(int major, int minor, int milli) in getInstance() argument 301 return getInstance(major, minor, milli, 0); in getInstance() 313 public static VersionInfo getInstance(int major, int minor) in getInstance() argument 315 return getInstance(major, minor, 0, 0); in getInstance() 555 private static int getInt(int major, int minor, int milli, int micro) in getInt() argument 557 return (major << 24) | (minor << 16) | (milli << 8) | micro; in getInt() 572 int minor = ICU_VERSION.getMinor() + 1; in main() local [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-version.h | 45 #define HB_VERSION_ATLEAST(major,minor,micro) \ argument 46 ((major)*10000+(minor)*100+(micro) <= \ 52 unsigned int *minor, 60 unsigned int minor,
|
/external/v8/test/cctest/ |
D | test-version.cc | 39 void SetVersion(int major, int minor, int build, int patch, in SetVersion() argument 42 Version::minor_ = minor; 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/clang/lib/Basic/ |
D | VersionTuple.cpp | 60 unsigned major = 0, minor = 0, micro = 0, build = 0; in tryParse() local 73 if (parseInt(input, minor)) return true; 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/v8/include/ |
D | v8config.h | 26 # define V8_GLIBC_PREREQ(major, minor) \ argument 27 ((__GLIBC__ * 100 + __GLIBC_MINOR__) >= ((major) * 100 + (minor))) 29 # define V8_GLIBC_PREREQ(major, minor) 0 argument 41 # define V8_GNUC_PREREQ(major, minor, patchlevel) \ argument 43 ((major) * 10000 + (minor) * 100 + (patchlevel))) 45 # define V8_GNUC_PREREQ(major, minor, patchlevel) \ argument 47 ((major) * 10000 + (minor) * 100 + (patchlevel))) 49 # define V8_GNUC_PREREQ(major, minor, patchlevel) 0 argument
|
/external/openssh/ |
D | gss-genr.c | 105 *minor_status = ctxt->minor; in ssh_gssapi_last_error() 121 gss_display_status(&lmin, ctxt->minor, in ssh_gssapi_last_error() 200 ctx->major = gss_init_sec_context(&ctx->minor, in ssh_gssapi_init_ctx() 222 if ((ctx->major = gss_import_name(&ctx->minor, in ssh_gssapi_import_name() 233 if ((ctx->major = gss_get_mic(&ctx->minor, ctx->context, in ssh_gssapi_sign() 256 OM_uint32 major, minor; in ssh_gssapi_check_mechanism() local 270 gss_release_buffer(&minor, &token); in ssh_gssapi_check_mechanism() 272 gss_delete_sec_context(&minor, &(*ctx)->context, in ssh_gssapi_check_mechanism()
|
/external/vixl/src/vixl/ |
D | compiler-intrinsics.h | 40 #define GCC_VERSION_OR_NEWER(major, minor, patchlevel) \ argument 42 ((major) * MAJOR + (minor) * MINOR + (patchlevel))) 44 #define GCC_VERSION_OR_NEWER(major, minor, patchlevel) \ 46 ((major) * MAJOR + (minor) * MINOR + (patchlevel))) 48 #define GCC_VERSION_OR_NEWER(major, minor, patchlevel) 0
|
/external/mesa3d/src/glx/tests/ |
D | clientinfo_unittest.cpp | 43 fake_glx_display(mock_XDisplay *dpy, int major, int minor) in fake_glx_display() argument 49 this->minorVersion = minor; in fake_glx_display() 77 void common_protocol_expected_false_test(unsigned major, unsigned minor, 80 void common_protocol_expected_true_test(unsigned major, unsigned minor, 83 void create_single_screen_display(unsigned major, unsigned minor, 278 unsigned minor, in create_single_screen_display() argument 283 this->glx_dpy = new fake_glx_display(this->display, major, minor); in create_single_screen_display() 289 unsigned minor, in common_protocol_expected_false_test() argument 293 create_single_screen_display(major, minor, glx_ext); in common_protocol_expected_false_test() 300 unsigned minor, in common_protocol_expected_true_test() argument [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | RequestLine.java | 169 String minor = null; in getVersionMinor() 173 if (minor == null) in getVersionMinor() 174 minor = "" + sipVersion.charAt(i); in getVersionMinor() 176 minor += sipVersion.charAt(i); in getVersionMinor() 181 return minor; in getVersionMinor()
|
D | StatusLine.java | 194 String minor = null; in getVersionMinor() 198 if (minor == null) in getVersionMinor() 199 minor = "" + sipVersion.charAt(i); in getVersionMinor() 201 minor += sipVersion.charAt(i); in getVersionMinor() 206 return minor; in getVersionMinor()
|
/external/toybox/toys/pending/ |
D | mdev.c | 38 int major, minor, type, len, fd; in make_device() local 58 major = minor = 0; in make_device() 59 sscanf(temp, "%u:%u", &major, &minor); in make_device() 66 major = minor = 0; in make_device() 72 sscanf(temp, "%u", &minor); in make_device() 197 if (mknod(temp, mode | type, makedev(major, minor)) && errno != EEXIST) in make_device()
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_screen_dri.c | 45 int minor; member 70 if (cur->major == required->major && cur->minor >= required->minor) in vmw_dri1_check_version() 78 cur->minor, in vmw_dri1_check_version() 79 cur->patch_level, required->major, required->minor, compat->major); in vmw_dri1_check_version() 98 drm_ver.minor = ver->version_minor; in svga_drm_winsys_screen_create()
|
/external/toybox/toys/lsb/ |
D | mknod.c | 31 int major=0, minor=0, type; local 40 minor = atoi(toys.optargs[3]); 43 if (mknod(toys.optargs[0], mode | modes[type], makedev(major, minor)))
|
/external/squashfs-tools/squashfs-tools/ |
D | pseudo.c | 276 unsigned int major = 0, minor = 0, mode; in read_pseudo_def() local 342 n = sscanf(def, "%u %u %n", &major, &minor, &bytes); in read_pseudo_def() 364 if(minor > 0xfffff) { in read_pseudo_def() 365 ERROR("Minor %d out of range\n", minor); in read_pseudo_def() 457 dev->minor = minor; in read_pseudo_def() 510 entry->dev->minor); in dump_pseudo()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux_libcdep.cc | 215 int minor = internal_simple_strtoll(buf + 8, &end, 10); in ThreadDescriptorSize() local 220 else if (minor <= 3) in ThreadDescriptorSize() 222 else if (minor == 4) in ThreadDescriptorSize() 224 else if (minor == 5) in ThreadDescriptorSize() 226 else if (minor <= 9) in ThreadDescriptorSize() 228 else if (minor == 10) in ThreadDescriptorSize() 230 else if (minor <= 12) in ThreadDescriptorSize() 232 else if (minor == 13) in ThreadDescriptorSize()
|