Searched defs:handle (Results 176 - 200 of 267) sorted by relevance

1234567891011

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DSystemDictionary.java143 private static Oop newOop(OopHandle handle) { argument
144 return VM.getVM().getObjectHeap().newOop(handle);
H A DUniverse.java129 private Oop newOop(OopHandle handle) { argument
130 return VM.getVM().getObjectHeap().newOop(handle);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DMethodData.java190 MethodData(OopHandle handle, ObjectHeap heap) { argument
191 super(handle, heap);
H A DOop.java55 private OopHandle handle; field in class:Oop
58 Oop(OopHandle handle, ObjectHeap heap) { argument
59 this.handle = handle;
68 public OopHandle getHandle() { return handle; }
78 return CompactingPermGenGen.isShared(handle);
82 return CompactingPermGenGen.isSharedReadOnly(handle);
86 return CompactingPermGenGen.isSharedReadWrite(handle);
226 static OopHandle getKlassForOopHandle(OopHandle handle) { argument
227 if (handle
[all...]
/openjdk7/jdk/src/share/classes/javax/security/auth/login/
H A DLoginContext.java180 * whose <code>handle</code> method implementation invokes the
181 * specified CallbackHandler's <code>handle</code> method in a
962 public void handle(final Callback[] callbacks) method in class:LoginContext.SecureCallbackHandler
969 ch.handle(callbacks);
/openjdk7/hotspot/src/share/tools/launcher/
H A Dwildcard.c128 HANDLE handle; member in struct:WildcardIterator_
137 HANDLE handle = FindFirstFile(wildcard, &find_data); local
138 if (handle == INVALID_HANDLE_VALUE)
140 it->handle = handle;
154 return FindNextFile(it->handle, &find_data)
162 FindClose(it->handle);
/openjdk7/jdk/src/share/back/
H A Dtransport.c85 findTransportOnLoad(void *handle) argument
90 if (handle == NULL) {
94 dbgsysFindLibraryEntry(handle, "jdwpTransport_OnLoad");
102 void *handle; local
122 handle = dbgsysLoadLibrary(libname, buf, sizeof(buf));
123 return handle;
135 void *handle; local
156 handle = loadTransportLibrary(libdir, name);
157 if (handle == NULL) {
170 handle
[all...]
/openjdk7/jdk/src/share/bin/
H A Dwildcard.c129 HANDLE handle; member in struct:WildcardIterator_
138 HANDLE handle = FindFirstFile(wildcard, &find_data); local
139 if (handle == INVALID_HANDLE_VALUE)
141 it->handle = handle;
154 return FindNextFile(it->handle, &find_data)
162 FindClose(it->handle);
/openjdk7/hotspot/src/share/vm/runtime/
H A Dhandles.hpp34 // allocated and passed around via Handles within the VM. A handle is
35 // simply an extra indirection allocated in a thread local handle area.
37 // A handle is a ValueObj, so it can be passed around as a value, can
46 // Handle h1(obj); // allocate new handle
48 // Handle h3; // declare handle only, no allocation occurs
51 // oop obj2 = h2(); // get handle value
56 // there is a corresponding handle called xxxHandle, e.g.
64 // is a corresponding handle called xxxKlassHandle, e.g.
81 oop non_null_obj() const { assert(_handle != NULL, "resolving NULL handle"); return *_handle; }
110 Handle(oop *handle, boo argument
115 raw_resolve(oop *handle) argument
151 KlassHandle(klassOop *handle, bool dummy) argument
262 oop* handle = (oop*) (UseMallocOnly ? internal_malloc_4(oopSize) : Amalloc_4(oopSize)); local
[all...]
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_MidiUtils.c65 snd_ctl_t *handle; local
102 if (snd_ctl_open(&handle, devname, SND_CTL_NONBLOCK) >= 0) {
103 if (snd_ctl_card_info(handle, card_info) >= 0) {
106 snd_ctl_close(handle);
126 err = snd_ctl_open(&handle, devname, SND_CTL_NONBLOCK);
131 err = snd_ctl_card_info(handle, card_info);
138 if (snd_ctl_rawmidi_next_device(handle, &dev) < 0) {
148 err = snd_ctl_rawmidi_info(handle, rawmidi_info);
177 snd_ctl_close(handle);
371 MidiDeviceHandle** handle) {
370 openMidiDevice(snd_rawmidi_stream_t direction, INT32 deviceIndex, MidiDeviceHandle** handle) argument
448 closeMidiDevice(MidiDeviceHandle* handle) argument
471 getMidiTimestamp(MidiDeviceHandle* handle) argument
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_MidiUtils.c65 snd_ctl_t *handle; local
102 if (snd_ctl_open(&handle, devname, SND_CTL_NONBLOCK) >= 0) {
103 if (snd_ctl_card_info(handle, card_info) >= 0) {
106 snd_ctl_close(handle);
126 err = snd_ctl_open(&handle, devname, SND_CTL_NONBLOCK);
131 err = snd_ctl_card_info(handle, card_info);
138 if (snd_ctl_rawmidi_next_device(handle, &dev) < 0) {
148 err = snd_ctl_rawmidi_info(handle, rawmidi_info);
177 snd_ctl_close(handle);
371 MidiDeviceHandle** handle) {
370 openMidiDevice(snd_rawmidi_stream_t direction, INT32 deviceIndex, MidiDeviceHandle** handle) argument
448 closeMidiDevice(MidiDeviceHandle* handle) argument
471 getMidiTimestamp(MidiDeviceHandle* handle) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DCUPSfuncs.c69 void *handle = dlopen(VERSIONED_JNI_LIB_NAME("cups", "2"), local
72 if (handle == NULL) {
73 handle = dlopen(JNI_LIB_NAME("cups"), RTLD_LAZY | RTLD_GLOBAL);
74 if (handle == NULL) {
79 j2d_cupsServer = (fn_cupsServer)dlsym(handle, "cupsServer");
81 dlclose(handle);
85 j2d_ippPort = (fn_ippPort)dlsym(handle, "ippPort");
87 dlclose(handle);
91 j2d_httpConnect = (fn_httpConnect)dlsym(handle, "httpConnect");
93 dlclose(handle);
[all...]
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DFileDispatcherImpl.c130 handle(JNIEnv *env, jlong rv, char *msg) function
152 return handle(env, result, "Force failed");
159 return handle(env,
170 return handle(env, -1, "Size failed");
/openjdk7/jdk/src/windows/classes/java/lang/
H A DProcessImpl.java58 * with the resulting handle. This is because a FileOutputStream created
70 long handle = openForAtomicAppend(path);
72 fdAccess.setHandle(fd, handle);
308 private long handle = 0; field in class:ProcessImpl
385 handle = create(cmdstr, envblock, path,
433 closeHandle(handle);
440 int exitCode = getExitCodeProcess(handle);
445 private static native int getExitCodeProcess(long handle); argument
448 waitForInterruptibly(handle);
453 private static native void waitForInterruptibly(long handle); argument
456 terminateProcess(long handle) argument
494 closeHandle(long handle) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWEmbeddedFrame.java42 private long handle; field in class:WEmbeddedFrame
63 public WEmbeddedFrame(int handle) { argument
64 this((long)handle);
67 public WEmbeddedFrame(long handle) { argument
68 this.handle = handle;
69 if (handle != 0) {
84 * Get the native handle
87 return handle;
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DIocp.java57 // handle to completion port
149 * On Windows the close operation will close the socket/file handle
212 * Associate the given handle with this group
214 int associate(OverlappedChannel ch, long handle) throws IOException { argument
229 if (handle != 0L) {
230 createIoCompletionPort(handle, port, key, 0);
340 // handle wakeup to execute task or shutdown
432 private static native long createIoCompletionPort(long handle, argument
435 private static native void close0(long handle); argument
H A DWindowsAsynchronousServerSocketChannelImpl.java50 private final long handle; field in class:WindowsAsynchronousServerSocketChannelImpl
81 this.handle = h;
96 closesocket0(handle);
114 * Task to initiate accept operation and to handle result.
147 updateAcceptContext(handle, channel.handle());
185 int n = accept0(handle, channel.handle(), overlapped, dataBuffer);
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsWatchService.java88 // handle to directory
89 private volatile long handle = INVALID_HANDLE_VALUE; field in class:WindowsWatchService.WindowsWatchKey
117 WindowsWatchKey init(long handle, argument
125 this.handle = handle;
135 long handle() { method in class:WindowsWatchService.WindowsWatchKey
136 return handle;
173 CloseHandle(handle);
180 handle = INVALID_HANDLE_VALUE;
188 return handle !
[all...]
/openjdk7/jdk/src/windows/native/com/sun/media/sound/
H A DPLATFORM_API_WinOS_MidiIn.cpp52 MidiDeviceHandle* handle = (MidiDeviceHandle*) dwInstance; local
71 if (handle!=NULL && handle->queue!=NULL && handle->platformData) {
72 MIDI_QueueAddShort(handle->queue,
80 SetEvent((HANDLE) handle->platformData);
87 if (handle!=NULL && handle->queue!=NULL && handle->platformData) {
90 MIDI_QueueAddLong(handle
160 volatile MidiDeviceHandle* handle; member in class:MidiIn_OpenHelper::Data
213 midiInOpen(INT32 deviceID, MidiDeviceHandle* handle) argument
288 prepareBuffers(MidiDeviceHandle* handle) argument
307 unprepareBuffers(MidiDeviceHandle* handle) argument
324 MIDI_IN_OpenDevice(INT32 deviceID, MidiDeviceHandle** handle) argument
377 MIDI_IN_CloseDevice(MidiDeviceHandle* handle) argument
404 MIDI_IN_StartDevice(MidiDeviceHandle* handle) argument
435 MIDI_IN_StopDevice(MidiDeviceHandle* handle) argument
462 MIDI_IN_GetTimeStamp(MidiDeviceHandle* handle) argument
468 MIDI_IN_GetMessage(MidiDeviceHandle* handle) argument
493 MIDI_IN_ReleaseMessage(MidiDeviceHandle* handle, MidiMessage* msg) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/awt_common/
H A Dawt_makecube.cpp432 jio_fprintf (FILE *handle, const char *format, ...) argument
438 len = vfprintf(handle, format, args);
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DFileDispatcherImpl.c51 JNU_ThrowIOExceptionWithLastError(env, "Invalid handle");
54 result = ReadFile(h, /* File handle to read */
87 JNU_ThrowIOExceptionWithLastError(env, "Invalid handle");
94 result = ReadFile(h, /* File handle to read */
135 JNU_ThrowIOExceptionWithLastError(env, "Invalid handle");
157 result = ReadFile(h, /* File handle to read */
204 result = WriteFile(h, /* File handle to write */
245 result = WriteFile(h, /* File handle to write */
296 result = WriteFile(h, /* File handle to write */
466 Java_sun_nio_ch_FileDispatcherImpl_duplicateHandle(JNIEnv *env, jclass this, jlong handle) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Clipboard.cpp359 HANDLE handle = ::GetClipboardData((UINT)format); local
360 if (handle == NULL) {
374 HMETAFILEPICT hMetaFilePict = (HMETAFILEPICT)handle;
398 hemf = (HENHMETAFILE)handle;
426 LCID *lcid = (LCID *)::GlobalLock(handle);
434 ::GlobalUnlock(handle);
437 ::GlobalUnlock(handle);
445 SIZE_T globalSize = ::GlobalSize(handle);
448 JNU_ThrowIOException(env, "invalid global memory block handle");
458 LPVOID data = ::GlobalLock(handle);
[all...]
/openjdk7/jdk/test/java/nio/channels/
H A DTestServers.java266 * Creates a new TcpConnnectionThread to handle the connection through
270 * @return a new TcpConnnectionThread to handle the connection through
276 * Creates and starts a new TcpConnectionThread to handle the accepted
623 handle(sSocket, packet);
657 * Creates a new UdpRequestThread to handle a DatagramPacket received
662 * @return a new UdpRequestThread to handle the request received through
669 * Creates and starts a new UdpRequestThread to handle the received
675 private synchronized void handle(DatagramSocket socket, method in class:TestServers.AbstractUdpServer
/openjdk7/jdk/src/share/native/java/lang/
H A DClassLoader.c297 handleID = (*env)->GetFieldID(env, this, "handle", "J");
322 void * handle; local
330 handle = JVM_LoadLibrary(cname);
331 if (handle) {
337 JVM_FindLibraryEntry(handle, onLoadSymbols[i]);
354 JVM_UnloadLibrary(handle);
364 JVM_UnloadLibrary(handle);
377 (*env)->SetLongField(env, this, handleID, ptr_to_jlong(handle));
393 void *handle; local
400 handle
426 jlong handle; local
[all...]
/openjdk7/jdk/test/javax/management/remote/mandatory/loading/
H A DMissingClassTest.java335 /* Connectors can handle unserializable notifications in
374 handle(n, h);
378 private void handle(Notification n, Object h) { method in class:MissingClassTest.LostListener

Completed in 81 milliseconds

1234567891011