Home
last modified time | relevance | path

Searched refs:PyString_FromFormat (Results 1 – 25 of 53) sorted by relevance

123

/external/python/cpython2/Objects/
Dcellobject.c76 return PyString_FromFormat("<cell at %p: empty>", op); in cell_repr()
78 return PyString_FromFormat("<cell at %p: %.80s object at %p>", in cell_repr()
Drangeobject.c139 rtn = PyString_FromFormat("xrange(%ld)", in range_repr()
143 rtn = PyString_FromFormat("xrange(%ld, %ld)", in range_repr()
148 rtn = PyString_FromFormat("xrange(%ld, %ld, %ld)", in range_repr()
Dmoduleobject.c200 return PyString_FromFormat("<module '%s' (built-in)>", name); in module_repr()
202 return PyString_FromFormat("<module '%s' from '%s'>", name, filename); in module_repr()
Dmethodobject.c205 return PyString_FromFormat("<built-in function %s>", in meth_repr()
207 return PyString_FromFormat("<built-in method %s of %s object at %p>", in meth_repr()
Dexceptions.c1656 result = PyString_FromFormat( in UnicodeEncodeError_str()
1664 result = PyString_FromFormat( in UnicodeEncodeError_str()
1740 result = PyString_FromFormat( in UnicodeDecodeError_str()
1748 result = PyString_FromFormat( in UnicodeDecodeError_str()
1841 result = PyString_FromFormat( in UnicodeTranslateError_str()
1847 result = PyString_FromFormat( in UnicodeTranslateError_str()
Dcapsule.c282 return PyString_FromFormat("<capsule object %s%s%s at %p>", in capsule_repr()
Dclassobject.c398 return PyString_FromFormat("<class ?.%s at %p>", name, op); in class_repr()
400 return PyString_FromFormat("<class %s.%s at %p>", in class_repr()
923 return PyString_FromFormat("<?.%s instance at %p>", in instance_repr()
926 return PyString_FromFormat("<%s.%s instance at %p>", in instance_repr()
2452 result = PyString_FromFormat("<unbound method %s.%s>", in instancemethod_repr()
2463 result = PyString_FromFormat("<bound method %s.%s of %s>", in instancemethod_repr()
Ddescrobject.c27 return PyString_FromFormat(format, descr_name(descr), in descr_repr()
850 result = PyString_FromFormat("dict_proxy(%s)", PyString_AS_STRING(dictrepr)); in proxy_repr()
978 return PyString_FromFormat("<method-wrapper '%s' of %s object at %p>", in wrapper_repr()
Dbufferobject.c292 return PyString_FromFormat("<%s buffer ptr %p, size %zd at %p>", in buffer_repr()
298 return PyString_FromFormat( in buffer_repr()
Dgenobject.c294 return PyString_FromFormat("<generator object %.200s at %p>", in gen_repr()
Dtypeobject.c724 rtn = PyString_FromFormat("<%s '%s.%s'>", in type_repr()
730 rtn = PyString_FromFormat("<%s '%s'>", kind, type->tp_name); in type_repr()
3102 rtn = PyString_FromFormat("<%s.%s object at %p>", in object_repr()
3107 rtn = PyString_FromFormat("<%s object at %p>", in object_repr()
3387 PyObject *msg = PyString_FromFormat( in reduce_2()
5537 return PyString_FromFormat("<%s object at %p>",
6646 return PyString_FromFormat(
6651 return PyString_FromFormat(
Dfuncobject.c465 return PyString_FromFormat("<function %s at %p>", in func_repr()
/external/python/cpython2/Mac/Modules/
D_scproxy.c146 v = PyString_FromFormat("http://%s:%ld", in set_proxy()
150 v = PyString_FromFormat("http://%s", in set_proxy()
/external/python/cpython2/Include/
Dbytesobject.h14 #define PyBytes_FromFormat PyString_FromFormat
Dstringobject.h66 PyAPI_FUNC(PyObject *) PyString_FromFormat(const char*, ...)
/external/python/cpython2/Modules/_multiprocessing/
Dmultiprocessing.h153 # define FROM_FORMAT PyString_FromFormat
/external/python/cpython2/Modules/
D_lsprof.c196 return PyString_FromFormat("<%s.%s>", in normalizeUserObj()
200 return PyString_FromFormat("<%s>", in normalizeUserObj()
221 return PyString_FromFormat("<built-in method %s>", in normalizeUserObj()
Ditertoolsmodule.c3387 return PyString_FromFormat("count(%zd)", lz->cnt); in count_repr()
3395 result = PyString_FromFormat("count(%s)", in count_repr()
3400 result = PyString_FromFormat("count(%s, %s)", in count_repr()
3739 result = PyString_FromFormat("repeat(%s)", in repeat_repr()
3742 result = PyString_FromFormat("repeat(%s, %zd)", in repeat_repr()
Dthreadmodule.c358 self->key = PyString_FromFormat("thread.local.%p", self); in local_new()
/external/python/cpython2/Modules/_io/
Dfileio.c960 return PyString_FromFormat("<_io.FileIO [closed]>"); in fileio_repr()
968 res = PyString_FromFormat("<_io.FileIO fd=%d mode='%s'>", in fileio_repr()
976 res = PyString_FromFormat("<_io.FileIO name=%s mode='%s'>", in fileio_repr()
/external/python/cpython2/Misc/NEWS.d/
D2.6rc1.rst17 PyString_FromFormat or PyErr_Format to display size_t values. The macro
19 ``printf`` function, whereas PyString_FromFormat has an independent
/external/python/cpython2/Doc/c-api/
Dstring.rst68 .. c:function:: PyObject* PyString_FromFormat(const char *format, ...)
149 Identical to :c:func:`PyString_FromFormat` except that it takes exactly two
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.cc62 #define PyString_FromFormat PyUnicode_FromFormat macro
319 return PyString_FromFormat( in ContainerRepr()
/external/python/cpython2/Doc/data/
Drefcounts.dat1280 PyString_FromFormat:PyObject*::+1:
1281 PyString_FromFormat:const char*:format::
1282 PyString_FromFormat::...::
/external/python/cpython2/Modules/_ctypes/
Dcfield.c292 result = PyString_FromFormat( in PyCField_repr()
300 result = PyString_FromFormat( in PyCField_repr()

123