/third_party/skia/third_party/externals/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 …]
|
/third_party/node/deps/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 …]
|
/third_party/flutter/skia/third_party/externals/harfbuzz/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 …]
|
/third_party/harfbuzz/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 …]
|
/third_party/skia/third_party/externals/harfbuzz/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 …]
|
/third_party/skia/third_party/externals/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 …]
|
/third_party/vk-gl-cts/build/include/glslang/ |
D | build_info.h | 42 #define GLSLANG_VERSION_GREATER_THAN(major, minor, patch) \ argument 44 (((minor) > GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \ 47 #define GLSLANG_VERSION_GREATER_OR_EQUAL_TO(major, minor, patch) \ argument 49 (((minor) > GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \ 52 #define GLSLANG_VERSION_LESS_THAN(major, minor, patch) \ argument 54 (((minor) < GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \ 57 #define GLSLANG_VERSION_LESS_OR_EQUAL_TO(major, minor, patch) \ argument 59 (((minor) < GLSLANG_VERSION_MINOR) || ((minor) == GLSLANG_VERSION_MINOR && \
|
/third_party/json/include/nlohmann/thirdparty/hedley/ |
D | hedley.hpp | 52 #define JSON_HEDLEY_VERSION_ENCODE(major,minor,revision) (((major) * 1000000) + ((minor) * 1000) + … argument 82 …SON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_GNUC_VERSION >= JSON_HEDLEY_VERSION_… argument 84 #define JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch) (0) argument 102 #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (0) argument 104 …#define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_FULL_VER >= ((major * 10000000) + … argument 106 …#define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_FULL_VER >= ((major * 1000000) + (… argument 108 … #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_VER >= ((major * 100) + (minor))) argument 124 …N_HEDLEY_INTEL_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_INTEL_VERSION >= JSON_HEDLEY_VERSION_… argument 126 #define JSON_HEDLEY_INTEL_VERSION_CHECK(major,minor,patch) (0) argument 140 …JSON_HEDLEY_PGI_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_PGI_VERSION >= JSON_HEDLEY_VERSION_E… argument [all …]
|
/third_party/typescript/src/compiler/ |
D | semver.ts | 36 readonly minor: number; property in ts.Version 42 … constructor(major: number, minor?: number, patch?: number, prerelease?: string, build?: string); 43 constructor(major: number | string, minor = 0, patch = 0, prerelease = "", build = "") { 46 ({ major, minor, patch, prerelease, build } = result); 50 Debug.assert(minor >= 0, "Invalid argument: minor"); 55 this.minor = minor; 65 const { major, minor, patch, prerelease, build } = result; constant 66 return new Version(major, minor, patch, prerelease, build); 85 || compareValues(this.minor, other.minor) 93 case "minor": return new Version(this.major, this.minor + 1, 0); [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/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);
|
/third_party/skia/third_party/externals/angle2/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);
|
/third_party/vk-gl-cts/external/vulkancts/scripts/ |
D | gen_ext_deps.py | 41 def VK_MAKE_VERSION(major, minor, patch): argument 42 return (((major) << 22) | ((minor) << 12) | (patch)) 68 for ( major, minor, ext, extDeps ) in extDepsDict: 70 yield '\tstd::make_tuple({}, {}, "{}", "{}"),'.format(major, minor, ext, dep) 76 for ( version, major, minor ) in apiVersions: 77 yield '\tstd::make_tuple({}, {}, {}),'.format(version, major, minor) 85 (major, minor) = coreVersionsDict[extName] 86 yield '\tstd::make_tuple({}, {}, "{}"),'.format(major, minor, extName) 126 for (major,minor) in apiVersionID: 127 apiVersions.append((VK_MAKE_VERSION(major, minor, 0),major,minor)) [all …]
|
D | ohos_gen_ext_deps.py | 42 def VK_MAKE_VERSION(major, minor, patch): argument 43 return (((major) << 22) | ((minor) << 12) | (patch)) 69 for ( major, minor, ext, extDeps ) in extDepsDict: 71 yield '\tstd::make_tuple({}, {}, "{}", "{}"),'.format(major, minor, ext, dep) 77 for ( version, major, minor ) in apiVersions: 78 yield '\tstd::make_tuple({}, {}, {}),'.format(version, major, minor) 86 (major, minor) = coreVersionsDict[extName] 87 yield '\tstd::make_tuple({}, {}, "{}"),'.format(major, minor, extName) 127 for (major,minor) in apiVersionID: 128 apiVersions.append((VK_MAKE_VERSION(major, minor, 0),major,minor)) [all …]
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLUtil.cpp | 73 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 …]
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/ |
D | version.dart | 7 factory Version(int major, int minor, int patch, {String text}) { 10 if (minor != null) 11 text = '$text.$minor'; 16 return Version._(major ?? 0, minor ?? 0, patch ?? 0, text); 19 Version._(this.major, this.minor, this.patch, this._text) { 22 if (minor < 0) 37 final int minor = int.parse(match[3] ?? '0'); 39 return Version._(major, minor, patch, text); 64 /// The minor version number: "2" in "1.2.3". 65 final int minor; [all …]
|
/third_party/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 …]
|
/third_party/gstreamer/gstplugins_bad/tests/check/libs/ |
D | vkinstance.c | 55 guint major, minor, patch; in GST_START_TEST() local 59 gst_vulkan_instance_get_version (instance, &major, &minor, &patch); in GST_START_TEST() 68 guint major, minor, patch; in GST_START_TEST() local 72 gst_vulkan_instance_get_version (instance, &major, &minor, &patch); in GST_START_TEST() 75 fail_unless (gst_vulkan_instance_check_version (instance, major, minor, in GST_START_TEST() 77 fail_unless (!gst_vulkan_instance_check_version (instance, major, minor, in GST_START_TEST() 79 fail_unless (!gst_vulkan_instance_check_version (instance, major, minor + 1, in GST_START_TEST() 89 guint major, minor; in GST_START_TEST() local 93 gst_vulkan_instance_get_version (instance, &major, &minor, NULL); in GST_START_TEST() 95 if (major > 1 || minor > 0) { in GST_START_TEST() [all …]
|
/third_party/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 …]
|
/third_party/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 && \
|
/third_party/boost/boost/predef/other/ |
D | workaround.h | 38 # define BOOST_PREDEF_WORKAROUND(symbol, comp, major, minor, patch) (0) argument 41 # define BOOST_PREDEF_WORKAROUND(symbol, comp, major, minor, patch) \ argument 43 ( (symbol) comp (BOOST_VERSION_NUMBER( (major) , (minor) , (patch) )) ) 82 # define BOOST_PREDEF_TESTED_AT(symbol, major, minor, patch) (0) argument 85 # define BOOST_PREDEF_TESTED_AT(symbol, major, minor, patch) ( \ argument 86 BOOST_PREDEF_WORKAROUND(symbol, <=, major, minor, patch) \ 90 # define BOOST_PREDEF_TESTED_AT(symbol, major, minor, patch) \ argument
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/ |
D | AbstractTestLog.java | 24 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()
|
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | AbstractTestLog.java | 23 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()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluRenderContext.hpp | 79 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 121 DE_ASSERT((deUint32(minor) & ~((1<<MINOR_BITS)-1)) == 0); in pack() 125 bits |= deUint32(minor) << MINOR_SHIFT; in pack() 147 ContextType (int major, int minor, Profile profile, ContextFlags flags = ContextFlags(0)); 170 inline ContextType::ContextType (int major, int minor, Profile profile, ContextFlags flags) in ContextType() argument [all …]
|
/third_party/mesa3d/src/vulkan/util/ |
D | vk_util.c | 39 int minor = minor_string ? atoi(minor_string + 1) : 0; in vk_get_driver_version() local 44 if (minor == 0) { in vk_get_driver_version() 45 minor = 99; in vk_get_driver_version() 48 --minor; in vk_get_driver_version() 52 return VK_MAKE_VERSION(major, minor, patch); in vk_get_driver_version() 65 int minor = minor_str ? atoi(minor_str + 1) : 0; in vk_get_version_override() local 69 if (major < 1 || minor < 0 || patch < 0 || minor > 1023 || patch > 4095) in vk_get_version_override() 72 return VK_MAKE_VERSION(major, minor, patch); in vk_get_version_override()
|
/third_party/boost/libs/python/ |
D | Jamfile | 19 # Validate the version string and extract the major/minor part we care about. 23 local major-minor = [ MATCH "^([0-9]+)\.([0-9]+)(.*)$" : $(version) : 1 2 3 ] ; 24 if ! $(major-minor[2]) || $(major-minor[3]) 26 …ECHO "Warning: \"using python\" expects a two part (major, minor) version number; got" $(version) … 29 major-minor += 0 ; 32 return $(major-minor[1]) $(major-minor[2]) ; 39 local major-minor = [ split-version $(version) ] ; 40 local suffix = $(major-minor:J="") ;
|