Searched refs:open (Results 276 - 300 of 366) sorted by relevance

<<1112131415

/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DDevPollArrayWrapper.c107 int wfd = open("/dev/poll", O_RDWR);
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DLotsOfWrites.java79 this.channel = AsynchronousFileChannel.open(file.toPath(), WRITE);
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DLock.java178 try (FileChannel fc = FileChannel.open(blah.toPath(), APPEND)) {
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DAsyncCloseChannel.java183 final SocketChannel s = SocketChannel.open(
H A DSocketOptionTests.java48 SocketChannel sc = SocketChannel.open();
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/
H A DHttpServer.java112 schan = ServerSocketChannel.open ();
189 selector = Selector.open ();
598 selector = Selector.open();
732 selector = Selector.open ();
/openjdk7/jdk/test/java/rmi/activation/rmidViaInheritedChannel/
H A DInheritedChannelNotServerSocket.java167 channel = SocketChannel.open();
H A DRmidViaInheritedChannel.java166 channel = ServerSocketChannel.open();
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftChannel/
H A DProgramAndBankChange.java48 public ModelOscillatorStream open(float samplerate) {
/openjdk7/jdk/test/sun/net/www/httptest/
H A DHttpServer.java106 schan = ServerSocketChannel.open ();
160 selector = Selector.open ();
417 selector = Selector.open();
535 selector = Selector.open ();
/openjdk7/jdk/src/solaris/bin/
H A Djexec.c307 int fd = open(path, O_RDONLY);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DPortMixer.java160 // open the mixer device
299 // this is very similar to open(AudioFormat, int) in AbstractDataLine...
300 public void open() throws LineUnavailableException { method in class:PortMixer.PortMixerPort
302 // if the line is not currently open, try to open it with this format and buffer size
304 if (Printer.trace) Printer.trace("> PortMixerPort: open");
306 mixer.open(this);
308 // open the line. may throw LineUnavailableException.
311 // if we succeeded, set the open state to true and send events
318 if (Printer.trace) Printer.trace("< PortMixerPort: open succeede
[all...]
H A DDirectAudioDevice.java425 // $$fb part of fix for 4679187: Clip.open() throws unexpected Exceptions
1044 public void open(AudioFormat format, byte[] data, int offset, int bufferSize) method in class:DirectAudioDevice.DirectClip
1047 // $$fb part of fix for 4679187: Clip.open() throws unexpected Exceptions
1052 open(format, newData, bufferSize / format.getFrameSize());
1056 private void open(AudioFormat format, byte[] data, int frameLength) method in class:DirectAudioDevice.DirectClip
1059 // $$fb part of fix for 4679187: Clip.open() throws unexpected Exceptions
1063 if (Printer.trace) Printer.trace("> DirectClip.open(format, data, frameLength)");
1068 throw new IllegalStateException("Clip is already open with format " + getFormat() +
1071 // if the line is not currently open, try to open i
1115 public void open(AudioInputStream stream) throws LineUnavailableException, IOException { method in class:DirectAudioDevice.DirectClip
[all...]
H A DJavaSoundAudioClip.java153 if (DEBUG || Printer.trace)Printer.trace("JavaSoundAudioClip: clip.open()");
154 clip.open(loadedAudioFormat, loadedAudio, 0, loadedAudioByteLength);
186 sequencer.open();
/openjdk7/hotspot/src/os/solaris/add_gnu_debuglink/
H A Dadd_gnu_debuglink.c80 if ((fd = open(debug_info_path, O_RDONLY)) == -1) {
81 (void) fprintf(stderr, "%s: cannot open file.\n", debug_info_path);
97 /* open the elf_obj */
99 if ((fd = open(elf_obj, O_RDWR)) == -1) {
100 (void) fprintf(stderr, "%s: cannot open file.\n", elf_obj);
/openjdk7/jdk/make/tools/add_gnu_debuglink/
H A Dadd_gnu_debuglink.c80 if ((fd = open(debug_info_path, O_RDONLY)) == -1) {
81 (void) fprintf(stderr, "%s: cannot open file.\n", debug_info_path);
97 /* open the elf_obj */
99 if ((fd = open(elf_obj, O_RDWR)) == -1) {
100 (void) fprintf(stderr, "%s: cannot open file.\n", elf_obj);
/openjdk7/jdk/test/com/sun/nio/sctp/SctpMultiChannel/
H A DBranch.java97 channel = SctpMultiChannel.open();
165 serverChannel = SctpMultiChannel.open().bind(null);
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DUtility.java952 boolean open = false;
957 if(open)
959 open = true;
963 if(!open)
965 open = false;
974 if(open)
/openjdk7/hotspot/src/os/bsd/vm/
H A DperfMemory_bsd.cpp98 RESTARTABLE(::open(destfile, O_CREAT|O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE),
225 // the directory is open for writing and could be subjected
327 // open the directory and check if the file for the given vmid exists.
499 // open the user temp directory
618 RESTARTABLE(::open(filename, O_RDWR|O_CREAT|O_TRUNC, S_IREAD|S_IWRITE), result);
664 // open the shared memory file for the given user and vmid. returns
665 // the file descriptor for the open file or -1 if the file could not
670 // open the file
672 RESTARTABLE(::open(filename, oflags), result);
895 // open th
[all...]
/openjdk7/hotspot/src/os/linux/vm/
H A DperfMemory_linux.cpp98 RESTARTABLE(::open(destfile, O_CREAT|O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE),
225 // the directory is open for writing and could be subjected
327 // open the directory and check if the file for the given vmid exists.
499 // open the user temp directory
618 RESTARTABLE(::open(filename, O_RDWR|O_CREAT|O_TRUNC, S_IREAD|S_IWRITE), result);
664 // open the shared memory file for the given user and vmid. returns
665 // the file descriptor for the open file or -1 if the file could not
670 // open the file
672 RESTARTABLE(::open(filename, oflags), result);
895 // open th
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DTrueTypeFont.java285 private synchronized FileChannel open() throws FontFormatException { method in class:TrueTypeFont
288 FontUtilities.getLogger().info("open TTF: " + platName);
319 open();
338 open();
347 * open() the file here, but in native the value
445 open();
491 open();
836 open();
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DAreaOp.java427 ChainEnd open = endlist[i - 1];
429 CurveLink subcurve = open.linkTo(close);
485 * Connect chains or links if they close off an open area...
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipFile.java67 * Mode flag to open a zip file for reading.
72 * Mode flag to open a zip file and mark it for deletion. The file will be
215 jzfile = open(name, mode, file.lastModified(), usemmap);
760 private static native long open(String name, int mode, long lastModified, method in class:ZipFile
/openjdk7/hotspot/src/share/vm/memory/
H A Dfilemap.cpp122 fail_stop("Unable to open jar file %s.", path);
161 int fd = open(_full_path, O_RDONLY | O_BINARY, 0);
167 fail_continue("Failed to open shared archive file (%s).",
188 // Remove the existing file in case another process has it open.
190 int fd = open(_full_path, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0444);
490 fail_continue("Unable to open jar file %s.", path);
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_SolarisOS_PCM.c83 fd = open(desc.pathctl, O_RDONLY);
86 ERROR1("Couldn't open audio device ctl for device %d!\n", mixerIndex);
207 info->fd = open(desc.path, openMode);
210 ERROR1("Couldn't open audio device for mixer %d!\n", mixerIndex);
214 /* set to multiple open */
216 TRACE1("DAUDIO_Open: %s set to multiple open\n", desc.path);

Completed in 61 milliseconds

<<1112131415