Searched refs:name (Results 176 - 200 of 584) sorted by relevance

1234567891011>>

/libcore/support/src/test/java/libcore/tlswire/handshake/
H A DHelloExtension.java68 public String name; field in class:HelloExtension
83 result.name = TYPE_TO_NAME.get(result.type);
84 if (result.name == null) {
85 result.name = String.valueOf(result.type);
99 return "HelloExtension{type: " + name + ", data: " + HexEncoding.encode(data) + "}";
/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java37 public static InputStream getStream(String name) { argument
39 String path = RESOURCE_PACKAGE + name;
59 public static String getURL(String name) { argument
61 String fileName = name;
63 int index = name.lastIndexOf("/");
65 folder = name.substring(0, index);
66 name = name.substring(index + 1);
68 copyFile(resources, folder, name);
163 * @param name
166 getResourceStream(String name) argument
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DFileInputStream.java74 * the file named by the path name <code>name</code>
81 * is called with the <code>name</code> argument
88 * @param name the system-dependent file name.
98 public FileInputStream(String name) throws FileNotFoundException { argument
99 this(name != null ? new File(name) : null);
130 String name = (file != null ? file.getPath() : null);
133 security.checkRead(name);
188 open(String name) argument
[all...]
/libcore/ojluni/src/main/java/java/util/zip/
H A DZipFile.java64 private final String name; // zip file name field in class:ZipFile
103 * method is called with the <code>name</code> argument as its argument
109 * @param name the name of the zip file
117 public ZipFile(String name) throws IOException { argument
118 this(new File(name), OPEN_READ);
127 * method is called with the <code>name</code> argument as its argument to
172 * method is called with the <code>name</code> argument as its argument to
179 * be used to decode the ZIP entry name an
257 ZipFile(String name, Charset charset) argument
309 getEntry(String name) argument
326 getEntry(long jzfile, byte[] name, boolean addSlash) argument
531 getZipEntry(String name, long jzentry) argument
774 open(String name, int mode, long lastModified, boolean usemmap) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DBasicConstraintsExtension.java209 public void set(String name, Object obj) throws IOException { argument
210 if (name.equalsIgnoreCase(IS_CA)) {
215 } else if (name.equalsIgnoreCase(PATH_LEN)) {
221 throw new IOException("Attribute name not recognized by " +
230 public Object get(String name) throws IOException { argument
231 if (name.equalsIgnoreCase(IS_CA)) {
233 } else if (name.equalsIgnoreCase(PATH_LEN)) {
236 throw new IOException("Attribute name not recognized by " +
244 public void delete(String name) throws IOException { argument
245 if (name
[all...]
H A DCRLDistributionPointsExtension.java49 * name MUST be a non-relative URL, and MUST follow the URL syntax and
50 * encoding rules specified in [RFC 1738]. The name must include both
52 * scheme- specific-part must include a fully qualified domain name or
54 * name is not case-sensitive (e.g., "http" is equivalent to "HTTP").
93 * Attribute name.
189 * Return the name of this attribute.
226 public void set(String name, Object obj) throws IOException { argument
227 if (name.equalsIgnoreCase(POINTS)) {
233 throw new IOException("Attribute name [" + name
243 get(String name) argument
256 delete(String name) argument
[all...]
H A DCertificateValidity.java49 * Sub attributes name for this CertAttrSet.
176 public void set(String name, Object obj) throws IOException { argument
180 if (name.equalsIgnoreCase(NOT_BEFORE)) {
182 } else if (name.equalsIgnoreCase(NOT_AFTER)) {
185 throw new IOException("Attribute name not recognized by " +
193 public Object get(String name) throws IOException { argument
194 if (name.equalsIgnoreCase(NOT_BEFORE)) {
196 } else if (name.equalsIgnoreCase(NOT_AFTER)) {
199 throw new IOException("Attribute name not recognized by " +
207 public void delete(String name) throw argument
[all...]
H A DPrivateKeyUsageExtension.java69 * Sub attributes name for this CertAttrSet.
245 public void set(String name, Object obj) argument
250 if (name.equalsIgnoreCase(NOT_BEFORE)) {
252 } else if (name.equalsIgnoreCase(NOT_AFTER)) {
255 throw new CertificateException("Attribute name not recognized by"
265 public Object get(String name) throws CertificateException { argument
266 if (name.equalsIgnoreCase(NOT_BEFORE)) {
268 } else if (name.equalsIgnoreCase(NOT_AFTER)) {
271 throw new CertificateException("Attribute name not recognized by"
280 public void delete(String name) throw argument
[all...]
H A DAuthorityKeyIdentifierExtension.java126 public AuthorityKeyIdentifierExtension(KeyIdentifier kid, GeneralNames name, argument
130 this.names = name;
232 public void set(String name, Object obj) throws IOException { argument
233 if (name.equalsIgnoreCase(KEY_ID)) {
239 } else if (name.equalsIgnoreCase(AUTH_NAME)) {
245 } else if (name.equalsIgnoreCase(SERIAL_NUMBER)) {
252 throw new IOException("Attribute name not recognized by " +
261 public Object get(String name) throws IOException { argument
262 if (name.equalsIgnoreCase(KEY_ID)) {
264 } else if (name
277 delete(String name) argument
[all...]
H A DCRLReasonCodeExtension.java67 * Attribute name and Reason codes
142 public void set(String name, Object obj) throws IOException { argument
146 if (name.equalsIgnoreCase(REASON)) {
158 public Object get(String name) throws IOException { argument
159 if (name.equalsIgnoreCase(REASON)) {
170 public void delete(String name) throws IOException { argument
171 if (name.equalsIgnoreCase(REASON)) {
217 * Return the name of this attribute.
H A DCertificateVersion.java61 * Sub attributes name for this CertAttrSet.
179 public void set(String name, Object obj) throws IOException { argument
183 if (name.equalsIgnoreCase(VERSION)) {
186 throw new IOException("Attribute name not recognized by " +
194 public Object get(String name) throws IOException { argument
195 if (name.equalsIgnoreCase(VERSION)) {
198 throw new IOException("Attribute name not recognized by " +
206 public void delete(String name) throws IOException { argument
207 if (name.equalsIgnoreCase(VERSION)) {
210 throw new IOException("Attribute name no
[all...]
H A DInhibitAnyPolicyExtension.java187 * @param name name of attribute to set. Must be SKIP_CERTS.
192 public void set(String name, Object obj) throws IOException { argument
193 if (name.equalsIgnoreCase(SKIP_CERTS)) {
205 throw new IOException("Attribute name not recognized by " +
213 * @param name name of attribute to get. Must be SKIP_CERTS.
218 public Integer get(String name) throws IOException { argument
219 if (name.equalsIgnoreCase(SKIP_CERTS))
222 throw new IOException("Attribute name no
234 delete(String name) argument
[all...]
H A DInvalidityDateExtension.java64 * Attribute name and Reason codes
125 public void set(String name, Object obj) throws IOException { argument
129 if (name.equalsIgnoreCase(DATE)) {
141 public Object get(String name) throws IOException { argument
142 if (name.equalsIgnoreCase(DATE)) {
157 public void delete(String name) throws IOException { argument
158 if (name.equalsIgnoreCase(DATE)) {
204 * Return the name of this attribute.
H A DPolicyMappingsExtension.java167 public void set(String name, Object obj) throws IOException { argument
168 if (name.equalsIgnoreCase(MAP)) {
175 throw new IOException("Attribute name not recognized by " +
184 public List<CertificatePolicyMap> get(String name) throws IOException { argument
185 if (name.equalsIgnoreCase(MAP)) {
188 throw new IOException("Attribute name not recognized by " +
196 public void delete(String name) throws IOException { argument
197 if (name.equalsIgnoreCase(MAP)) {
200 throw new IOException("Attribute name not recognized by " +
218 * Return the name o
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DXmlPullParserFactoryTest.java127 public void setFeature(String name, boolean state) { argument
140 public void setFeature(String name, boolean state) throws IllegalArgumentException, argument
144 public boolean getFeature(String name) { argument
148 public void setProperty(String name, Object value) { argument
151 public Object getProperty(String name) { argument
186 public XmlSerializer startTag(String namespace, String name) throws IOException { argument
190 public XmlSerializer attribute(String namespace, String name, String value) throws IOException { argument
194 public XmlSerializer endTag(String namespace, String name) throws IOException { argument
229 public void setFeature(String name, boolean state) throws XmlPullParserException { argument
232 public boolean getFeature(String name) { argument
236 setProperty(String name, Object value) argument
239 getProperty(String name) argument
346 getAttributeValue(String namespace, String name) argument
362 require(int type, String namespace, String name) argument
[all...]
H A DNormalizeTest.java138 for (String name : infosetImpliesFalse) {
139 if (domConfiguration.canSetParameter(name, true)) {
140 domConfiguration.setParameter(name, true);
143 for (String name : infosetImpliesTrue) {
144 if (domConfiguration.canSetParameter(name, false)) {
145 domConfiguration.setParameter(name, false);
153 for (String name : infosetImpliesFalse) {
154 assertEquals(false, domConfiguration.getParameter(name));
156 for (String name : infosetImpliesTrue) {
157 assertEquals(true, domConfiguration.getParameter(name));
300 assertUnsupported(String name, Object value) argument
319 assertSupported(String name, Object value) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/charset/
H A DCharset.java63 * charset is supported, for locating charset instances by name, and for
73 * <a name="names"><a name="charenc">
106 * A charset name must begin with either a letter or a digit. The empty string
107 * is not a legal charset name. Charset names are not case-sensitive; that is,
113 * <p> Every charset has a <i>canonical name</i> and may also have one or more
114 * <i>aliases</i>. The canonical name is returned by the {@link #name() name} method
119 * <a name
678 private final String name; // tickles a bug in oldjavac field in class:Charset
709 public final String name() { method in class:Charset
[all...]
/libcore/ojluni/src/main/native/
H A DNetworkInterface.c65 char *name; member in struct:_netif
131 ni_nameID = (*env)->GetFieldID(env, ni_class,"name", "Ljava/lang/String;");
167 (JNIEnv *env, jclass cls, jstring name) {
179 name_utf = (*env)->GetStringUTFChars(env, name, &isCopy);
182 * Search the list of interface based on name
186 if (strcmp(name_utf, curr->name) == 0) {
198 (*env)->ReleaseStringUTFChars(env, name, name_utf);
391 JNIEXPORT jboolean JNICALL NetworkInterface_isUp0(JNIEnv *env, jclass cls, jstring name, jint index) { argument
392 int ret = getFlags0(env, name);
401 JNIEXPORT jboolean JNICALL NetworkInterface_isP2P0(JNIEnv *env, jclass cls, jstring name, jin argument
166 NetworkInterface_getByName0(JNIEnv *env, jclass cls, jstring name) argument
411 NetworkInterface_isLoopback0(JNIEnv *env, jclass cls, jstring name, jint index) argument
421 NetworkInterface_supportsMulticast0(JNIEnv *env, jclass cls, jstring name, jint index) argument
432 NetworkInterface_getMTU0(JNIEnv *env, jclass class, jstring name, jint index) argument
456 getFlags0(JNIEnv *env, jstring name) argument
493 jobject name; local
758 char name[IFNAMSIZ], vname[IFNAMSIZ]; local
1018 getIndex(int sock, const char *name) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DThread.java127 * Every thread has a name for identification purposes. More than
128 * one thread may have the same name. If a name is not specified when
129 * a thread is created, a new name is generated for it.
155 private String name; field in class:Thread
393 * @param name the name of the new Thread
397 private void init(ThreadGroup g, Runnable target, String name, long stackSize) { argument
409 setName(name);
434 * name
492 Thread(String name) argument
516 Thread(ThreadGroup group, String name) argument
523 Thread(ThreadGroup group, String name, int priority, boolean daemon) argument
563 Thread(Runnable target, String name) argument
611 Thread(ThreadGroup group, Runnable target, String name) argument
689 Thread(ThreadGroup group, Runnable target, String name, long stackSize) argument
1153 setName(String name) argument
[all...]
H A DClass.java96 * class name of an object:
111 * {@code System.out.println("The name of class Foo is: "+Foo.class.getName());}
161 /** Lazily computed name of this class; always prefer calling getName(). */
162 private transient String name; field in class:Class
278 * fully qualified name of the class in the format returned by
280 * primitive type, this method returns the name of the primitive type. If
294 * interface with the given string name. Invoking this method is
315 * @param className the fully qualified name of the desired class.
317 * specified name.
332 * interface with the given string name, usin
391 forName(String name, boolean initialize, ClassLoader loader) argument
1543 getField(String name) argument
1561 getPublicFieldRecursive(String name) argument
1635 getMethod(String name, Class<?>... parameterTypes) argument
1909 getDeclaredField(String name) argument
1958 getDeclaredMethod(String name, Class<?>... parameterTypes) argument
1963 getMethod(String name, Class<?>[] parameterTypes, boolean recursivePublicMethods) argument
1985 getPublicMethodRecursive(String name, Class<?>[] parameterTypes) argument
2088 getResourceAsStream(String name) argument
2132 getResource(String name) argument
2170 resolveName(String name) argument
2656 getDeclaredMethodInternal(String name, Class<?>[] args) argument
[all...]
/libcore/ojluni/src/main/java/sun/net/ftp/
H A DFtpClient.java133 * @param dest the {@code String} containing the name of the host
265 * Attempts to log on the server with the specified user name and password.
267 * @param user The user name
276 * Attempts to log on the server with the specified user name, password and
277 * account name.
279 * @param user The user name
281 * @param account The account name for that user.
360 * @param name a {@code String} containing the name of the file to
368 public abstract FtpClient getFile(String name, OutputStrea argument
385 getFileStream(String name) argument
404 putFileStream(String name) argument
433 putFileStream(String name, boolean unique) argument
462 putFile(String name, InputStream local) argument
488 putFile(String name, InputStream local, boolean unique) argument
506 appendFile(String name, InputStream local) argument
528 deleteFile(String name) argument
539 makeDirectory(String name) argument
551 removeDirectory(String name) argument
578 getStatus(String name) argument
[all...]
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DParserAdapter.java168 * @param name The feature name, as a complete URI.
176 public void setFeature (String name, boolean value)
179 if (name.equals(NAMESPACES)) {
180 checkNotParsing("feature", name);
185 } else if (name.equals(NAMESPACE_PREFIXES)) {
186 checkNotParsing("feature", name);
191 } else if (name.equals(XMLNS_URIs)) {
192 checkNotParsing("feature", name);
195 throw new SAXNotRecognizedException("Feature: " + name);
174 setFeature(String name, boolean value) argument
212 getFeature(String name) argument
240 setProperty(String name, Object value) argument
260 getProperty(String name) argument
796 checkNotParsing(String type, String name) argument
[all...]
/libcore/ojluni/src/lambda/java/java/lang/invoke/
H A DMethodHandles.java60 MethodHandle findStatic(Class<?> refc, String name, MethodType type) throws NoSuchMethodException, IllegalAccessException { return null; } argument
62 public MethodHandle findVirtual(Class<?> refc, String name, MethodType type) throws NoSuchMethodException, IllegalAccessException { return null; } argument
66 public MethodHandle findSpecial(Class<?> refc, String name, MethodType type, argument
69 public MethodHandle findGetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAccessException { return null; } argument
71 public MethodHandle findSetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAccessException { return null; } argument
73 public MethodHandle findStaticGetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAccessException { return null; } argument
75 public MethodHandle findStaticSetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAccessException { return null; } argument
77 public MethodHandle bind(Object receiver, String name, MethodType type) throws NoSuchMethodException, IllegalAccessException { return null; } argument
/libcore/ojluni/src/main/java/java/util/jar/
H A DJarEntry.java44 * entry name.
46 * @param name the JAR file entry name
47 * @exception NullPointerException if the entry name is <code>null</code>
48 * @exception IllegalArgumentException if the entry name is longer than
51 public JarEntry(String name) { argument
52 super(name);
/libcore/ojluni/src/main/java/javax/security/auth/x500/
H A DX500Principal.java41 * of the distinguished name, or by using the ASN.1 DER encoded byte
42 * representation of the distinguished name. The current specification
43 * for the string representation of a distinguished name is defined in
101 * an X.500 distinguished name (ex:
103 * The distinguished name must be specified using the grammar defined in
114 * @param name an X.500 distinguished name in RFC 1779 or RFC 2253 format
115 * @exception NullPointerException if the <code>name</code>
117 * @exception IllegalArgumentException if the <code>name</code>
120 public X500Principal(String name) { argument
154 X500Principal(String name, Map<String, String> keywordMap) argument
210 X500Principal(byte[] name) argument
[all...]

Completed in 1440 milliseconds

1234567891011>>