/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ |
H A D | Method.java | 77 Method(OopHandle handle, ObjectHeap heap) { argument 78 super(handle, heap);
|
H A D | InstanceKlass.java | 113 InstanceKlass(OopHandle handle, ObjectHeap heap) { argument 114 super(handle, heap);
|
H A D | ObjectHeap.java | 314 public boolean isValidMethod(OopHandle handle) { argument 315 OopHandle klass = Oop.getKlassForOopHandle(handle); 322 // Creates an instance from the Oop hierarchy based based on the handle 323 public Oop newOop(OopHandle handle) { argument 330 if (handle == null) return null; 332 // First check if handle is one of the root objects 333 if (handle.equals(methodKlassHandle)) return getMethodKlassObj(); 334 if (handle.equals(constMethodKlassHandle)) return getConstMethodKlassObj(); 335 if (handle.equals(constantPoolKlassHandle)) return getConstantPoolKlassObj(); 336 if (handle [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | EmbeddedFrame.java | 47 * . Within a C-based application, an EmbeddedFrame contains a window handle 50 * handle of an existing window created by the application. The window 51 * handle should be of the appropriate native type for a specific 89 protected EmbeddedFrame(int handle) { argument 90 this((long)handle); 93 protected EmbeddedFrame(long handle) { argument 94 this(handle, false); 97 protected EmbeddedFrame(long handle, boolean supportsXEmbed) { argument 114 // We don't handle any other properties. Skip it.
|
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/ |
H A D | PLATFORM_API_MacOSX_MidiUtils.c | 265 static void processMessagesForPacket(const MIDIPacket* packet, MacMidiDeviceHandle* handle) { argument 305 if (handle->readingSysExData) { 306 CFDataAppendBytes(handle->readingSysExData, &byte, 1); 330 if (handle->readingSysExData /* && (byte == 0xF7) */) { 332 const UInt8* bytes = CFDataGetBytePtr(handle->readingSysExData); 333 CFIndex size = CFDataGetLength(handle->readingSysExData); 334 MIDI_QueueAddLong(handle->h.queue, 340 CFRelease(handle->readingSysExData); 341 handle->readingSysExData = NULL; 368 handle 417 MacMidiDeviceHandle* handle = (MacMidiDeviceHandle*) connRefCon; local 459 MIDI_Utils_OpenDevice(int direction, INT32 deviceID, MacMidiDeviceHandle** handle, int num_msgs, int num_long_msgs, size_t lm_size) argument 511 MIDI_Utils_CloseDevice(MacMidiDeviceHandle* handle) argument 544 MIDI_Utils_StartDevice(MacMidiDeviceHandle* handle) argument 580 MIDI_Utils_StopDevice(MacMidiDeviceHandle* handle) argument 605 MIDI_Utils_GetTimeStamp(MacMidiDeviceHandle* handle) argument [all...] |
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/ |
H A D | PLATFORM_API_BsdOS_ALSA_PCM.c | 121 snd_pcm_t* handle; local 134 if (openPCMfromDeviceID(deviceID, &handle, isSource, TRUE /*query hardware*/) < 0) { 145 ret = snd_pcm_hw_params_any(handle, hwParams); 239 snd_pcm_close(handle); 251 snd_pcm_t* handle; member in struct:tag_AlsaPcmInfo 278 ret = snd_pcm_sw_params_set_start_threshold(info->handle, info->swParams, threshold); 294 ret = snd_pcm_sw_params(info->handle, info->swParams); 314 ret = snd_pcm_hw_params_any(info->handle, info->hwParams); 320 ret = snd_pcm_hw_params_set_access(info->handle, info->hwParams, SND_PCM_ACCESS_RW_INTERLEAVED); 326 ret = snd_pcm_hw_params_set_format(info->handle, inf [all...] |
H A D | PLATFORM_API_LinuxOS_ALSA_PCM.c | 121 snd_pcm_t* handle; local 134 if (openPCMfromDeviceID(deviceID, &handle, isSource, TRUE /*query hardware*/) < 0) { 145 ret = snd_pcm_hw_params_any(handle, hwParams); 239 snd_pcm_close(handle); 251 snd_pcm_t* handle; member in struct:tag_AlsaPcmInfo 278 ret = snd_pcm_sw_params_set_start_threshold(info->handle, info->swParams, threshold); 294 ret = snd_pcm_sw_params(info->handle, info->swParams); 314 ret = snd_pcm_hw_params_any(info->handle, info->hwParams); 320 ret = snd_pcm_hw_params_set_access(info->handle, info->hwParams, SND_PCM_ACCESS_RW_INTERLEAVED); 326 ret = snd_pcm_hw_params_set_format(info->handle, inf [all...] |
/openjdk7/jdk/src/windows/demo/jvmti/hprof/ |
H A D | hprof_md.c | 442 md_unload_library(void *handle) argument 444 FreeLibrary(handle); 448 md_find_library_entry(void *handle, const char *name) argument 450 return GetProcAddress(handle, name);
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | WinNTFileSystem_md.c | 61 HMODULE handle; local 70 (LPCWSTR)&CreateFileW, &handle) != 0) 73 GetProcAddress(handle, "GetFinalPathNameByHandleW"); 613 HANDLE handle; local 658 /* Open handle to the first file */ 659 handle = FindFirstFileW(search_path, &find_data); 661 if (handle == INVALID_HANDLE_VALUE) { 699 } while (FindNextFileW(handle, &find_data)); 703 FindClose(handle);
|
H A D | io_util_md.c | 75 // library does not handle invalid drives. 293 /* These are functions that use a handle fd instead of the 441 * is a handle to console output. That is because console 454 HANDLE handle = (HANDLE)fd; local 456 if (!FlushFileBuffers(handle)) { 490 result = ReadFile(h, /* File handle to read */ 521 result = WriteFile(h, /* File handle to write */
|
/openjdk7/jdk/src/windows/native/sun/tools/attach/ |
H A D | WindowsVirtualMachine.c | 174 /* process is attaching to itself; get a pseudo handle instead */ 176 /* duplicate the pseudo handle so it can be used in more contexts */ 180 * Could not duplicate the handle which isn't a good sign, 213 * On Windows 64-bit we need to handle 32-bit tools trying to attach to 64-bit 328 (HANDLE)hPipe, // handle to pipe 358 (JNIEnv *env, jclass cls, jlong handle, jbyteArray stub, jstring cmd, 411 hProcess = (HANDLE)handle; 357 Java_sun_tools_attach_WindowsVirtualMachine_enqueue(JNIEnv *env, jclass cls, jlong handle, jbyteArray stub, jstring cmd, jstring pipename, jobjectArray args) argument
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_DesktopProperties.cpp | 100 // handle contains a reference toe the registry entry to look in. 105 static LPTSTR resolveShellDialogFont(LPTSTR fontName, HKEY handle) { argument 107 if (RegQueryValueEx((HKEY)handle, fontName, NULL, 117 if (RegQueryValueEx((HKEY)handle, fontName, NULL, 133 HKEY handle; local 134 if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, subKey, 0, KEY_READ, &handle) != 0) { 138 LPTSTR font = resolveShellDialogFont(TEXT("MS Shell Dlg 2"), handle); 140 font = resolveShellDialogFont(TEXT("MS Shell Dlg"), handle); 142 RegCloseKey(handle); 151 HKEY handle; local [all...] |
/openjdk7/jdk/src/share/native/com/sun/media/sound/ |
H A D | DirectAudioDevice.c | 48 void* handle; member in struct:__anon638 508 info->handle =DAUDIO_Open((int) mixerIndex, (INT32) deviceID, (int) isSource, 512 if (!info->handle) { 540 if (info && info->handle) { 541 DAUDIO_Start(info->handle, (int) isSource); 556 if (info && info->handle) { 557 DAUDIO_Stop(info->handle, (int) isSource); 572 if (info && info->handle) { 573 DAUDIO_Close(info->handle, (int) isSource); 604 if (info && info->handle) { [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | Secmod.java | 75 // handle to be passed to the native code, 0 means not initialized 204 if (DEBUG) System.out.println("handle: " + nssHandle); 611 final long handle; field in class:Secmod.TrustAttributes 633 handle = token.p11.C_CreateObject(session.id(), attrs); 645 TrustAttributes(Token token, Session session, long handle) argument 647 this.handle = handle; 655 token.p11.C_GetAttributeValue(session.id(), handle, attrs); 666 token.p11.C_GetAttributeValue(session.id(), handle, attrs); 740 for (long handle 754 nssVersionCheck(long handle, String minVersion) argument 756 nssInit(String functionName, long handle, String configDir) argument 758 nssGetModuleList(long handle, String libDir) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | ServerImpl.java | 294 /* don't re-enable the interestops, just handle it */ 296 handle (c.getChannel(), c); 398 handle (chan, conn); 428 public void handle (SocketChannel chan, HttpConnection conn) method in class:ServerImpl.Dispatcher 676 public void handle (HttpExchange exchange) throws IOException { method in class:ServerImpl.Exchange.LinkHandler
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XEmbedCanvasPeer.java | 118 return xembed.handle != 0; 126 if (xembedLog.isLoggable(PlatformLogger.FINE)) xembedLog.fine("Init embedding for " + Long.toHexString(xembed.handle)); 129 XToolkit.addEventDispatcher(xembed.handle, xembed); 130 XlibWrapper.XSelectInput(XToolkit.getDisplay(), xembed.handle, 133 XDropTargetRegistry.getRegistry().registerXEmbedClient(getWindow(), xembed.handle); 143 xembedLog.fine("End dispatching for " + Long.toHexString(xembed.handle)); 146 XDropTargetRegistry.getRegistry().unregisterXEmbedClient(getWindow(), xembed.handle); 148 XToolkit.removeEventDispatcher(xembed.handle, xembed); 155 if (xembed.handle != 0) { 158 xembed.handle 713 long handle; // Handle to XEmbed client field in class:XEmbedCanvasPeer.XEmbedServer [all...] |
H A D | XEmbedChildProxyPeer.java | 43 long handle; field in class:XEmbedChildProxyPeer 46 this.handle = proxy.getHandle(); 54 XToolkit.addEventDispatcher(handle, this); 55 XlibWrapper.XSelectInput(XToolkit.getDisplay(), handle, 61 container.notifyChildEmbedded(handle); 69 XlibWrapper.XUnmapWindow(XToolkit.getDisplay(), handle); 77 XlibWrapper.XMapWindow(XToolkit.getDisplay(), handle); 92 XlibWrapper.XMoveResizeWindow(XToolkit.getDisplay(), handle, x, y, width, height); 102 container.focusGained(handle); 106 container.focusLost(handle); [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | ObjectOutputStream.java | 127 * the objects to handle any versioning that occurs. 178 /** obj -> wire handle map */ 1021 int handle; 1024 } else if ((handle = handles.lookup(str)) != -1) { 1025 writeHandle(handle); 1108 // handle previously written and non-replaceable objects 1198 * Writes given object handle to stream. 1200 private void writeHandle(int handle) throws IOException { argument 1202 bout.writeInt(baseWireHandle + handle); 1220 int handle; 2315 insert(Object obj, int handle) argument [all...] |
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | ClassLoader.java | 1737 // opaque handle to native library, used in native code. 1738 long handle; field in class:ClassLoader.NativeLibrary 1758 if (fromClass.getClassLoader() != null && handle != 0) { 1961 if (lib.handle != 0) {
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Font.java | 231 public void setFont2D(Font font, Font2DHandle handle) { argument 232 font.font2DHandle = handle; 500 FontManager.LOGICAL_FALLBACK).handle; 582 boolean created, Font2DHandle handle) { 595 if (handle.font2D instanceof CompositeFont && 596 handle.font2D.getStyle() != style) { 598 this.font2DHandle = fm.getNewComposite(null, style, handle); 600 this.font2DHandle = handle; 615 tracker).handle; 626 * need to have the handle t 581 Font(String name, int style, float sizePts, boolean created, Font2DHandle handle) argument 645 Font(AttributeValues values, String oldName, int oldStyle, boolean created, Font2DHandle handle) argument [all...] |
/openjdk7/hotspot/src/os/windows/launcher/ |
H A D | java_md.c | 202 * gamma launcher is simpler in that it doesn't handle VM flavors, data 282 HINSTANCE handle; local 320 if ((handle = LoadLibrary(tmpbuf)) == 0) { 327 PreJVMStart = (PREJVMSTART)GetProcAddress(handle, "preJVMStart"); 332 FreeLibrary(handle); 339 FreeLibrary(handle); 439 HINSTANCE handle; 449 if ((handle = LoadLibrary(jvmpath)) == 0) { 456 (void *)GetProcAddress(handle, "JNI_CreateJavaVM"); 458 (void *)GetProcAddress(handle, "JNI_GetDefaultJavaVMInitArg [all...] |
/openjdk7/hotspot/src/share/vm/ci/ |
H A D | ciEnv.cpp | 237 ciInstance* ciEnv::get_or_create_exception(jobject& handle, Symbol* name) { argument 239 if (handle == NULL) { 251 handle = objh; 254 oop obj = JNIHandles::resolve(handle); 470 // Found it. Build a CI handle. 1051 // (Put nm into the task handle *before* publishing to the Java heap.)
|
/openjdk7/jdk/src/macosx/bin/ |
H A D | java_md_macosx.c | 761 // The handle is good for both the launcher and the libosxapp.dylib 762 void * handle = dlopen(NULL, RTLD_LAZY | RTLD_GLOBAL); local 763 if (handle) { 767 (JLI_GetJavaVMInstance_t)dlsym(handle, 777 (OSXAPP_SetJavaVM_t)dlsym(handle, "OSXAPP_SetJavaVM"); 785 dlclose(handle);
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_xembed_server.c | 108 Window handle; // pointer to plugin intermediate widget, XEmbed client member in struct:_xembed_server_data 111 Boolean dispatching; // whether we dispatch messages for handle 120 getData(Window handle) { argument 123 if (temp->handle == handle) { 294 res = (sdata->handle != None)?JNI_TRUE:JNI_FALSE; 312 XSelectInput(awt_display, sdata->handle, StructureNotifyMask | PropertyChangeMask); 315 sdata->serverHandle, sdata->handle); 335 sdata->serverHandle, sdata->handle); 347 Java_sun_awt_motif_MEmbedCanvasPeer_embedChild (JNIEnv * env, jobject this, jlong handle) { argument [all...] |
/openjdk7/jdk/src/windows/native/com/sun/media/sound/ |
H A D | PLATFORM_API_WinOS_Ports.c | 47 HMIXER handle; member in struct:tag_PortInfo 88 int getControlInfo(HMIXER handle, MIXERLINE* line, MIXERLINECONTROLS* controls); 230 void printMixerLineControls(HMIXER handle, MIXERLINE* mixerLine) { argument 234 if (getControlInfo(handle, mixerLine, &controls)) { 246 TRACE5(" PortInfo %p: handle=%p, mixerIndex=%d, dstLineCount=%d, dstLines=%p, ", info, (void*) info->handle, info->mixerIndex, info->dstLineCount, info->dstLines); 256 int getMixerLineByDestination(HMIXER handle, DWORD dstIndex, MIXERLINE* mixerLine) { argument 259 if (mixerGetLineInfo((HMIXEROBJ) handle, mixerLine, 269 int getMixerLineByType(HMIXER handle, DWORD linetype, MIXERLINE* mixerLine) { argument 272 if (mixerGetLineInfo((HMIXEROBJ) handle, mixerLin 282 getMixerLineBySource(HMIXER handle, DWORD dstIndex, DWORD srcIndex, MIXERLINE* mixerLine) argument 296 getControlInfo(HMIXER handle, MIXERLINE* line, MIXERLINECONTROLS* controls) argument 327 lineHasControls(HMIXER handle, MIXERLINE* line, MIXERLINECONTROLS* controls) argument 367 getDestinationCount(HMIXER handle) argument 380 HMIXER handle; local 570 getControlCount(HMIXER handle, MIXERLINE* line, INT32* muxCount) argument [all...] |