Home
last modified time | relevance | path

Searched refs:to_a (Results 1 – 9 of 9) sorted by relevance

/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
Dtest-scope.rb22 @A.new.to_a.should == [ nil, nil ]
23 @B.new.to_a.should == [ 3 ]
24 @C.new.to_a.should == [ nil, 0, {} ]
/external/protobuf/ruby/lib/google/protobuf/
Drepeated_field.rb116 arr = self.to_a
131 result = self.to_a.send(method_name, *args, &block)
133 new_arr = result.to_a
/external/protobuf/ruby/tests/
Drepeated_field_test.rb182 assert_equal [0,0,0], m.repeated_float.to_a[0..2]
298 arr.to_a
332 reference_arr = m.repeated_string.to_a
417 assert_equal m.repeated_string.to_a.inspect, m.repeated_string.inspect
419 assert_equal m.repeated_string.to_a.inspect, m.repeated_string.inspect
565 assert_equal expected_result.to_a, actual_result.to_a
Dbasic.rb293 assert l.to_a == [1, 2, 3, 4]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dstreams.rb399 @data = @string.codepoints.to_a.freeze
794 tokens = @token_source.to_a
820 @token_source.to_a
Ddebug.rb257 @state.rule_invocation_stack.each_slice( 2 ).to_a
Dtree.rb278 each_ancestor.to_a
1188 def to_a singletonMethod in CommonTreeNodeStream
Drecognizers.rb1057 self.to_a
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/
Dinteractive.rb43 @data.concat( line.codepoints.to_a )