/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
D | transport_security_common_api.cc | 24 grpc_gcp_rpc_protocol_versions* versions, uint32_t max_major, in grpc_gcp_rpc_protocol_versions_set_max() argument 26 if (versions == nullptr) { in grpc_gcp_rpc_protocol_versions_set_max() 32 versions->has_max_rpc_version = true; in grpc_gcp_rpc_protocol_versions_set_max() 33 versions->max_rpc_version.has_major = true; in grpc_gcp_rpc_protocol_versions_set_max() 34 versions->max_rpc_version.has_minor = true; in grpc_gcp_rpc_protocol_versions_set_max() 35 versions->max_rpc_version.major = max_major; in grpc_gcp_rpc_protocol_versions_set_max() 36 versions->max_rpc_version.minor = max_minor; in grpc_gcp_rpc_protocol_versions_set_max() 41 grpc_gcp_rpc_protocol_versions* versions, uint32_t min_major, in grpc_gcp_rpc_protocol_versions_set_min() argument 43 if (versions == nullptr) { in grpc_gcp_rpc_protocol_versions_set_min() 49 versions->has_min_rpc_version = true; in grpc_gcp_rpc_protocol_versions_set_min() [all …]
|
D | transport_security_common_api.h | 50 grpc_gcp_rpc_protocol_versions* versions, uint32_t max_major, 64 grpc_gcp_rpc_protocol_versions* versions, uint32_t min_major, 75 const grpc_gcp_rpc_protocol_versions* versions); 89 const grpc_gcp_rpc_protocol_versions* versions, uint8_t* bytes, 102 const grpc_gcp_rpc_protocol_versions* versions, grpc_slice* slice); 115 grpc_slice slice, grpc_gcp_rpc_protocol_versions* versions);
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/ |
D | transport_security_common_api.cc | 26 grpc_gcp_rpc_protocol_versions* versions, uint32_t max_major, in grpc_gcp_rpc_protocol_versions_set_max() argument 28 if (versions == nullptr) { in grpc_gcp_rpc_protocol_versions_set_max() 34 versions->max_rpc_version.major = max_major; in grpc_gcp_rpc_protocol_versions_set_max() 35 versions->max_rpc_version.minor = max_minor; in grpc_gcp_rpc_protocol_versions_set_max() 40 grpc_gcp_rpc_protocol_versions* versions, uint32_t min_major, in grpc_gcp_rpc_protocol_versions_set_min() argument 42 if (versions == nullptr) { in grpc_gcp_rpc_protocol_versions_set_min() 48 versions->min_rpc_version.major = min_major; in grpc_gcp_rpc_protocol_versions_set_min() 49 versions->min_rpc_version.minor = min_minor; in grpc_gcp_rpc_protocol_versions_set_min() 54 const grpc_gcp_rpc_protocol_versions* versions, grpc_slice* slice) { in grpc_gcp_rpc_protocol_versions_encode() argument 55 if (versions == nullptr || slice == nullptr) { in grpc_gcp_rpc_protocol_versions_encode() [all …]
|
D | transport_security_common_api.h | 54 grpc_gcp_rpc_protocol_versions* versions, uint32_t max_major, 68 grpc_gcp_rpc_protocol_versions* versions, uint32_t min_major, 81 const grpc_gcp_rpc_protocol_versions* versions, grpc_slice* slice); 94 const grpc_gcp_RpcProtocolVersions* versions, upb_arena* arena, 108 const grpc_slice& slice, grpc_gcp_rpc_protocol_versions* versions); 114 grpc_gcp_rpc_protocol_versions* versions, 122 grpc_gcp_RpcProtocolVersions* versions, upb_arena* arena,
|
/external/bazel-skylib/tests/ |
D | versions_tests.bzl | 15 """Unit tests for versions.bzl.""" 18 load("//lib:versions.bzl", "versions") 21 """Unit tests for versions.parse""" 24 asserts.equals(env, (0, 10, 0), versions.parse("0.10.0rc1 abcd123")) 25 asserts.equals(env, (0, 4, 0), versions.parse("0.4.0 abcd123")) 26 asserts.equals(env, (0, 4, 0), versions.parse("0.4.0")) 27 asserts.equals(env, (0, 4, 0), versions.parse("0.4.0rc")) 32 """Unit tests for versions.is_at_least and is_at_most""" 35 asserts.false(env, versions.is_at_least("0.11.0 123abcd", "0.10.0rc1 abcd123")) 36 asserts.true(env, versions.is_at_least("0.9.0", "0.10.0rc2")) [all …]
|
/external/cronet/net/third_party/quiche/src/quiche/quic/core/ |
D | quic_versions.cc | 204 const ParsedQuicVersionVector& versions) { in operator <<() argument 205 os << ParsedQuicVersionVectorToString(versions); in operator <<() 251 const ParsedQuicVersionVector& versions) { in CreateQuicVersionLabelVector() argument 253 out.reserve(versions.size()); in CreateQuicVersionLabelVector() 254 for (const auto& version : versions) { in CreateQuicVersionLabelVector() 261 ParsedQuicVersionVector versions; in AllSupportedVersionsWithQuicCrypto() local 264 versions.push_back(version); in AllSupportedVersionsWithQuicCrypto() 267 QUIC_BUG_IF(quic_bug_10589_3, versions.empty()) in AllSupportedVersionsWithQuicCrypto() 269 return versions; in AllSupportedVersionsWithQuicCrypto() 273 ParsedQuicVersionVector versions; in CurrentSupportedVersionsWithQuicCrypto() local [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/ |
D | translate_utils.cc | 23 void PopulateTfVersions(mlir::ModuleOp module, const VersionDef& versions) { in PopulateTfVersions() argument 26 b.getNamedAttr("producer", b.getI32IntegerAttr(versions.producer())); in PopulateTfVersions() 28 "min_consumer", b.getI32IntegerAttr(versions.min_consumer())); in PopulateTfVersions() 32 versions.bad_consumers().data(), in PopulateTfVersions() 33 versions.bad_consumers().data() + versions.bad_consumers().size()))); in PopulateTfVersions() 40 VersionDef* versions) { in ExtractTfVersions() argument 41 versions->Clear(); in ExtractTfVersions() 49 versions->set_producer(producer.getInt()); in ExtractTfVersions() 53 if (min_consumer) versions->set_min_consumer(min_consumer.getInt()); in ExtractTfVersions() 64 versions->mutable_bad_consumers()->Add(bad_consumer_int_attr.getInt()); in ExtractTfVersions() [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | versions_test.py | 17 from tensorflow.python.framework import versions 24 self.assertEqual(type(versions.__version__), str) 25 self.assertEqual(type(versions.VERSION), str) 27 self.assertRegex(versions.__version__, r'^\d+\.\d+\.(\d+(\-\w+)?|head)$') 28 self.assertRegex(versions.VERSION, r'^\d+\.\d+\.(\d+(\-\w+)?|head)$') 31 version = versions.GRAPH_DEF_VERSION 32 min_consumer = versions.GRAPH_DEF_VERSION_MIN_CONSUMER 33 min_producer = versions.GRAPH_DEF_VERSION_MIN_PRODUCER 41 self.assertEqual(type(versions.__git_version__), str) 42 self.assertEqual(type(versions.__compiler_version__), str) [all …]
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/generate/ |
D | pack_unittest.py | 84 versions = pack.GetVersionInfo(ps) 85 self.assertEquals(1, len(versions)) 86 self.assertEquals(0, versions[0].version) 87 self.assertEquals(0, versions[0].num_fields) 88 self.assertEquals(8, versions[0].num_bytes) 104 versions = pack.GetVersionInfo(ps) 105 self.assertEquals(3, len(versions)) 107 self.assertEquals(0, versions[0].version) 108 self.assertEquals(1, versions[0].num_fields) 109 self.assertEquals(16, versions[0].num_bytes) [all …]
|
/external/tensorflow/tensorflow/lite/tools/ |
D | gen_op_registration.cc | 47 auto& versions = iter_and_bool.first->second; in ReadOpsFromModel() local 48 versions.first = std::min(versions.first, version); in ReadOpsFromModel() 49 versions.second = std::max(versions.second, version); in ReadOpsFromModel() 53 auto& versions = iter_and_bool.first->second; in ReadOpsFromModel() local 54 versions.first = std::min(versions.first, version); in ReadOpsFromModel() 55 versions.second = std::max(versions.second, version); in ReadOpsFromModel()
|
/external/nullaway/gradle/ |
D | dependencies.gradle | 33 def versions = [ 48 autoValue : "com.google.auto.value:auto-value:${versions.autoValue}", 49 autoValueAnnot : "com.google.auto.value:auto-value-annotations:${versions.autoValue}", 50 autoService : "com.google.auto.service:auto-service:${versions.autoService}", 51 autoServiceAnnot : "com.google.auto.service:auto-service-annotations:${versions.autoService}", 57 asm : "org.ow2.asm:asm:${versions.asm}", 58 asmTree : "org.ow2.asm:asm-tree:${versions.asm}", 59 … errorProneCheckApi : "com.google.errorprone:error_prone_check_api:${versions.errorProneApi}", 60 errorProneCore : "com.google.errorprone:error_prone_core:${versions.errorProne}", 61 errorProneCoreForApi : "com.google.errorprone:error_prone_core:${versions.errorProneApi}", [all …]
|
/external/robolectric/ |
D | dependencies.gradle | 2 apiCompatVersion = libs.versions.robolectric.compat.get() 5 axtCoreVersion = libs.versions.androidx.test.core.get() 6 axtJunitVersion = libs.versions.androidx.test.ext.junit.get() 7 axtMonitorVersion = libs.versions.androidx.test.monitor.get() 8 axtRunnerVersion = libs.versions.androidx.test.runner.get() 9 axtTruthVersion = libs.versions.androidx.test.ext.truth.get() 10 espressoVersion = libs.versions.androidx.test.espresso.get()
|
/external/okio/ |
D | build.gradle | 8 ext.versions = [ 33 'gradlePlugin': "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}", 50 'gradlePlugin': "me.champeau.gradle:jmh-gradle-plugin:${versions.jmhPlugin}", 51 'core': "org.openjdk.jmh:jmh-core:${versions.jmh}", 52 'generator': "org.openjdk.jmh:jmh-generator-annprocess:${versions.jmh}", 55 'gradlePlugin': "ru.vyarus:gradle-animalsniffer-plugin:${versions.animalSnifferPlugin}", 56 'annotations': "org.codehaus.mojo:animal-sniffer-annotations:${versions.animalSniffer}", 59 'dokka': "org.jetbrains.dokka:dokka-gradle-plugin:${versions.dokka}", 60 'shadow': "com.github.jengelman.gradle.plugins:shadow:${versions.shadowPlugin}", 61 'spotless': "com.diffplug.spotless:spotless-plugin-gradle:${versions.spotless}", [all …]
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/util/ |
D | JavaVersion.java | 8 private final List<Integer> versions; field in JavaVersion 11 versions = new ArrayList<>(); in JavaVersion() 14 versions.add(s.nextInt()); in JavaVersion() 19 List<Integer> versions2 = o.versions; in compareTo() 20 int max = Math.min(versions.size(), versions2.size()); in compareTo() 22 int compare = versions.get(i).compareTo(versions2.get(i)); in compareTo() 29 return Integer.compare(versions.size(), versions2.size()); in compareTo()
|
/external/robolectric/sandbox/src/main/java/org/robolectric/util/ |
D | JavaVersion.java | 8 private final List<Integer> versions; field in JavaVersion 11 versions = new ArrayList<>(); in JavaVersion() 14 versions.add(s.nextInt()); in JavaVersion() 19 List<Integer> versions2 = o.versions; in compareTo() 20 int max = Math.min(versions.size(), versions2.size()); in compareTo() 22 int compare = versions.get(i).compareTo(versions2.get(i)); in compareTo() 29 return Integer.compare(versions.size(), versions2.size()); in compareTo()
|
/external/tensorflow/tensorflow/core/framework/ |
D | versions.cc | 23 Status CheckVersions(const VersionDef& versions, int consumer, int min_producer, in CheckVersions() argument 32 if (versions.producer() < min_producer) { in CheckVersions() 34 upper_name, " producer version ", versions.producer(), in CheckVersions() 38 if (versions.min_consumer() > consumer) { in CheckVersions() 40 upper_name, " min consumer version ", versions.min_consumer(), in CheckVersions() 44 for (const int bad_consumer : versions.bad_consumers()) { in CheckVersions()
|
/external/angle/third_party/vulkan-deps/vulkan-headers/src/registry/ |
D | genvk.py | 181 versions = featuresPat, 206 versions = featuresPat, 224 versions = featuresPat, 242 versions = featuresPat, 266 versions = featuresPat, 286 versions = featuresPat, 308 versions = featuresPat, 327 versions = featuresPat, 345 versions = featuresPat, 365 versions = featuresPat, [all …]
|
/external/gfxstream-protocols/registry/vulkan/scripts/ |
D | genRelease | 110 versions = allVersions, 120 versions = allVersions, 132 versions = allVersions, 145 versions = Version1_1, 155 versions = Version1_1, 165 versions = Version1_1, 180 versions = Version1_0, 190 versions = Version1_0, 200 versions = Version1_0,
|
D | genspec.py | 33 versions, argument 62 if versions != None and len(versions) > 0: 63 versarg = 'VERSIONS="' + ' '.join(versions) + '"' 117 versions = '', argument 143 versions,
|
/external/python/asn1crypto/dev/ |
D | _pep425.py | 135 versions = [] 139 versions.append(''.join(map(str, major + (minor,)))) 184 tags.append(('%s%s' % (impl, versions[0]), abi, arch)) 187 for version in versions[1:]: 192 tags.append(('py%s' % (versions[0][0]), 'none', arch)) 194 tags.append(('%s%s' % (impl, versions[0]), 'none', 'any')) 195 tags.append(('%s%s' % (impl, versions[0][0]), 'none', 'any')) 197 for i, version in enumerate(versions):
|
/external/wycheproof/ |
D | BUILD | 22 # Generates BouncyCastleAllTests_1_xx target for all available versions, 28 # To test other versions, e.g., v1.52: 31 # To test all known versions (warning, will take a long time): 52 # Generates SpongyCastleAllTests_1_xx target for all available versions, 58 # To test other versions, e.g., v1.52.0.0: 61 # To test all known versions (warning, will take a long time): 75 # Generates BouncyCastleTest_1_xx target for all available versions, 81 # To test other versions, e.g., v1.52: 84 # To test all known versions: 104 # Generates SpongyCastleTest_1_xx target for all available versions, [all …]
|
/external/mockito/src/test/java/org/mockito/internal/util/ |
D | PlatformTest.java | 67 Map<String, Boolean> versions = new HashMap<String, Boolean>() {{ in should_parse_open_jdk_string_and_report_wether_below_or_nut_update_45() local 82 assertPlatformParsesCorrectlyVariousVersionScheme(versions); in should_parse_open_jdk_string_and_report_wether_below_or_nut_update_45() 122 Map<String, Boolean> versions = new HashMap<String, Boolean>() {{ in should_parse_open_jdk9_string() local 129 assertPlatformParsesCorrectlyVariousVersionScheme(versions); in should_parse_open_jdk9_string() 133 private void assertPlatformParsesCorrectlyVariousVersionScheme(Map<String, Boolean> versions) { in assertPlatformParsesCorrectlyVariousVersionScheme() argument 134 for (Map.Entry<String, Boolean> version : versions.entrySet()) { in assertPlatformParsesCorrectlyVariousVersionScheme()
|
/external/vulkan-validation-layers/scripts/ |
D | lvl_genvk.py | 127 versions = featuresPat, 151 versions = featuresPat, 175 versions = featuresPat, 199 versions = featuresPat, 223 versions = featuresPat, 248 versions = featuresPat, 273 versions = featuresPat, 296 versions = featuresPat, 319 versions = featuresPat, 343 versions = featuresPat, [all …]
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | revived_types.py | 107 def register_revived_type(identifier, predicate, versions): argument 119 versions.sort(key=lambda reg: reg.version, reverse=True) 120 if not versions: 123 for registration in versions: 135 _REVIVED_TYPE_REGISTRY[identifier] = (predicate, versions) 142 predicate, versions = _REVIVED_TYPE_REGISTRY[identifier] 145 return versions[0].to_proto()
|
/external/autotest/client/bin/ |
D | kernel_versions.py | 83 versions = [ v for _, _, v in deco ] 86 for n in range(len(versions) - 1, -1, -1): 87 if versions[n] == version: 97 if version_len(versions[o]) == (length + 1) and \ 98 version_limit(versions[o], length) == version: 99 return versions[o]
|