Home
last modified time | relevance | path

Searched refs:PyObject_Repr (Results 1 – 25 of 79) sorted by relevance

1234

/external/python/cpython2/Objects/
Dsliceobject.c278 PyString_ConcatAndDel(&s, PyObject_Repr(r->start)); in slice_repr()
280 PyString_ConcatAndDel(&s, PyObject_Repr(r->stop)); in slice_repr()
282 PyString_ConcatAndDel(&s, PyObject_Repr(r->step)); in slice_repr()
Dexceptions.c162 repr_suffix = PyObject_Repr(self->args); in BaseException_repr()
667 repr = PyObject_Repr(self->filename); in EnvironmentError_str()
898 repr = PyObject_Repr(self->filename); in WindowsError_str()
1270 return PyObject_Repr(PyTuple_GET_ITEM(self->args, 0)); in KeyError_str()
Dobject.c305 s = PyObject_Repr(op); in internal_print()
364 PyObject_Repr(PyObject *v) in PyObject_Repr() function
429 return PyObject_Repr(v); in _PyObject_Str()
542 res = PyObject_Repr(v); in PyObject_Unicode()
Dintobject.c385 srepr = PyObject_Repr(sobj); in PyInt_FromString()
1090 srepr = PyObject_Repr(x); in int_new()
Dstructseq.c271 repr = PyObject_Repr(val); in structseq_repr()
/external/python/cpython3/Objects/stringlib/
Dstringdefs.h27 #define STRINGLIB_TOASCII PyObject_Repr
/external/python/cpython2/Modules/
Dfuture_builtins.c59 return PyObject_Repr(v); in builtin_ascii()
/external/python/cpython3/Python/
Dcontext.c866 PyObject *name = PyObject_Repr(self->var_name); in contextvar_tp_repr()
881 PyObject *def = PyObject_Repr(self->var_default); in contextvar_tp_repr()
1080 PyObject *var = PyObject_Repr((PyObject *)self->tok_var); in token_tp_repr()
/external/python/cpython3/Doc/c-api/
Dobject.rst163 .. c:function:: PyObject* PyObject_Repr(PyObject *o)
179 As :c:func:`PyObject_Repr`, compute a string representation of object *o*, but
181 :c:func:`PyObject_Repr` with ``\x``, ``\u`` or ``\U`` escapes. This generates
182 a string similar to that returned by :c:func:`PyObject_Repr` in Python 2.
Dset.rst19 :c:func:`PyObject_Repr`, :c:func:`PyObject_IsTrue`, :c:func:`PyObject_Print`, and
/external/python/cpython2/Include/
Dobject.h461 PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
533 #define PyObject_REPR(obj) PyString_AS_STRING(PyObject_Repr(obj))
/external/python/cpython3/Objects/
Dobject.c369 s = PyObject_Repr(op); in PyObject_Print()
482 PyObject_Repr(PyObject *v) in PyObject_Repr() function
551 return PyObject_Repr(v); in PyObject_Str()
588 repr = PyObject_Repr(v); in PyObject_ASCII()
Dfileobject.c132 value = PyObject_Repr(v); in PyFile_WriteObject()
Dstructseq.c202 repr = PyObject_Repr(val); in structseq_repr()
/external/python/cpython2/Doc/c-api/
Dfloat.rst120 Use :func:`PyObject_Repr` or :func:`PyOS_double_to_string` instead.
Dset.rst21 :c:func:`PyObject_Repr`, :c:func:`PyObject_IsTrue`, :c:func:`PyObject_Print`, and
/external/python/cpython2/PC/os2vacpp/
Dpython.def322 PyObject_Repr
/external/python/cpython2/Modules/_io/
Dtextio.c2093 PyObject *repr = PyObject_Repr(cookieObj); in textiowrapper_seek()
2390 encrepr = PyObject_Repr(self->encoding); in textiowrapper_repr()
2395 encrepr = PyObject_Repr(self->encoding); in textiowrapper_repr()
2396 namerepr = PyObject_Repr(nameobj); in textiowrapper_repr()
D_iomodule.c318 PyObject *repr = PyObject_Repr(file); in io_open()
/external/python/cpython2/Python/
DPython-ast.c621 PyObject *s = PyObject_Repr(obj); in obj2ast_int()
639 PyObject *s = PyObject_Repr(obj); in obj2ast_bool()
3474 tmp = PyObject_Repr(obj); in obj2ast_mod()
4786 tmp = PyObject_Repr(obj); in obj2ast_stmt()
5914 tmp = PyObject_Repr(obj); in obj2ast_expr()
5977 tmp = PyObject_Repr(obj); in obj2ast_expr_context()
6116 tmp = PyObject_Repr(obj); in obj2ast_slice()
6147 tmp = PyObject_Repr(obj); in obj2ast_boolop()
6258 tmp = PyObject_Repr(obj); in obj2ast_operator()
6305 tmp = PyObject_Repr(obj); in obj2ast_unaryop()
[all …]
Dcompile.c1242 PyString_AS_STRING(PyObject_Repr(c->u->u_ste->ste_id)), in get_ref_type()
1244 PyString_AS_STRING(PyObject_Repr(c->u->u_ste->ste_symbols)), in get_ref_type()
1245 PyString_AS_STRING(PyObject_Repr(c->u->u_varnames)), in get_ref_type()
1246 PyString_AS_STRING(PyObject_Repr(c->u->u_names)) in get_ref_type()
1298 PyString_AS_STRING(PyObject_Repr(name)), in compiler_make_closure()
1302 PyString_AS_STRING(PyObject_Repr(co->co_freevars))); in compiler_make_closure()
Dpeephole.c210 newconst = PyObject_Repr(v); in fold_unaryops_on_constants()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_seq_tensor.cc89 Safe_PyObjectPtr repr_obj = make_safe(PyObject_Repr(obj)); in PyRepr()
/external/python/cpython3/PC/
Dpython3.def486 PyObject_Repr=python37.PyObject_Repr
/external/python/cpython3/Include/
Dobject.h526 PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);

1234