Searched defs:names (Results 1 - 25 of 29) sorted by relevance

12

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
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 DSecretKeyFactoryThread.java26 SecretKeyFactoryThread(String[] names) { argument
27 super(names);
H A DKeyAgreementThread.java63 public KeyAgreementThread(String[] names) { argument
64 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/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/libcore/java/util/zip/
H A DZipInputStreamTest.java146 private static byte[] zip(String[] names, byte[] bytes) throws IOException { argument
150 for (String name : names) {
/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 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 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 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/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/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/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/java/nio/charset/
H A DCoderResult.java93 private static final String[] names field in class:CoderResult
110 String nm = names[type];
/libcore/ojluni/src/main/java/java/util/
H A DServiceLoader.java71 * The file contains a list of fully-qualified binary names of concrete
250 // on the line to the names list.
253 List<String> names)
275 if (!providers.containsKey(ln) && !names.contains(ln))
276 names.add(ln);
291 // names in the given configuration file that are not yet members
303 ArrayList<String> names = new ArrayList<>();
308 while ((lc = parseLine(service, u, r, lc, names)) >= 0);
319 return names.iterator();
446 * violates the specified format, or if it names
252 parseLine(Class<?> service, URL u, BufferedReader r, int lc, List<String> names) argument
[all...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DAbstractBasicFileAttributeView.java49 // the names of the basic attributes
92 private Set<String> names = new HashSet<>(); field in class:AbstractBasicFileAttributeView.AttributesBuilder
103 names.add(name);
119 return copyAll || names.contains(name);
/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/json/src/main/java/org/json/
H A DJSONArray.java540 * names are the values in {@code names}. Names and values are paired up by
545 public JSONObject toJSONObject(JSONArray names) throws JSONException { argument
547 int length = Math.min(names.length(), values.size());
552 String name = JSON.toString(names.opt(i));
H A DJSONObject.java87 * {@code null}, names with this value:
89 * <li>show up in the {@link #names} array
180 * Creates a new {@code JSONObject} by copying mappings for the listed names
184 public JSONObject(JSONObject copyFrom, String[] names) throws JSONException { argument
186 for (String name : names) {
630 * Returns an array with the values corresponding to {@code names}. The
631 * array contains null for names that aren't mapped. This method returns
632 * null if {@code names} is either null or empty.
634 public JSONArray toJSONArray(JSONArray names) throws JSONException { argument
636 if (names
679 public JSONArray names() { method in class:JSONObject
[all...]
/libcore/ojluni/src/main/java/java/util/zip/
H A DZipOutputStream.java74 private HashSet<String> names = new HashSet<>(); field in class:ZipOutputStream
116 * to encode the entry names and comments.
130 * to be used to encode the entry names and comments
233 if (! names.add(e.name)) {
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DReflectionTest.java271 assertTrue(names(fields).contains("field"));
276 assertTrue(names(fields).contains("field"));
291 assertTrue(names(methods).contains("method"));
296 assertTrue(names(methods).contains("method"));
301 assertEquals(1, count(names(methods), "method"));
306 assertEquals(1, count(names(fields), "field"));
411 private List<String> names(Member[] methods) { method in class:ReflectionTest

Completed in 1316 milliseconds

12