Home
last modified time | relevance | path

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

12345

/aosp_15_r20/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()
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dobject.rst191 .. c:function:: PyObject* PyObject_Repr(PyObject *o)
207 As :c:func:`PyObject_Repr`, compute a string representation of object *o*, but
209 :c:func:`PyObject_Repr` with ``\x``, ``\u`` or ``\U`` escapes. This generates
210 a string similar to that returned by :c:func:`PyObject_Repr` in Python 2.
/aosp_15_r20/external/python/cpython3/Objects/stringlib/
Dstringdefs.h26 #define STRINGLIB_TOASCII PyObject_Repr
/aosp_15_r20/external/python/cpython3/Python/
Dcontext.c921 PyObject *name = PyObject_Repr(self->var_name); in contextvar_tp_repr()
936 PyObject *def = PyObject_Repr(self->var_default); in contextvar_tp_repr()
1149 PyObject *var = PyObject_Repr((PyObject *)self->tok_var); in token_tp_repr()
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dstructseq.cpp54 auto repr = THPObjectPtr(PyObject_Repr(val)); in returned_structseq_repr()
/aosp_15_r20/external/python/cpython2/Modules/
Dfuture_builtins.c59 return PyObject_Repr(v); in builtin_ascii()
/aosp_15_r20/external/python/cpython2/Include/
Dobject.h461 PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
533 #define PyObject_REPR(obj) PyString_AS_STRING(PyObject_Repr(obj))
/aosp_15_r20/external/python/cpython3/Objects/
Dobject.c288 s = PyObject_Repr(op); in PyObject_Print()
402 PyObject_Repr(PyObject *v) in PyObject_Repr() function
477 return PyObject_Repr(v); in PyObject_Str()
519 repr = PyObject_Repr(v); in PyObject_ASCII()
Dunionobject.c238 r = PyObject_Repr(p); in union_repr_item()
Dfileobject.c132 value = PyObject_Repr(v); in PyFile_WriteObject()
/aosp_15_r20/external/armnn/python/pyarmnn/src/pyarmnn/swig/typemaps/
H A Dvectors.i167 PyObject* itemRepr = PyObject_Repr(item); in from_python_to_vector()
/aosp_15_r20/external/cronet/third_party/protobuf/python/google/protobuf/pyext/
H A Dmap_container.cc515 return PyObject_Repr(dict.get()); in ScalarMapToStr()
702 return PyObject_Repr(dict.get()); in MessageMapToStr()
/aosp_15_r20/external/protobuf/python/google/protobuf/pyext/
H A Dmap_container.cc515 return PyObject_Repr(dict.get()); in ScalarMapToStr()
702 return PyObject_Repr(dict.get()); in MessageMapToStr()
/aosp_15_r20/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()
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dfloat.rst120 Use :func:`PyObject_Repr` or :func:`PyOS_double_to_string` instead.
/aosp_15_r20/external/python/cpython2/PC/os2vacpp/
Dpython.def322 PyObject_Repr
/aosp_15_r20/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()
/aosp_15_r20/external/pytorch/torch/csrc/
H A Dutils.cpp281 repr = PyObject_Repr(pytensor); in tensor_repr()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dobject.h283 PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
/aosp_15_r20/external/python/cpython3/Include/
Dobject.h283 PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);

12345