Searched refs:RUBY_PLATFORM (Results 1 - 25 of 88) sorted by relevance

1234

/macosx-10.9.5/ruby-104/ruby/test/-ext-/win32/
H A Dtest_dln.rb13 end if /mswin|mingw/ =~ RUBY_PLATFORM
H A Dtest_fd_setsize.rb25 end if /mswin|mingw/ =~ RUBY_PLATFORM
/macosx-10.9.5/ruby-104/ruby/ext/pty/
H A Dextconf.rb5 if /mswin|mingw|bccwin|nacl/ !~ RUBY_PLATFORM
/macosx-10.9.5/ruby-104/ruby/test/ruby/
H A Dtest_dir_m17n.rb19 opts = {:encoding => Encoding.default_external} if /mswin|mingw/ =~ RUBY_PLATFORM
27 opts = {:encoding => Encoding.default_external} if /mswin|mingw/ =~ RUBY_PLATFORM
31 result = ents.include?(filename) || (/mswin|mingw/ =~ RUBY_PLATFORM && ents.include?(expected_filename))
32 if !result && /mswin|mingw/ =~ RUBY_PLATFORM
48 opts = {:encoding => Encoding.default_external} if /mswin|mingw/ =~ RUBY_PLATFORM
60 opts = {:encoding => Encoding.default_external} if /mswin|mingw/ =~ RUBY_PLATFORM
62 exit ents.include?(filename) || (/darwin/ =~ RUBY_PLATFORM && ents.include?("%FF"))
67 opts = {:encoding => Encoding.default_external} if /mswin|mingw/ =~ RUBY_PLATFORM
69 exit ents.include?(filename) || (/darwin/ =~ RUBY_PLATFORM && ents.include?("%FF"))
72 end unless /mswin|mingw/ =~ RUBY_PLATFORM
[all...]
H A Dtest_sleep.rb9 bottom = /linux/ =~ RUBY_PLATFORM && /Linux ([\d.]+)/ =~ `uname -sr` && ($1.split('.')<=>%w/2 6 18/)<1 ? 4.98 : 5.0
H A Dtest_notimp.rb7 if /linux/ =~ RUBY_PLATFORM
14 if /linux/ =~ RUBY_PLATFORM
17 if /freebsd/ =~ RUBY_PLATFORM
H A Dtest_system.rb67 if /mswin|mingw/ =~ RUBY_PLATFORM
96 if /mswin|mingw/ =~ RUBY_PLATFORM
118 if /mswin|mingw/ !~ RUBY_PLATFORM
H A Dtest_file_exhaustive.rb90 unless /emx|mswin|mingw/ =~ RUBY_PLATFORM
131 end if /mswin|mingw|cygwin/ =~ RUBY_PLATFORM
179 return if /cygwin|mswin|bccwin|mingw|emx/ =~ RUBY_PLATFORM
189 return if /cygwin|mswin|bccwin|mingw|emx/ =~ RUBY_PLATFORM
199 return if /cygwin|mswin|bccwin|mingw|emx/ =~ RUBY_PLATFORM
210 return if /cygwin|mswin|bccwin|mingw|emx/ =~ RUBY_PLATFORM
220 return if /cygwin|mswin|bccwin|mingw|emx/ =~ RUBY_PLATFORM
230 return if /cygwin|mswin|bccwin|mingw|emx/ =~ RUBY_PLATFORM
241 return if /cygwin|mswin|bccwin|mingw|emx/ =~ RUBY_PLATFORM
250 return if /cygwin|mswin|bccwin|mingw|emx/ =~ RUBY_PLATFORM
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/win32ole/
H A Dextconf.rb7 case RUBY_PLATFORM
39 case RUBY_PLATFORM
/macosx-10.9.5/ruby-104/ruby/ext/readline/
H A Dextconf.rb32 have_library("user32", nil) if /cygwin/ === RUBY_PLATFORM
83 /mswin|bccwin|mingw/ !~ RUBY_PLATFORM && readline.have_var("rl_event_hook")
84 /mswin|bccwin|mingw/ !~ RUBY_PLATFORM && readline.have_var("rl_catch_sigwinch")
85 /mswin|bccwin|mingw/ !~ RUBY_PLATFORM && readline.have_var("rl_catch_signals")
/macosx-10.9.5/ruby-104/ruby/
H A Dversion.h47 "["RUBY_PLATFORM"]"
H A Dversion.c21 #define RUBY_ARCH RUBY_PLATFORM
62 const char ruby_platform[] = RUBY_PLATFORM;
115 rb_define_global_const("RUBY_PLATFORM", MKSTR(platform));
/macosx-10.9.5/ruby-104/ruby/ext/etc/
H A Dextconf.rb25 have_struct_member('struct passwd', 'pw_comment', 'pwd.h') unless /cygwin/ === RUBY_PLATFORM
/macosx-10.9.5/ruby-104/ruby/ext/zlib/
H A Dextconf.rb20 case RUBY_PLATFORM.split('-',2)[1]
/macosx-10.9.5/ruby-104/ruby/test/dl/
H A Dtest_handle.rb26 skip "DL::Handle.sym is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM
168 end unless /mswin|mingw/ =~ RUBY_PLATFORM
171 skip "DL::Handle::DEFAULT is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM
174 end unless /mswin|mingw/ =~ RUBY_PLATFORM
185 end if /freebsd/=~ RUBY_PLATFORM
/macosx-10.9.5/ruby-104/ruby/test/fiddle/
H A Dtest_handle.rb30 skip "Fiddle::Handle.sym is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM
170 end unless /mswin|mingw/ =~ RUBY_PLATFORM
173 skip "Handle::DEFAULT is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM
176 end unless /mswin|mingw/ =~ RUBY_PLATFORM
187 end if /freebsd/=~ RUBY_PLATFORM
/macosx-10.9.5/ruby-104/ruby/test/-ext-/wait_for_single_fd/
H A Dtest_wait_for_single_fd.rb26 skip if /freebsd[1-8]/ =~ RUBY_PLATFORM
/macosx-10.9.5/ruby-104/ruby/test/
H A Dtest_tmpdir.rb6 skip "no meaning on this platform" if /mswin|mingw/ =~ RUBY_PLATFORM
/macosx-10.9.5/ruby-104/ruby/lib/webrick/httpservlet/
H A Dcgihandler.rb57 if /mswin|bccwin|mingw/ =~ RUBY_PLATFORM
75 sleep 0.1 if /mswin|bccwin|mingw/ =~ RUBY_PLATFORM
/macosx-10.9.5/ruby-104/ruby/test/-ext-/old_thread_select/
H A Dtest_old_thread_select.rb6 ANCIENT_LINUX = RUBY_PLATFORM =~ /linux/ && `uname -r`.chomp < '2.6.32'
7 DARWIN_10 = RUBY_PLATFORM =~ /darwin10/
/macosx-10.9.5/ruby-104/ruby/bootstraptest/
H A Dtest_io.rb56 File.unlink(tmpname) unless RUBY_PLATFORM['nacl']
73 File.unlink(tmpname) unless RUBY_PLATFORM['nacl']
/macosx-10.9.5/ruby-104/ruby/lib/rdoc/
H A Dencoding.rb21 content.gsub!("\r\n", "\n") if RUBY_PLATFORM =~ /mswin|mingw/
/macosx-10.9.5/ruby-104/ruby/lib/rubygems/ext/
H A Dbuilder.rb23 make_program = (/mswin/ =~ RUBY_PLATFORM) ? 'nmake' : 'make'
/macosx-10.9.5/ruby-104/ruby/test/mkmf/
H A Dtest_framework.rb46 end if /darwin/ =~ RUBY_PLATFORM
/macosx-10.9.5/ruby-104/ruby/ext/socket/
H A Dextconf.rb5 case RUBY_PLATFORM
26 if /darwin/ =~ RUBY_PLATFORM
35 if /solaris/ =~ RUBY_PLATFORM and !try_compile("")
44 default_ipv6 = /cygwin|beos|haiku/ !~ RUBY_PLATFORM
119 have_header("netinet/tcp.h") if /cygwin/ !~ RUBY_PLATFORM # for cygwin 1.1.5
392 if /haiku/ !~ RUBY_PLATFORM and have_func("gai_strerror")
507 if /darwin/ =~ RUBY_PLATFORM and !try_compile(<<"SRC", nil, :werror=>true)

Completed in 211 milliseconds

1234