/external/libpcap/pcap/ |
D | compiler-tests.h | 83 #define PCAP_IS_AT_LEAST_GNUC_VERSION(major, minor) 0 argument 85 #define PCAP_IS_AT_LEAST_GNUC_VERSION(major, minor) \ argument 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 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 124 (((minor) >= 10) ? \ 125 (((major) << 12) | (((minor)/10) << 8) | (((minor)%10) << 4)) : \ [all …]
|
/external/brotli/c/include/brotli/ |
D | port.h | 17 #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/ |
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-project/llvm/lib/Target/Mips/ |
D | MipsMSAInstrFormats.td | 30 class MSA_BIT_B_FMT<bits<3> major, bits<6> minor>: MSAInst { 40 let Inst{5-0} = minor; 43 class MSA_BIT_H_FMT<bits<3> major, bits<6> minor>: MSAInst { 53 let Inst{5-0} = minor; 56 class MSA_BIT_W_FMT<bits<3> major, bits<6> minor>: MSAInst { 66 let Inst{5-0} = minor; 69 class MSA_BIT_D_FMT<bits<3> major, bits<6> minor>: MSAInst { 79 let Inst{5-0} = minor; 82 class MSA_2R_FILL_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst { 90 let Inst{5-0} = minor; [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsMSAInstrFormats.td | 30 class MSA_BIT_B_FMT<bits<3> major, bits<6> minor>: MSAInst { 40 let Inst{5-0} = minor; 43 class MSA_BIT_H_FMT<bits<3> major, bits<6> minor>: MSAInst { 53 let Inst{5-0} = minor; 56 class MSA_BIT_W_FMT<bits<3> major, bits<6> minor>: MSAInst { 66 let Inst{5-0} = minor; 69 class MSA_BIT_D_FMT<bits<3> major, bits<6> minor>: MSAInst { 79 let Inst{5-0} = minor; 82 class MSA_2R_FILL_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst { 90 let Inst{5-0} = minor; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsMSAInstrFormats.td | 30 class MSA_BIT_B_FMT<bits<3> major, bits<6> minor>: MSAInst { 40 let Inst{5-0} = minor; 43 class MSA_BIT_H_FMT<bits<3> major, bits<6> minor>: MSAInst { 53 let Inst{5-0} = minor; 56 class MSA_BIT_W_FMT<bits<3> major, bits<6> minor>: MSAInst { 66 let Inst{5-0} = minor; 69 class MSA_BIT_D_FMT<bits<3> major, bits<6> minor>: MSAInst { 79 let Inst{5-0} = minor; 82 class MSA_2R_FILL_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst { 90 let Inst{5-0} = minor; [all …]
|
/external/tensorflow/third_party/gpus/ |
D | find_rocm_config.py | 53 def _get_composite_version_number(major, minor, patch): argument 54 return 10000 * major + 100 * minor + patch 81 minor = int(version_numbers[1]) 83 return major, minor, patch 85 major, minor, patch = rocm_version_numbers(rocm_install_path) 88 "rocm_version_number": _get_composite_version_number(major, minor, patch) 106 minor = _get_header_version(version_file, "HIP_VERSION_MINOR") 107 return 100 * major + minor 124 minor = _get_header_version(version_file, "MIOPEN_VERSION_MINOR") 126 return major, minor, patch [all …]
|
/external/rust/crates/serde/ |
D | build.rs | 9 let minor = match rustc_minor_version() { in main() localVariable 10 Some(minor) => minor, in main() 20 if minor >= 26 { in main() 22 } else if minor >= 17 && cfg!(feature = "std") { in main() 28 if minor >= 19 { in main() 35 if minor >= 20 { in main() 43 if minor >= 21 { in main() 49 if minor >= 25 { in main() 58 if minor >= 26 && !emscripten { in main() 64 if minor >= 27 { in main() [all …]
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/util/ |
D | TlsProtocolVersion.java | 31 public final int minor; field in TlsProtocolVersion 33 private TlsProtocolVersion(int major, int minor, String name) { in TlsProtocolVersion() argument 35 this.minor = minor; in TlsProtocolVersion() 38 public static TlsProtocolVersion valueOf(int major, int minor) { in valueOf() argument 40 switch (minor) { in valueOf() 53 return new TlsProtocolVersion(major, minor, major + "." + minor); in valueOf() 57 int minor = in.readUnsignedByte(); in read() local 58 return TlsProtocolVersion.valueOf(major, minor); in read() 69 result = prime * result + minor; in hashCode() 87 if (minor != other.minor) { in equals()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/util/ |
D | TlsProtocolVersion.java | 29 public final int minor; field in TlsProtocolVersion 31 private TlsProtocolVersion(int major, int minor, String name) { in TlsProtocolVersion() argument 33 this.minor = minor; in TlsProtocolVersion() 36 public static TlsProtocolVersion valueOf(int major, int minor) { in valueOf() argument 38 switch (minor) { in valueOf() 51 return new TlsProtocolVersion(major, minor, major + "." + minor); in valueOf() 55 int minor = in.readUnsignedByte(); in read() local 56 return TlsProtocolVersion.valueOf(major, minor); in read() 67 result = prime * result + minor; in hashCode() 85 if (minor != other.minor) { in equals()
|
/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/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_mac.h | 36 u16 minor; member 38 VersionBase(u16 major, u16 minor) : major(major), minor(minor) {} in VersionBase() 41 return major == other.major && minor == other.minor; 45 (major == other.major && minor >= other.minor); 51 MacosVersion(u16 major, u16 minor) : VersionBase(major, minor) {} in MacosVersion() 55 DarwinKernelVersion(u16 major, u16 minor) : VersionBase(major, minor) {} in DarwinKernelVersion()
|
/external/angle/src/libANGLE/ |
D | Version.inc | 21 #undef minor 25 minor(minor_) 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/skqp/src/gpu/gl/ |
D | GrGLUtil.cpp | 72 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/mesa3d/src/vulkan/util/ |
D | vk_util.c | 35 int minor = minor_string ? atoi(minor_string + 1) : 0; in vk_get_driver_version() local 40 if (minor == 0) { in vk_get_driver_version() 41 minor = 99; in vk_get_driver_version() 44 --minor; in vk_get_driver_version() 48 return VK_MAKE_VERSION(major, minor, patch); in vk_get_driver_version() 61 int minor = minor_str ? atoi(minor_str + 1) : 0; in vk_get_version_override() local 65 if (major < 1 || minor < 0 || patch < 0 || minor > 1023 || patch > 4095) in vk_get_version_override() 68 return VK_MAKE_VERSION(major, minor, patch); in vk_get_version_override()
|
/external/tensorflow/tensorflow/tools/ci_build/ |
D | update_version.py | 70 def __init__(self, major, minor, patch, identifier_string, version_type): argument 81 self.minor = minor 89 self.minor, 104 self.minor, 110 self.minor, 129 major, minor, extension = string.split(".", 2) 140 minor, 188 replace_string_in_line("#define TF_MINOR_VERSION %s" % old_version.minor, 189 "#define TF_MINOR_VERSION %s" % new_version.minor, 210 old_version.minor), [all …]
|
/external/deqp/external/vulkancts/scripts/ |
D | gen_ext_deps.py | 40 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/rust/crates/rustversion/tests/ |
D | test_parse.rs | 9 minor: 0, in test_parse() 17 minor: 18, in test_parse() 25 minor: 24, in test_parse() 33 minor: 35, in test_parse() 41 minor: 36, in test_parse() 53 minor: 36, in test_parse() 61 minor: 36, in test_parse() 70 minor: 30, in test_parse()
|
/external/skia/src/gpu/gl/ |
D | GrGLUtil.cpp | 33 int major, minor; in GrGLGetStandardInUseFromString() local 36 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString() 43 n = sscanf(versionString, "OpenGL ES %d.%d (WebGL %d.%d", &esMajor, &esMinor, &major, &minor); in GrGLGetStandardInUseFromString() 50 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString() 57 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString() 70 int major, minor; in GrGLGetVersionFromString() local 74 int n = sscanf(versionString, "%d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor); in GrGLGetVersionFromString() 76 return GR_GL_VER(major, minor); in GrGLGetVersionFromString() 79 n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetVersionFromString() 81 return GR_GL_VER(major, minor); in GrGLGetVersionFromString() [all …]
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_mac_test.cpp | 25 void ParseVersion(const char *vers, u16 *major, u16 *minor); 28 u16 major, minor; in TEST() local 30 ParseVersion("11.22.33", &major, &minor); in TEST() 32 EXPECT_EQ(minor, 22); in TEST() 34 ParseVersion("1.2", &major, &minor); in TEST() 36 EXPECT_EQ(minor, 2); in TEST() 54 EXPECT_EQ(vers.minor, 15); in TEST() 64 EXPECT_EQ(vers.minor, expected_minor); in TEST() 71 oss << vers.major << '.' << vers.minor; in TEST()
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/ |
D | transport_security_common_api.cc | 35 versions->max_rpc_version.minor = max_minor; in grpc_gcp_rpc_protocol_versions_set_max() 49 versions->min_rpc_version.minor = min_minor; in grpc_gcp_rpc_protocol_versions_set_min() 118 versions->max_rpc_version.minor = in grpc_gcp_rpc_protocol_versions_assign_from_upb() 122 versions->max_rpc_version.minor = 0; in grpc_gcp_rpc_protocol_versions_assign_from_upb() 129 versions->min_rpc_version.minor = in grpc_gcp_rpc_protocol_versions_assign_from_upb() 133 versions->min_rpc_version.minor = 0; in grpc_gcp_rpc_protocol_versions_assign_from_upb() 145 value->max_rpc_version.minor); in grpc_gcp_RpcProtocolVersions_assign_from_struct() 151 value->min_rpc_version.minor); in grpc_gcp_RpcProtocolVersions_assign_from_struct() 168 src->max_rpc_version.minor); in grpc_gcp_rpc_protocol_versions_copy() 170 src->min_rpc_version.minor); in grpc_gcp_rpc_protocol_versions_copy() [all …]
|
/external/deqp-deps/glslang/ |
D | build_info.h.tmpl | 38 #define GLSLANG_VERSION_MINOR <minor> 42 #define GLSLANG_VERSION_GREATER_THAN(major, minor, patch) \ 44 (((minor) > GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \ 47 #define GLSLANG_VERSION_GREATER_OR_EQUAL_TO(major, minor, patch) \ 49 (((minor) > GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \ 52 #define GLSLANG_VERSION_LESS_THAN(major, minor, patch) \ 54 (((minor) < GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \ 57 #define GLSLANG_VERSION_LESS_OR_EQUAL_TO(major, minor, patch) \ 59 (((minor) < GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \
|
/external/angle/third_party/vulkan-deps/glslang/src/ |
D | build_info.h.tmpl | 38 #define GLSLANG_VERSION_MINOR @minor@ 42 #define GLSLANG_VERSION_GREATER_THAN(major, minor, patch) \ 44 (((minor) > GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \ 47 #define GLSLANG_VERSION_GREATER_OR_EQUAL_TO(major, minor, patch) \ 49 (((minor) > GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \ 52 #define GLSLANG_VERSION_LESS_THAN(major, minor, patch) \ 54 (((minor) < GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \ 57 #define GLSLANG_VERSION_LESS_OR_EQUAL_TO(major, minor, patch) \ 59 (((minor) < GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \
|