Home
last modified time | relevance | path

Searched refs:PyUnicode_FromFormat (Results 1 – 25 of 110) sorted by relevance

12345

/external/python/cpython3/Objects/
Dnamespaceobject.c80 return i > 0 ? PyUnicode_FromFormat("%s(...)", name) : NULL; in namespace_repr()
105 item = PyUnicode_FromFormat("%U=%R", key, value); in namespace_repr()
133 repr = PyUnicode_FromFormat("%s(%S)", name, pairsrepr); in namespace_repr()
Dcellobject.c110 return PyUnicode_FromFormat("<cell at %p: empty>", op); in cell_repr()
112 return PyUnicode_FromFormat("<cell at %p: %.80s object at %p>", in cell_repr()
Dexceptions.c121 return PyUnicode_FromFormat("%s(%R)", name, in BaseException_repr()
124 return PyUnicode_FromFormat("%s%R", name, self->args); in BaseException_repr()
1113 return PyUnicode_FromFormat("[WinError %S] %S: %R -> %R", in OSError_str()
1119 return PyUnicode_FromFormat("[WinError %S] %S: %R", in OSError_str()
1126 return PyUnicode_FromFormat("[WinError %S] %S", in OSError_str()
1132 return PyUnicode_FromFormat("[Errno %S] %S: %R -> %R", in OSError_str()
1138 return PyUnicode_FromFormat("[Errno %S] %S: %R", in OSError_str()
1145 return PyUnicode_FromFormat("[Errno %S] %S", in OSError_str()
1493 result = PyUnicode_FromFormat("%S (%U, line %ld)", in SyntaxError_str()
1498 result = PyUnicode_FromFormat("%S (%U)", in SyntaxError_str()
[all …]
Dinterpreteridobject.c103 return PyUnicode_FromFormat("%s(%" PRId64 ")", name, id->id); in interpid_repr()
110 return PyUnicode_FromFormat("%" PRId64 "", id->id); in interpid_str()
Dmethodobject.c240 res = PyUnicode_FromFormat("%S.%s", type_qualname, m->m_ml->ml_name); in meth_get__qualname__()
286 return PyUnicode_FromFormat("<built-in function %s>", in meth_repr()
288 return PyUnicode_FromFormat("<built-in method %s of %s object at %p>", in meth_repr()
Dweakrefobject.c169 return PyUnicode_FromFormat("<weakref at %p; dead>", self); in weakref_repr()
178 repr = PyUnicode_FromFormat( in weakref_repr()
185 repr = PyUnicode_FromFormat( in weakref_repr()
503 return PyUnicode_FromFormat( in WRAP_BINARY()
Dclassobject.c295 result = PyUnicode_FromFormat("<bound method %V of %R>", in method_repr()
525 result = PyUnicode_FromFormat("<instancemethod %V at %p>", in instancemethod_repr()
Dcapsule.c282 return PyUnicode_FromFormat("<capsule object %s%s%s at %p>", in capsule_repr()
/external/python/cpython3/Modules/
D_operator.c1064 return PyUnicode_FromFormat("%s(...)", Py_TYPE(ig)->tp_name); in itemgetter_repr()
1068 repr = PyUnicode_FromFormat(reprfmt, Py_TYPE(ig)->tp_name, ig->item); in itemgetter_repr()
1392 return PyUnicode_FromFormat("%s(...)", Py_TYPE(ag)->tp_name); in attrgetter_repr()
1399 repr = PyUnicode_FromFormat("%s(%R)", Py_TYPE(ag)->tp_name, attr); in attrgetter_repr()
1407 repr = PyUnicode_FromFormat("%s%R", in attrgetter_repr()
1584 return PyUnicode_FromFormat("%s(...)", Py_TYPE(mc)->tp_name); in methodcaller_repr()
1592 repr = PyUnicode_FromFormat("%s(%R)", Py_TYPE(mc)->tp_name, mc->name); in methodcaller_repr()
1614 PyObject *onerepr = PyUnicode_FromFormat("%U=%R", key, value); in methodcaller_repr()
1641 repr = PyUnicode_FromFormat("%s(%R, %U)", Py_TYPE(mc)->tp_name, in methodcaller_repr()
D_scproxy.c151 v = PyUnicode_FromFormat("http://%U:%ld", in set_proxy()
154 v = PyUnicode_FromFormat("http://%U", h); in set_proxy()
D_lsprof.c134 result = PyUnicode_FromFormat("<%U.%s>", modname, in normalizeUserObj()
141 return PyUnicode_FromFormat("<%s>", fn->m_ml->ml_name); in normalizeUserObj()
165 return PyUnicode_FromFormat("<built-in method %S.%s>", in normalizeUserObj()
168 return PyUnicode_FromFormat("<built-in method %s>", in normalizeUserObj()
D_datetimemodule.c1283 repr = PyUnicode_FromFormat("%U, tzinfo=%R)", temp, tzinfo); in append_keyword_tzinfo()
1307 repr = PyUnicode_FromFormat("%U, fold=%d)", temp, fold); in append_keyword_fold()
1355 return PyUnicode_FromFormat("%s %s %2d %02d:%02d:%02d %04d", in format_ctime()
2553 Py_SETREF(args, PyUnicode_FromFormat("days=%d", GET_TD_DAYS(self))); in delta_repr()
2561 Py_SETREF(args, PyUnicode_FromFormat("%U%sseconds=%d", args, sep, in delta_repr()
2570 Py_SETREF(args, PyUnicode_FromFormat("%U%smicroseconds=%d", args, sep, in delta_repr()
2584 PyObject *repr = PyUnicode_FromFormat("%s(%S)", Py_TYPE(self)->tp_name, in delta_repr()
2601 return PyUnicode_FromFormat("%d day%s, %d:%02d:%02d.%06d", in delta_str()
2605 return PyUnicode_FromFormat("%d day%s, %d:%02d:%02d", in delta_str()
2610 return PyUnicode_FromFormat("%d:%02d:%02d.%06d", in delta_str()
[all …]
D_threadmodule.c204 return PyUnicode_FromFormat("<%s %s object at %p>", in lock_repr()
481 return PyUnicode_FromFormat("<%s %s object owner=%ld count=%lu at %p>", in rlock_repr()
767 self->key = PyUnicode_FromFormat("thread.local.%p", self); in local_new()
1377 PyObject *str = PyUnicode_FromFormat("%lu", ident); in thread_excepthook_file()
/external/python/cpython3/Python/
Ddynload_win.c225 message = PyUnicode_FromFormat(
237 message = PyUnicode_FromFormat(
Dimportdl.c143 msg = PyUnicode_FromFormat( in _PyImport_LoadDynamicModuleWithSpec()
/external/protobuf/python/google/protobuf/pyext/
Dfield.cc38 #define PyString_FromFormat PyUnicode_FromFormat
/external/python/cpython2/Modules/_multiprocessing/
Dmultiprocessing.h148 # define FROM_FORMAT PyUnicode_FromFormat
/external/python/cpython3/Doc/includes/
Dcustom2.c88 return PyUnicode_FromFormat("%S %S", self->first, self->last); in Custom_name()
Dcustom3.c138 return PyUnicode_FromFormat("%S %S", self->first, self->last); in Custom_name()
Dcustom4.c150 return PyUnicode_FromFormat("%S %S", self->first, self->last); in Custom_name()
/external/python/cpython2/Include/
Dunicodeobject.h190 # define PyUnicode_FromFormat PyUnicodeUCS2_FromFormat macro
277 # define PyUnicode_FromFormat PyUnicodeUCS4_FromFormat macro
557 PyAPI_FUNC(PyObject *) PyUnicode_FromFormat(const char*, ...);
/external/python/cpython3/Modules/_io/
Dfileio.c1083 return PyUnicode_FromFormat("<_io.FileIO [closed]>");
1089 res = PyUnicode_FromFormat(
1097 res = PyUnicode_FromFormat(
Dwinconsoleio.c1037 return PyUnicode_FromFormat("<_io._WindowsConsoleIO [closed]>"); in winconsoleio_repr()
1040 return PyUnicode_FromFormat("<_io._WindowsConsoleIO mode='rb' closefd=%s>", in winconsoleio_repr()
1043 return PyUnicode_FromFormat("<_io._WindowsConsoleIO mode='wb' closefd=%s>", in winconsoleio_repr()
/external/python/cffi/c/
Dmisc_win32.h120 message = PyUnicode_FromFormat("Windows Error 0x%X", err); in b_getwinerror()
/external/python/cpython3/Modules/_sqlite/
Dcache.c242 display_str = PyUnicode_FromFormat("%S <- %S -> %S\n", in pysqlite_cache_display()

12345