Home
last modified time | relevance | path

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

12345

/third_party/boost/libs/python/src/converter/
Dfrom_python.cpp97 ::PyUnicode_FromFormat in rvalue_from_python_stage2()
202 ::PyUnicode_FromFormat in throw_no_lvalue_from_python()
229 ::PyUnicode_FromFormat in lvalue_result_from_python()
/third_party/python/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.c126 return PyUnicode_FromFormat("%s(%R)", name, in BaseException_repr()
129 return PyUnicode_FromFormat("%s%R", name, self->args); in BaseException_repr()
1117 return PyUnicode_FromFormat("[WinError %S] %S: %R -> %R", in OSError_str()
1123 return PyUnicode_FromFormat("[WinError %S] %S: %R", in OSError_str()
1130 return PyUnicode_FromFormat("[WinError %S] %S", in OSError_str()
1136 return PyUnicode_FromFormat("[Errno %S] %S: %R -> %R", in OSError_str()
1142 return PyUnicode_FromFormat("[Errno %S] %S: %R", in OSError_str()
1149 return PyUnicode_FromFormat("[Errno %S] %S", in OSError_str()
1618 result = PyUnicode_FromFormat("%S (%U, line %ld)", in SyntaxError_str()
1623 result = PyUnicode_FromFormat("%S (%U)", in SyntaxError_str()
[all …]
Dinterpreteridobject.c109 return PyUnicode_FromFormat("%s(%" PRId64 ")", name, id->id); in interpid_repr()
116 return PyUnicode_FromFormat("%" PRId64 "", id->id); in interpid_str()
Dmethodobject.c244 res = PyUnicode_FromFormat("%S.%s", type_qualname, m->m_ml->ml_name); in meth_get__qualname__()
290 return PyUnicode_FromFormat("<built-in function %s>", in meth_repr()
292 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()
Dfuncobject.c652 return PyUnicode_FromFormat("<function %U at %p>", in func_repr()
892 return PyUnicode_FromFormat("<classmethod(%R)>", cm->cm_callable); in cm_repr()
1090 return PyUnicode_FromFormat("<staticmethod(%R)>", sm->sm_callable); in sm_repr()
/third_party/python/Modules/_ctypes/
Dcallproc.c493 return PyUnicode_FromFormat("<cparam '%c' (%d)>", in PyCArg_repr()
497 return PyUnicode_FromFormat("<cparam '%c' (%d)>", in PyCArg_repr()
501 return PyUnicode_FromFormat("<cparam '%c' (%d)>", in PyCArg_repr()
505 return PyUnicode_FromFormat("<cparam '%c' (%ld)>", in PyCArg_repr()
510 return PyUnicode_FromFormat("<cparam '%c' (%lld)>", in PyCArg_repr()
518 PyObject *result = PyUnicode_FromFormat("<cparam '%c' (%R)>", self->tag, f); in PyCArg_repr()
524 return PyUnicode_FromFormat("<cparam '%c' ('%c')>", in PyCArg_repr()
528 return PyUnicode_FromFormat("<cparam '%c' ('\\x%02x')>", in PyCArg_repr()
539 return PyUnicode_FromFormat("<cparam '%c' (%p)>", in PyCArg_repr()
545 return PyUnicode_FromFormat("<cparam '%c' at %p>", in PyCArg_repr()
[all …]
/third_party/python/Python/
Ddynload_win.c231 message = PyUnicode_FromFormat(
243 message = PyUnicode_FromFormat(
Dimportdl.c146 msg = PyUnicode_FromFormat( in _PyImport_LoadDynamicModuleWithSpec()
/third_party/python/Modules/
D_operator.c1087 return PyUnicode_FromFormat("%s(...)", Py_TYPE(ig)->tp_name); in itemgetter_repr()
1091 repr = PyUnicode_FromFormat(reprfmt, Py_TYPE(ig)->tp_name, ig->item); in itemgetter_repr()
1402 return PyUnicode_FromFormat("%s(...)", Py_TYPE(ag)->tp_name); in attrgetter_repr()
1409 repr = PyUnicode_FromFormat("%s(%R)", Py_TYPE(ag)->tp_name, attr); in attrgetter_repr()
1417 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_datetimemodule.c1274 repr = PyUnicode_FromFormat("%U, tzinfo=%R)", temp, tzinfo); in append_keyword_tzinfo()
1298 repr = PyUnicode_FromFormat("%U, fold=%d)", temp, fold); in append_keyword_fold()
1346 return PyUnicode_FromFormat("%s %s %2d %02d:%02d:%02d %04d", in format_ctime()
2544 Py_SETREF(args, PyUnicode_FromFormat("days=%d", GET_TD_DAYS(self))); in delta_repr()
2552 Py_SETREF(args, PyUnicode_FromFormat("%U%sseconds=%d", args, sep, in delta_repr()
2561 Py_SETREF(args, PyUnicode_FromFormat("%U%smicroseconds=%d", args, sep, in delta_repr()
2575 PyObject *repr = PyUnicode_FromFormat("%s(%S)", Py_TYPE(self)->tp_name, in delta_repr()
2592 return PyUnicode_FromFormat("%d day%s, %d:%02d:%02d.%06d", in delta_str()
2596 return PyUnicode_FromFormat("%d day%s, %d:%02d:%02d", in delta_str()
2601 return PyUnicode_FromFormat("%d:%02d:%02d.%06d", in delta_str()
[all …]
D_lsprof.c151 result = PyUnicode_FromFormat("<%U.%s>", modname, in normalizeUserObj()
158 return PyUnicode_FromFormat("<%s>", fn->m_ml->ml_name); in normalizeUserObj()
182 return PyUnicode_FromFormat("<built-in method %S.%s>", in normalizeUserObj()
185 return PyUnicode_FromFormat("<built-in method %s>", in normalizeUserObj()
/third_party/boost/libs/python/src/object/
Denum.cpp53PyUnicode_FromFormat("%S.%s(%ld)", mod, self_->ob_type->tp_name, PyLong_AsLong(self_)); in enum_repr()
66 PyUnicode_FromFormat("%S.%s.%S", mod, self_->ob_type->tp_name, name); in enum_repr()
/third_party/protobuf/python/google/protobuf/pyext/
Dfield.cc38 #define PyString_FromFormat PyUnicode_FromFormat
/third_party/python/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()
/third_party/python/Modules/_io/
Dfileio.c1085 return PyUnicode_FromFormat("<_io.FileIO [closed]>");
1091 res = PyUnicode_FromFormat(
1099 res = PyUnicode_FromFormat(
Dwinconsoleio.c1034 return PyUnicode_FromFormat("<_io._WindowsConsoleIO [closed]>"); in winconsoleio_repr()
1037 return PyUnicode_FromFormat("<_io._WindowsConsoleIO mode='rb' closefd=%s>", in winconsoleio_repr()
1040 return PyUnicode_FromFormat("<_io._WindowsConsoleIO mode='wb' closefd=%s>", in winconsoleio_repr()
/third_party/python/Modules/_ssl/
Dcert.c170 result = PyUnicode_FromFormat( in certificate_repr()

12345