Home
last modified time | relevance | path

Searched refs:repr_str (Results 1 – 7 of 7) sorted by relevance

/external/trappy/trappy/stats/
DTopology.py74 repr_str = ""
76 repr_str += level_name + " " + \
79 return repr_str
/external/libmojo/third_party/ply/
Dyacc.py144 repr_str = repr(r)
145 if '\n' in repr_str: repr_str = repr(repr_str)
146 if len(repr_str) > resultlimit:
147 repr_str = repr_str[:resultlimit]+" ..."
148 result = "<%s @ 0x%x> (%s)" % (type(r).__name__,id(r),repr_str)
154 repr_str = repr(r)
155 if '\n' in repr_str: repr_str = repr(repr_str)
156 if len(repr_str) < 16:
157 return repr_str
/external/ply/ply/ply/
Dyacc.py140 repr_str = repr(r)
141 if '\n' in repr_str:
142 repr_str = repr(repr_str)
143 if len(repr_str) > resultlimit:
144 repr_str = repr_str[:resultlimit] + ' ...'
145 result = '<%s @ 0x%x> (%s)' % (type(r).__name__, id(r), repr_str)
150 repr_str = repr(r)
151 if '\n' in repr_str:
152 repr_str = repr(repr_str)
153 if len(repr_str) < 16:
[all …]
/external/python/cpython2/Lib/
Drepr.py91 def repr_str(self, x, level): member in Repr
Dpydoc.py439 repr_str = repr_string variable in HTMLRepr
1020 repr_str = repr_string variable in TextRepr
/external/python/cpython2/Modules/
DcPickle.c1240 char *repr_str; in save_string() local
1249 repr_str = PyString_AS_STRING((PyStringObject *)repr); in save_string()
1254 if (self->write_func(self, repr_str, len) < 0) in save_string()
1407 char *repr_str; in save_unicode() local
1417 repr_str = PyString_AS_STRING((PyStringObject *)repr); in save_unicode()
1422 if (self->write_func(self, repr_str, len) < 0) in save_unicode()
/external/python/cpython2/Objects/
Dtypeobject.c5465 static PyObject *repr_str; local
5467 func = lookup_method(self, "__repr__", &repr_str);