/external/python/cpython3/Objects/ |
D | namespaceobject.c | 80 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()
|
D | cellobject.c | 110 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()
|
D | exceptions.c | 121 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 …]
|
D | interpreteridobject.c | 103 return PyUnicode_FromFormat("%s(%" PRId64 ")", name, id->id); in interpid_repr() 110 return PyUnicode_FromFormat("%" PRId64 "", id->id); in interpid_str()
|
D | methodobject.c | 240 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()
|
D | weakrefobject.c | 169 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()
|
D | classobject.c | 295 result = PyUnicode_FromFormat("<bound method %V of %R>", in method_repr() 525 result = PyUnicode_FromFormat("<instancemethod %V at %p>", in instancemethod_repr()
|
D | capsule.c | 282 return PyUnicode_FromFormat("<capsule object %s%s%s at %p>", in capsule_repr()
|
/external/python/cpython3/Modules/ |
D | _operator.c | 1064 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.c | 151 v = PyUnicode_FromFormat("http://%U:%ld", in set_proxy() 154 v = PyUnicode_FromFormat("http://%U", h); in set_proxy()
|
D | _lsprof.c | 134 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.c | 1283 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.c | 204 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/ |
D | dynload_win.c | 225 message = PyUnicode_FromFormat( 237 message = PyUnicode_FromFormat(
|
D | importdl.c | 143 msg = PyUnicode_FromFormat( in _PyImport_LoadDynamicModuleWithSpec()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | field.cc | 38 #define PyString_FromFormat PyUnicode_FromFormat
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.h | 148 # define FROM_FORMAT PyUnicode_FromFormat
|
/external/python/cpython3/Doc/includes/ |
D | custom2.c | 88 return PyUnicode_FromFormat("%S %S", self->first, self->last); in Custom_name()
|
D | custom3.c | 138 return PyUnicode_FromFormat("%S %S", self->first, self->last); in Custom_name()
|
D | custom4.c | 150 return PyUnicode_FromFormat("%S %S", self->first, self->last); in Custom_name()
|
/external/python/cpython2/Include/ |
D | unicodeobject.h | 190 # 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/ |
D | fileio.c | 1083 return PyUnicode_FromFormat("<_io.FileIO [closed]>"); 1089 res = PyUnicode_FromFormat( 1097 res = PyUnicode_FromFormat(
|
D | winconsoleio.c | 1037 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/ |
D | misc_win32.h | 120 message = PyUnicode_FromFormat("Windows Error 0x%X", err); in b_getwinerror()
|
/external/python/cpython3/Modules/_sqlite/ |
D | cache.c | 242 display_str = PyUnicode_FromFormat("%S <- %S -> %S\n", in pysqlite_cache_display()
|