/libcore/luni/src/main/java/javax/security/auth/callback/ |
H A D | CallbackHandler.java | 23 * 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/luni/src/main/native/ |
H A D | java_util_zip_Deflater.cpp | 26 static void Deflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlong handle) { argument 27 toNativeZipStream(handle)->setDictionary(env, dict, off, len, false); 30 static jlong Deflater_getTotalInImpl(JNIEnv*, jobject, jlong handle) { argument 31 return toNativeZipStream(handle)->stream.total_in; 34 static jlong Deflater_getTotalOutImpl(JNIEnv*, jobject, jlong handle) { argument 35 return toNativeZipStream(handle)->stream.total_out; 38 static jint Deflater_getAdlerImpl(JNIEnv*, jobject, jlong handle) { argument 39 return toNativeZipStream(handle)->stream.adler; 67 static void Deflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong handle) { argument 68 toNativeZipStream(handle) 71 Deflater_deflateImpl(JNIEnv* env, jobject recv, jbyteArray buf, int off, int len, jlong handle, int flushStyle) argument 111 Deflater_endImpl(JNIEnv*, jobject, jlong handle) argument 117 Deflater_resetImpl(JNIEnv* env, jobject, jlong handle) argument 125 Deflater_setLevelsImpl(JNIEnv* env, jobject, int level, int strategy, jlong handle) argument [all...] |
H A D | java_util_zip_Inflater.cpp | 51 static void Inflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong handle) { argument 52 toNativeZipStream(handle)->setInput(env, buf, off, len); 55 static jint Inflater_setFileInputImpl(JNIEnv* env, jobject, jobject javaFileDescriptor, jlong off, jint len, jlong handle) { argument 56 NativeZipStream* stream = toNativeZipStream(handle); 91 static jint Inflater_inflateImpl(JNIEnv* env, jobject recv, jbyteArray buf, int off, int len, jlong handle) { argument 92 NativeZipStream* stream = toNativeZipStream(handle); 132 static jint Inflater_getAdlerImpl(JNIEnv*, jobject, jlong handle) { argument 133 return toNativeZipStream(handle)->stream.adler; 136 static void Inflater_endImpl(JNIEnv*, jobject, jlong handle) { argument 137 NativeZipStream* stream = toNativeZipStream(handle); 142 Inflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlong handle) argument 146 Inflater_resetImpl(JNIEnv* env, jobject, jlong handle) argument 154 Inflater_getTotalOutImpl(JNIEnv*, jobject, jlong handle) argument 158 Inflater_getTotalInImpl(JNIEnv*, jobject, jlong handle) argument [all...] |
H A D | libcore_icu_NativeConverter.cpp | 503 static jfloat NativeConverter_getAveCharsPerByte(JNIEnv* env, jclass, jlong handle) { argument 504 return (1 / (jfloat) NativeConverter_getMaxBytesPerChar(env, NULL, handle));
|
H A D | java_math_NativeBN.cpp | 63 static int isValidHandle(JNIEnv* env, jlong handle, const char* message) { argument 64 if (handle == 0) { 72 return isValidHandle(env, a, "Mandatory handle (first) passed as null"); 77 return isValidHandle(env, b, "Mandatory handle (second) passed as null"); 82 return isValidHandle(env, c, "Mandatory handle (third) passed as null"); 87 return isValidHandle(env, d, "Mandatory handle (fourth) passed as null");
|
/libcore/luni/src/main/java/org/w3c/dom/ |
H A D | UserDataHandler.java | 66 public void handle(short operation, method in interface:UserDataHandler
|
/libcore/luni/src/test/java/tests/api/javax/security/auth/ |
H A D | CallbackHandlerTest.java | 32 * 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/java/util/zip/ |
H A D | Inflater.java | 45 * 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...] |
H A D | Deflater.java | 51 * {@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...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | tmpCallbackHandler.java | 37 public void handle(Callback[] callback) throws IOException, method in class:tmpCallbackHandler
|
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | UserDataMonitor.java | 36 * Implementation of UserDataHandler.handle. Creates a UserDataNotification 50 public void handle( method in class:UserDataMonitor
|
/libcore/luni/src/main/java/java/io/ |
H A D | ObjectOutputStream.java | 75 * 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 D | ObjectInputStream.java | 62 // 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 2117 * Returns the previously-read object corresponding to the given serialization handle. 2119 * If there is no previously-read object with this handle 2121 private Object registeredObjectRead(int handle) throws InvalidObjectException { argument 2122 Object res = objectsRead.get(handle - ObjectStreamConstants.baseWireHandle); 2130 * Associates a read object with the its serialization handle. 2132 private void registerObjectRead(Object obj, int handle, boolea argument [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | KSCallbackHandlerProtectionTest.java | 56 public void handle(Callback[] callbacks) throws IOException,
|
/libcore/luni/src/main/java/java/security/ |
H A D | KeyStoreSpi.java | 520 cbHand.handle(pwCb);
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | DocumentImpl.java | 522 * Calls {@link UserDataHandler#handle} on each of the source node's 544 userData.handler.handle(
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | DomTest.java | 1100 String message = "This implementation's getBaseURI() doesn't handle relative URIs"; 1144 String message = "This implementation's getBaseURI() doesn't handle " 1703 public void handle(short operation, String key, Object data, Node src, Node dst) { method in class:DomTest.RecordingHandler
|