Home
last modified time | relevance | path

Searched refs:tp_name (Results 1 – 25 of 111) sorted by relevance

12345

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Ddescrobject.c28 descr->d_type->tp_name); in descr_repr()
72 descr->d_type->tp_name, in descr_check()
73 obj->ob_type->tp_name); in descr_check()
93 descr->d_type->tp_name); in classmethod_get()
102 descr->d_type->tp_name, in classmethod_get()
103 type->ob_type->tp_name); in classmethod_get()
111 descr->d_type->tp_name, in classmethod_get()
112 ((PyTypeObject *)type)->tp_name); in classmethod_get()
150 descr->d_type->tp_name); in getset_get()
174 descr->d_type->tp_name, in descr_setcheck()
[all …]
Dstructseq.c165 type->tp_name); in structseq_new()
179 type->tp_name, min_len, len); in structseq_new()
187 type->tp_name, max_len, len); in structseq_new()
196 type->tp_name, min_len, len); in structseq_new()
255 len = strlen(typ->tp_name) > TYPE_MAXSIZE ? TYPE_MAXSIZE : in structseq_repr()
256 strlen(typ->tp_name); in structseq_repr()
257 strncpy(pbuf, typ->tp_name, len); in structseq_repr()
498 type->tp_name = desc->name; in PyStructSequence_InitType()
Dobject.c98 tp->tp_name, tp->tp_allocs, tp->tp_frees, in dump_counts()
122 v = Py_BuildValue("(snnn)", tp->tp_name, tp->tp_allocs, in get_counts()
357 Py_TYPE(op)==NULL ? "NULL" : Py_TYPE(op)->tp_name, in _PyObject_Dump()
378 Py_TYPE(v)->tp_name, v); in PyObject_Repr()
398 Py_TYPE(res)->tp_name); in PyObject_Repr()
441 Py_TYPE(res)->tp_name); in _PyObject_Str()
789 vname = v->ob_type->tp_name; in default_3way_compare()
793 wname = w->ob_type->tp_name; in default_3way_compare()
1098 self->ob_type->tp_name); in PyObject_HashNotImplemented()
1191 Py_TYPE(name)->tp_name); in PyObject_GetAttr()
[all …]
Dtypeobject.c215 s = strrchr(type->tp_name, '.'); in type_name()
217 s = type->tp_name; in type_name()
232 "can't set %s.__name__", type->tp_name); in type_set_name()
237 "can't delete %s.__name__", type->tp_name); in type_set_name()
243 type->tp_name, Py_TYPE(value)->tp_name); in type_set_name()
262 type->tp_name = PyString_AS_STRING(value); in type_set_name()
284 s = strrchr(type->tp_name, '.'); in type_module()
287 type->tp_name, (Py_ssize_t)(s - type->tp_name)); in type_module()
297 "can't set %s.__module__", type->tp_name); in type_set_module()
302 "can't delete %s.__module__", type->tp_name); in type_set_module()
[all …]
Dabstract.c17 PyErr_Format(PyExc_TypeError, msg, obj->ob_type->tp_name); in type_error()
365 Py_TYPE(obj)->tp_name); in PyObject_GetBuffer()
751 "or unicode, not %.100s", Py_TYPE(format_spec)->tp_name);
834 Py_TYPE(obj)->tp_name);
857 "unicode, not %.100s", Py_TYPE(obj)->tp_name,
858 Py_TYPE(result)->tp_name);
989 v->ob_type->tp_name,
990 w->ob_type->tp_name);
1154 v->ob_type->tp_name,
1155 w->ob_type->tp_name);
[all …]
Dweakrefobject.c174 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
182 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
291 Py_TYPE(ob)->tp_name); in weakref___new__()
467 Py_TYPE(PyWeakref_GET_OBJECT(proxy))->tp_name, in WRAP_BINARY()
763 Py_TYPE(ob)->tp_name); in PyWeakref_NewRef()
822 Py_TYPE(ob)->tp_name); in PyWeakref_NewProxy()
Dcellobject.c79 op, op->ob_ref->ob_type->tp_name, in cell_repr()
Dmemoryobject.c620 key->ob_type->tp_name); in memory_subscript()
677 key->ob_type->tp_name); in memory_ass_sub()
689 view->obj->ob_type->tp_name, srcview.obj->ob_type->tp_name); in memory_ass_sub()
Dstringobject.c485 Py_TYPE(v)->tp_name); in PyString_AsDecodedString()
565 Py_TYPE(v)->tp_name); in PyString_AsEncodedString()
820 "%.200s found", Py_TYPE(obj)->tp_name); in PyString_AsStringAndSize()
1029 Py_TYPE(bb)->tp_name); in string_concat()
1161 "not %.200s", Py_TYPE(sub_obj)->tp_name); in string_contains()
1353 Py_TYPE(item)->tp_name); in string_subscript()
1643 i, Py_TYPE(item)->tp_name); in string_join()
2943 "unicode, or tuple, not %s", Py_TYPE(subobj)->tp_name); in string_startswith()
2987 "unicode, or tuple, not %s", Py_TYPE(subobj)->tp_name); in string_endswith()
3023 Py_TYPE(v)->tp_name); in string_encode()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Ddescrobject.c28 descr->d_type->tp_name); in descr_repr()
72 descr->d_type->tp_name, in descr_check()
73 obj->ob_type->tp_name); in descr_check()
93 descr->d_type->tp_name); in classmethod_get()
102 descr->d_type->tp_name, in classmethod_get()
103 type->ob_type->tp_name); in classmethod_get()
111 descr->d_type->tp_name, in classmethod_get()
112 ((PyTypeObject *)type)->tp_name); in classmethod_get()
150 descr->d_type->tp_name); in getset_get()
174 descr->d_type->tp_name, in descr_setcheck()
[all …]
Dstructseq.c165 type->tp_name); in structseq_new()
179 type->tp_name, min_len, len); in structseq_new()
187 type->tp_name, max_len, len); in structseq_new()
196 type->tp_name, min_len, len); in structseq_new()
254 len = strlen(typ->tp_name) > TYPE_MAXSIZE ? TYPE_MAXSIZE : in structseq_repr()
255 strlen(typ->tp_name); in structseq_repr()
256 strncpy(pbuf, typ->tp_name, len); in structseq_repr()
497 type->tp_name = desc->name; in PyStructSequence_InitType()
Dobject.c98 tp->tp_name, tp->tp_allocs, tp->tp_frees, in dump_counts()
122 v = Py_BuildValue("(snnn)", tp->tp_name, tp->tp_allocs, in get_counts()
357 Py_TYPE(op)==NULL ? "NULL" : Py_TYPE(op)->tp_name, in _PyObject_Dump()
378 Py_TYPE(v)->tp_name, v); in PyObject_Repr()
398 Py_TYPE(res)->tp_name); in PyObject_Repr()
441 Py_TYPE(res)->tp_name); in _PyObject_Str()
784 vname = v->ob_type->tp_name; in default_3way_compare()
788 wname = w->ob_type->tp_name; in default_3way_compare()
1093 self->ob_type->tp_name); in PyObject_HashNotImplemented()
1184 Py_TYPE(name)->tp_name); in PyObject_GetAttr()
[all …]
Dtypeobject.c215 s = strrchr(type->tp_name, '.'); in type_name()
217 s = type->tp_name; in type_name()
231 "can't set %s.__name__", type->tp_name); in type_set_name()
236 "can't delete %s.__name__", type->tp_name); in type_set_name()
242 type->tp_name, Py_TYPE(value)->tp_name); in type_set_name()
259 type->tp_name = PyString_AS_STRING(value); in type_set_name()
280 s = strrchr(type->tp_name, '.'); in type_module()
283 type->tp_name, (Py_ssize_t)(s - type->tp_name)); in type_module()
293 "can't set %s.__module__", type->tp_name); in type_set_module()
298 "can't delete %s.__module__", type->tp_name); in type_set_module()
[all …]
Dabstract.c17 PyErr_Format(PyExc_TypeError, msg, obj->ob_type->tp_name); in type_error()
365 Py_TYPE(obj)->tp_name); in PyObject_GetBuffer()
751 "or unicode, not %.100s", Py_TYPE(format_spec)->tp_name);
834 Py_TYPE(obj)->tp_name);
857 "unicode, not %.100s", Py_TYPE(obj)->tp_name,
858 Py_TYPE(result)->tp_name);
989 v->ob_type->tp_name,
990 w->ob_type->tp_name);
1154 v->ob_type->tp_name,
1155 w->ob_type->tp_name);
[all …]
Dweakrefobject.c175 Py_TYPE(PyWeakref_GET_OBJECT(self))->tp_name, in weakref_repr()
280 Py_TYPE(ob)->tp_name); in weakref___new__()
456 Py_TYPE(PyWeakref_GET_OBJECT(proxy))->tp_name, in WRAP_BINARY()
752 Py_TYPE(ob)->tp_name); in PyWeakref_NewRef()
811 Py_TYPE(ob)->tp_name); in PyWeakref_NewProxy()
Dcellobject.c79 op, op->ob_ref->ob_type->tp_name, in cell_repr()
Dmemoryobject.c620 key->ob_type->tp_name); in memory_subscript()
677 key->ob_type->tp_name); in memory_ass_sub()
689 view->obj->ob_type->tp_name, srcview.obj->ob_type->tp_name); in memory_ass_sub()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dstringio.c236 Py_TYPE(arg)->tp_name); in stringio_read()
306 Py_TYPE(arg)->tp_name); in stringio_readline()
331 "not '%.200s'", Py_TYPE(line)->tp_name); in stringio_iternext()
378 Py_TYPE(arg)->tp_name); in stringio_truncate()
468 Py_TYPE(obj)->tp_name); in stringio_write()
575 Py_TYPE(value)->tp_name); in stringio_init()
724 Py_TYPE(self)->tp_name, Py_TYPE(state)->tp_name); in stringio_setstate()
760 Py_TYPE(position_obj)->tp_name); in stringio_setstate()
779 Py_TYPE(dict)->tp_name); in stringio_setstate()
Dbytesio.c250 Py_TYPE(arg)->tp_name); in bytesio_read()
319 Py_TYPE(arg)->tp_name); in bytesio_readline()
365 Py_TYPE(arg)->tp_name); in bytesio_readlines()
457 Py_TYPE(arg)->tp_name); in bytesio_truncate()
686 Py_TYPE(self)->tp_name, Py_TYPE(state)->tp_name); in bytesio_setstate()
708 Py_TYPE(position_obj)->tp_name); in bytesio_setstate()
727 Py_TYPE(dict)->tp_name); in bytesio_setstate()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Dstringio.c236 Py_TYPE(arg)->tp_name); in stringio_read()
306 Py_TYPE(arg)->tp_name); in stringio_readline()
331 "not '%.200s'", Py_TYPE(line)->tp_name); in stringio_iternext()
378 Py_TYPE(arg)->tp_name); in stringio_truncate()
468 Py_TYPE(obj)->tp_name); in stringio_write()
575 Py_TYPE(value)->tp_name); in stringio_init()
711 Py_TYPE(self)->tp_name, Py_TYPE(state)->tp_name); in stringio_setstate()
747 Py_TYPE(position_obj)->tp_name); in stringio_setstate()
766 Py_TYPE(dict)->tp_name); in stringio_setstate()
Dbytesio.c240 Py_TYPE(arg)->tp_name); in bytesio_read()
309 Py_TYPE(arg)->tp_name); in bytesio_readline()
355 Py_TYPE(arg)->tp_name); in bytesio_readlines()
447 Py_TYPE(arg)->tp_name); in bytesio_truncate()
676 Py_TYPE(self)->tp_name, Py_TYPE(state)->tp_name); in bytesio_setstate()
698 Py_TYPE(position_obj)->tp_name); in bytesio_setstate()
717 Py_TYPE(dict)->tp_name); in bytesio_setstate()
D_iomodule.c577 item->ob_type->tp_name); in PyNumber_AsOff_t()
601 Py_TYPE(obj)->tp_name); in _PyIO_ConvertSsize_t()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/gdb/
Dlibpython.py244 def __init__(self, tp_name, address): argument
245 self.tp_name = tp_name
254 return '<%s at remote 0x%x>' % (self.tp_name, self.address)
289 tp_name = t.field('tp_name').string()
308 if tp_name in name_map:
309 return name_map[tp_name]
469 tp_name = self.safe_tp_name()
472 return InstanceProxy(tp_name, attr_dict, long(self._gdbval))
486 def __init__(self, tp_name, args): argument
487 self.tp_name = tp_name
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
DPython-ast.c406 Py_TYPE(self)->tp_name, in ast_type_init()
3327 …rmat(PyExc_TypeError, "Module field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_mod()
3363 …PyExc_TypeError, "Interactive field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_mod()
3422 …ormat(PyExc_TypeError, "Suite field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_mod()
3531 …PyExc_TypeError, "FunctionDef field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_stmt()
3556 …Error, "FunctionDef field \"decorator_list\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_stmt()
3608 …t(PyExc_TypeError, "ClassDef field \"bases\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_stmt()
3633 …at(PyExc_TypeError, "ClassDef field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_stmt()
3658 …ypeError, "ClassDef field \"decorator_list\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_stmt()
3717 …t(PyExc_TypeError, "Delete field \"targets\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_stmt()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
DPython-ast.c406 Py_TYPE(self)->tp_name, in ast_type_init()
3344 …rmat(PyExc_TypeError, "Module field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_mod()
3380 …PyExc_TypeError, "Interactive field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_mod()
3439 …ormat(PyExc_TypeError, "Suite field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_mod()
3548 …PyExc_TypeError, "FunctionDef field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_stmt()
3573 …Error, "FunctionDef field \"decorator_list\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_stmt()
3625 …t(PyExc_TypeError, "ClassDef field \"bases\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_stmt()
3650 …at(PyExc_TypeError, "ClassDef field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_stmt()
3675 …ypeError, "ClassDef field \"decorator_list\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_stmt()
3734 …t(PyExc_TypeError, "Delete field \"targets\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_stmt()
[all …]

12345