/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | ClosedChannelTransfer.java | 37 FileChannel channel = (new RandomAccessFile("aaa","rw")).getChannel(); 38 test1(channel); 39 test2(channel); 40 channel.close(); 44 static void test1(FileChannel channel) throws Exception { argument 51 channel.transferFrom(rbc, 0, 2); 58 static void test2(FileChannel channel) throws Exception { argument 63 channel.transferTo(0, 2, wbc);
|
H A D | ReleaseOnCloseDeadlock.java | 73 static void tryToDeadlock(final Channel channel, FileLock[] locks) argument 81 channel.close();
|
/openjdk7/jdk/src/share/sample/nio/server/ |
H A D | AcceptHandler.java | 54 private ServerSocketChannel channel; field in class:AcceptHandler 61 channel = ssc; 71 SocketChannel sc = channel.accept();
|
/openjdk7/jdk/src/share/classes/javax/sound/midi/ |
H A D | VoiceStatus.java | 74 * provides fields that reveal the voice's current MIDI channel, bank and 99 * The MIDI channel on which this voice is playing. The value is a 100 * zero-based channel number if the voice is active, or 106 public int channel = 0; field in class:VoiceStatus
|
/openjdk7/jdk/test/sun/management/jdp/ |
H A D | JdpClient.java | 46 private final DatagramChannel channel; field in class:JdpClient.PacketListener 51 PacketListener(DatagramChannel channel) { argument 52 this.channel = channel; 60 channel.configureBlocking(false); 61 channel.register(sel, SelectionKey.OP_READ); 74 channel.receive(buf); 108 channel.close(); 133 DatagramChannel channel; 135 channel [all...] |
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | FileLock.java | 43 * channel that was used to acquire it, or by the termination of the Java 63 * <p> A file-lock object records the file channel upon whose file the lock is 100 * <p> On some systems, closing a channel releases all locks held by the Java 102 * acquired via that channel or via another channel open on the same file. It 103 * is strongly recommended that, within a program, a unique channel be used to 121 private final Channel channel; field in class:FileLock 129 * @param channel 130 * The file channel upon whose file this lock is held 147 protected FileLock(FileChannel channel, argument 185 FileLock(AsynchronousFileChannel channel, long position, long size, boolean shared) argument 209 public final FileChannel channel() { method in class:FileLock [all...] |
H A D | MembershipKey.java | 44 * the channel is closed. The validity of the membership key may be tested 69 * method, or the channel is closed. 80 * then the membership is dropped and the channel will no longer receive any 82 * then the channel will no longer receive datagrams sent to the group from 88 * then the channel may {@link MulticastChannel#join join} the group again 143 * Returns the channel for which this membership key was created. This 144 * method will continue to return the channel even after the membership 147 * @return the channel 149 public abstract MulticastChannel channel(); method in class:MembershipKey
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | ModelMappedInstrument.java | 54 MidiChannel channel, ModelDirectedPlayer player) { 55 return ins.getDirector(performers, channel, player); 58 public ModelChannelMixer getChannelMixer(MidiChannel channel, argument 60 return ins.getChannelMixer(channel, format); 53 getDirector(ModelPerformer[] performers, MidiChannel channel, ModelDirectedPlayer player) argument
|
H A D | SoftShortMessage.java | 37 int channel = 0; field in class:SoftShortMessage 40 return channel; 43 public void setMessage(int command, int channel, int data1, int data2) argument 45 this.channel = channel; 46 super.setMessage(command, channel & 0xF, data1, data2);
|
H A D | ModelInstrument.java | 42 * ChannelMixer is used to add channel-wide processing 58 MidiChannel channel, ModelDirectedPlayer player) { 66 public ModelChannelMixer getChannelMixer(MidiChannel channel, argument 57 getDirector(ModelPerformer[] performers, MidiChannel channel, ModelDirectedPlayer player) argument
|
H A D | ModelOscillatorStream.java | 40 public void noteOn(MidiChannel channel, VoiceStatus voice, int noteNumber, argument
|
H A D | SoftAudioBuffer.java | 101 public void get(byte[] buffer, int channel) { argument 112 if (channel >= format.getChannels()) 118 int z = channel * framesize_pc + j;
|
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/ |
H A D | mlib_ImageConvCopyEdge_Fp.c | 52 * Each bit of which represents a channel in the image. The 58 * overwritten. If both src and dst have just one channel, 65 * If src and dst have just one channel, 127 mlib_s32 channel = mlib_ImageGetChannels(dst); local 139 if (channel == 1) cmask = 1; 143 EDGES(channel,mlib_f32, cmask) 146 EDGES(channel,mlib_d64, cmask)
|
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/ |
H A D | Util.java | 99 static void dumpAddresses(SctpChannel channel, argument 102 Set<SocketAddress> addrs = channel.getAllLocalAddresses();
|
/openjdk7/jdk/test/com/sun/nio/sctp/SctpMultiChannel/ |
H A D | Util.java | 99 static void dumpAddresses(SctpChannel channel, argument 102 Set<SocketAddress> addrs = channel.getAllLocalAddresses();
|
/openjdk7/jdk/test/com/sun/nio/sctp/SctpServerChannel/ |
H A D | Util.java | 99 static void dumpAddresses(SctpChannel channel, argument 102 Set<SocketAddress> addrs = channel.getAllLocalAddresses();
|
/openjdk7/jdk/test/java/nio/channels/Selector/ |
H A D | RegAfterPreClose.java | 66 * A task that closes a channel. 69 private final Channel channel; field in class:RegAfterPreClose.Closer 71 this.channel = sc; 75 channel.close();
|
/openjdk7/jdk/test/sun/security/smartcardio/ |
H A D | Utils.java | 66 static void transmitTestCommand(CardChannel channel) throws Exception { argument 67 ResponseAPDU r = channel.transmit(new CommandAPDU(C1));
|
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageConvClearEdge_Fp.c | 53 * Each bit of which represents a channel in the image. The 63 * If src and dst have just one channel, 121 mlib_s32 channel = mlib_ImageGetChannels(img); local 133 if (channel == 1) cmask = 1; 137 EDGES(channel,mlib_f32, cmask); 140 EDGES(channel,mlib_d64, cmask);
|
H A D | mlib_c_ImageConvClearEdge.c | 52 * Each bit of which represents a channel in the image. The 62 * If src and dst have just one channel, 120 mlib_s32 channel = mlib_ImageGetChannels(dst); local 132 if (channel == 1) 139 EDGES(channel, mlib_u8, cmask) 143 EDGES(channel, mlib_s16, cmask) 146 EDGES(channel, mlib_s32, cmask)
|
H A D | mlib_c_ImageConvCopyEdge.c | 53 * Each bit of which represents a channel in the image. The 59 * overwritten. If both src and dst have just one channel, 66 * If src and dst have just one channel, 126 mlib_s32 channel = mlib_ImageGetChannels(dst); local 138 if (channel == 1) 145 EDGES(channel, mlib_u8, cmask) 149 EDGES(channel, mlib_u16, cmask) 153 EDGES(channel, mlib_u32, cmask) 156 EDGES(channel, mlib_d64, cmask)
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftChannel/ |
H A D | SoftTestUtils.java | 101 public VoiceStatus findVoice(int channel, int note) { argument 105 if(v[k].channel == channel)
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftReceiver/ |
H A D | SoftTestUtils.java | 101 public VoiceStatus findVoice(int channel, int note) { argument 105 if(v[k].channel == channel)
|
/openjdk7/jdk/src/share/classes/sun/management/jdp/ |
H A D | JdpBroadcaster.java | 54 private final DatagramChannel channel; field in class:JdpBroadcaster 73 channel = DatagramChannel.open(family); 74 channel.setOption(StandardSocketOptions.SO_REUSEADDR, true); 75 channel.setOption(StandardSocketOptions.IP_MULTICAST_TTL, ttl); 83 channel.bind(new InetSocketAddress(srcAddress, 0)); 87 channel.setOption(StandardSocketOptions.IP_MULTICAST_IF, interf); 115 channel.send(b, new InetSocketAddress(addr, port)); 119 * Shutdown broadcaster and close underlying socket channel 124 channel.close();
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | FileLockImpl.java | 36 FileLockImpl(FileChannel channel, long position, long size, boolean shared) argument 38 super(channel, position, size, shared); 41 FileLockImpl(AsynchronousFileChannel channel, long position, long size, boolean shared) argument 43 super(channel, position, size, shared);
|