Searched refs:expectedName (Results 1 - 15 of 15) sorted by relevance

/openjdk10/jdk/src/java.base/share/classes/sun/security/util/
H A DHostnameChecker.java88 * @param expectedName the expected host name or ip address
95 public void match(String expectedName, X509Certificate cert, argument
97 if (isIpAddress(expectedName)) {
98 matchIP(expectedName, cert);
100 matchDNS(expectedName, cert, chainsToPublicCA);
104 public void match(String expectedName, X509Certificate cert) argument
106 match(expectedName, cert, false);
112 public static boolean match(String expectedName, Principal principal) { argument
114 return (expectedName.equalsIgnoreCase(hostName));
202 private void matchDNS(String expectedName, X509Certificat argument
[all...]
/openjdk10/langtools/test/lib/annotations/annotations/classfile/
H A DClassfileInspector.java292 protected final String expectedName; field in class:ClassfileInspector.ExpectedAnnotation
301 * @param expectedName The expected annotation name.
307 public ExpectedAnnotation(String expectedName, argument
310 this.expectedName = expectedName;
321 sb.append(expectedName);
361 return cpool.getUTF8Info(anno.type_index).value.equals("L" + expectedName + ";");
397 * @param expectedName The expected annotation name.
402 String expectedName,
405 super(expectedName, visibilit
401 ExpectedMethodAnnotation(String methodname, String expectedName, boolean visibility, int expectedCount) argument
452 ExpectedParameterAnnotation(String methodname, int index, String expectedName, boolean visibility, int expectedCount) argument
494 ExpectedFieldAnnotation(String fieldname, String expectedName, boolean visibility, int expectedCount) argument
556 ExpectedTypeAnnotation(String expectedName, boolean visibility, int expectedCount, TypeAnnotation.TargetType targetType, int bound_index, int parameter_index, int type_index, int exception_index, TypeAnnotation.Position.TypePathEntry... typePath) argument
642 protected final String expectedName; field in class:ClassfileInspector.ExpectedTypeAnnotation.Builder
661 Builder(String expectedName, TypeAnnotation.TargetType targetType, boolean visibility, int expectedCount) argument
762 ExpectedMethodTypeAnnotation(String methodname, String expectedName, boolean visibility, int expectedCount, TypeAnnotation.TargetType targetType, int bound_index, int parameter_index, int type_index, int exception_index, TypeAnnotation.Position.TypePathEntry... typePath) argument
837 Builder(String methodname, String expectedName, TypeAnnotation.TargetType targetType, boolean visibility, int expectedCount) argument
888 ExpectedFieldTypeAnnotation(String fieldname, String expectedName, boolean visibility, int expectedCount, TypeAnnotation.TargetType targetType, int bound_index, int parameter_index, int type_index, int exception_index, TypeAnnotation.Position.TypePathEntry... typePath) argument
957 Builder(String fieldname, String expectedName, TypeAnnotation.TargetType targetType, boolean visibility, int expectedCount) argument
[all...]
/openjdk10/jdk/test/com/sun/jdi/
H A DNullThreadGroupNameTest.java102 private void assertThreadGroupName(ThreadGroupReference threadGroup, String expectedName) { argument
105 if (!expectedName.equals(name)) {
/openjdk10/jdk/test/javax/xml/jaxp/testng/validation/
H A DBaseTest.java228 protected void assertElementName(String expectedName, String actualName) { argument
230 expectedName, actualName);
237 protected void assertElementNamespace(String expectedName, String actualName) { argument
239 expectedName, actualName);
247 protected void assertTypeName(String expectedName, String actualName) { argument
248 assertEquals("Local name of type definition is wrong.", expectedName,
256 protected void assertTypeNamespace(String expectedName, String actualName) { argument
257 assertEquals("Namespace of type definition is wrong.", expectedName,
/openjdk10/jdk/test/java/lang/management/MXBean/
H A DMXBeanBehavior.java170 ObjectName expectedName;
172 expectedName =
177 checkEqual(mbsih.getObjectName(), expectedName,
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/stubs/
H A DSnippetStub.java144 protected boolean checkConstArg(int index, String expectedName) { argument
151 assert actualName.equals(expectedName) : String.format("parameter %d of %s is expected to be named %s, not %s", index, method.format("%H.%n(%p)"), expectedName, actualName);
/openjdk10/jdk/test/java/util/Currency/
H A DCurrencyTest.java268 static void testDisplayName(String currencyCode, Locale locale, String expectedName) { argument
270 if (!name.equals(expectedName)) {
272 currencyCode +": expected '" + expectedName +
/openjdk10/jdk/test/sun/java2d/SunGraphics2D/
H A DSimplePrimQuality.java262 String expectedName = "SimplePrimQuality_expected.png";
266 expectedName);
267 ImageIO.write(refimg, "png", new File(expectedName));
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/handler/
H A DHandlerChainsModel.java400 QName expectedName) {
402 if (!reader.getName().equals(expectedName)) {
404 expectedName.getLocalPart());
408 static void ensureProperName(XMLStreamReader reader, String expectedName) { argument
409 if (!reader.getLocalName().equals(expectedName)) {
411 expectedName);
399 ensureProperName(XMLStreamReader reader, QName expectedName) argument
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/policy/sourcemodel/attach/
H A DExternalAttachmentsUnmarshaller.java207 private void checkEndTagName(final QName expectedName, final EndElement element) throws PolicyException { argument
209 if (!expectedName.equals(actualName)) {
210 throw LOGGER.logSevereException(new PolicyException(LocalizationMessages.WSP_0091_END_ELEMENT_NO_MATCH(expectedName, element, element.getLocation())));
/openjdk10/jdk/test/java/util/Locale/
H A DLocaleTest.java337 String expectedName;
363 expectedName = dataTable[compareIndex + 3][i];
364 if (expectedName.equals("") && defaultIsFrench) {
365 expectedName = dataTable[DNAME_EN][i];
367 if (expectedName.equals("")) {
368 expectedName = dataTable[DNAME_ROOT][i];
380 if (!testName.equals(expectedName)) {
381 errln("Display name mismatch: " + testName + " versus " + expectedName);
/openjdk10/jdk/test/java/net/httpclient/http2/jdk.incubator.httpclient/jdk/incubator/http/internal/hpack/
H A DHeaderTableTest.java283 int expectedName = NUM_HEADERS - j + 1;
284 assertEquals(expectedName, actualName);
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/
H A DAbstractParser.java325 final String expectedName = expected.getNameOrType();
326 msg = AbstractParser.message("expected", expectedName, tokenString);
/openjdk10/langtools/test/jdk/jshell/
H A DKullaTesting.java714 public void assertTypeDeclSnippet(TypeDeclSnippet type, String expectedName, argument
717 assertDeclarationSnippet(type, expectedName, expectedStatus,
722 String expectedName, String expectedSignature,
724 assertDeclarationSnippet(method, expectedName, expectedStatus,
733 String expectedName, String expectedTypeName,
736 assertDeclarationSnippet(var, expectedName, expectedStatus,
745 String expectedName,
750 assertEquals(declarationKey.name(), expectedName,
751 "Expected " + source + " to have the name: " + expectedName + ", got: " + declarationKey.name());
721 assertMethodDeclSnippet(MethodSnippet method, String expectedName, String expectedSignature, Status expectedStatus, int unressz, int othersz) argument
732 assertVariableDeclSnippet(VarSnippet var, String expectedName, String expectedTypeName, Status expectedStatus, SubKind expectedSubKind, int unressz, int othersz) argument
744 assertDeclarationSnippet(DeclarationSnippet declarationKey, String expectedName, Status expectedStatus, SubKind expectedSubKind, int unressz, int othersz) argument
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/corba/
H A DAnyImpl.java666 String expectedName = getTCKindName( expected ) ;
667 throw wrapper.extractWrongType( expectedName, tcName ) ;

Completed in 203 milliseconds