/libcore/ojluni/src/main/java/sun/security/x509/ |
D | IssuerAlternativeNameExtension.java | 65 GeneralNames names = null; field in IssuerAlternativeNameExtension 69 if (names == null || names.isEmpty()) { in encodeThis() 74 names.encode(os); in encodeThis() 84 public IssuerAlternativeNameExtension(GeneralNames names) in IssuerAlternativeNameExtension() argument 86 this.names = names; in IssuerAlternativeNameExtension() 100 public IssuerAlternativeNameExtension(Boolean critical, GeneralNames names) in IssuerAlternativeNameExtension() argument 102 this.names = names; in IssuerAlternativeNameExtension() 114 names = new GeneralNames(); in IssuerAlternativeNameExtension() 132 names = new GeneralNames(); in IssuerAlternativeNameExtension() 136 names = new GeneralNames(val); in IssuerAlternativeNameExtension() [all …]
|
D | X500Name.java | 135 private RDN[] names; // RDNs (never null) field in X500Name 206 names = new RDN[4]; in X500Name() 211 names[3] = new RDN(1); in X500Name() 212 names[3].assertion[0] = new AVA(commonName_oid, in X500Name() 214 names[2] = new RDN(1); in X500Name() 215 names[2].assertion[0] = new AVA(orgUnitName_oid, in X500Name() 217 names[1] = new RDN(1); in X500Name() 218 names[1].assertion[0] = new AVA(orgName_oid, in X500Name() 220 names[0] = new RDN(1); in X500Name() 221 names[0].assertion[0] = new AVA(countryName_oid, in X500Name() [all …]
|
D | GeneralNames.java | 47 private final List<GeneralName> names; field in GeneralNames 77 names = new ArrayList<GeneralName>(); in GeneralNames() 84 names.add(name); in add() 89 return names.get(index); in get() 93 return names.isEmpty(); in isEmpty() 97 return names.size(); in size() 101 return names.iterator(); in iterator() 104 public List<GeneralName> names() { in names() method in GeneralNames 105 return names; in names() 120 for (GeneralName gn : names) { in encode() [all …]
|
D | SubjectAlternativeNameExtension.java | 70 GeneralNames names = null; field in SubjectAlternativeNameExtension 74 if (names == null || names.isEmpty()) { in encodeThis() 79 names.encode(os); in encodeThis() 90 public SubjectAlternativeNameExtension(GeneralNames names) in SubjectAlternativeNameExtension() argument 92 this(Boolean.FALSE, names); in SubjectAlternativeNameExtension() 103 public SubjectAlternativeNameExtension(Boolean critical, GeneralNames names) in SubjectAlternativeNameExtension() argument 105 this.names = names; in SubjectAlternativeNameExtension() 118 names = new GeneralNames(); in SubjectAlternativeNameExtension() 137 names = new GeneralNames(); in SubjectAlternativeNameExtension() 141 names = new GeneralNames(val); in SubjectAlternativeNameExtension() [all …]
|
D | CertificateIssuerExtension.java | 72 private GeneralNames names; field in CertificateIssuerExtension 78 if (names == null || names.isEmpty()) { in encodeThis() 83 names.encode(os); in encodeThis() 97 this.names = issuer; in CertificateIssuerExtension() 117 this.names = new GeneralNames(val); in CertificateIssuerExtension() 131 this.names = (GeneralNames)obj; in set() 146 return names; in get() 160 names = null; in delete() 173 String.valueOf(names) + "]\n"; in toString()
|
D | AuthorityKeyIdentifierExtension.java | 79 private GeneralNames names = null; field in AuthorityKeyIdentifierExtension 84 if (id == null && names == null && serialNum == null) { in encodeThis() 97 if (names != null) { in encodeThis() 99 names.encode(tmp1); in encodeThis() 130 this.names = name; in AuthorityKeyIdentifierExtension() 176 if (names != null) in AuthorityKeyIdentifierExtension() 180 names = new GeneralNames(opt); in AuthorityKeyIdentifierExtension() 203 if (names != null) { in toString() 204 s += names.toString() + "\n"; in toString() 244 names = (GeneralNames)obj; in set() [all …]
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | AttributeListImpl.java | 140 names.add(name); in addAttribute() 161 int i = names.indexOf(name); in removeAttribute() 163 names.remove(i); in removeAttribute() 181 names.clear(); in clear() 200 return names.size(); in getLength() 213 if (i < 0 || i >= names.size()) { in getName() 216 return names.get(i); in getName() 264 return getType(names.indexOf(name)); in getType() 277 return getValue(names.indexOf(name)); in getValue() 286 private ArrayList<String> names = new ArrayList<String>(); field in AttributeListImpl
|
/libcore/ojluni/src/main/native/ |
D | canonicalize_md.c | 49 collapsible(char *names) in collapsible() argument 51 char *p = names; in collapsible() 78 splitNames(char *names, char **ix) in splitNames() argument 80 char *p = names; in splitNames() 100 joinNames(char *names, int nc, char **ix) in joinNames() argument 105 for (i = 0, p = names; i < nc; i++) { in joinNames() 130 char *names = (path[0] == '/') ? path + 1 : path; /* Preserve first '/' */ in collapse() local 136 nc = collapsible(names); in collapse() 139 splitNames(names, ix); in collapse() 180 joinNames(names, nc, ix); in collapse()
|
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
D | CalendarDataUtility.java | 127 String[] names = getNames(id, field, style, locale); in retrieveFieldValueName() local 128 if (value >= names.length) { in retrieveFieldValueName() 131 return names[value]; in retrieveFieldValueName() 168 Map<String, Integer> names; in retrieveFieldValueNames() local 170 names = retrieveFieldValueNamesImpl(id, field, SHORT_FORMAT, locale); in retrieveFieldValueNames() 172 names.putAll(retrieveFieldValueNamesImpl(id, field, st, locale)); in retrieveFieldValueNames() 176 names = retrieveFieldValueNamesImpl(id, field, style, locale); in retrieveFieldValueNames() 178 return names.isEmpty() ? null : names; in retrieveFieldValueNames() 227 String[] names = getNames(id, field, style, locale); in retrieveFieldValueNamesImpl() local 246 for (int i = skipped; i < names.length; i++) { in retrieveFieldValueNamesImpl() [all …]
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | SystemScope.java | 46 private Hashtable names = new Hashtable(); field in SystemScope 76 return names.size(); in size() 86 return (Identity) names.get(name); in getIdentity() 108 if (names.containsKey(name)) { in addIdentity() 117 names.put(name, identity); in addIdentity() 139 boolean contains = names.containsKey(name); in removeIdentity() 140 names.remove(name); in removeIdentity() 158 return names.elements(); in identities()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarFile.java | 343 String[] names = getMetaInfEntryNames(); in maybeInstantiateVerifier() local 344 if (names != null) { in maybeInstantiateVerifier() 345 for (int i = 0; i < names.length; i++) { in maybeInstantiateVerifier() 346 String name = names[i].toUpperCase(Locale.ENGLISH); in maybeInstantiateVerifier() 375 String[] names = getMetaInfEntryNames(); in initializeVerifier() local 376 if (names != null) { in initializeVerifier() 377 for (int i = 0; i < names.length; i++) { in initializeVerifier() 378 String uname = names[i].toUpperCase(Locale.ENGLISH); in initializeVerifier() 381 JarEntry e = getJarEntry(names[i]); in initializeVerifier() 512 String[] names = getMetaInfEntryNames(); in getManEntry() local [all …]
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | CalendarSystem.java | 82 private static final Map<String, Class<?>> names; field in CalendarSystem 89 names = new HashMap<>(); 90 names.put("gregorian", Gregorian.class); 91 names.put("japanese", LocalGregorianCalendar.class); 92 names.put("julian", JulianCalendar.class); 160 Class<?> calendarClass = names.get(calendarName); in forName()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | FilePreferencesImplTest.java | 54 String[] names = uroot.keys(); in testPutGet() local 55 assertEquals(1, names.length); in testPutGet() 61 names = uroot.keys(); in testPutGet() 62 assertEquals(3, names.length); in testPutGet() 66 names = uroot.keys(); in testPutGet() 67 assertEquals(0, names.length); in testPutGet()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | X509CRLSelector.java | 197 public void setIssuerNames(Collection<?> names) throws IOException { in setIssuerNames() argument 198 if (names == null || names.size() == 0) { in setIssuerNames() 202 HashSet<Object> tempNames = cloneAndCheckIssuerNames(names); in setIssuerNames() 311 private static HashSet<Object> cloneAndCheckIssuerNames(Collection<?> names) in cloneAndCheckIssuerNames() argument 315 Iterator<?> i = names.iterator(); in cloneAndCheckIssuerNames() 344 private static HashSet<Object> cloneIssuerNames(Collection<Object> names) { in cloneIssuerNames() argument 346 return cloneAndCheckIssuerNames(names); in cloneIssuerNames() 364 private static HashSet<X500Principal> parseIssuerNames(Collection<Object> names) in parseIssuerNames() argument 367 for (Iterator<Object> t = names.iterator(); t.hasNext(); ) { in parseIssuerNames()
|
D | CertPathHelperImpl.java | 59 Set<GeneralNameInterface> names) { in implSetPathToNames() argument 60 sel.setPathToNamesInternal(names); in implSetPathToNames()
|
D | X509CertSelector.java | 697 public void setSubjectAlternativeNames(Collection<List<?>> names) in setSubjectAlternativeNames() argument 699 if (names == null) { in setSubjectAlternativeNames() 703 if (names.isEmpty()) { in setSubjectAlternativeNames() 708 Set<List<?>> tempNames = cloneAndCheckNames(names); in setSubjectAlternativeNames() 847 …private static Set<GeneralNameInterface> parseNames(Collection<List<?>> names) throws IOException { in parseNames() argument 849 for (List<?> nameList : names) { in parseNames() 1168 public void setPathToNames(Collection<List<?>> names) throws IOException { in setPathToNames() argument 1169 if ((names == null) || names.isEmpty()) { in setPathToNames() 1173 Set<List<?>> tempNames = cloneAndCheckNames(names); in setPathToNames() 1181 void setPathToNamesInternal(Set<GeneralNameInterface> names) { in setPathToNamesInternal() argument [all …]
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractUserDefinedFileAttributeView.java | 80 List<String> names = new ArrayList<>(); in readAttributes() local 83 names = list(); in readAttributes() 88 names.add(name); in readAttributes() 94 for (String name: names) { in readAttributes()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | CertPathHelper.java | 58 Set<GeneralNameInterface> names); in implSetPathToNames() argument 63 Set<GeneralNameInterface> names) { in setPathToNames() argument 64 instance.implSetPathToNames(sel, names); in setPathToNames()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/parameter/ |
D | MetadataVariations.smali | 29 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/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | GeneralNames.java | 66 public java.util.List<sun.security.x509.GeneralName> names() { in names() method in GeneralNames 87 private final java.util.List<sun.security.x509.GeneralName> names; field in GeneralNames 90 names = null;
|
D | SubjectAlternativeNameExtension.java | 34 public SubjectAlternativeNameExtension(sun.security.x509.GeneralNames names) in SubjectAlternativeNameExtension() argument 40 java.lang.Boolean critical, sun.security.x509.GeneralNames names) in SubjectAlternativeNameExtension() argument 93 sun.security.x509.GeneralNames names; field in SubjectAlternativeNameExtension
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | SecretKeyFactoryThread.java | 26 SecretKeyFactoryThread(String[] names) { in SecretKeyFactoryThread() argument 27 super(names); in SecretKeyFactoryThread()
|
D | MacThread.java | 22 MacThread(String[] names) { in MacThread() argument 23 super(names); in MacThread()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ServiceLoader.java | 253 List<String> names) in parseLine() argument 275 if (!providers.containsKey(ln) && !names.contains(ln)) in parseLine() 276 names.add(ln); in parseLine() 303 ArrayList<String> names = new ArrayList<>(); in parse() local 308 while ((lc = parseLine(service, u, r, lc, names)) >= 0); in parse() 319 return names.iterator(); in parse()
|
/libcore/json/src/test/java/libcore/org/json/ |
D | JSONObjectTest.java | 50 assertNull(object.names()); in testEmptyObject() 539 JSONArray names = new JSONArray(); in testToJSONArray() local 540 names.put("baz"); in testToJSONArray() 541 names.put("quux"); in testToJSONArray() 542 names.put("foo"); in testToJSONArray() 544 JSONArray array = object.toJSONArray(names); in testToJSONArray() 559 JSONArray names = new JSONArray(); in testToJSONArrayMissingNames() local 560 names.put("bar"); in testToJSONArrayMissingNames() 561 names.put("foo"); in testToJSONArrayMissingNames() 562 names.put("quux"); in testToJSONArrayMissingNames() [all …]
|