Searched defs:handle (Results 1 - 15 of 15) sorted by relevance

/libcore/luni/src/main/java/javax/security/auth/callback/
H A DCallbackHandler.java23 * Needs to be implemented by classes that want to handle authentication
24 * {@link Callback}s. A single method {@link #handle(Callback[])} must be
36 * Callback}s it actually wants to handle and in which way. For example, a
40 * values. If a {@code CallbackHandler} is not able to handle a specific
49 * if the {@code CallbackHandler} is not able to handle a
52 void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException; method in interface:CallbackHandler
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DtmpCallbackHandler.java37 public void handle(Callback[] callback) throws IOException, method in class:tmpCallbackHandler
/libcore/dom/src/test/java/org/w3c/domts/
H A DUserDataMonitor.java36 * Implementation of UserDataHandler.handle. Creates a UserDataNotification
50 public void handle( method in class:UserDataMonitor
/libcore/luni/src/main/java/org/w3c/dom/
H A DUserDataHandler.java66 public void handle(short operation, method in interface:UserDataHandler
/libcore/luni/src/test/java/tests/api/javax/security/auth/
H A DCallbackHandlerTest.java32 * javax.security.auth.callback.CallbackHandler#handle(Callback[] callbacks)
37 ch.handle(null);
43 public void handle(Callback[] callbacks) { method in class:CallbackHandlerTest.CallbackHandlerImpl
/libcore/luni/src/main/java/libcore/net/http/
H A DHeaderParser.java28 void handle(String directive, String parameter); method in interface:HeaderParser.CacheControlHandler
43 handler.handle(directive, null);
67 handler.handle(directive, parameter);
99 // It needs to be fixed to handle any scheme and any parameters
/libcore/luni/src/main/native/
H A Djava_util_zip_Deflater.cpp24 static void Deflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlong handle) { argument
25 toNativeZipStream(handle)->setDictionary(env, dict, off, len, false);
28 static jlong Deflater_getTotalInImpl(JNIEnv*, jobject, jlong handle) { argument
29 return toNativeZipStream(handle)->stream.total_in;
32 static jlong Deflater_getTotalOutImpl(JNIEnv*, jobject, jlong handle) { argument
33 return toNativeZipStream(handle)->stream.total_out;
36 static jint Deflater_getAdlerImpl(JNIEnv*, jobject, jlong handle) { argument
37 return toNativeZipStream(handle)->stream.adler;
65 static void Deflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong handle) { argument
66 toNativeZipStream(handle)
69 Deflater_deflateImpl(JNIEnv* env, jobject recv, jbyteArray buf, int off, int len, jlong handle, int flushStyle) argument
109 Deflater_endImpl(JNIEnv*, jobject, jlong handle) argument
115 Deflater_resetImpl(JNIEnv* env, jobject, jlong handle) argument
123 Deflater_setLevelsImpl(JNIEnv* env, jobject, int level, int strategy, jlong handle) argument
[all...]
H A Djava_util_zip_Inflater.cpp49 static void Inflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong handle) { argument
50 toNativeZipStream(handle)->setInput(env, buf, off, len);
53 static jint Inflater_setFileInputImpl(JNIEnv* env, jobject, jobject javaFileDescriptor, jlong off, jint len, jlong handle) { argument
54 NativeZipStream* stream = toNativeZipStream(handle);
89 static jint Inflater_inflateImpl(JNIEnv* env, jobject recv, jbyteArray buf, int off, int len, jlong handle) { argument
90 NativeZipStream* stream = toNativeZipStream(handle);
130 static jint Inflater_getAdlerImpl(JNIEnv*, jobject, jlong handle) { argument
131 return toNativeZipStream(handle)->stream.adler;
134 static void Inflater_endImpl(JNIEnv*, jobject, jlong handle) { argument
135 NativeZipStream* stream = toNativeZipStream(handle);
140 Inflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlong handle) argument
144 Inflater_resetImpl(JNIEnv* env, jobject, jlong handle) argument
151 Inflater_getTotalOutImpl(JNIEnv*, jobject, jlong handle) argument
155 Inflater_getTotalInImpl(JNIEnv*, jobject, jlong handle) argument
[all...]
H A Djava_math_NativeBN.cpp42 static int isValidHandle (JNIEnv* env, void* handle, const char* message) { argument
43 if (handle == NULL) {
52 return isValidHandle(env, a, "Mandatory handle (first) passed as null");
58 return isValidHandle(env, b, "Mandatory handle (second) passed as null");
64 return isValidHandle(env, c, "Mandatory handle (third) passed as null");
70 return isValidHandle(env, d, "Mandatory handle (fourth) passed as null");
H A Dlibcore_icu_NativeConverter.cpp533 static jfloat NativeConverter_getAveCharsPerByte(JNIEnv* env, jclass, jlong handle) { argument
534 return (1 / (jfloat) NativeConverter_getMaxBytesPerChar(env, NULL, handle));
/libcore/luni/src/main/java/java/util/zip/
H A DDeflater.java51 * {@link DeflaterOutputStream} to handle all this for you. {@link DeflaterOutputStream} also helps
244 private native int deflateImpl(byte[] buf, int offset, int byteCount, long handle, int flushParm); argument
265 private native void endImpl(long handle); argument
312 private native int getAdlerImpl(long handle); argument
323 private native long getTotalInImpl(long handle); argument
334 private native long getTotalOutImpl(long handle); argument
362 private native void resetImpl(long handle); argument
386 private native void setDictionaryImpl(byte[] buf, int offset, int byteCount, long handle); argument
412 private native void setLevelsImpl(int level, int strategy, long handle); argument
414 private native void setInputImpl(byte[] buf, int offset, int byteCount, long handle); argument
[all...]
H A DInflater.java45 * to handle all this for you.
103 private native void endImpl(long handle); argument
142 private native int getAdlerImpl(long handle); argument
181 private native long getTotalInImpl(long handle); argument
192 private native long getTotalOutImpl(long handle); argument
235 private native int inflateImpl(byte[] buf, int offset, int byteCount, long handle); argument
267 private native void resetImpl(long handle); argument
288 private native void setDictionaryImpl(byte[] dictionary, int offset, int byteCount, long handle); argument
310 private native void setInputImpl(byte[] buf, int offset, int byteCount, long handle); argument
319 private native int setFileInputImpl(FileDescriptor fd, long offset, int byteCount, long handle); argument
[all...]
/libcore/luni/src/main/java/java/io/
H A DObjectOutputStream.java75 * Table mapping Object -> Integer (handle)
80 * All objects are assigned an ID (integer handle)
416 * method does nothing). The handle if {@code obj} is an
424 // If the object has been saved already, save its handle only
425 int handle = objectsWritten.get(obj);
426 if (handle != -1) {
427 writeCyclicReference(handle);
428 return handle;
480 * Return the next handle to be used to indicate cyclic
483 * @return the next handle t
810 writeCyclicReference(int handle) argument
[all...]
H A DObjectInputStream.java62 // All objects are assigned an ID (integer handle)
78 * All the objects we've read, indexed by their serialization handle (minus the base offset).
480 * Return the next {@code int} handle to be used to indicate cyclic
483 * @return the next handle to represent the next cyclic reference
2159 * Returns the previously-read object corresponding to the given serialization handle.
2161 * If there is no previously-read object with this handle
2163 private Object registeredObjectRead(int handle) throws InvalidObjectException { argument
2164 Object res = objectsRead.get(handle - ObjectStreamConstants.baseWireHandle);
2172 * Associates a read object with the its serialization handle.
2174 private void registerObjectRead(Object obj, int handle, boolea argument
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DDomTest.java1100 String message = "This implementation's getBaseURI() doesn't handle relative URIs";
1144 String message = "This implementation's getBaseURI() doesn't handle "
1690 public void handle(short operation, String key, Object data, Node src, Node dst) { method in class:DomTest.RecordingHandler

Completed in 412 milliseconds