Home
last modified time | relevance | path

Searched refs:metatype (Results 1 – 12 of 12) sorted by relevance

/external/bcc/src/lua/bpf/
Dproto.lua202 ffi.metatype('struct pt_regs', {
300 ffi.metatype(ffi.typeof('struct eth_t'), {
310 ffi.metatype(ffi.typeof('struct net_off_t'), {
317 ffi.metatype(ffi.typeof('struct ip_t'), {
328 ffi.metatype(ffi.typeof('struct ip6_t'), {
340 ffi.metatype(ffi.typeof('struct ip6_opt_t'), {
350 ffi.metatype(ffi.typeof('struct tcp_t'), {
360 ffi.metatype(ffi.typeof('struct udp_t'), {
Delf.lua181 ffi.metatype('struct Elf_object', {
Dcdef.lua193 ffi.metatype('struct bpf_stacktrace', {
/external/python/cpython3/Objects/
Dtypeobject.c2314 _PyType_CalculateMetaclass(PyTypeObject *metatype, PyObject *bases) in _PyType_CalculateMetaclass() argument
2327 winner = metatype; in _PyType_CalculateMetaclass()
2349 type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds) in type_new() argument
2368 if (metatype == &PyType_Type) { in type_new()
2421 winner = _PyType_CalculateMetaclass(metatype, bases); in type_new()
2426 if (winner != metatype) { in type_new()
2429 metatype = winner; in type_new()
2585 type = (PyTypeObject *)metatype->tp_alloc(metatype, nslots); in type_new()
3145 PyTypeObject *metatype = Py_TYPE(type); in type_getattro() local
3167 meta_attribute = _PyType_Lookup(metatype, name); in type_getattro()
[all …]
/external/python/cpython2/Objects/
Dtypeobject.c2094 type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds) in type_new() argument
2113 if (PyType_CheckExact(metatype) && nargs == 1 && nkwds == 0) { in type_new()
2141 winner = metatype; in type_new()
2160 if (winner != metatype) { in type_new()
2163 metatype = winner; in type_new()
2340 type = (PyTypeObject *)metatype->tp_alloc(metatype, nslots); in type_new()
2611 PyTypeObject *metatype = Py_TYPE(type); in type_getattro() local
2633 meta_attribute = _PyType_Lookup(metatype, name); in type_getattro()
2645 (PyObject *)metatype); in type_getattro()
2679 (PyObject *)metatype); in type_getattro()
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst38 metatype) initializes :c:member:`~PyTypeObject.tp_itemsize`, which means that its instances (i.e.
70 This is the type's type, in other words its metatype. It is initialized by the
743 dynamically creating a type object by calling the metatype.
963 (The only example of this are types themselves. The metatype,
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst38 metatype) initializes :c:member:`~PyTypeObject.tp_itemsize`, which means that its instances (i.e.
74 This is the type's type, in other words its metatype. It is initialized by the
833 dynamically creating a type object by calling the metatype.
1060 (The only example of this are types themselves. The metatype,
/external/python/cpython2/Doc/library/
Dinspect.rst523 metatype is in use, cls will be the first element of the tuple.
/external/protobuf/docs/swift/
DDesignDoc.md665 (metatype information in the data segment). This becomes problematic if multiple
/external/python/cpython3/Doc/library/
Dinspect.rst991 metatype is in use, cls will be the first element of the tuple.
/external/python/cpython2/Misc/
DHISTORY5825 - A type can now inherit its metatype from its base type. Previously,
/external/python/cpython3/Misc/
DHISTORY23209 - A type can now inherit its metatype from its base type. Previously,