Searched refs:name (Results 251 - 275 of 584) sorted by relevance

<<11121314151617181920>>

/libcore/ojluni/src/main/native/
H A Dzip_util.h160 char *name; /* entry name */ member in struct:jzentry
175 * Note that in order to save space we don't keep the name in memory,
179 unsigned int hash; /* 32 bit hashcode on name */
208 char *name; /* zip file name */ member in struct:jzfile
245 ZIP_FindEntry(jzfile *zip, char *name, jint *sizeP, jint *nameLenP);
254 ZIP_Open(const char *name, char **pmsg);
257 ZIP_Open_Generic(const char *name, char **pmsg, int mode, jlong lastModified);
260 ZIP_Get_From_Cache(const char *name, cha
[all...]
H A Dzip_util.c78 static jint INITIAL_META_COUNT = 2; /* initial number of entries in meta name array */
119 fname, /* Wide char path name */
228 * Allocates a new zip file object for the specified file name.
232 allocZip(const char *name) argument
236 ((zip->name = strdup(name)) != NULL) &&
243 free(zip->name);
258 free(zip->name);
422 * Returns true if |s| is a valid zip entry name.
442 * Returns true if the specified entry's name begin
446 isMetaName(const char *name, int length) argument
483 addMetaName(jzfile *zip, const char *name, int length) argument
778 ZIP_Open_Generic(const char *name, char **pmsg, int mode, jlong lastModified) argument
804 ZIP_Get_From_Cache(const char *name, char **pmsg, jlong lastModified) argument
850 ZIP_Put_In_Cache(const char *name, ZFILE zfd, char **pmsg, jlong lastModified) argument
856 ZIP_Put_In_Cache0(const char *name, ZFILE zfd, char **pmsg, jlong lastModified, jboolean usemmap) argument
929 ZIP_Open(const char *name, char **pmsg) argument
1162 ZIP_GetEntry(jzfile *zip, char *name, jint ulen) argument
1447 ZIP_FindEntry(jzfile *zip, char *name, jint *sizeP, jint *nameLenP) argument
[all...]
/libcore/expectations/
H A Dbrokentests.txt7 name: "libcore.java.io.OldFileTest#test_deleteOnExit",
28 name: "org.apache.harmony.tests.java.nio.charset.UTFCharsetEncoderTest#testSpecificDefaultValue",
/libcore/luni/src/test/java/libcore/java/text/
H A DOldAttributedCharacterIteratorAttributeTest.java36 public MockAttributedCharacterIteratorAttribute(String name) { argument
37 super(name);
55 public TestAttributedCharacterIteratorAttribute(String name) { argument
56 super(name);
108 assertEquals("Incorrect attribute name", "test1", mac1.getName());
/libcore/ojluni/src/lambda/java/java/lang/invoke/
H A DMethodHandleInfo.java59 public static String toString(int kind, Class<?> defc, String name, MethodType type) { argument
/libcore/ojluni/src/main/java/java/security/acl/
H A DAcl.java94 * Sets the name of this ACL.
99 * @param name the name to be given to this ACL.
106 public void setName(Principal caller, String name) argument
110 * Returns the name of this ACL.
112 * @return the name of this ACL.
/libcore/ojluni/src/test/
H A Dgen-test-list23 test_property_files="$(find "$DIR" -name TEST.properties)"
37 # Reads a list of .java files from stdin, spits out their fully qualified class name.
47 # Parse the package name by looking inside of the file.
51 # Assumes class name == file name. Almost always the case.
61 find "$1" -name "*.java" | class_name_from_class_file
82 echo "<class name=\"$class_name\" />"
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DCountTest.java51 public void testOps(String name, TestData.OfRef<Integer> data) { argument
62 public void testOps(String name, TestData.OfInt data) { argument
73 public void testOps(String name, TestData.OfLong data) { argument
84 public void testOps(String name, TestData.OfDouble data) { argument
/libcore/luni/src/main/native/
H A Dlibcore_icu_NativeConverter.cpp92 static const char* getICUCanonicalName(const char* name) { argument
95 if ((canonicalName = ucnv_getCanonicalName(name, "MIME", &error)) != NULL) {
97 } else if ((canonicalName = ucnv_getCanonicalName(name, "IANA", &error)) != NULL) {
99 } else if ((canonicalName = ucnv_getCanonicalName(name, "", &error)) != NULL) {
101 } else if ((canonicalName = ucnv_getAlias(name, 0, &error)) != NULL) {
104 } else if (strstr(name, "x-") == name) {
105 // Check if the converter can be opened with the name given.
107 icu::LocalUConverterPointer cnv(ucnv_open(name + 2, &error));
109 return name
137 const char* name = ucnv_getAlias(icuCanonicalName, i, &status); local
145 const char* name = ucnv_getStandardName(icuCanonicalName, "UTR22", &status); local
330 const char* name = ucnv_getAvailableName(i); local
[all...]
/libcore/ojluni/src/main/java/java/util/prefs/
H A DAbstractPreferences.java126 * Our name relative to parent.
128 private final String name; field in class:AbstractPreferences
131 * Our absolute path name.
188 * name relative to its parent.
192 * @param name the name of this preference node, relative to its parent,
194 * @throws IllegalArgumentException if <tt>name</tt> contains a slash
196 * name isn't <tt>""</tt>.
198 protected AbstractPreferences(AbstractPreferences parent, String name) { argument
200 if (!name
989 public String name() { method in class:AbstractPreferences
1259 childSpi(String name) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/jca/
H A DProviderList.java109 public static ProviderList remove(ProviderList providerList, String name) { argument
111 if (providerList.getProvider(name) == null) {
118 if (config.getProvider().getName().equals(name) == false) {
245 private ProviderConfig getProviderConfig(String name) { argument
246 int index = getIndex(name);
250 // return the Provider with the specified name or null
251 public Provider getProvider(String name) { argument
252 ProviderConfig config = getProviderConfig(name);
257 * Return the index at which the provider with the specified name is
260 public int getIndex(String name) { argument
328 getService(String type, String name) argument
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DRuntimeTest.java125 public RuntimeTest(String name) { argument
126 super(name);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DMockServerSocketChannel.java55 public <T> ServerSocketChannel setOption(SocketOption<T> name, T value) throws IOException { argument
70 public <T> T getOption(SocketOption<T> name) throws IOException { argument
/libcore/luni/src/main/java/javax/xml/xpath/
H A DXPathFactory.java36 * <p>The default property name according to the JAXP spec.</p>
89 * where uri is the parameter to this method, then its value is read as a class name.
221 * @param name Feature name.
226 * @throws NullPointerException if <code>name</code> is <code>null</code>.
228 public abstract void setFeature(String name, boolean value) argument
242 * @param name Feature name.
248 * @throws NullPointerException if <code>name</code> is <code>null</code>.
250 public abstract boolean getFeature(String name) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DAttrImpl.java53 AttrImpl(DocumentImpl document, String name) { argument
55 setName(this, name);
/libcore/luni/src/main/java/org/w3c/dom/
H A DDocument.java69 * <br>To create an element with a qualified name and namespace URI, use
71 * @param tagName The name of the element type to instantiate. For XML,
74 * name is mapped to the canonical form of that markup by the DOM
81 * INVALID_CHARACTER_ERR: Raised if the specified name is not an XML
82 * name according to the XML version in use specified in the
121 * name and data strings.
125 * checking is done on the target name. Applications should invoke
128 * target name is namespace well-formed.
133 * name according to the XML version in use specified in the
142 * Creates an <code>Attr</code> of the given name
157 createAttribute(String name) argument
185 createEntityReference(String name) argument
[all...]
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DKeyAgreementTest.java29 public MockProvider(String name) { argument
30 super(name, 1.0, "Mock provider used for testing");
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
H A DCipherPBEThread.java30 CipherPBEThread(String name, int[] keys, String[] modes, String[] paddings) { argument
31 super(name, keys, modes, paddings);
H A DCipherRSAThread.java26 CipherRSAThread(String name, int[] keys, String[] modes, String[] paddings) { argument
27 super(name, keys, modes, paddings);
H A DCipherWrapThread.java26 CipherWrapThread(String name, int[] keys, String[] modes, String[] paddings) { argument
27 super(name, keys, modes, paddings);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DIdentityScope2Test.java45 public IdentityScopeSubclass(String name, PublicKey pk) { argument
46 super(name);
59 public IdentityScopeSubclass(String name) { argument
60 super(name);
64 public IdentityScopeSubclass(String name, IdentityScope scope) argument
66 super(name, scope);
74 public Identity getIdentity(String name) { argument
78 if (current.getName().equals(name))
147 String[] str = {"test", "", "!@#$%^&*()", "identity name"};
233 Identity id = new IdentitySubclass("principal name");
[all...]
H A DIdentityScopeTest.java66 * check that void IdentityScope(String) creates instance with given name
75 * check that void IdentityScope(String, IdentityScope) creates instance with given name and within given scope
90 String name = Security.getProperty("system.scope");
91 assertNull(name);
/libcore/ojluni/src/main/java/sun/net/www/protocol/https/
H A DHttpsURLConnectionImpl.java287 * Gets a header field by name. Returns null if not known.
288 * @param name the name of the header field
290 public String getHeaderField(String name) { argument
291 return delegate.getHeaderField(name);
385 public long getHeaderFieldDate(String name, long Default) { argument
386 return delegate.getHeaderFieldDate(name, Default);
425 public int getHeaderFieldInt(String name, int Default) { argument
426 return delegate.getHeaderFieldInt(name, Default);
429 public long getHeaderFieldLong(String name, lon argument
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DOIDName.java56 * Create the OIDName object with the specified name.
58 * @param name the OIDName.
67 * @param name the OIDName in form "x.y.z..."
70 public OIDName(String name) throws IOException { argument
72 oid = new ObjectIdentifier(name);
86 * Encode the OID name into the DerOutputStream.
96 * Convert the name into user readable string.
103 * Returns this OID name.
110 * Compares this name with another, for equality.
136 * Return type of constraint inputName places on this name
[all...]
/libcore/dalvik/src/main/java/dalvik/system/
H A DDexPathList.java299 String name = file.getName();
310 if (!ignoreDexFiles && name.endsWith(DEX_SUFFIX)) {
408 * @param name of class to find
413 public Class findClass(String name, List<Throwable> suppressed) { argument
418 Class clazz = dex.loadClassBinaryName(name, definingContext, suppressed);
438 public URL findResource(String name) { argument
440 URL url = element.findResource(name);
450 * Finds all the resources with the given name, returning an
452 * name, then this method returns an empty enumeration.
454 public Enumeration<URL> findResources(String name) { argument
545 findNativeLibrary(String name) argument
567 findResource(String name) argument
[all...]

Completed in 583 milliseconds

<<11121314151617181920>>