Searched refs:os (Results 276 - 300 of 897) sorted by relevance

<<11121314151617181920>>

/openjdk10/jdk/test/java/net/CookieHandler/
H A DEmptyCookieHeader.java77 try (OutputStream os = exchange.getResponseBody()) {
79 os.write(str.getBytes());
/openjdk10/jdk/test/java/io/OutputStreamWriter/
H A DEncode.java69 try (OutputStream os = s.getOutputStream();
70 BufferedOutputStream bos = new BufferedOutputStream(os);
/openjdk10/jdk/test/java/io/Serializable/subclassGC/
H A DSubclassGC.java63 OutputStream os = new ByteArrayOutputStream();
64 ObjectOutputStream obj = cons.newInstance(os);
/openjdk10/jdk/test/java/lang/ProcessBuilder/
H A DZombies.java36 static final String os = System.getProperty("os.name"); field in class:Zombies
38 static final String TrueCommand = os.contains("OS X")?
/openjdk10/jdk/test/java/net/URLConnection/
H A DSetIfModifiedSince.java40 OutputStream os; field in class:SetIfModifiedSince.XServer
56 os = s.getOutputStream ();
/openjdk10/jdk/test/java/net/Socket/
H A DShutdownInput.java68 OutputStream os = s1.getOutputStream();
69 os.write("This is a message".getBytes("US-ASCII"));
/openjdk10/jdk/test/java/security/KeyPairGenerator/
H A DSolarisShortDSA.java46 String os = System.getProperty("os.name");
48 if (os.equals("SunOS")) {
/openjdk10/jdk/test/lib/testlibrary/java/util/jar/
H A DSimpleHttpServer.java57 try (OutputStream os = t.getResponseBody()) {
58 os.write(bytes);
/openjdk10/jdk/test/sun/net/www/http/HttpClient/
H A DStreamingRetry.java72 OutputStream os = uc.getOutputStream();
73 os.write("Hello there".getBytes());
/openjdk10/jdk/test/javax/print/attribute/
H A DChromaticityValues.java45 String os=System.getProperty("os.name").toLowerCase();
47 if (!(os.indexOf("win")>=0)) {
/openjdk10/jdk/test/sun/net/www/protocol/https/
H A DHttpTransaction.java293 OutputStream os = new TestHttpsServer.NioOutputStream(channel(), server.getSSLEngine(), server.outNetBB(), server.outAppBB());
294 PrintStream ps = new PrintStream (os);
303 os.write (rspbody, 0, rspbodylen);
304 os.flush();
317 OutputStream os = new TestHttpsServer.NioOutputStream(channel(), server.getSSLEngine(), server.outNetBB(), server.outAppBB());
318 PrintStream ps = new PrintStream (os);
322 os.write (rspbody, 0, rspbodylen-1);
323 os.flush();
/openjdk10/jdk/test/sun/security/tools/jarsigner/
H A DLargeJarEntry.java63 FileOutputStream os = new FileOutputStream(file);
64 JarOutputStream jos = new JarOutputStream(os);
/openjdk10/jdk/test/sun/net/www/httptest/
H A DHttpTransaction.java293 OutputStream os = new TestHttpServer.NioOutputStream(channel());
294 PrintStream ps = new PrintStream (os);
303 os.write (rspbody, 0, rspbodylen);
304 os.flush();
317 OutputStream os = new TestHttpServer.NioOutputStream(channel());
318 PrintStream ps = new PrintStream (os);
322 os.write (rspbody, 0, rspbodylen-1);
323 os.flush();
/openjdk10/langtools/test/tools/javac/T7053059/
H A DDoubleCastTest.java45 Object[] os = null;
50 m1((byte[])os[0]);
/openjdk10/langtools/test/tools/javac/processing/8132446/
H A DProcessor.java56 try (OutputStream os = jfo.openOutputStream()) {
58 os.write(output.getBytes(StandardCharsets.UTF_8));
/openjdk10/test/fmw/gtest/src/
H A Dgtest-test-part.cc58 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { argument
59 return os
/openjdk10/hotspot/src/os/solaris/vm/
H A DattachListener_solaris.cpp27 #include "runtime/os.inline.hpp"
394 os::get_temp_directory(), os::current_process_id());
447 int status = os::Solaris::mutex_init(&_mutex);
468 warning("sema_wait failed: %s", os::strerror(res));
473 res = os::Solaris::mutex_lock(mutex());
486 os::Solaris::mutex_unlock(mutex());
498 int res = os::Solaris::mutex_lock(mutex());
515 os::Solaris::mutex_unlock(mutex());
602 os
[all...]
/openjdk10/hotspot/src/share/vm/classfile/
H A DaltHashing.cpp38 return hc != markOopDesc::no_hash ? hc : os::random();
43 jlong nanos = os::javaTimeNanos();
44 jlong now = os::javaTimeMillis();
48 os::random(), // current thread isn't a java thread
53 (int) (os::javaTimeNanos() >> 2)
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/asm/
H A DDisassembler.java66 String os = System.getProperty("os.name");
68 String arch = System.getProperty("os.arch");
69 if (os.lastIndexOf("Windows", 0) != -1) {
79 } else if (os.lastIndexOf("SunOS", 0) != -1) {
90 } else if (os.lastIndexOf("Linux", 0) != -1) {
101 } else if (os.lastIndexOf("Mac OS X", 0) != -1) {
/openjdk10/hotspot/src/share/vm/utilities/
H A Ddecoder.cpp27 #include "runtime/os.hpp"
90 return (os::current_thread_id() == VMError::get_first_error_tid());
108 bool error_handling_thread = os::current_thread_id() == VMError::first_error_tid;
119 bool error_handling_thread = os::current_thread_id() == VMError::first_error_tid;
131 bool error_handling_thread = os::current_thread_id() == VMError::first_error_tid;
141 bool error_handling_thread = os::current_thread_id() == VMError::first_error_tid;
/openjdk10/hotspot/src/os/windows/vm/
H A DperfMemory_windows.cpp33 #include "runtime/os.hpp"
56 char* mapAddress = os::reserve_memory(size);
63 if (!os::commit_memory(mapAddress, size, !ExecMem)) {
67 os::release_memory(mapAddress, size);
100 destfile, os::strerror(errno));
109 destfile, os::strerror(errno));
121 warning("Could not close %s: %s\n", destfile, os::strerror(errno));
147 // os::get_temp_directory() in os_win32.cpp), control the location of the
160 const char* tmpdir = os::get_temp_directory();
307 const char* tmpdirname = os
[all...]
H A Ddecoder_windows.cpp28 #include "runtime/os.hpp"
70 strncat(paths, os::path_separator(), 1);
82 strncat(paths, os::path_separator(), 1);
104 strncat(paths, os::path_separator(), 1);
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/encoding/
H A DIDLJavaSerializationOutputStream.java73 private ObjectOutputStream os; field in class:IDLJavaSerializationOutputStream
151 //System.out.print(" os ");
152 if (os != null) {
156 os = new MarshalObjectOutputStream(bos, orb);
168 os.writeBoolean(value);
176 os.writeChar(value);
198 os.writeByte(value);
206 os.writeShort(value);
239 os.writeInt(value);
251 os
[all...]
/openjdk10/jdk/src/java.security.jgss/share/classes/sun/security/jgss/krb5/
H A DMessageToken.java507 * @param os the OutputStream to which this should be written
510 public void encode(OutputStream os) throws IOException, GSSException { argument
512 gssHeader.encode(os);
513 tokenHeader.encode(os);
515 os.write(encSeqNumber);
517 os.write(checksum);
666 * @param os the OutputStream to write to
669 public final void encode(OutputStream os) throws IOException { argument
670 os.write(bytes);
/openjdk10/jdk/src/jdk.httpserver/share/classes/sun/net/httpserver/
H A DExchangeImpl.java273 void write (Headers map, OutputStream os) throws IOException { argument
284 os.write (buf, 0, i);
289 os.write (buf, 0, i);
292 os.write ('\r');
293 os.write ('\n');
415 PlaceholderOutputStream (OutputStream os) { argument
416 wrapped = os;
419 void setWrappedStream (OutputStream os) { argument
420 wrapped = os;

Completed in 312 milliseconds

<<11121314151617181920>>