Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/test_importlib/frozen/
Dtest_loader.py67 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/
Dcapture_replay_tests.py412 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/
Dautocast_variable.py163 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/
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.py139 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/
Dyacc.py139 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/
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/tensorflow/tensorflow/python/lib/core/
Dpy_seq_tensor.cc604 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/
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/cpython3/Lib/
Dreprlib.py120 def repr_str(self, x, level): member in Repr
Dpydoc.py548 repr_str = repr_string variable in HTMLRepr
1149 repr_str = repr_string variable in TextRepr
/external/python/cpython3/Python/
Dsysmodule.c608 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/
DcPickle.c1250 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/
Dtypeobject.c5528 static PyObject *repr_str; local
5530 func = lookup_method(self, "__repr__", &repr_str);