/external/python/cpython3/Lib/test/test_importlib/frozen/ |
D | test_loader.py | 67 repr_str = self.machinery.FrozenImporter.module_repr(module) 68 self.assertEqual(repr_str, 159 repr_str = self.machinery.FrozenImporter.module_repr(module) 160 self.assertEqual(repr_str,
|
/external/libchrome/third_party/ply/ |
D | yacc.py | 144 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/selinux/python/sepolgen/src/sepolgen/ |
D | yacc.py | 139 repr_str = repr(r) 140 if '\n' in repr_str: 141 repr_str = repr(repr_str) 142 if len(repr_str) > resultlimit: 143 repr_str = repr_str[:resultlimit] + ' ...' 144 result = '<%s @ 0x%x> (%s)' % (type(r).__name__, id(r), repr_str) 149 repr_str = repr(r) 150 if '\n' in repr_str: 151 repr_str = repr(repr_str) 152 if len(repr_str) < 16: [all …]
|
/external/ply/ply/ply/ |
D | yacc.py | 139 repr_str = repr(r) 140 if '\n' in repr_str: 141 repr_str = repr(repr_str) 142 if len(repr_str) > resultlimit: 143 repr_str = repr_str[:resultlimit] + ' ...' 144 result = '<%s @ 0x%x> (%s)' % (type(r).__name__, id(r), repr_str) 149 repr_str = repr(r) 150 if '\n' in repr_str: 151 repr_str = repr(repr_str) 152 if len(repr_str) < 16: [all …]
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_seq_tensor.cc | 91 string repr_str; in PyRepr() local 92 if (ConvertOneString(repr_obj.get(), &repr_str) == nullptr) { in PyRepr() 93 return repr_str; in PyRepr()
|
/external/python/cpython2/Lib/ |
D | repr.py | 91 def repr_str(self, x, level): member in Repr
|
D | pydoc.py | 439 repr_str = repr_string variable in HTMLRepr 1020 repr_str = repr_string variable in TextRepr
|
/external/python/cpython3/Lib/ |
D | reprlib.py | 120 def repr_str(self, x, level): member in Repr
|
D | pydoc.py | 463 repr_str = repr_string variable in HTMLRepr 1064 repr_str = repr_string variable in TextRepr
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 215 PyObject *encoded, *escaped_str, *repr_str, *buffer, *result; in sys_displayhook_unencodable() local 226 repr_str = PyObject_Repr(o); in sys_displayhook_unencodable() 227 if (repr_str == NULL) in sys_displayhook_unencodable() 229 encoded = PyUnicode_AsEncodedString(repr_str, in sys_displayhook_unencodable() 232 Py_DECREF(repr_str); in sys_displayhook_unencodable()
|
/external/python/cpython2/Modules/ |
D | cPickle.c | 1250 char *repr_str; in save_string() local 1259 repr_str = PyString_AS_STRING((PyStringObject *)repr); in save_string() 1264 if (self->write_func(self, repr_str, len) < 0) in save_string() 1420 char *repr_str; in save_unicode() local 1430 repr_str = PyString_AS_STRING((PyStringObject *)repr); in save_unicode() 1435 if (self->write_func(self, repr_str, len) < 0) in save_unicode()
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 5528 static PyObject *repr_str; local 5530 func = lookup_method(self, "__repr__", &repr_str);
|