/external/python/cpython2/Objects/ |
D | descrobject.c | 28 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 …]
|
D | structseq.c | 165 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()
|
D | object.c | 98 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() 403 Py_TYPE(res)->tp_name); in PyObject_Repr() 446 Py_TYPE(res)->tp_name); in _PyObject_Str() 794 vname = v->ob_type->tp_name; in default_3way_compare() 798 wname = w->ob_type->tp_name; in default_3way_compare() 1103 self->ob_type->tp_name); in PyObject_HashNotImplemented() 1196 Py_TYPE(name)->tp_name); in PyObject_GetAttr() [all …]
|
D | typeobject.c | 235 s = strrchr(type->tp_name, '.'); in type_name() 237 s = type->tp_name; in type_name() 252 "can't set %s.__name__", type->tp_name); in type_set_name() 257 "can't delete %s.__name__", type->tp_name); in type_set_name() 263 type->tp_name, Py_TYPE(value)->tp_name); in type_set_name() 282 type->tp_name = PyString_AS_STRING(value); in type_set_name() 304 s = strrchr(type->tp_name, '.'); in type_module() 307 type->tp_name, (Py_ssize_t)(s - type->tp_name)); in type_module() 317 "can't set %s.__module__", type->tp_name); in type_set_module() 322 "can't delete %s.__module__", type->tp_name); in type_set_module() [all …]
|
D | abstract.c | 17 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 …]
|
/external/python/cpython3/Objects/ |
D | object.c | 139 tp->tp_name, tp->tp_allocs, tp->tp_frees, in _Py_dump_counts() 163 v = Py_BuildValue("(snnn)", tp->tp_name, tp->tp_allocs, in _Py_get_counts() 419 s->ob_type->tp_name); in PyObject_Print() 487 type==NULL ? "NULL" : type->tp_name); in _PyObject_Dump() 523 v->ob_type->tp_name, v); in PyObject_Repr() 543 res->ob_type->tp_name); in PyObject_Repr() 597 Py_TYPE(res)->tp_name); in PyObject_Str() 658 Py_TYPE(result)->tp_name); in PyObject_Bytes() 747 v->ob_type->tp_name, in do_richcompare() 748 w->ob_type->tp_name); in do_richcompare() [all …]
|
D | descrobject.c | 40 return PyUnicode_FromFormat(format, name, "?", descr->d_type->tp_name); in descr_repr() 84 descr->d_type->tp_name, in descr_check() 85 obj->ob_type->tp_name); in descr_check() 105 PyDescr_TYPE(descr)->tp_name); in classmethod_get() 114 PyDescr_TYPE(descr)->tp_name, in classmethod_get() 115 type->ob_type->tp_name); in classmethod_get() 123 PyDescr_TYPE(descr)->tp_name, in classmethod_get() 124 ((PyTypeObject *)type)->tp_name); in classmethod_get() 170 PyDescr_TYPE(descr)->tp_name); in getset_get() 194 descr->d_type->tp_name, in descr_setcheck() [all …]
|
D | typeobject.c | 411 "can't set %s.%s", type->tp_name, name); in check_set_special_type_attr() 416 "can't delete %s.%s", type->tp_name, name); in check_set_special_type_attr() 431 const char *s = strrchr(type->tp_name, '.'); in _PyType_Name() 433 s = type->tp_name; in _PyType_Name() 471 const char *tp_name; in type_set_name() local 479 type->tp_name, Py_TYPE(value)->tp_name); in type_set_name() 483 tp_name = PyUnicode_AsUTF8AndSize(value, &name_size); in type_set_name() 484 if (tp_name == NULL) in type_set_name() 486 if (strlen(tp_name) != (size_t)name_size) { in type_set_name() 492 type->tp_name = tp_name; in type_set_name() [all …]
|
D | structseq.c | 130 type->tp_name); in structseq_new_impl() 144 type->tp_name, min_len, len); in structseq_new_impl() 152 type->tp_name, max_len, len); in structseq_new_impl() 161 type->tp_name, min_len, len); in structseq_new_impl() 201 PyObject *type_name = PyUnicode_DecodeUTF8(typ->tp_name, in structseq_repr() 202 strlen(typ->tp_name), in structseq_repr() 236 " for type %.500s", i, typ->tp_name); in structseq_repr() 402 type->tp_name = desc->name; in PyStructSequence_InitType2()
|
D | abstract.c | 16 PyErr_Format(PyExc_TypeError, msg, obj->ob_type->tp_name); in type_error() 126 Py_TYPE(result)->tp_name); in PyObject_LengthHint() 361 Py_TYPE(obj)->tp_name); in PyObject_GetBuffer() 708 Py_TYPE(format_spec)->tp_name); in PyObject_Format() 735 Py_TYPE(obj)->tp_name); in PyObject_Format() 746 Py_TYPE(result)->tp_name); in PyObject_Format() 829 v->ob_type->tp_name, in binop_type_error() 830 w->ob_type->tp_name); in binop_type_error() 850 v->ob_type->tp_name, in binary_op() 851 w->ob_type->tp_name); in binary_op() [all …]
|
D | picklebufobject.c | 43 Py_TYPE(obj)->tp_name); in PyPickleBuffer_GetBuffer() 62 Py_TYPE(obj)->tp_name); in PyPickleBuffer_Release() 208 .tp_name = "pickle.PickleBuffer",
|
/external/python/cpython3/Tools/gdb/ |
D | libpython.py | 274 tp_name = ob_type.field('tp_name') 275 return tp_name.string() 306 def __init__(self, tp_name, address): argument 307 self.tp_name = tp_name 316 return '<%s at remote 0x%x>' % (self.tp_name, self.address) 351 tp_name = t.field('tp_name').string() 372 if tp_name in name_map: 373 return name_map[tp_name] 537 tp_name = self.safe_tp_name() 540 return InstanceProxy(tp_name, attr_dict, long(self._gdbval)) [all …]
|
/external/python/cpython2/Modules/_io/ |
D | stringio.c | 236 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()
|
D | bytesio.c | 250 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()
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 245 tp_name = ob_type.field('tp_name') 246 return tp_name.string() 277 def __init__(self, tp_name, address): argument 278 self.tp_name = tp_name 287 return '<%s at remote 0x%x>' % (self.tp_name, self.address) 322 tp_name = t.field('tp_name').string() 344 if tp_name in name_map: 345 return name_map[tp_name] 509 tp_name = self.safe_tp_name() 512 return InstanceProxy(tp_name, attr_dict, long(self._gdbval)) [all …]
|
/external/python/cpython3/Modules/_io/ |
D | stringio.c | 416 "not '%.200s'", Py_TYPE(line)->tp_name); in stringio_iternext() 542 Py_TYPE(obj)->tp_name); in _io_StringIO_write() 665 Py_TYPE(newline_obj)->tp_name); in _io_StringIO___init___impl() 684 Py_TYPE(value)->tp_name); in _io_StringIO___init___impl() 860 Py_TYPE(self)->tp_name, Py_TYPE(state)->tp_name); in stringio_setstate() 907 Py_TYPE(position_obj)->tp_name); in stringio_setstate() 926 Py_TYPE(dict)->tp_name); in stringio_setstate()
|
/external/python/pybind11/include/pybind11/detail/ |
D | class.h | 66 type->tp_name = name; in make_static_property_type() 180 type->tp_name = name; in make_default_metaclass() 284 msg += type->tp_name; in pybind11_object_init() 389 type->tp_name = name; in make_object_base_type() 424 Py_TYPE(new_dict)->tp_name); in pybind11_set_dict() 452 pybind11_fail(std::string(type->tp_name) + ": dynamic attributes are " in enable_dynamic_attributes() 581 type->tp_name = full_name; in make_new_python_type()
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | task_fd_query_tp.c | 5 const char *tp_name) in test_task_fd_query_tp_core() argument 60 err = (fd_type == BPF_FD_TYPE_TRACEPOINT) && !strcmp(buf, tp_name); in test_task_fd_query_tp_core()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_util.cc | 43 return reinterpret_cast<PyTypeObject*>(py)->tp_name; in ClassName() 45 return Py_TYPE(py)->tp_name; in ClassName()
|
/external/igt-gpu-tools/scripts/ |
D | trace.pl | 352 my $tp_name; 362 $tp_name = $fields[4]; 393 if ($tp_name eq 'i915:i915_request_wait_begin:') { 405 } elsif ($tp_name eq 'i915:i915_request_wait_end:') { 419 } elsif ($tp_name eq 'i915:i915_request_add:') { 434 } elsif ($tp_name eq 'i915:i915_request_submit:') { 440 } elsif ($tp_name eq 'i915:i915_request_in:') { 490 } elsif ($tp_name eq 'i915:i915_request_out:') { 506 } elsif ($tp_name eq 'dma_fence:dma_fence_signaled:') { 516 } elsif ($tp_name eq 'i915:intel_gpu_freq_change:') {
|
/external/python/cpython2/Mac/Modules/cf/ |
D | pycfbridge.c | 168 src->ob_type->tp_name); in PyCF_Python2CF_sequence() 207 src->ob_type->tp_name); in PyCF_Python2CF_mapping() 274 src->ob_type->tp_name); in PyCF_Python2CF_simple() 301 src->ob_type->tp_name); in PyCF_Python2CF_string()
|
/external/bcc/src/cc/includes/ |
D | libbpf.h | 83 const char *tp_name); 84 int bpf_detach_tracepoint(const char *tp_category, const char *tp_name); 86 int bpf_attach_raw_tracepoint(int progfd, char *tp_name);
|
/external/bcc/src/cc/ |
D | libbpf.h | 83 const char *tp_name); 84 int bpf_detach_tracepoint(const char *tp_category, const char *tp_name); 86 int bpf_attach_raw_tracepoint(int progfd, char *tp_name);
|
/external/python/cpython3/Modules/ |
D | _operator.c | 836 Py_TYPE(a)->tp_name, Py_TYPE(b)->tp_name); in _operator__compare_digest_impl() 1062 return PyUnicode_FromFormat("%s(...)", Py_TYPE(ig)->tp_name); in itemgetter_repr() 1066 repr = PyUnicode_FromFormat(reprfmt, Py_TYPE(ig)->tp_name, ig->item); in itemgetter_repr() 1390 return PyUnicode_FromFormat("%s(...)", Py_TYPE(ag)->tp_name); in attrgetter_repr() 1397 repr = PyUnicode_FromFormat("%s(%R)", Py_TYPE(ag)->tp_name, attr); in attrgetter_repr() 1406 Py_TYPE(ag)->tp_name, attrstrings); in attrgetter_repr() 1582 return PyUnicode_FromFormat("%s(...)", Py_TYPE(mc)->tp_name); in methodcaller_repr() 1590 repr = PyUnicode_FromFormat("%s(%R)", Py_TYPE(mc)->tp_name, mc->name); in methodcaller_repr() 1639 repr = PyUnicode_FromFormat("%s(%R, %U)", Py_TYPE(mc)->tp_name, in methodcaller_repr()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tensor.cc | 68 Py_TYPE(py_context_handle.get())->tp_name) in GetContextHandle() 141 "Expecting a DataType value for dtype. Got ", Py_TYPE(obj)->tp_name) in ConvertDataType() 888 "TFE_InitEagerTensor. Got ", Py_TYPE(base_class)->tp_name) in TFE_Py_InitEagerTensor() 900 Py_TYPE(base_class)->tp_name, in TFE_Py_InitEagerTensor() 910 Py_TYPE(base_class)->tp_name, in TFE_Py_InitEagerTensor() 990 Py_TYPE(tensors)->tp_name, "\"") in TFE_Py_TensorShapeSlice() 1018 i, " has type \"", Py_TYPE(tensor_obj)->tp_name, "\"") in TFE_Py_TensorShapeSlice() 1064 Py_TYPE(tensor)->tp_name, "\"") in TFE_Py_TensorShapeOnDevice()
|