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

12

/dalvik/libcore/auth/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
/dalvik/libcore/sql/src/main/java/SQLite/
H A DFunctionContext.java12 * Internal handle for the native SQLite API.
15 private long handle = 0; field in class:FunctionContext
H A DVm.java10 * Internal handle for the compiled SQLite VM.
13 private long handle = 0; field in class:Vm
H A DBlob.java246 * Internal handle for the SQLite3 blob.
249 private long handle = 0; field in class:Blob
H A DStmt.java15 * Internal handle for the SQLite3 statement.
18 private long handle = 0; field in class:Stmt
H A DDatabase.java10 * Internal handle for the native SQLite API.
13 protected long handle = 0; field in class:Database
/dalvik/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
/dalvik/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
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/
H A DReadWriteFileChannel.java32 public ReadWriteFileChannel(Object stream, int handle) { argument
33 super(stream, handle);
H A DReadOnlyFileChannel.java38 public ReadOnlyFileChannel(Object stream, int handle) { argument
39 super(stream, handle);
H A DWriteOnlyFileChannel.java38 public WriteOnlyFileChannel(Object stream, int handle) { argument
39 super(stream, handle);
42 public WriteOnlyFileChannel(Object stream, int handle, boolean isAppend) { argument
43 super(stream, handle);
H A DFileChannelImpl.java70 private final int handle; field in class:FileChannelImpl
82 * handle and operates in the specified mode.
85 public FileChannelImpl(Object stream, int handle) { argument
87 this.handle = handle;
124 if (fileSystem.lock(handle, position, size, lockType, wait)) {
174 fileSystem.unlock(handle, lock.position(), lock.size());
185 fileSystem.fflush(handle, metadata);
195 fileSystem.truncate(handle, position + size);
199 PlatformAddress address = PlatformAddressFactory.allocMap(handle,
[all...]
/dalvik/libcore/security/src/test/java/tests/api/javax/security/auth/
H A DCallbackHandlerTest.java38 * @tests javax.security.auth.callback.CallbackHandler#handle(Callback[] callbacks)
43 method = "handle",
49 ch.handle(null);
55 public void handle(Callback[] callbacks) { method in class:CallbackHandlerTest.CallbackHandlerImpl
/dalvik/libcore/xml/src/main/java/org/w3c/dom/
H A DUserDataHandler.java66 public void handle(short operation, method in interface:UserDataHandler
/dalvik/libcore/archive/src/main/native/
H A Djava_util_zip_Deflater.c39 int len, jlong handle)
44 JCLZipStream *stream = (JCLZipStream *) ((IDATA) handle);
65 jlong handle)
69 stream = (JCLZipStream *) ((IDATA) handle);
75 jlong handle)
79 stream = (JCLZipStream *) ((IDATA) handle);
85 jlong handle)
89 stream = (JCLZipStream *) ((IDATA) handle);
161 jlong handle)
165 JCLZipStream* stream = (JCLZipStream *) ((IDATA) handle);
37 Java_java_util_zip_Deflater_setDictionaryImpl(JNIEnv * env, jobject recv, jbyteArray dict, int off, int len, jlong handle) argument
64 Java_java_util_zip_Deflater_getTotalInImpl(JNIEnv * env, jobject recv, jlong handle) argument
74 Java_java_util_zip_Deflater_getTotalOutImpl(JNIEnv * env, jobject recv, jlong handle) argument
84 Java_java_util_zip_Deflater_getAdlerImpl(JNIEnv * env, jobject recv, jlong handle) argument
159 Java_java_util_zip_Deflater_setInputImpl(JNIEnv * env, jobject recv, jbyteArray buf, jint off, jint len, jlong handle) argument
181 Java_java_util_zip_Deflater_deflateImpl(JNIEnv * env, jobject recv, jbyteArray buf, int off, int len, jlong handle, int flushParm) argument
233 Java_java_util_zip_Deflater_endImpl(JNIEnv * env, jobject recv, jlong handle) argument
250 Java_java_util_zip_Deflater_resetImpl(JNIEnv * env, jobject recv, jlong handle) argument
260 Java_java_util_zip_Deflater_setLevelsImpl(JNIEnv * env, jobject recv, int level, int strategy, jlong handle) argument
[all...]
H A Djava_util_zip_Inflater.c106 jlong handle)
110 JCLZipStream *stream = (JCLZipStream *) ((IDATA) handle);
128 jobject javaFileDescriptor, jlong off, jint len, jlong handle)
133 JCLZipStream * stream = (JCLZipStream *) ((IDATA) handle);
159 jlong handle)
162 JCLZipStream *stream = (JCLZipStream *) ((IDATA) handle);
218 jlong handle)
222 stream = (JCLZipStream *) ((IDATA) handle);
228 Java_java_util_zip_Inflater_endImpl (JNIEnv * env, jobject recv, jlong handle) argument
233 stream = (JCLZipStream *) ((IDATA) handle);
104 Java_java_util_zip_Inflater_setInputImpl(JNIEnv * env, jobject recv, jbyteArray buf, jint off, jint len, jlong handle) argument
127 Java_java_util_zip_Inflater_setFileInputImpl(JNIEnv * env, jobject recv, jobject javaFileDescriptor, jlong off, jint len, jlong handle) argument
157 Java_java_util_zip_Inflater_inflateImpl(JNIEnv * env, jobject recv, jbyteArray buf, int off, int len, jlong handle) argument
217 Java_java_util_zip_Inflater_getAdlerImpl(JNIEnv * env, jobject recv, jlong handle) argument
244 Java_java_util_zip_Inflater_setDictionaryImpl(JNIEnv * env, jobject recv, jbyteArray dict, int off, int len, jlong handle) argument
271 Java_java_util_zip_Inflater_resetImpl(JNIEnv * env, jobject recv, jlong handle) argument
296 Java_java_util_zip_Inflater_getTotalOutImpl(JNIEnv * env, jobject recv, jlong handle) argument
307 Java_java_util_zip_Inflater_getTotalInImpl(JNIEnv * env, jobject recv, jlong handle) argument
[all...]
/dalvik/libcore/archive/src/main/java/java/util/zip/
H A DDeflater.java249 int nbytes, long handle, int flushParm1);
251 private synchronized native void endImpl(long handle); argument
318 private synchronized native int getAdlerImpl(long handle); argument
333 private synchronized native long getTotalInImpl(long handle); argument
348 private synchronized native long getTotalOutImpl(long handle); argument
389 private synchronized native void resetImpl(long handle); argument
433 int nbytes, long handle);
478 long handle);
481 int nbytes, long handle);
248 deflateImpl(byte[] buf, int off, int nbytes, long handle, int flushParm1) argument
432 setDictionaryImpl(byte[] buf, int off, int nbytes, long handle) argument
477 setLevelsImpl(int level, int strategy, long handle) argument
480 setInputImpl(byte[] buf, int off, int nbytes, long handle) argument
H A DInflater.java94 private native synchronized void endImpl(long handle); argument
128 private native synchronized int getAdlerImpl(long handle); argument
185 private synchronized native long getTotalInImpl(long handle); argument
202 private native synchronized long getTotalOutImpl(long handle); argument
265 int nbytes, long handle);
307 private native synchronized void resetImpl(long handle); argument
352 int nbytes, long handle);
420 int nbytes, long handle);
424 int nbytes, long handle);
264 inflateImpl(byte[] buf, int off, int nbytes, long handle) argument
351 setDictionaryImpl(byte[] buf, int off, int nbytes, long handle) argument
419 setInputImpl(byte[] buf, int off, int nbytes, long handle) argument
423 setFileInputImpl(FileDescriptor fd, long off, int nbytes, long handle) argument
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMDefaultBaseTraversers.java516 * implemented by derived classes, and must be robust enough to handle any
610 * Get the subtree root identity from the handle that was passed in by
614 * @param handle handle to the root context.
617 protected int getSubtreeRoot(int handle) argument
619 return makeNodeIdentity(handle);
641 * implemented by derived classes, and must be robust enough to handle any
716 return makeNodeHandle(current); // make handle.
752 return makeNodeHandle(current); // make handle.
822 return makeNodeHandle(current); // make handle
1625 getSubtreeRoot(int handle) argument
1697 getSubtreeRoot(int handle) argument
[all...]
/dalvik/libcore/luni/src/main/native/
H A Dorg_apache_harmony_luni_platform_OSFileSystem.cpp154 static jint harmony_io_lockImpl(JNIEnv* env, jobject, jint handle, argument
171 return TEMP_FAILURE_RETRY(fcntl(handle, waitMode, &lock));
174 static void harmony_io_unlockImpl(JNIEnv* env, jobject, jint handle, argument
185 int rc = TEMP_FAILURE_RETRY(fcntl(handle, F_SETLKW, &lock));
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
H A DDOM2DTMdefaultNamespaceDeclarationNode.java59 int handle; field in class:DOM2DTMdefaultNamespaceDeclarationNode
60 DOM2DTMdefaultNamespaceDeclarationNode(Element pseudoparent,String prefix,String uri,int handle) argument
65 this.handle=handle;
107 return handle;
/dalvik/vm/
H A DNative.c154 void* handle; /* from dlopen */ member in struct:SharedLib
239 dlclose(pLib->handle);
446 void* handle; local
504 handle = dlopen(pathName, RTLD_LAZY);
507 if (handle == NULL) {
516 pNewEntry->handle = handle;
538 vonLoad = dlsym(handle, "JNI_OnLoad");
775 func = dlsym(pLib->handle, mangleCM);
789 func = dlsym(pLib->handle, mangleCMSi
[all...]
/dalvik/libcore/luni/src/main/java/java/io/
H A DObjectOutputStream.java82 * Table mapping Object -> Integer (handle)
87 * All objects are assigned an ID (integer handle)
477 // If the object has been saved already, save its handle only
478 Integer handle = objectsWritten.get(obj);
479 if (handle != null) {
480 writeCyclicReference(handle);
481 return handle;
573 * Return the next <code>Integer</code> handle to be used to indicate cyclic
576 * @return the next handle to represent the next cyclic reference
609 * handle t
940 writeCyclicReference(Integer handle) argument
[all...]
/dalvik/libcore/openssl/src/main/native/
H A DBNInterface.c34 static int isValidHandle (JNIEnv* env, void* handle, const char *message) { argument
35 if (handle == NULL) {
44 return isValidHandle(env, a, "Mandatory handle (first) passed as null");
50 return isValidHandle(env, b, "Mandatory handle (second) passed as null");
56 return isValidHandle(env, c, "Mandatory handle (third) passed as null");
62 return isValidHandle(env, d, "Mandatory handle (fourth) passed as null");
/dalvik/libcore/xml/src/main/java/org/apache/xalan/templates/
H A DElemNumber.java88 int handle; field in class:ElemNumber.MyPrefixResolver
95 public MyPrefixResolver(Node xpathExpressionContext, DTM dtm, int handle, boolean handleNullPrefix) { argument
97 this.handle = handle;
105 return dtm.getNamespaceURI(handle);

Completed in 9145 milliseconds

12