Searched refs:os (Results 1 - 25 of 897) sorted by relevance

1234567891011>>

/openjdk10/nashorn/test/script/nosecurity/
H A Dos-not-windows.js25 * Test that we're not running on Windows. The test actually checks if the os.not.windows property is set and processed
29 * @runif os.not.windows
33 var os = java.lang.System.getProperty("os.name")
35 if (os.startsWith("Windows")) {
/openjdk10/hotspot/src/share/vm/runtime/
H A Dos.inline.hpp28 #include "runtime/os.hpp"
30 #include OS_HEADER_INLINE(os)
H A DthreadCritical.hpp35 // Due to race conditions during vm exit, some of the os level
39 // cleanup by the os. Calling the initialize method before use
50 friend class os;
/openjdk10/jdk/test/java/io/PipedInputStream/
H A DClosedWriter.java36 static PipedOutputStream os; field in class:ClosedWriter
40 os.write(0);
41 os.write(0);
42 os.write(0);
43 os.write(0);
44 os.write(0);
45 os.close();
53 os = new PipedOutputStream();
54 is.connect(os);
H A DFasterWriter.java36 static PipedOutputStream os; field in class:FasterWriter
40 os.write(0);
41 os.write(0);
42 os.write(0);
50 os = new PipedOutputStream(is);
/openjdk10/hotspot/src/os/windows/vm/
H A Dos_windows.inline.hpp28 #include "runtime/os.hpp"
31 inline const char* os::dll_file_extension() { return ".dll"; }
33 inline const int os::default_file_open_flags() { return O_BINARY | O_NOINHERIT;}
36 inline int os::file_name_strcmp(const char* s, const char* t) {
40 inline void os::dll_unload(void *lib) {
44 inline void* os::dll_lookup(void *lib, const char *name) {
48 inline bool os::obsolete_option(const JavaVMOption *option) {
52 inline bool os::uses_stack_guard_pages() {
56 inline bool os::must_commit_stack_guard_pages() {
60 inline int os
[all...]
/openjdk10/jdk/test/java/io/Serializable/subclassGC/
H A DSubclassOfOOS.java27 public SubclassOfOOS(OutputStream os) throws IOException { argument
28 super(os);
/openjdk10/nashorn/test/script/basic/
H A DJDK-8068573.js39 var os = new (Java.type("jdk.nashorn.test.models.OverloadedSetter"))
41 os[n2] = 3; // exercise int overload
42 Assert.assertEquals(os.peekColor(), "3");
43 os[n2] = "blue"; // exercise string overload
44 Assert.assertEquals(os.peekColor(), "blue");
46 os[n2] = x; // exercise both overloads in the same call site
47 Assert.assertEquals(os.peekColor(), "42");
56 Assert.assertEquals(os[n3](param[i]), expected[i]);
/openjdk10/hotspot/src/os_cpu/bsd_x86/vm/
H A Dassembler_bsd_x86.cpp28 #include "runtime/os.hpp"
31 call(RuntimeAddress(CAST_FROM_FN_PTR(address, os::breakpoint)));
/openjdk10/hotspot/src/os_cpu/linux_x86/vm/
H A Dassembler_linux_x86.cpp28 #include "runtime/os.hpp"
31 call(RuntimeAddress(CAST_FROM_FN_PTR(address, os::breakpoint)));
/openjdk10/hotspot/src/os_cpu/solaris_x86/vm/
H A Dos_solaris_x86.inline.hpp28 #include "runtime/os.hpp"
30 inline jlong os::rdtsc() { return _raw_rdtsc(); }
/openjdk10/jdk/test/java/io/PipedOutputStream/
H A DClosedWrite.java41 PipedOutputStream os = new PipedOutputStream();
43 os.connect(is);
44 os.close();
46 os.write(10);
/openjdk10/test/fmw/gtest/src/
H A Dgtest-printers.cc60 size_t count, ostream* os) {
68 *os << ' ';
70 *os << '-';
73 *os << text;
79 ostream* os) {
81 *os << count << "-byte object <";
90 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os);
92 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os);
93 *os << " ... ";
96 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os);
59 PrintByteSegmentInObjectTo(const unsigned char* obj_bytes, size_t start, size_t count, ostream* os) argument
78 PrintBytesInObjectToImpl(const unsigned char* obj_bytes, size_t count, ostream* os) argument
110 PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count, ostream* os) argument
142 PrintAsCharLiteralTo(Char c, ostream* os) argument
188 PrintAsStringLiteralTo(wchar_t c, ostream* os) argument
203 PrintAsStringLiteralTo(char c, ostream* os) argument
213 PrintCharAndCodeTo(Char c, ostream* os) argument
237 PrintTo(unsigned char c, ::std::ostream* os) argument
240 PrintTo(signed char c, ::std::ostream* os) argument
246 PrintTo(wchar_t wc, ostream* os) argument
255 PrintCharsAsStringTo( const CharType* begin, size_t len, ostream* os) argument
276 UniversalPrintCharArray( const CharType* begin, size_t len, ostream* os) argument
299 UniversalPrintArray(const char* begin, size_t len, ostream* os) argument
305 UniversalPrintArray(const wchar_t* begin, size_t len, ostream* os) argument
310 PrintTo(const char* s, ostream* os) argument
327 PrintTo(const wchar_t* s, ostream* os) argument
339 PrintStringTo(const ::string& s, ostream* os) argument
344 PrintStringTo(const ::std::string& s, ostream* os) argument
350 PrintWideStringTo(const ::wstring& s, ostream* os) argument
356 PrintWideStringTo(const ::std::wstring& s, ostream* os) argument
[all...]
/openjdk10/test/fmw/gtest/include/gtest/
H A Dgtest-printers.h116 ::std::ostream* os);
127 // TypeWithoutFormatter<T, kTypeKind>::PrintValue(value, os) is called
135 static void PrintValue(const T& value, ::std::ostream* os) { argument
137 sizeof(value), os); local
149 static void PrintValue(const T& value, ::std::ostream* os) { argument
154 *os << ("<" + pretty_str + ">");
168 static void PrintValue(const T& value, ::std::ostream* os) { argument
170 *os << kBigInt;
200 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
204 kConvertibleToInteger : kOtherType)>::PrintValue(x, &os);
199 operator <<( ::std::basic_ostream<Char, CharTraits>& os, const T& x) argument
218 DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) argument
269 DefaultPrintTo(IsContainer , false_type , const C& container, ::std::ostream* os) argument
303 DefaultPrintTo(IsNotContainer , true_type , T* p, ::std::ostream* os) argument
335 DefaultPrintTo(IsNotContainer , false_type , const T& value, ::std::ostream* os) argument
353 PrintTo(const T& value, ::std::ostream* os) argument
386 PrintTo(char c, ::std::ostream* os) argument
390 PrintTo(static_cast<unsigned char>(c), os); local
394 PrintTo(bool x, ::std::ostream* os) argument
409 PrintTo(char* s, ::std::ostream* os) argument
410 PrintTo(ImplicitCast_<const char*>(s), os); local
415 PrintTo(const signed char* s, ::std::ostream* os) argument
416 PrintTo(ImplicitCast_<const void*>(s), os); local
418 PrintTo(signed char* s, ::std::ostream* os) argument
419 PrintTo(ImplicitCast_<const void*>(s), os); local
421 PrintTo(const unsigned char* s, ::std::ostream* os) argument
422 PrintTo(ImplicitCast_<const void*>(s), os); local
424 PrintTo(unsigned char* s, ::std::ostream* os) argument
425 PrintTo(ImplicitCast_<const void*>(s), os); local
436 PrintTo(wchar_t* s, ::std::ostream* os) argument
437 PrintTo(ImplicitCast_<const wchar_t*>(s), os); local
447 PrintRawArrayTo(const T a[], size_t count, ::std::ostream* os) argument
458 PrintTo(const ::string& s, ::std::ostream* os) argument
464 PrintTo(const ::std::string& s, ::std::ostream* os) argument
471 PrintTo(const ::wstring& s, ::std::ostream* os) argument
478 PrintTo(const ::std::wstring& s, ::std::ostream* os) argument
497 PrintTo(const ::std::tr1::tuple<& t, ::std::ostream* os) argument
502 PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) argument
507 PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) argument
512 PrintTo(const ::std::tr1::tuple<T1, T2, T3>& t, ::std::ostream* os) argument
517 PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) argument
522 PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t, ::std::ostream* os) argument
529 PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6>& t, ::std::ostream* os) argument
536 PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7>& t, ::std::ostream* os) argument
543 PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8>& t, ::std::ostream* os) argument
550 PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9>& t, ::std::ostream* os) argument
557 PrintTo( const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>& t, ::std::ostream* os) argument
566 PrintTo(const ::std::pair<T1, T2>& value, ::std::ostream* os) argument
591 Print(const T& value, ::std::ostream* os) argument
611 UniversalPrintArray(const T* begin, size_t len, ::std::ostream* os) argument
662 Print(const T& value, ::std::ostream* os) argument
683 Print(const T& value, ::std::ostream* os) argument
690 Print(const T& value, ::std::ostream* os) argument
704 Print(const char* str, ::std::ostream* os) argument
708 UniversalPrint(string(str), os); local
715 Print(char* str, ::std::ostream* os) argument
724 Print(const wchar_t* str, ::std::ostream* os) argument
728 UniversalPrint(::std::wstring(str), os); local
737 Print(wchar_t* str, ::std::ostream* os) argument
743 UniversalTersePrint(const T& value, ::std::ostream* os) argument
752 UniversalPrint(const T& value, ::std::ostream* os) argument
774 PrintPrefixTo(const Tuple& t, ::std::ostream* os) argument
778 ::Print(::std::tr1::get<N - 1>(t), os); local
809 PrintPrefixTo(const Tuple& t, ::std::ostream* os) argument
811 Print(::std::tr1::get<0>(t), os); local
825 PrintTupleTo(const T& t, ::std::ostream* os) argument
[all...]
/openjdk10/hotspot/src/os/solaris/vm/
H A Dos_solaris.inline.hpp28 #include "runtime/os.hpp"
41 inline int os::file_name_strcmp(const char* s1, const char* s2) {
45 inline bool os::uses_stack_guard_pages() {
49 inline bool os::must_commit_stack_guard_pages() {
58 inline void os::pd_split_reserved_memory(char *base, size_t size,
64 inline void os::map_stack_shadow_pages(address sp) {
67 inline void os::dll_unload(void *lib) { ::dlclose(lib); }
69 inline const int os::default_file_open_flags() { return 0;}
71 inline DIR* os::opendir(const char* dirname) {
76 inline int os
[all...]
H A Djvm_solaris.cpp45 ? os::user_handler()
73 if (os::Solaris::is_sig_ignored(sig)) return (void*)1;
76 void* oldHandler = os::signal(sig, newHandler);
77 if (oldHandler == os::user_handler()) {
97 sig == SHUTDOWN3_SIGNAL) && os::Solaris::is_sig_ignored(sig)) {
105 os::signal_raise(sig);
/openjdk10/common/autoconf/build-aux/
H A Dautoconf-config.sub152 os=-$maybe_os
158 then os=`echo $1 | sed 's/.*-/-/'`
159 else os=; fi
167 case $os in
168 -sun*os*)
178 os=
182 os=
188 os=-vxworks
192 os=-chorusos
196 os
[all...]
/openjdk10/hotspot/src/os/bsd/vm/
H A Dos_bsd.inline.hpp28 #include "runtime/os.hpp"
38 inline int os::file_name_strcmp(const char* s1, const char* s2) {
42 inline bool os::obsolete_option(const JavaVMOption *option) {
46 inline bool os::uses_stack_guard_pages() {
50 inline bool os::must_commit_stack_guard_pages() {
65 inline void os::pd_split_reserved_memory(char *base, size_t size,
71 inline void os::map_stack_shadow_pages(address sp) {
74 inline void os::dll_unload(void *lib) {
78 inline const int os::default_file_open_flags() { return 0;}
80 inline DIR* os
[all...]
H A Djvm_bsd.cpp46 ? os::user_handler()
75 if (os::Bsd::is_sig_ignored(sig)) return (void*)1;
78 void* oldHandler = os::signal(sig, newHandler);
79 if (oldHandler == os::user_handler()) {
99 sig == SHUTDOWN3_SIGNAL) && os::Bsd::is_sig_ignored(sig)) {
107 os::signal_raise(sig);
/openjdk10/hotspot/src/os/linux/vm/
H A Dos_linux.inline.hpp28 #include "runtime/os.hpp"
38 inline int os::file_name_strcmp(const char* s1, const char* s2) {
42 inline bool os::obsolete_option(const JavaVMOption *option) {
46 inline bool os::uses_stack_guard_pages() {
50 inline bool os::must_commit_stack_guard_pages() {
57 inline void os::pd_split_reserved_memory(char *base, size_t size,
63 inline void os::map_stack_shadow_pages(address sp) {
66 inline void os::dll_unload(void *lib) {
70 inline const int os::default_file_open_flags() { return 0;}
72 inline DIR* os
[all...]
/openjdk10/hotspot/src/os/aix/vm/
H A Dos_aix.inline.hpp29 #include "runtime/os.hpp"
40 inline int os::file_name_strcmp(const char* s1, const char* s2) {
44 inline bool os::obsolete_option(const JavaVMOption *option) {
48 inline bool os::uses_stack_guard_pages() {
55 inline bool os::must_commit_stack_guard_pages() {
61 inline void os::pd_split_reserved_memory(char *base, size_t size,
68 inline void os::map_stack_shadow_pages(address sp) {
71 inline void os::dll_unload(void *lib) {
75 inline const int os::default_file_open_flags() { return 0;}
77 inline DIR* os
[all...]
H A Djvm_aix.cpp47 ? os::user_handler()
76 if (os::Aix::is_sig_ignored(sig)) return (void*)1;
79 void* oldHandler = os::signal(sig, newHandler);
80 if (oldHandler == os::user_handler()) {
100 sig == SHUTDOWN3_SIGNAL) && os::Aix::is_sig_ignored(sig)) {
108 os::signal_raise(sig);
/openjdk10/hotspot/test/native/runtime/
H A Dtest_os.cpp25 #include "runtime/os.hpp"
29 return os::vm_page_size();
34 return os::page_size_for_region_aligned(large_page_size_example, 1);
37 TEST_VM(os, page_size_for_region) {
39 size_t large_page = os::page_size_for_region_aligned(large_page_example, 1);
41 size_t small_page = os::vm_page_size();
44 size_t page = os::page_size_for_region_aligned(large_page, num_small_in_large);
49 TEST_VM(os, page_size_for_region_aligned) {
56 size_t page = os::page_size_for_region_aligned(large_page, num_small_pages_in_large);
63 TEST_VM(os, page_size_for_region_alignmen
[all...]
/openjdk10/jdk/src/java.security.jgss/share/classes/sun/security/krb5/internal/ccache/
H A DTag.java61 ByteArrayOutputStream os = new ByteArrayOutputStream();
62 os.write(length);
63 os.write(tag);
64 os.write(tagLen);
66 os.write(time_offset.intValue());
69 os.write(usec_offset.intValue());
71 return os.toByteArray();
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/
H A DPlatformInfo.java35 String os = System.getProperty("os.name");
36 if (os.equals("SunOS")) {
38 } else if (os.equals("Linux")) {
40 } else if (os.equals("FreeBSD")) {
42 } else if (os.equals("NetBSD")) {
44 } else if (os.equals("OpenBSD")) {
46 } else if (os.contains("Darwin") || os.contains("OS X")) {
48 } else if (os
[all...]

Completed in 137 milliseconds

1234567891011>>