| /external/protobuf/ruby/src/main/java/google/ |
| D | ProtobufJavaService.java | 36 import org.jruby.Ruby; 43 public boolean basicLoad(Ruby ruby) throws IOException { in basicLoad() argument 44 ruby.defineModule("Google"); in basicLoad() 45 RubyProtobuf.createProtobuf(ruby); in basicLoad() 46 RubyDescriptor.createRubyDescriptor(ruby); in basicLoad() 47 RubyBuilder.createRubyBuilder(ruby); in basicLoad() 48 RubyFieldDescriptor.createRubyFileDescriptor(ruby); in basicLoad() 49 RubyMessageBuilderContext.createRubyMessageBuilderContext(ruby); in basicLoad() 50 RubyEnumDescriptor.createRubyEnumDescriptor(ruby); in basicLoad() 51 RubyEnumBuilderContext.createRubyEnumBuilderContext(ruby); in basicLoad() [all …]
|
| /external/protobuf/ruby/ |
| D | README.md | 1 This directory contains the Ruby extension that implements Protocol Buffers 2 functionality in Ruby. 4 The Ruby extension makes use of generated Ruby code that defines message and 5 enum types in a Ruby DSL. You may write definitions in this DSL directly, but 6 we recommend using protoc's Ruby generation support with .proto files. The 8 install protoc as well to have Ruby code generation functionality. 20 of the Ruby extension; it allows `gem` to consider these "pre-release" 24 message type descriptions directly in the Ruby DSL, you do not need it. 25 However, if you wish to generate the Ruby DSL from a `.proto` file, you will 28 supports the `--ruby_out` option to generate Ruby code. [all …]
|
| /external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
| D | rewrites.rb | 1 #!/usr/bin/ruby 62 options {language=Ruby;output=AST;} 75 options {language=Ruby;output=AST;} 89 options {language=Ruby;output=AST;} 103 options {language=Ruby;output=AST;} 117 options {language=Ruby;output=AST;} 130 options {language=Ruby;output=AST;} 144 options {language=Ruby;output=AST;} 158 options {language=Ruby;output=AST;} 173 options {language=Ruby;output=AST;} [all …]
|
| D | tree-rewrite.rb | 1 #!/usr/bin/ruby 11 language=Ruby; 23 language=Ruby; 35 language=Ruby; 47 language=Ruby; 58 language=Ruby; 70 language=Ruby; 81 language=Ruby; 93 language=Ruby; 104 language=Ruby; [all …]
|
| D | auto-ast.rb | 1 #!/usr/bin/ruby 63 options {language=Ruby;output=AST;} 75 options {language=Ruby;output=AST;} 87 options {language=Ruby;output=AST;} 99 options {language=Ruby;output=AST;} 111 options {language=Ruby;output=AST;} 124 options {language=Ruby;output=AST;} 136 options {language=Ruby;output=AST;} 148 options {language=Ruby;output=AST;} 160 options {language=Ruby;output=AST;} [all …]
|
| D | hetero-nodes.rb | 1 #!/usr/bin/ruby 12 language=Ruby; 31 language=Ruby; 50 language=Ruby; 69 language=Ruby; 88 language=Ruby; 108 language=Ruby; 128 language=Ruby; 148 language=Ruby; 168 language=Ruby; [all …]
|
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/ruby/ |
| D | RubyTest.java | 16 package org.yaml.snakeyaml.ruby; 31 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testParse() 40 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testEmitNoTags() 57 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testEmitWithTags() 61 repr.addClassTag(TestObject.class, new Tag("!ruby/object:Test::Module::Object")); in testEmitWithTags() 62 repr.addClassTag(Sub1.class, new Tag("!ruby/object:Test::Module::Sub1")); in testEmitWithTags() 63 repr.addClassTag(Sub2.class, new Tag("!ruby/object:Test::Module::Sub2")); in testEmitWithTags() 68 output.startsWith("--- !ruby/object:Test::Module::Object")); in testEmitWithTags() 70 output.contains("!ruby/object:Test::Module::Sub1")); in testEmitWithTags() 71 assertTrue("Tags must be present.", output.contains("!ruby/object:Test::Module::Sub2")); in testEmitWithTags() [all …]
|
| /external/antlr/antlr-3.4/runtime/Ruby/test/functional/delegation/ |
| D | import.rb | 1 #!/usr/bin/ruby 19 options { language=Ruby; } 29 options { language=Ruby; } 50 language=Ruby; 61 options {language=Ruby;} 81 language=Ruby; 97 language=Ruby; 115 language=Ruby; 128 language=Ruby; 140 language=Ruby; [all …]
|
| /external/antlr/antlr-3.4/runtime/Ruby/ |
| D | README.txt | 1 ANTLR 3 for Ruby 8 Fully-featured ANTLR 3 parser generation for Ruby. 22 ANTLR is currently distributed with a fairly limited Ruby target implementation. 34 in ruby code 36 * a ruby run-time library that collects classes used throughout the code that 44 1. generates ruby code capable of: 65 language = Ruby; // <- this option must be set to Ruby 86 ruby SomeLanguageLexer.rb < path/to/source-code.xyz 89 ruby SomeLanguageParser.rb --rule=top < path/to/source-code.xyz 96 * Currently, there are a few nuanced ways in which using the ruby output differs [all …]
|
| D | History.txt | 4 - fixed ANTLR3::InteractiveStringStream to work with Ruby 1.9. The lexer main script 5 should function in interactive mode for Ruby 1.9 now. 35 * Bug Fix / Major Enhancement: made antlr3 compatible with ruby 1.9 37 Ruby 1.8 and 1.9. In 1.9, @data is now an array of code point values and 38 the new instance variable @string contains the actual string. In Ruby 1.8, 42 with Ruby 1.9 51 - removed special ruby-stylistic formatting on syntactic predicate method names to 65 - added more content to the ruby antlr3 guide 143 - templates/ST.stg defines the Ruby target templates to
|
| /external/google-breakpad/src/third_party/libdisasm/swig/ |
| D | Makefile | 16 dummy: swig swig-python swig-ruby swig-perl swig-tcl install uninstall clean 24 swig-ruby: 25 cd ruby && make -f Makefile-swig 35 # install-ruby install-tcl 40 install-ruby: 41 cd ruby && sudo make -f Makefile-swig install 51 #uninstall-ruby uninstall-perl uninstall-tcl 56 uninstall-ruby: 57 cd ruby && sudo make -f Makefile-swig uninstall 68 cd ruby && make -f Makefile-swig clean
|
| /external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/ |
| D | main-scripts.rb | 1 #!/usr/bin/ruby 15 options { language = Ruby; } 25 # when this grammar is compiled and the resulting ruby files 33 out = `ruby #{ lexer_script } 2>&1`.chomp 43 options { language = Ruby; } 67 options { language = Ruby; } 81 options { language = Ruby; } 102 language = Ruby; 125 language = Ruby; 138 language=Ruby; [all …]
|
| /external/antlr/antlr-3.4/runtime/Ruby/test/functional/tree-parser/ |
| D | basic.rb | 1 #!/usr/bin/ruby 12 language=Ruby; 23 language=Ruby; 48 language=Ruby; 59 language=Ruby; 84 language=Ruby; 97 language=Ruby; 123 language=Ruby; 136 language=Ruby; 161 language=Ruby; [all …]
|
| /external/protobuf/src/google/protobuf/compiler/ruby/ |
| D | ruby_generator_unittest.cc | 33 #include <google/protobuf/compiler/ruby/ruby_generator.h> 45 namespace ruby { namespace 52 while (!File::Exists(prefix + "/src/google/protobuf/compiler/ruby" + file)) { in FindRubyTestDir() 55 << "Could not find Ruby test directory. Please run tests from " in FindRubyTestDir() 60 return prefix + "/src/google/protobuf/compiler/ruby"; in FindRubyTestDir() 62 return "third_party/protobuf/src/google/protobuf/compiler/ruby"; in FindRubyTestDir() 66 // This test is a simple golden-file test over the output of the Ruby code 67 // generator. When we make changes to the Ruby extension and alter the Ruby code 79 ruby::Generator ruby_generator; in TEST() 120 } // namespace ruby
|
| /external/selinux/ |
| D | .travis.yml | 13 # Test the last version of Python and Ruby together, with some linkers 25 # Test several Ruby versions 86 # Find the Ruby executable with version $RUBYLIBVER 87 - export RUBY="$(ls -d -1 "$HOME/.rvm/rubies/ruby-$RUBYLIBVER"*/bin/ruby | head -n 1)" 95 - echo "$RUBY" ; $RUBY --version 111 …- export RUBYLIB="$DESTDIR/$($RUBY -e 'puts RbConfig::CONFIG["vendorlibdir"]'):$DESTDIR/$($RUBY -e… 123 # Test Python and Ruby wrappers 125 - $RUBY -e 'require "selinux";require "semanage";puts Selinux::is_selinux_enabled()'
|
| /external/protobuf/util/ |
| D | Makefile.am | 625 ruby/Gemfile \ 626 ruby/Gemfile.lock \ 627 ruby/.gitignore \ 628 ruby/README.md \ 629 ruby/Rakefile \ 630 ruby/ext/google/protobuf_c/defs.c \ 631 ruby/ext/google/protobuf_c/encode_decode.c \ 632 ruby/ext/google/protobuf_c/extconf.rb \ 633 ruby/ext/google/protobuf_c/map.c \ 634 ruby/ext/google/protobuf_c/message.c \ [all …]
|
| /external/protobuf/ |
| D | Makefile.am | 625 ruby/Gemfile \ 626 ruby/Gemfile.lock \ 627 ruby/.gitignore \ 628 ruby/README.md \ 629 ruby/Rakefile \ 630 ruby/ext/google/protobuf_c/defs.c \ 631 ruby/ext/google/protobuf_c/encode_decode.c \ 632 ruby/ext/google/protobuf_c/extconf.rb \ 633 ruby/ext/google/protobuf_c/map.c \ 634 ruby/ext/google/protobuf_c/message.c \ [all …]
|
| /external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
| D | RubyOneofBuilderContext.java | 35 import org.jruby.Ruby; 47 public static void createRubyOneofBuilderContext(Ruby runtime) { in createRubyOneofBuilderContext() 52 public IRubyObject allocate(Ruby ruby, RubyClass rubyClass) { in createRubyOneofBuilderContext() 53 return new RubyOneofBuilderContext(ruby, rubyClass); in createRubyOneofBuilderContext() 59 public RubyOneofBuilderContext(Ruby ruby, RubyClass rubyClass) { in RubyOneofBuilderContext() argument 60 super(ruby, rubyClass); in RubyOneofBuilderContext()
|
| D | RubyOneofDescriptor.java | 5 import org.jruby.Ruby; 21 public static void createRubyOneofDescriptor(Ruby runtime) { in createRubyOneofDescriptor() 25 public IRubyObject allocate(Ruby ruby, RubyClass rubyClass) { in createRubyOneofDescriptor() 26 return new RubyOneofDescriptor(ruby, rubyClass); in createRubyOneofDescriptor() 33 public RubyOneofDescriptor(Ruby ruby, RubyClass rubyClass) { in RubyOneofDescriptor() argument 34 super(ruby, rubyClass); in RubyOneofDescriptor()
|
| D | RubyEnumBuilderContext.java | 35 import org.jruby.Ruby; 47 public static void createRubyEnumBuilderContext(Ruby runtime) { in createRubyEnumBuilderContext() 51 public IRubyObject allocate(Ruby runtime, RubyClass klazz) { in createRubyEnumBuilderContext() 58 public RubyEnumBuilderContext(Ruby ruby, RubyClass klazz) { in RubyEnumBuilderContext() argument 59 super(ruby, klazz); in RubyEnumBuilderContext() 72 * Adds the given name => number mapping to the enum type. Name must be a Ruby
|
| D | RubyMessageBuilderContext.java | 47 public static void createRubyMessageBuilderContext(Ruby runtime) { in createRubyMessageBuilderContext() 51 public IRubyObject allocate(Ruby runtime, RubyClass klazz) { in createRubyMessageBuilderContext() 58 public RubyMessageBuilderContext(Ruby ruby, RubyClass klazz) { in RubyMessageBuilderContext() argument 59 super(ruby, klazz); in RubyMessageBuilderContext() 78 * number, and type class (for message and enum fields). The type must be a Ruby 84 Ruby runtime = context.runtime; in optional() 96 * number, and type class (for message and enum fields). The type must be a Ruby 117 * number, and type class (for message and enum fields). The type must be a Ruby 137 * type must be a Ruby symbol (as accepted by FieldDescriptor#type=) and the 143 Ruby runtime = context.runtime; in map()
|
| /external/google-breakpad/src/third_party/libdisasm/swig/ruby/ |
| D | Makefile-swig | 27 # RUBY rules 33 RUBY_INC = `ruby -e 'puts $$:.join("\n")' | tail -2 | head -1` 40 all: swig-ruby 42 dummy: swig-ruby install uninstall clean 44 swig-ruby: $(RUBY_MOD) 50 ruby extconf.rb 56 swig -ruby -o $(RUBY_SHADOW) -outdir . $<
|
| /external/owasp/sanitizer/empiricism/ |
| D | canned-data.js | 100 "ruby": true, property 221 "ruby", 336 "ruby", 451 "ruby", 566 "ruby", 681 "ruby", 797 "ruby", 912 "ruby", 1027 "ruby", 1142 "ruby", [all …]
|
| /external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/ |
| D | template-output.rb | 1 #!/usr/bin/ruby 37 language = Ruby; 64 language = Ruby; 85 language=Ruby; 104 language=Ruby; 125 language=Ruby; 143 language=Ruby; 160 # language=Ruby; 188 language=Ruby; 209 language=Ruby; [all …]
|
| /external/libvncserver/webclients/novnc/include/web-socket-js/ |
| D | README.txt | 6 http://github.com/gimite/web-socket-ruby/tree/master 8 $ ruby web-socket-ruby/samples/echo_server.rb example.com 10081 36 4. If you are NOT using web-socket-ruby as your WebSocket server, you need to place Flash socket po… 59 If you use web-socket-ruby available at 60 http://github.com/gimite/web-socket-ruby/tree/master 61 …ruby handles Flash socket policy file request. But if you already provide socket policy file at po… 68 …tter to provide socket policy file at port 843 even if you use web-socket-ruby. Flash always try t…
|