/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/angle/src/tests/ |
D | capture_replay_tests.py | 412 self.repr_str = "" 416 return self.repr_str 420 self.repr_str += grouped_result.resultcode + ": " + grouped_result.message + "\n" 422 self.repr_str += "\t" + test.full_test_name + "\n" 424 self.repr_str += grouped_result.output 427 self.repr_str += TestBatchResult.ExtractErrors(grouped_result.output) 429 self.repr_str += TestBatchResult.GetAbbreviatedOutput(grouped_result.output) 712 repr_str = "TestBatch:\n" 714 repr_str += ("\t" + str(test) + "\n") 715 return repr_str
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/ |
D | autocast_variable.py | 163 repr_str = ("<AutoCastVariable '{v.name}' shape={v.shape} " 166 return repr_str.format( 169 repr_str = ("<AutoCastVariable '{v.name}' shape={v.shape} " 171 return repr_str.format(v=self)
|
/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/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/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/python/pycparser/pycparser/ply/ |
D | yacc.py | 140 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/tensorflow/tensorflow/python/lib/core/ |
D | py_seq_tensor.cc | 604 tstring repr_str; in PyRepr() local 605 if (ConverterTraits<tstring>::ConvertScalar(repr_obj.get(), &repr_str) == in PyRepr() 607 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 | 548 repr_str = repr_string variable in HTMLRepr 1149 repr_str = repr_string variable in TextRepr
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 608 PyObject *encoded, *escaped_str, *repr_str, *buffer, *result; in sys_displayhook_unencodable() local 619 repr_str = PyObject_Repr(o); in sys_displayhook_unencodable() 620 if (repr_str == NULL) in sys_displayhook_unencodable() 622 encoded = PyUnicode_AsEncodedString(repr_str, in sys_displayhook_unencodable() 625 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);
|