Home
last modified time | relevance | path

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

12

/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.c1660 result = PyString_FromFormat( in UnicodeEncodeError_str()
1668 result = PyString_FromFormat( in UnicodeEncodeError_str()
1745 result = PyString_FromFormat( in UnicodeDecodeError_str()
1753 result = PyString_FromFormat( in UnicodeDecodeError_str()
1847 result = PyString_FromFormat( in UnicodeTranslateError_str()
1853 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()
924 return PyString_FromFormat("<?.%s instance at %p>", in instance_repr()
927 return PyString_FromFormat("<%s.%s instance at %p>", in instance_repr()
2454 result = PyString_FromFormat("<unbound method %s.%s>", in instancemethod_repr()
2465 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()
Dfuncobject.c465 return PyString_FromFormat("<function %s at %p>", in func_repr()
Dmemoryobject.c498 return PyString_FromFormat("<memory at %p>", self); in memory_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.c3397 return PyString_FromFormat("count(%zd)", lz->cnt); in count_repr()
3405 result = PyString_FromFormat("count(%s)", in count_repr()
3410 result = PyString_FromFormat("count(%s, %s)", in count_repr()
3749 result = PyString_FromFormat("repeat(%s)", in repeat_repr()
3752 result = PyString_FromFormat("repeat(%s, %zd)", in repeat_repr()
Dthreadmodule.c358 self->key = PyString_FromFormat("thread.local.%p", self); in local_new()
D_collectionsmodule.c920 fmt = PyString_FromFormat("deque(%%r, maxlen=%zd)", in deque_repr()
1616 result = PyString_FromFormat("defaultdict(%s, %s)", in defdict_repr()
/external/python/cpython2/Modules/_io/
Dfileio.c924 return PyString_FromFormat("<_io.FileIO [closed]>"); in fileio_repr()
932 res = PyString_FromFormat("<_io.FileIO fd=%d mode='%s'>", in fileio_repr()
940 res = PyString_FromFormat("<_io.FileIO name=%s mode='%s'>", in fileio_repr()
/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.c284 result = PyString_FromFormat( in PyCField_repr()
292 result = PyString_FromFormat( in PyCField_repr()

12