/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
H A D | IntStreamTestDataProvider.java | 83 final Object name = data[0]; 87 name, TestData.Factory.ofArray("array:" + name, ints)}); 93 list.add(new Object[]{"SpinedList:" + name, 94 TestData.Factory.ofSpinedBuffer("SpinedList:" + name, isl)}); 107 final Object name = data[0]; 115 spliterators.add(splitDescr("Arrays.s(array):" + name, 117 spliterators.add(splitDescr("Arrays.s(array,o,l):" + name, 120 spliterators.add(splitDescr("SpinedBuffer.s():" + name, 123 spliterators.add(splitDescr("Primitives.s(SpinedBuffer.iterator(), size):" + name, [all...] |
H A D | LongStreamTestDataProvider.java | 83 final Object name = data[0]; 86 list.add(new Object[]{"array:" + name, 87 TestData.Factory.ofArray("array:" + name, longs)}); 93 list.add(new Object[]{"SpinedList:" + name, 94 TestData.Factory.ofSpinedBuffer("SpinedList:" + name, isl)}); 107 final Object name = data[0]; 115 spliterators.add(splitDescr("Arrays.s(array):" + name, 117 spliterators.add(splitDescr("Arrays.s(array,o,l):" + name, 120 spliterators.add(splitDescr("SpinedBuffer.s():" + name, 123 spliterators.add(splitDescr("Primitives.s(SpinedBuffer.iterator(), size):" + name, [all...] |
H A D | DoubleStreamTestDataProvider.java | 83 final Object name = data[0]; 86 list.add(new Object[]{"array:" + name, 87 TestData.Factory.ofArray("array:" + name, doubles)}); 93 list.add(new Object[]{"SpinedList:" + name, 94 TestData.Factory.ofSpinedBuffer("SpinedList:" + name, isl)}); 102 final Object name = data[0]; 110 spliterators.add(splitDescr("Arrays.s(array):" + name, 112 spliterators.add(splitDescr("Arrays.s(array,o,l):" + name, 115 spliterators.add(splitDescr("SpinedBuffer.s():" + name, 118 spliterators.add(splitDescr("Primitives.s(SpinedBuffer.iterator(), size):" + name, [all...] |
H A D | StreamTestDataProvider.java | 89 final Object name = data[0]; 93 list.add(arrayDataDescr("array:" + name, ints)); 94 list.add(collectionDataDescr("ArrayList.asList:" + name, intsAsList)); 95 list.add(collectionDataDescr("ArrayList:" + name, new ArrayList<>(intsAsList))); 96 list.add(streamDataDescr("DelegatingStream(ArrayList):" + name, 104 list.add(collectionDataDescr("ArrayList.Sublist:" + name, 107 list.add(collectionDataDescr("LinkedList:" + name, new LinkedList<>(intsAsList))); 108 list.add(collectionDataDescr("HashSet:" + name, new HashSet<>(intsAsList))); 109 list.add(collectionDataDescr("LinkedHashSet:" + name, new LinkedHashSet<>(intsAsList))); 110 list.add(collectionDataDescr("TreeSet:" + name, ne [all...] |
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
H A D | IntStreamTestDataProvider.java | 84 final Object name = data[0]; 88 name, TestData.Factory.ofArray("array:" + name, ints)}); 94 list.add(new Object[]{"SpinedList:" + name, 95 TestData.Factory.ofSpinedBuffer("SpinedList:" + name, isl)}); 108 final Object name = data[0]; 116 spliterators.add(splitDescr("Arrays.s(array):" + name, 118 spliterators.add(splitDescr("Arrays.s(array,o,l):" + name, 121 spliterators.add(splitDescr("SpinedBuffer.s():" + name, 124 spliterators.add(splitDescr("Primitives.s(SpinedBuffer.iterator(), size):" + name, [all...] |
H A D | LongStreamTestDataProvider.java | 84 final Object name = data[0]; 87 list.add(new Object[]{"array:" + name, 88 TestData.Factory.ofArray("array:" + name, longs)}); 94 list.add(new Object[]{"SpinedList:" + name, 95 TestData.Factory.ofSpinedBuffer("SpinedList:" + name, isl)}); 108 final Object name = data[0]; 116 spliterators.add(splitDescr("Arrays.s(array):" + name, 118 spliterators.add(splitDescr("Arrays.s(array,o,l):" + name, 121 spliterators.add(splitDescr("SpinedBuffer.s():" + name, 124 spliterators.add(splitDescr("Primitives.s(SpinedBuffer.iterator(), size):" + name, [all...] |
H A D | DoubleStreamTestDataProvider.java | 84 final Object name = data[0]; 87 list.add(new Object[]{"array:" + name, 88 TestData.Factory.ofArray("array:" + name, doubles)}); 94 list.add(new Object[]{"SpinedList:" + name, 95 TestData.Factory.ofSpinedBuffer("SpinedList:" + name, isl)}); 103 final Object name = data[0]; 111 spliterators.add(splitDescr("Arrays.s(array):" + name, 113 spliterators.add(splitDescr("Arrays.s(array,o,l):" + name, 116 spliterators.add(splitDescr("SpinedBuffer.s():" + name, 119 spliterators.add(splitDescr("Primitives.s(SpinedBuffer.iterator(), size):" + name, [all...] |
H A D | StreamTestDataProvider.java | 92 final Object name = data[0]; 96 list.add(arrayDataDescr("array:" + name, ints)); 97 list.add(collectionDataDescr("ArrayList.asList:" + name, intsAsList)); 98 list.add(collectionDataDescr("ArrayList:" + name, new ArrayList<>(intsAsList))); 99 list.add(streamDataDescr("DelegatingStream(ArrayList):" + name, 107 list.add(collectionDataDescr("ArrayList.Sublist:" + name, 110 list.add(collectionDataDescr("LinkedList:" + name, new LinkedList<>(intsAsList))); 111 list.add(collectionDataDescr("HashSet:" + name, new HashSet<>(intsAsList))); 112 list.add(collectionDataDescr("LinkedHashSet:" + name, new LinkedHashSet<>(intsAsList))); 113 list.add(collectionDataDescr("TreeSet:" + name, ne [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | HostnameChecker.java | 85 * @exception CertificateException if the name does not match any of 106 * Return the Server name from Kerberos principal. 114 * address. The hostname does not need to be a fully qualified name. 117 * That means if the method returns true, name need not be a correct 121 private static boolean isIpAddress(String name) { argument 122 if (IPAddressUtil.isIPv4LiteralAddress(name) || 123 IPAddressUtil.isIPv6LiteralAddress(name)) { 160 * Check if the certificate allows use of the given DNS name. 171 * the certificate (e.g., more than one dNSName name, a match in any one 192 + "name matchin 246 isMatched(String name, String template) argument 267 matchAllWildcards(String name, String template) argument 297 matchLeftmostWildcard(String name, String template) argument 327 matchWildCards(String name, String template) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | ElementImpl.java | 54 ElementImpl(DocumentImpl document, String name) { argument 56 setName(this, name); 59 private int indexOfAttribute(String name) { argument 62 if (Objects.equal(name, attr.getNodeName())) { 82 public String getAttribute(String name) { argument 83 Attr attr = getAttributeNode(name); 102 public AttrImpl getAttributeNode(String name) { argument 103 int i = indexOfAttribute(name); 132 Element getElementById(String name) { argument 134 if (attr.isId() && name 161 getElementsByTagName(String name) argument 203 hasAttribute(String name) argument 216 removeAttribute(String name) argument 246 setAttribute(String name, String value) argument 330 indexOfItem(String name) argument 338 getNamedItem(String name) argument 350 removeNamedItem(String name) argument 393 setIdAttribute(String name, boolean isId) argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
H A D | MockReader.java | 77 public boolean getFeature(String name) throws SAXNotRecognizedException, argument 79 return features.contains(name); 82 public Object getProperty(String name) throws SAXNotRecognizedException, argument 84 return properties.get(name); 111 public void setFeature(String name, boolean value) { argument 113 features.add(name); 115 features.remove(name); 119 public void setProperty(String name, Object value) throws SAXNotRecognizedException, argument 122 properties.remove(name); 124 properties.put(name, valu [all...] |
/libcore/xml/src/main/java/org/xmlpull/v1/ |
H A D | XmlSerializer.java | 38 * Set feature identified by name (recommended to be URI for uniqueness). 48 void setFeature(String name, argument 54 * Return the current value of the feature with given name. 57 * @param name The name of feature to be retrieved. 61 boolean getFeature(String name); argument 66 * (the property name is recommended to be URI for uniqueness). 76 void setProperty(String name, argument 83 * The property name is any fully-qualified URI. I 86 * @param name Th 89 getProperty(String name) argument 209 startTag(String namespace, String name) argument 219 attribute(String namespace, String name, String value) argument 230 endTag(String namespace, String name) argument [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | SocketOptionRegistry.java | 38 private final SocketOption<?> name; field in class:SocketOptionRegistry.RegistryKey 40 RegistryKey(SocketOption<?> name, ProtocolFamily family) { argument 41 this.name = name; 45 return name.hashCode() + family.hashCode(); 51 if (this.name != other.name) return false; 79 public static OptionKey findOption(SocketOption<?> name, ProtocolFamily family) { argument 80 RegistryKey key = new RegistryKey(name, family);
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | AuthorityInfoAccessExtension.java | 77 * Attribute name. 140 * Return the name of this attribute. 166 public void set(String name, Object obj) throws IOException { argument 167 if (name.equalsIgnoreCase(DESCRIPTIONS)) { 173 throw new IOException("Attribute name [" + name + 183 public Object get(String name) throws IOException { argument 184 if (name.equalsIgnoreCase(DESCRIPTIONS)) { 187 throw new IOException("Attribute name [" + name 196 delete(String name) argument [all...] |
H A D | CertificatePoliciesExtension.java | 193 public void set(String name, Object obj) throws IOException { argument 194 if (name.equalsIgnoreCase(POLICIES)) { 200 throw new IOException("Attribute name [" + name + 210 public List<PolicyInformation> get(String name) throws IOException { argument 211 if (name.equalsIgnoreCase(POLICIES)) { 215 throw new IOException("Attribute name [" + name + 224 public void delete(String name) throws IOException { argument 225 if (name [all...] |
H A D | SubjectInfoAccessExtension.java | 81 * Attribute name. 144 * Return the name of this attribute. 170 public void set(String name, Object obj) throws IOException { argument 171 if (name.equalsIgnoreCase(DESCRIPTIONS)) { 177 throw new IOException("Attribute name [" + name + 187 public Object get(String name) throws IOException { argument 188 if (name.equalsIgnoreCase(DESCRIPTIONS)) { 191 throw new IOException("Attribute name [" + name 200 delete(String name) argument [all...] |
H A D | GeneralNames.java | 68 GeneralName name = new GeneralName(encName); 69 add(name); 80 public GeneralNames add(GeneralName name) { argument 81 if (name == null) { 84 names.add(name);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
H A D | documentcreateattributeNS02.java | 34 * The method createAttributeNS creates an attribute of the given qualified name and namespace URI 68 String name; 75 name = attribute1.getName(); 80 assertEquals("documentcreateattributeNS02_att1_name", "xml:xml", name); 86 name = attribute2.getName(); 91 assertEquals("documentcreateattributeNS02_att2_name", "xmlns", name);
|
/libcore/libart/src/main/java/java/lang/ |
H A D | VMClassLoader.java | 66 static URL getResource(String name) { argument 68 URL url = urlHandler.getEntryUrlOrNull(name); 79 static List<URL> getResources(String name) { argument 82 URL url = urlHandler.getEntryUrlOrNull(name); 90 native static Class findLoadedClass(ClassLoader cl, String name); argument
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Boolean.java | 240 * If there is no property with the specified name, or if the specified 241 * name is empty or null, then {@code false} is returned. 243 * @param name the system property name. 248 public static boolean getBoolean(String name) { argument 251 result = toBoolean(System.getProperty(name)); 292 private static boolean toBoolean(String name) { argument 293 return ((name != null) && name.equalsIgnoreCase("true"));
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | IdentityScope.java | 35 * itself, and therefore has a name and can have a scope. It can also 49 * associated certificates. It is named in the scope using the name 51 * public key. Of course, none has the same name as well. 108 * Constructs a new identity scope with the specified name. 110 * @param name the scope name. 112 public IdentityScope(String name) { argument 113 super(name); 117 * Constructs a new identity scope with the specified name and scope. 119 * @param name th 125 IdentityScope(String name, IdentityScope scope) argument 183 getIdentity(String name) argument [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | LRUCache.java | 42 abstract protected V create(N name); argument 44 abstract protected boolean hasName(V ob, N name); argument 53 public V forName(N name) { argument 61 if (hasName(ob, name)) { 70 V ob = create(name);
|
/libcore/support/src/test/java/libcore/tlswire/util/ |
H A D | TlsProtocolVersion.java | 33 public final String name; field in class:TlsProtocolVersion 35 private TlsProtocolVersion(int major, int minor, String name) { argument 38 this.name = name; 65 return name;
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
H A D | documentcreateentityreferenceknown.java | 31 * The "createEntityReference(name)" method creates an 37 * "createEntityReference(name)" method. It should create 39 * given name. The referenced entity is known, therefore the child 72 String name; 80 name = child.getNodeName(); 81 assertEquals("name", "#text", name);
|
H A D | elementgetattributenode.java | 31 * The "getAttributeNode(name)" method retrieves an 32 * attribute node by name. 36 * Attr object, the "name" can be examined to ensure the 68 String name; 73 name = domesticAttr.getNodeName(); 74 assertEquals("elementGetAttributeNodeAssert", "domestic", name);
|