/openjdk7/jdk/src/macosx/native/com/sun/media/sound/ |
H A D | PLATFORM_API_MacOSX_MidiIn.c | 63 INT32 MIDI_IN_OpenDevice(INT32 deviceID, MidiDeviceHandle** handle) { argument 66 MIDI_Utils_OpenDevice(MIDI_IN, deviceID, (MacMidiDeviceHandle**) handle, 73 INT32 MIDI_IN_CloseDevice(MidiDeviceHandle* handle) { argument 75 return MIDI_Utils_CloseDevice((MacMidiDeviceHandle*) handle); 79 INT32 MIDI_IN_StartDevice(MidiDeviceHandle* handle) { argument 81 return MIDI_Utils_StartDevice((MacMidiDeviceHandle*) handle); 85 INT32 MIDI_IN_StopDevice(MidiDeviceHandle* handle) { argument 87 return MIDI_Utils_StopDevice((MacMidiDeviceHandle*) handle); 90 INT64 MIDI_IN_GetTimeStamp(MidiDeviceHandle* handle) { argument 91 return MIDI_Utils_GetTimeStamp((MacMidiDeviceHandle*) handle); 96 MIDI_IN_GetMessage(MidiDeviceHandle* handle) argument 116 MIDI_IN_ReleaseMessage(MidiDeviceHandle* handle, MidiMessage* msg) argument [all...] |
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/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/ |
H A D | DTMChildIterNodeList.java | 76 * @param parentHandle DTM node-handle integer 98 int handle=m_firstChild; 99 while(--index>=0 && handle!=DTM.NULL) { 100 handle=m_parentDTM.getNextSibling(handle); 102 if (handle == DTM.NULL) { 105 return m_parentDTM.getNode(handle); 114 for (int handle=m_firstChild; 115 handle!=DTM.NULL; 116 handle [all...] |
H A D | DTMNodeIterator.java | 118 /** Return a handle to the filter used to screen nodes. 141 int handle=dtm_iter.getRoot(); 142 return dtm_iter.getDTM(handle).getNode(handle); 165 int handle=dtm_iter.nextNode(); 166 if (handle==DTM.NULL) 168 return dtm_iter.getDTM(handle).getNode(handle); 183 int handle=dtm_iter.previousNode(); 184 if (handle [all...] |
/openjdk7/jdk/src/windows/native/com/sun/media/sound/ |
H A D | PLATFORM_API_WinOS_MidiIn.cpp | 52 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...] |
H A D | PLATFORM_API_WinOS_MidiOut.c | 146 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...] |
H A D | PLATFORM_API_WinOS_Util.h | 58 void MIDI_SetStartTime(MidiDeviceHandle* handle); 61 INT64 MIDI_GetTimeStamp(MidiDeviceHandle* handle); 64 int MIDI_WinCreateEmptyLongBufferQueue(MidiDeviceHandle* handle, int count); 65 int MIDI_WinCreateLongBufferQueue(MidiDeviceHandle* handle, int count, int size, UBYTE* preAllocatedMem); 66 void MIDI_WinDestroyLongBufferQueue(MidiDeviceHandle* handle);
|
/openjdk7/jdk/src/share/sample/nio/server/ |
H A D | Handler.java | 52 void handle(SelectionKey sk) throws IOException; method in interface:Handler
|
/openjdk7/jdk/src/windows/native/common/ |
H A D | jdk_util_md.c | 43 HMODULE handle = NULL; local 50 handle = LoadLibrary(path); 53 if (handle == NULL) { 57 handle = LoadLibrary(path); 60 return handle;
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XEmbedChildProxy.java | 33 long handle; field in class:XEmbedChildProxy 35 public XEmbedChildProxy(XEmbeddingContainer container, long handle) { argument 36 this.handle = handle; 54 return handle;
|
H A D | XEmbeddedFrame.java | 37 long handle; field in class:XEmbeddedFrame 41 // handle should be a valid X Window. 42 public XEmbeddedFrame(long handle) { argument 43 this(handle, false); 47 public XEmbeddedFrame(long handle, boolean supportsXEmbed, boolean isTrayIconWindow) { argument 48 super(handle, supportsXEmbed); 54 this.handle = handle; 55 if (handle != 0) { // Has actual parent 72 public XEmbeddedFrame(long handle, boolea argument [all...] |
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | jniHandles.hpp | 39 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/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ |
H A D | LocalVariableTableElement.java | 61 private OopHandle handle; field in class:LocalVariableTableElement 64 public LocalVariableTableElement(OopHandle handle, long offset) { argument 65 this.handle = handle; 70 return (int) handle.getCIntegerAt(offset + offsetOfStartBCI, 2, true); 74 return (int) handle.getCIntegerAt(offset + offsetOfLength, 2, true); 78 return (int) handle.getCIntegerAt(offset + offsetOfNameCPIndex, 2, true); 82 return (int) handle.getCIntegerAt(offset + offsetOfDescriptorCPIndex, 2, true); 86 return (int) handle.getCIntegerAt(offset + offsetOfSignatureCPIndex, 2, true); 90 return (int) handle [all...] |
H A D | ExceptionTableElement.java | 57 private OopHandle handle; field in class:ExceptionTableElement 60 public ExceptionTableElement(OopHandle handle, long offset) { argument 61 this.handle = handle; 66 return (int) handle.getCIntegerAt(offset + offsetOfStartPC, 2, true); 70 return (int) handle.getCIntegerAt(offset + offsetOfEndPC, 2, true); 74 return (int) handle.getCIntegerAt(offset + offsetOfHandlerPC, 2, true); 78 return (int) handle.getCIntegerAt(offset + offsetOfCatchTypeIndex, 2, true);
|
H A D | CheckedExceptionElement.java | 51 private OopHandle handle; field in class:CheckedExceptionElement 54 public CheckedExceptionElement(OopHandle handle, long offset) { argument 55 this.handle = handle; 60 return (int) handle.getCIntegerAt(offset + offsetOfClassCPIndex, 2, true);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/livejvm/ |
H A D | JNIHandleAccessor.java | 42 Address handle = addr.getAddressAt(0); 43 if (handle == null) return null; 44 return heap.newOop(handle.getOopHandleAt(0)); 48 Address handle = addr.getAddressAt(0); 50 Assert.that(handle != null, "Must have valid global JNI handle for setting"); 52 handle.setOopHandleAt(0, value.getHandle());
|
/openjdk7/jdk/src/windows/classes/java/lang/ |
H A D | Terminator.java | 51 public void handle(Signal sig) { 61 Signal.handle(new Signal("INT"), sh); 65 Signal.handle(new Signal("TERM"), sh);
|
/openjdk7/jdk/src/share/classes/javax/security/auth/callback/ |
H A D | CallbackHandler.java | 77 * <p> The <code>handle</code> method implementation checks the 81 * <code>handle</code> method implementation might look like. 86 * public void handle(Callback[] callbacks) 151 void handle(Callback[] callbacks) method in interface:CallbackHandler
|
/openjdk7/jdk/src/share/classes/com/sun/net/httpserver/ |
H A D | HttpHandler.java | 44 public abstract void handle (HttpExchange exchange) throws IOException; method in interface:HttpHandler
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | SignalHandler.java | 29 * This is the signal handler interface expected in <code>Signal.handle</code>. 53 public void handle(Signal sig); method in interface:SignalHandler
|
/openjdk7/jdk/src/solaris/classes/java/lang/ |
H A D | Terminator.java | 51 public void handle(Signal sig) { 60 Signal.handle(new Signal("HUP"), sh); 64 Signal.handle(new Signal("INT"), sh); 68 Signal.handle(new Signal("TERM"), sh);
|
/openjdk7/jdk/src/windows/classes/java/io/ |
H A D | FileDescriptor.java | 31 * Instances of the file descriptor class serve as an opaque handle 46 private long handle; field in class:FileDescriptor 62 handle = -1; 82 public void setHandle(FileDescriptor obj, long handle) { 83 obj.handle = handle; 87 return obj.handle; 94 * A handle to the standard input stream. Usually, this file 103 * A handle to the standard output stream. Usually, this file 111 * A handle t [all...] |
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/ |
H A D | PLATFORM_API_BsdOS_ALSA_MidiOut.c | 102 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 D | PLATFORM_API_LinuxOS_ALSA_MidiOut.c | 102 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...] |
/openjdk7/jdk/src/solaris/demo/jni/Poller/ |
H A D | Poller.java | 87 * 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...] |