Searched refs:handle (Results 26 - 50 of 370) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/windows/native/com/sun/media/sound/
H A DPLATFORM_API_WinOS_Util.c35 void MIDI_SetStartTime(MidiDeviceHandle* handle) { argument
36 if (handle != NULL) {
37 handle->startTime = (INT64) timeGetTime();
43 INT64 MIDI_GetTimeStamp(MidiDeviceHandle* handle) { argument
45 if (handle == NULL) {
48 res = ((INT64) timeGetTime()) - handle->startTime;
84 int MIDI_WinCreateEmptyLongBufferQueue(MidiDeviceHandle* handle, int count) { argument
85 return MIDI_WinCreateLongBufferQueue(handle, count, 0, NULL);
88 int MIDI_WinCreateLongBufferQueue(MidiDeviceHandle* handle, int count, int size, UBYTE* preAllocatedMem) { argument
110 handle
124 MIDI_WinDestroyLongBufferQueue(MidiDeviceHandle* handle) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tracing/dtrace/
H A DActivation.java62 * This holds the native handle.
79 private long handle; field in class:SystemResource
85 SystemResource(Activation activation, long handle) { argument
87 this.handle = handle;
93 JVM.dispose(handle);
95 handle = 0;
101 if (resource.handle != 0) {
/openjdk7/jdk/src/windows/native/java/io/
H A Ddirent_md.c97 dirp->handle = FindFirstFile(dirp->path, &dirp->find_data);
98 if (dirp->handle == INVALID_HANDLE_VALUE) {
112 if (dirp->handle == INVALID_HANDLE_VALUE) {
118 if (!FindNextFile(dirp->handle, &dirp->find_data)) {
123 FindClose(dirp->handle);
124 dirp->handle = INVALID_HANDLE_VALUE;
133 if (dirp->handle != INVALID_HANDLE_VALUE) {
134 if (!FindClose(dirp->handle)) {
138 dirp->handle = INVALID_HANDLE_VALUE;
148 if (dirp->handle !
[all...]
/openjdk7/jaxp/src/org/w3c/dom/
H A DUserDataHandler.java95 public void handle(short operation, method in interface:UserDataHandler
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/oa/poa/
H A DBadServerIdHandler.java39 void handle(ObjectKey objectKey) ; method in interface:BadServerIdHandler
/openjdk7/hotspot/src/os/bsd/vm/
H A DdtraceJSDT_bsd.cpp49 void DTraceJSDT::pd_dispose(int handle) { argument
/openjdk7/hotspot/src/os/linux/vm/
H A DdtraceJSDT_linux.cpp42 void DTraceJSDT::pd_dispose(int handle) { argument
/openjdk7/hotspot/src/os/windows/vm/
H A DdtraceJSDT_windows.cpp42 void DTraceJSDT::pd_dispose(int handle) { argument
H A DosThread_windows.hpp34 HANDLE _thread_handle; // Win32 thread handle
42 void set_thread_handle(HANDLE handle) { _thread_handle = handle; } argument
H A Ddecoder_windows.cpp41 HMODULE handle = ::LoadLibrary("dbghelp.dll"); local
42 if (!handle) {
47 _dbghelp_handle = handle;
49 pfn_SymSetOptions _pfnSymSetOptions = (pfn_SymSetOptions)::GetProcAddress(handle, "SymSetOptions");
50 pfn_SymInitialize _pfnSymInitialize = (pfn_SymInitialize)::GetProcAddress(handle, "SymInitialize");
51 _pfnSymGetSymFromAddr64 = (pfn_SymGetSymFromAddr64)::GetProcAddress(handle, "SymGetSymFromAddr64");
52 _pfnUndecorateSymbolName = (pfn_UndecorateSymbolName)::GetProcAddress(handle, "UnDecorateSymbolName");
57 ::FreeLibrary(handle);
68 ::FreeLibrary(handle);
76 (pfn_SymSetSearchPath)::GetProcAddress(handle, "SymSetSearchPat
[all...]
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_MidiOut.c65 INT32 MIDI_OUT_OpenDevice(INT32 deviceID, MidiDeviceHandle** handle) { argument
68 return MIDI_Utils_OpenDevice(MIDI_OUT, deviceID, (MacMidiDeviceHandle**) handle, 0, 0, 0);
71 INT32 MIDI_OUT_CloseDevice(MidiDeviceHandle* handle) { argument
83 return MIDI_Utils_CloseDevice((MacMidiDeviceHandle*) handle);
87 INT64 MIDI_OUT_GetTimeStamp(MidiDeviceHandle* handle) { argument
88 return MIDI_Utils_GetTimeStamp((MacMidiDeviceHandle*) handle);
92 INT32 MIDI_OUT_SendShortMessage(MidiDeviceHandle* handle, UINT32 packedMsg, UINT32 timestamp) { argument
96 if (!handle) {
97 ERROR0("< ERROR: MIDI_OUT_SendShortMessage: handle is NULL\n");
101 MacMidiDeviceHandle* macHandle = (MacMidiDeviceHandle*) handle;
183 MIDI_OUT_SendLongMessage(MidiDeviceHandle* handle, UBYTE* data, UINT32 size, UINT32 timestamp) argument
[all...]
H A DPLATFORM_API_MacOSX_MidiUtils.h53 MidiDeviceHandle h; /* the real handle (must be the first field!) */
78 extern INT32 MIDI_Utils_OpenDevice(int direction, INT32 deviceID, MacMidiDeviceHandle** handle,
81 extern INT32 MIDI_Utils_CloseDevice(MacMidiDeviceHandle* handle);
82 extern INT32 MIDI_Utils_StartDevice(MacMidiDeviceHandle* handle);
83 extern INT32 MIDI_Utils_StopDevice(MacMidiDeviceHandle* handle);
84 extern INT64 MIDI_Utils_GetTimeStamp(MacMidiDeviceHandle* handle);
/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaIOFileDescriptorAccess.java38 public void setHandle(FileDescriptor obj, long handle); argument
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/spi/http/
H A DHttpHandler.java53 public abstract void handle(HttpExchange exchange) throws IOException; method in class:HttpHandler
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DMarkBits.java62 OopHandle handle = obj.getHandle();
64 long idx = handle.minus(start) / VM.getVM().getOopSize();
66 System.err.println("MarkBits: WARNING: object " + handle + " outside of heap, ignoring");
79 OopHandle handle = obj.getHandle();
81 long idx = handle.minus(start) / VM.getVM().getOopSize();
83 System.err.println("MarkBits: WARNING: object " + handle + " outside of heap, ignoring");
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DObjectHeap.java314 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/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_PCM.c121 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 DPLATFORM_API_LinuxOS_ALSA_PCM.c121 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 DPLATFORM_API_BsdOS_ALSA_MidiUtils.h78 MidiDeviceHandle** handle);
81 INT32 closeMidiDevice(MidiDeviceHandle* handle);
83 INT64 getMidiTimestamp(MidiDeviceHandle* handle);
H A DPLATFORM_API_LinuxOS_ALSA_MidiUtils.h78 MidiDeviceHandle** handle);
81 INT32 closeMidiDevice(MidiDeviceHandle* handle);
83 INT64 getMidiTimestamp(MidiDeviceHandle* handle);
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/share/native/com/sun/media/sound/
H A DPlatformMidi.h48 /* return code for invalid handle */
50 /* return code for invalid handle */
102 // device handle, to be created and filled in MIDI_IN_OpenDevice() and MIDI_OUT_OpenDevice()
104 void* deviceHandle; // handle to the device
150 * deviceHandle: native device handle
200 * Returns a device handle in handle*.
203 INT32 MIDI_IN_OpenDevice(INT32 deviceID, MidiDeviceHandle** handle);
206 * Close the device handle.
209 INT32 MIDI_IN_CloseDevice(MidiDeviceHandle* handle);
[all...]
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DWindowsAsynchronousFileChannelImpl.c39 jlong handle, jlong address, jint len, jlong offset, jlong ov)
48 res = ReadFile((HANDLE) jlong_to_ptr(handle),
69 jlong handle, jlong address, jint len, jlong offset, jlong ov)
78 res = WriteFile((HANDLE)jlong_to_ptr(handle),
96 Java_sun_nio_ch_WindowsAsynchronousFileChannelImpl_lockFile(JNIEnv *env, jobject this, jlong handle, argument
100 HANDLE h = jlong_to_ptr(handle);
126 jlong handle)
128 HANDLE h = (HANDLE)jlong_to_ptr(handle);
38 Java_sun_nio_ch_WindowsAsynchronousFileChannelImpl_readFile(JNIEnv* env, jclass this, jlong handle, jlong address, jint len, jlong offset, jlong ov) argument
68 Java_sun_nio_ch_WindowsAsynchronousFileChannelImpl_writeFile(JNIEnv* env, jclass this, jlong handle, jlong address, jint len, jlong offset, jlong ov) argument
125 Java_sun_nio_ch_WindowsAsynchronousFileChannelImpl_close0(JNIEnv* env, jclass this, jlong handle) argument
/openjdk7/hotspot/src/share/vm/runtime/
H A DjniHandles.cpp128 void JNIHandles::destroy_global(jobject handle) { argument
129 if (handle != NULL) {
130 assert(is_global_handle(handle), "Invalid delete of global JNI handle");
131 *((oop*)handle) = deleted_handle(); // Mark the handle as deleted, allocate will reuse it
136 void JNIHandles::destroy_weak_global(jobject handle) { argument
137 if (handle != NULL) {
138 assert(!CheckJNICalls || is_weak_global_handle(handle), "Invalid delete of weak global JNI handle");
170 is_local_handle(Thread* thread, jobject handle) argument
198 is_global_handle(jobject handle) argument
203 is_weak_global_handle(jobject handle) argument
467 oop* handle = &(_last->_handles)[_last->_top++]; local
474 oop* handle = _free_list; local
509 oop* handle = &(current->_handles)[index]; local
569 any_contains(jobject handle) argument
[all...]

Completed in 78 milliseconds

1234567891011>>