Searched defs:handle (Results 151 - 175 of 267) sorted by relevance

1234567891011

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DReversePtrsAnalysis.java105 new RootVisitor("JNI handle root" + threadDesc));
111 new RootVisitor("Global JNI handle root"));
113 new RootVisitor("Weak global JNI handle root"));
173 private void markAndTraverse(OopHandle handle) { argument
175 markAndTraverse(heap.newOop(handle));
179 " while traversing oop at " + handle);
182 "oop at " + handle);
/openjdk7/hotspot/src/share/vm/code/
H A DoopRecorder.hpp71 // Retrieve the oop handle at a given index.
88 // leaky hash table of handle => index, to help detect duplicate insertion
101 static juint cache_index(jobject handle) { argument
102 juint ci = (int) (intptr_t) handle;
107 int* cache_location(jobject handle) { argument
108 return &_cache[ cache_index(handle) ];
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/security/
H A DJMXPluggableAuthenticator.java267 public void handle(Callback[] callbacks) method in class:JMXPluggableAuthenticator.JMXCallbackHandler
/openjdk7/hotspot/src/os/windows/vm/
H A Djvm_windows.h83 HANDLE handle; member in struct:__anon99
/openjdk7/jdk/src/share/classes/com/sun/java/swing/
H A DSwingUtilities3.java164 afterDispatchHandleArgument = (Object[]) methodMap.get("handle");
178 public void afterDispatch(AWTEvent event, Object handle) throws InterruptedException { argument
180 afterDispatchHandleArgument[0] = handle;
/openjdk7/hotspot/src/share/vm/runtime/
H A DjniHandles.hpp39 static JNIHandleBlock* _global_handles; // First global handle block
40 static JNIHandleBlock* _weak_global_handles; // First weak global handle block
44 // Resolve handle into oop
45 inline static oop resolve(jobject handle);
46 // Resolve externally provided handle into oop with some guards
47 inline static oop resolve_external_guard(jobject handle);
48 // Resolve handle into oop, result guaranteed not to be null
49 inline static oop resolve_non_null(jobject handle);
55 inline static void destroy_local(jobject handle);
59 static void destroy_global(jobject handle);
184 resolve(jobject handle) argument
192 resolve_external_guard(jobject handle) argument
200 resolve_non_null(jobject handle) argument
224 destroy_local(jobject handle) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/
H A DPropertySet.java276 handle(e);
289 handle(e);
298 private Exception handle(InvocationTargetException e) { method in class:PropertySet.MethodAccessor
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_MidiIn.c142 INT32 MIDI_IN_OpenDevice(INT32 deviceIndex, MidiDeviceHandle** handle) { argument
145 ret = openMidiDevice(SND_RAWMIDI_STREAM_INPUT, deviceIndex, handle);
151 INT32 MIDI_IN_CloseDevice(MidiDeviceHandle* handle) { argument
154 ret = closeMidiDevice(handle);
160 INT32 MIDI_IN_StartDevice(MidiDeviceHandle* handle) { argument
166 INT32 MIDI_IN_StopDevice(MidiDeviceHandle* handle) { argument
172 INT64 MIDI_IN_GetTimeStamp(MidiDeviceHandle* handle) { argument
173 return getMidiTimestamp(handle);
178 MidiMessage* MIDI_IN_GetMessage(MidiDeviceHandle* handle) { argument
186 if (!handle) {
343 MIDI_IN_ReleaseMessage(MidiDeviceHandle* handle, MidiMessage* msg) argument
[all...]
H A DPLATFORM_API_BsdOS_ALSA_MidiOut.c102 INT32 MIDI_OUT_OpenDevice(INT32 deviceIndex, MidiDeviceHandle** handle) { argument
104 return openMidiDevice(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, handle);
108 INT32 MIDI_OUT_CloseDevice(MidiDeviceHandle* handle) { argument
110 return closeMidiDevice(handle);
114 INT64 MIDI_OUT_GetTimeStamp(MidiDeviceHandle* handle) { argument
115 return getMidiTimestamp(handle);
119 INT32 MIDI_OUT_SendShortMessage(MidiDeviceHandle* handle, UINT32 packedMsg, argument
128 if (!handle) {
129 ERROR0("< ERROR: MIDI_OUT_SendShortMessage(): handle is NULL\n");
132 if (!handle
151 MIDI_OUT_SendLongMessage(MidiDeviceHandle* handle, UBYTE* data, UINT32 size, UINT32 timestamp) argument
[all...]
H A DPLATFORM_API_BsdOS_ALSA_PCMUtils.c48 snd_ctl_t *handle; local
79 if (snd_ctl_open(&handle, devname, SND_CTL_NONBLOCK) >= 0) {
80 if (snd_ctl_card_info(handle, cardinfo) >= 0) {
83 snd_ctl_close(handle);
106 err = snd_ctl_open(&handle, devname, SND_CTL_NONBLOCK);
111 err = snd_ctl_card_info(handle, cardinfo);
118 if (snd_ctl_pcm_next_device(handle, &dev) < 0) {
127 err = snd_ctl_pcm_info(handle, pcminfo);
131 err = snd_ctl_pcm_info(handle, pcminfo);
157 snd_ctl_close(handle);
214 openPCMfromDeviceID(int deviceID, snd_pcm_t** handle, int isSource, int hardware) argument
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_MidiIn.c142 INT32 MIDI_IN_OpenDevice(INT32 deviceIndex, MidiDeviceHandle** handle) { argument
145 ret = openMidiDevice(SND_RAWMIDI_STREAM_INPUT, deviceIndex, handle);
151 INT32 MIDI_IN_CloseDevice(MidiDeviceHandle* handle) { argument
154 ret = closeMidiDevice(handle);
160 INT32 MIDI_IN_StartDevice(MidiDeviceHandle* handle) { argument
166 INT32 MIDI_IN_StopDevice(MidiDeviceHandle* handle) { argument
172 INT64 MIDI_IN_GetTimeStamp(MidiDeviceHandle* handle) { argument
173 return getMidiTimestamp(handle);
178 MidiMessage* MIDI_IN_GetMessage(MidiDeviceHandle* handle) { argument
186 if (!handle) {
343 MIDI_IN_ReleaseMessage(MidiDeviceHandle* handle, MidiMessage* msg) argument
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_MidiOut.c102 INT32 MIDI_OUT_OpenDevice(INT32 deviceIndex, MidiDeviceHandle** handle) { argument
104 return openMidiDevice(SND_RAWMIDI_STREAM_OUTPUT, deviceIndex, handle);
108 INT32 MIDI_OUT_CloseDevice(MidiDeviceHandle* handle) { argument
110 return closeMidiDevice(handle);
114 INT64 MIDI_OUT_GetTimeStamp(MidiDeviceHandle* handle) { argument
115 return getMidiTimestamp(handle);
119 INT32 MIDI_OUT_SendShortMessage(MidiDeviceHandle* handle, UINT32 packedMsg, argument
128 if (!handle) {
129 ERROR0("< ERROR: MIDI_OUT_SendShortMessage(): handle is NULL\n");
132 if (!handle
151 MIDI_OUT_SendLongMessage(MidiDeviceHandle* handle, UBYTE* data, UINT32 size, UINT32 timestamp) argument
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_PCMUtils.c48 snd_ctl_t *handle; local
79 if (snd_ctl_open(&handle, devname, SND_CTL_NONBLOCK) >= 0) {
80 if (snd_ctl_card_info(handle, cardinfo) >= 0) {
83 snd_ctl_close(handle);
106 err = snd_ctl_open(&handle, devname, SND_CTL_NONBLOCK);
111 err = snd_ctl_card_info(handle, cardinfo);
118 if (snd_ctl_pcm_next_device(handle, &dev) < 0) {
127 err = snd_ctl_pcm_info(handle, pcminfo);
131 err = snd_ctl_pcm_info(handle, pcminfo);
157 snd_ctl_close(handle);
214 openPCMfromDeviceID(int deviceID, snd_pcm_t** handle, int isSource, int hardware) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DFileChannelImpl.c62 handle(JNIEnv *env, jlong rv, char *msg) function
107 return handle(env, -1, "Map failed");
119 return handle(env,
137 return handle(env, result, "Position failed");
/openjdk7/jdk/src/windows/native/com/sun/media/sound/
H A DPLATFORM_API_WinOS_MidiOut.c146 INT32 unprepareLongBuffers(MidiDeviceHandle* handle) { argument
151 if (!handle || !handle->deviceHandle || !handle->longBuffers) {
152 ERROR0("MIDI_OUT_unprepareLongBuffers: handle, deviceHandle, or longBuffers == NULL\n");
155 sysex = (SysExQueue*) handle->longBuffers;
159 err = midiOutUnprepareHeader((HMIDIOUT) handle->deviceHandle, hdr, sizeof(MIDIHDR));
186 INT32 freeLongBuffers(MidiDeviceHandle* handle) { argument
191 if (!handle || !handle
203 MIDI_OUT_OpenDevice(INT32 deviceID, MidiDeviceHandle** handle) argument
265 MIDI_OUT_CloseDevice(MidiDeviceHandle* handle) argument
326 MIDI_OUT_GetTimeStamp(MidiDeviceHandle* handle) argument
331 MIDI_OUT_SendShortMessage(MidiDeviceHandle* handle, UINT32 packedMsg, UINT32 timestamp) argument
345 MIDI_OUT_SendLongMessage(MidiDeviceHandle* handle, UBYTE* data, UINT32 size, UINT32 timestamp) argument
[all...]
/openjdk7/jdk/src/windows/native/java/util/
H A DWindowsPreferences.c34 HKEY handle; local
40 errorCode = RegOpenKeyEx((HKEY)hKey, str, 0, securityMask, &handle);
42 tmp[0]= (int) handle;
56 HKEY handle; local
65 NULL, &handle, &lpdwDisposition);
67 tmp[0]= (int) handle;
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DIocp.c73 jlong handle, jlong existingPort, jint completionKey, jint concurrency)
76 HANDLE port = CreateIoCompletionPort((HANDLE)jlong_to_ptr(handle),
88 jlong handle)
90 HANDLE h = (HANDLE)jlong_to_ptr(handle);
72 Java_sun_nio_ch_Iocp_createIoCompletionPort(JNIEnv* env, jclass this, jlong handle, jlong existingPort, jint completionKey, jint concurrency) argument
87 Java_sun_nio_ch_Iocp_close0(JNIEnv* env, jclass this, jlong handle) argument
/openjdk7/jdk/test/java/awt/TrayIcon/DragEventSource/
H A DDragEventSource.java55 public void handle(Throwable e){ method in class:DragEventSource
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DLock.java164 IOHandler.handle(p.getInputStream());
165 IOHandler.handle(p.getErrorStream());
249 static void handle(InputStream in) { method in class:Lock.IOHandler
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/
H A DHttpsCreateSockTest.java137 public void handle(HttpExchange t) throws IOException { method in class:HttpsCreateSockTest.MyHandler
H A DHttpsSocketFacTest.java143 public void handle(HttpExchange t) throws IOException { method in class:HttpsSocketFacTest.MyHandler
/openjdk7/jdk/test/java/security/KeyStore/
H A DKeyStoreBuilder.java140 public void handle(Callback[] callbacks) method in class:KeyStoreBuilder.DummyHandler
/openjdk7/jdk/test/sun/net/www/http/ChunkedOutputStream/
H A DTest.java46 public void handle(HttpExchange exchange) { method in class:Test
215 System.out.println("HttpServer: handle " + uri);
/openjdk7/jdk/src/solaris/demo/jni/Poller/
H A DPoller.java87 * The handle for a Poller Object...is used in the JNI C code
90 private int handle; field in class:Poller
99 this.handle = nativeCreatePoller(-1);
110 this.handle = nativeCreatePoller(maxFd);
119 nativeDestroyPoller(handle);
132 nativeDestroyPoller(handle);
133 this.handle = nativeCreatePoller(maxFd);
142 nativeDestroyPoller(handle);
143 this.handle = nativeCreatePoller(-1);
156 return nativeAddFd(handle,findf
315 nativeDestroyPoller(int handle) argument
316 nativeAddFd(int handle, int fd, short events) argument
318 nativeRemoveFd(int handle, int fd) argument
319 nativeRemoveIndex(int handle, int index) argument
321 nativeIsMember(int handle, int fd) argument
322 nativeWait(int handle, int maxRet, int[] fds, short[] events, long timeout) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DDTMDefaultBaseTraversers.java519 * implemented by derived classes, and must be robust enough to handle any
613 * Get the subtree root identity from the handle that was passed in by
617 * @param handle handle to the root context.
620 protected int getSubtreeRoot(int handle) argument
622 return makeNodeIdentity(handle);
644 * implemented by derived classes, and must be robust enough to handle any
719 return makeNodeHandle(current); // make handle.
755 return makeNodeHandle(current); // make handle.
825 return makeNodeHandle(current); // make handle
1628 getSubtreeRoot(int handle) argument
1700 getSubtreeRoot(int handle) argument
[all...]

Completed in 97 milliseconds

1234567891011