Searched refs:names (Results 1 - 25 of 61) sorted by relevance

123

/libcore/ojluni/src/main/java/sun/security/x509/
H A DGeneralNames.java47 private final List<GeneralName> names; field in class:GeneralNames
77 names = new ArrayList<GeneralName>();
84 names.add(name);
89 return names.get(index);
93 return names.isEmpty();
97 return names.size();
101 return names.iterator();
104 public List<GeneralName> names() { method in class:GeneralNames
105 return names;
120 for (GeneralName gn : names) {
[all...]
H A DIssuerAlternativeNameExtension.java38 * alternative names.
59 * Attribute names.
65 GeneralNames names = null; field in class:IssuerAlternativeNameExtension
69 if (names == null || names.isEmpty()) {
74 names.encode(os);
81 * @param names the GeneralNames for the issuer.
84 public IssuerAlternativeNameExtension(GeneralNames names) argument
86 this.names = names;
100 IssuerAlternativeNameExtension(Boolean critical, GeneralNames names) argument
[all...]
H A DSubjectAlternativeNameExtension.java38 * alternative names.
64 * Attribute names.
70 GeneralNames names = null; field in class:SubjectAlternativeNameExtension
74 if (names == null || names.isEmpty()) {
79 names.encode(os);
87 * @param names the GeneralNames for the subject.
90 public SubjectAlternativeNameExtension(GeneralNames names) argument
92 this(Boolean.FALSE, names);
100 * @param names th
103 SubjectAlternativeNameExtension(Boolean critical, GeneralNames names) argument
[all...]
H A DCertificateIssuerExtension.java67 * Attribute names.
72 private GeneralNames names; field in class:CertificateIssuerExtension
78 if (names == null || names.isEmpty()) {
83 names.encode(os);
97 this.names = issuer;
117 this.names = new GeneralNames(val);
131 this.names = (GeneralNames)obj;
146 return names;
160 names
[all...]
H A DX500Name.java46 * <p> X.500 names are used to identify entities, such as those which are
113 * in distinguished names are irrelevant. The characters themselves are
135 private RDN[] names; // RDNs (never null) field in class:X500Name
206 names = new RDN[4];
211 names[3] = new RDN(1);
212 names[3].assertion[0] = new AVA(commonName_oid,
214 names[2] = new RDN(1);
215 names[2].assertion[0] = new AVA(orgUnitName_oid,
217 names[1] = new RDN(1);
218 names[
[all...]
H A DAuthorityKeyIdentifierExtension.java66 * Attribute names.
79 private GeneralNames names = null; field in class:AuthorityKeyIdentifierExtension
84 if (id == null && names == null && serialNum == null) {
97 if (names != null) {
99 names.encode(tmp1);
121 * @param names the GeneralNames associated with this extension
130 this.names = name;
176 if (names != null)
180 names = new GeneralNames(opt);
203 if (names !
[all...]
/libcore/expectations/
H A Dknownfailures.txt9 names: [
79 names: [
110 names: [
142 names: [
160 names: [
179 names: [
190 names: [
208 names: [
216 names: [
233 names
[all...]
H A Dvirtualdeviceknownfailures.txt18 names: ["org.apache.harmony.tests.java.net.MulticastSocketTest#test_joinGroupLjava_net_InetAddress_IPv4",
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DAttributeListImpl.java141 names.add(name);
162 int i = names.indexOf(name);
164 names.remove(i);
182 names.clear();
202 return names.size();
215 if (i < 0 || i >= names.size()) {
218 return names.get(i);
266 return getType(names.indexOf(name));
279 return getValue(names.indexOf(name));
289 private ArrayList<String> names
286 private ArrayList<String> names = new ArrayList<String>(); field in class:AttributeListImpl
[all...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DSystemScope.java46 private Hashtable names = new Hashtable(); field in class:SystemScope
76 return names.size();
86 return (Identity) names.get(name);
108 if (names.containsKey(name)) {
117 names.put(name, identity);
139 boolean contains = names.containsKey(name);
140 names.remove(name);
158 return names.elements();
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DCertPathHelper.java58 Set<GeneralNameInterface> names);
63 Set<GeneralNameInterface> names) {
64 instance.implSetPathToNames(sel, names);
57 implSetPathToNames(X509CertSelector sel, Set<GeneralNameInterface> names) argument
62 setPathToNames(X509CertSelector sel, Set<GeneralNameInterface> names) argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
H A DSecretKeyFactoryThread.java26 SecretKeyFactoryThread(String[] names) { argument
27 super(names);
H A DKeyGeneratorThread.java26 KeyGeneratorThread(String[] names) { argument
27 super(names);
34 throw new Exception ("Algorithm names not matched for KeyGenerator" +
38 throw new Exception ("Algorithm names not matched for KeyGenerator" +
H A DMacThread.java22 MacThread(String[] names) { argument
23 super(names);
H A DTestThread.java26 TestThread(String[] names) { argument
27 algNamesArray = names;
/libcore/ojluni/src/main/java/java/security/cert/
H A DCertPathHelperImpl.java59 Set<GeneralNameInterface> names) {
60 sel.setPathToNamesInternal(names);
58 implSetPathToNames(X509CertSelector sel, Set<GeneralNameInterface> names) argument
H A DX509CRLSelector.java97 * distinguished names. If {@code null}, any issuer distinguished name
101 * the complete set of issuer names which {@code X509CRLs} may contain.
105 * The {@code names} parameter (if not {@code null}) is a
108 * Note that the {@code names} parameter can contain duplicate
109 * distinguished names, but they may be removed from the
110 * {@code Collection} of names returned by the
137 * or only specify the byte array form of distinguished names when using
142 * distinguished names. If {@code null}, any issuer distinguished name
146 * the complete set of issuer names which {@code X509CRLs} may contain.
150 * The {@code names} paramete
197 setIssuerNames(Collection<?> names) argument
311 cloneAndCheckIssuerNames(Collection<?> names) argument
344 cloneIssuerNames(Collection<Object> names) argument
364 parseIssuerNames(Collection<Object> names) argument
[all...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DAbstractUserDefinedFileAttributeView.java79 // names of attributes to return
80 List<String> names = new ArrayList<>();
83 names = list();
88 names.add(name);
94 for (String name: names) {
/libcore/ojluni/src/main/native/
H A Dcanonicalize_md.c46 Return zero if not, otherwise return the number of names in the sequence. */
49 collapsible(char *names) argument
51 char *p = names;
74 /* Split the names in the given name sequence,
78 splitNames(char *names, char **ix) argument
80 char *p = names;
96 /* Join the names in the given name sequence, ignoring names whose index
100 joinNames(char *names, int nc, char **ix) argument
105 for (i = 0, p = names;
130 char *names = (path[0] == '/') ? path + 1 : path; /* Preserve first '/' */ local
[all...]
/libcore/ojluni/src/main/java/sun/util/calendar/
H A DCalendarSystem.java56 * <h4>Calendar names</h4>
79 // // Map of calendar names and calendar class names
80 // private static ConcurrentMap<String, String> names;
81 // Map of calendar names and calendar classes;
82 private static final Map<String, Class<?>> names; field in class:CalendarSystem
84 // Map of calendar names and CalendarSystem instances
89 names = new HashMap<>();
90 names.put("gregorian", Gregorian.class);
91 names
[all...]
/libcore/ojluni/src/main/java/sun/util/locale/provider/
H A DCalendarDataUtility.java78 // For era the field value does not always equal the index into the names array.
99 String[] names = getNames(id, field, style, locale);
100 if (value >= names.length) {
103 return names[value];
115 Map<String, Integer> names;
117 names = retrieveFieldValueNamesImpl(id, field, SHORT_FORMAT, locale);
119 names.putAll(retrieveFieldValueNamesImpl(id, field, st, locale));
123 names = retrieveFieldValueNamesImpl(id, field, style, locale);
125 return names.isEmpty() ? null : names;
[all...]
/libcore/luni/src/test/java/libcore/java/lang/reflect/parameter/
H A DMetadataVariations.smali29 names = {
46 names = {}
55 names = {
365 names = {
673 names = { "a[a" }
680 names = { "a.a" }
687 names = { "a;a" }
694 names = { "a/a" }
703 names = {
714 names
[all...]
/libcore/luni/src/main/native/
H A Dlibcore_icu_TimeZoneNames.cpp54 std::unique_ptr<icu::TimeZoneNames> names(icu::TimeZoneNames::createInstance(icuLocale.locale(), status));
81 names->getDisplayName(lookup_id, UTZNM_LONG_STANDARD, now, long_std);
83 names->getDisplayName(lookup_id, UTZNM_SHORT_STANDARD, now, short_std);
85 names->getDisplayName(lookup_id, UTZNM_LONG_DAYLIGHT, now, long_dst);
87 names->getDisplayName(lookup_id, UTZNM_SHORT_DAYLIGHT, now, short_dst);
/libcore/ojluni/src/main/java/java/util/jar/
H A DJarFile.java324 String[] names = getMetaInfEntryNames();
325 if (names != null) {
326 for (int i = 0; i < names.length; i++) {
327 String name = names[i].toUpperCase(Locale.ENGLISH);
356 String[] names = getMetaInfEntryNames();
357 if (names != null) {
358 for (int i = 0; i < names.length; i++) {
359 String uname = names[i].toUpperCase(Locale.ENGLISH);
362 JarEntry e = getJarEntry(names[i]);
489 String[] names
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
H A DFilePreferencesImplTest.java53 String[] names = uroot.keys();
54 assertEquals(1, names.length);
60 names = uroot.keys();
61 assertEquals(3, names.length);
65 names = uroot.keys();
66 assertEquals(0, names.length);

Completed in 535 milliseconds

123