Searched defs:to_s (Results 1 - 12 of 12) sorted by relevance

/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
H A Dparameter.rb7 def to_s method in class:ANTLR3.Template.Parameter
26 names = map { | param | param.name.to_s }
27 @splat and names << @splat.to_s
28 @block and names << @block.to_s
36 else Parameter.new( name.to_s )
48 def to_s method in class:ANTLR3.Template.ParameterList
50 @splat and signature << ", *" << @splat.to_s
51 @block and signature << ", &" << @block.to_s
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
H A Dhetero-nodes.rb17 def to_s method in class:TestHeterogeneousNodeTypes.V
36 def to_s method in class:TestHeterogeneousNodeTypes.V
55 def to_s method in class:TestHeterogeneousNodeTypes.V
74 def to_s method in class:TestHeterogeneousNodeTypes.V
93 def to_s method in class:TestHeterogeneousNodeTypes.V
113 def to_s method in class:TestHeterogeneousNodeTypes.V
133 def to_s method in class:TestHeterogeneousNodeTypes.V
153 def to_s method in class:TestHeterogeneousNodeTypes.V
173 def to_s method in class:TestHeterogeneousNodeTypes.V
206 def to_s method in class:TestHeterogeneousNodeTypes.V
226 def to_s method in class:TestHeterogeneousNodeTypes.V
247 def to_s method in class:TestHeterogeneousNodeTypes.V
267 def to_s method in class:TestHeterogeneousNodeTypes.V
289 def to_s method in class:TestHeterogeneousNodeTypes.V
298 def to_s method in class:TestHeterogeneousNodeTypes.W
322 def to_s method in class:TestHeterogeneousNodeTypes.V
358 def to_s method in class:TestHeterogeneousNodeTypes.V
363 def to_s method in class:TestHeterogeneousNodeTypes.W
396 def to_s method in class:TestHeterogeneousNodeTypes.V
402 def to_s method in class:TestHeterogeneousNodeTypes.W
436 def to_s method in class:TestHeterogeneousNodeTypes.V
474 def to_s method in class:TestHeterogeneousNodeTypes.V
508 def to_s method in class:TestHeterogeneousNodeTypes.V
550 def to_s method in class:TestHeterogeneousNodeTypes.V
584 def to_s method in class:TestHeterogeneousNodeTypes.V
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Ddot.rb66 def to_s method in class:ANTLR3.DOT.Context
114 return tree_template.to_s
H A Dtemplate.rb127 erb.def_method( sclass, 'to_s' )
132 self::TEMPLATES.fetch( name.to_s ).new( values )
140 self::TEMPLATES.has_key?( name.to_s )
144 name = name.to_s.dup.freeze
147 ERB.new( source, nil, '%' ).def_method( tclass, 'to_s' )
155 new_name, old_name = new_name.to_s.dup.freeze, old_name.to_s
156 context = self::TEMPLATES.fetch( old_name.to_s ) do
189 end.to_s
203 TEMPLATES[ #{ name.inspect } ].new( values ).to_s
288 def to_s method in class:Parameter
325 def to_s method in class:ParameterList
[all...]
H A Dtoken.rb120 when Symbol then name == obj.to_s
186 channel == DEFAULT_CHANNEL or rep << " (#{ channel.to_s })"
202 def to_s method in class:ANTLR3.Token
203 text.to_s
564 name = name.to_s
606 name = name.to_s.freeze
625 token_names[ type_value ] = name.to_s.freeze
636 else const_defined?( name_or_value.to_s )
643 else const_get( name_or_value.to_s ) rescue token_names.index( name_or_value )
H A Dtree.rb124 name = token_name( expected_token_type ).to_s
409 empty? and return to_s
411 buffer << '(' << to_s << ' ' unless flat_list?
440 abstract :to_s
576 def to_s method in class:ANTLR3.CommonTree.infer_boundaries
577 flat_list? ? 'nil' : @token.text.to_s
635 @input.to_s( i, j ) # <- the bad text
637 @input.to_s( @start, @stop ) # <- the bad text
643 def to_s method in class:ANTLR3.CommonTree.CommonErrorNode
861 from_token.text = text.to_s i
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dcall-stack.rb34 def to_s method in class:Call
41 to_s.inspect
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
H A Dwizard.rb146 @pattern = pattern.to_s
298 def to_s method in class:ANTLR3.AST.Wizard.Pattern
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-trees.rb41 def to_s method in class:TestTreeNodeStream.test_two_children_of_nil_root
297 buffer << type.to_s unless type == DOWN or type == UP
/external/python/cpython3/Objects/stringlib/
H A Dtransmogrify.h238 const char *to_s, Py_ssize_t to_len,
278 memcpy(result_s, to_s, to_len);
284 memcpy(result_s, to_s, to_len);
289 result_s[0] = to_s[0];
294 result_s[0] = to_s[0];
453 const char *to_s, Py_ssize_t to_len,
484 memcpy(start, to_s, from_len);
494 memcpy(start + offset, to_s, from_len);
505 const char *to_s, Py_ssize_t to_len,
547 memcpy(result_s, to_s, to_le
237 stringlib_replace_interleave(PyObject *self, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
451 stringlib_replace_substring_in_place(PyObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
503 stringlib_replace_single_character(PyObject *self, char from_c, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
567 stringlib_replace_substring(PyObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
636 stringlib_replace(PyObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
[all...]
/external/python/cpython2/Objects/
H A Dbytearrayobject.c1569 const char *to_s, Py_ssize_t to_len,
1609 Py_MEMCPY(result_s, to_s, to_len);
1615 Py_MEMCPY(result_s, to_s, to_len);
1770 const char *to_s, Py_ssize_t to_len,
1800 Py_MEMCPY(start, to_s, from_len);
1810 Py_MEMCPY(start+offset, to_s, from_len);
1821 const char *to_s, Py_ssize_t to_len,
1866 Py_MEMCPY(result_s, to_s, to_len);
1873 Py_MEMCPY(result_s, to_s, to_len);
1888 const char *to_s, Py_ssize_
1568 replace_interleave(PyByteArrayObject *self, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
1768 replace_substring_in_place(PyByteArrayObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
1819 replace_single_character(PyByteArrayObject *self, char from_c, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
1886 replace_substring(PyByteArrayObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
1958 replace(PyByteArrayObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
[all...]
H A Dstringobject.c2356 const char *to_s, Py_ssize_t to_len,
2396 Py_MEMCPY(result_s, to_s, to_len);
2402 Py_MEMCPY(result_s, to_s, to_len);
2556 const char *to_s, Py_ssize_t to_len,
2586 Py_MEMCPY(start, to_s, from_len);
2596 Py_MEMCPY(start+offset, to_s, from_len);
2607 const char *to_s, Py_ssize_t to_len,
2652 Py_MEMCPY(result_s, to_s, to_len);
2659 Py_MEMCPY(result_s, to_s, to_len);
2674 const char *to_s, Py_ssize_
2355 replace_interleave(PyStringObject *self, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
2554 replace_substring_in_place(PyStringObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
2605 replace_single_character(PyStringObject *self, char from_c, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
2672 replace_substring(PyStringObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
2743 replace(PyStringObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) argument
2824 const char *from_s, *to_s; local
[all...]

Completed in 208 milliseconds