Home
last modified time | relevance | path

Searched refs:T_OBJECT (Results 1 – 25 of 38) sorted by relevance

12

/third_party/python/Objects/
Dexceptions.c505 {"value", T_OBJECT, offsetof(PyStopIterationObject, value), 0,
618 {"code", T_OBJECT, offsetof(PySystemExitObject, code), 0,
761 {"msg", T_OBJECT, offsetof(PyImportErrorObject, msg), 0,
763 {"name", T_OBJECT, offsetof(PyImportErrorObject, name), 0,
765 {"path", T_OBJECT, offsetof(PyImportErrorObject, path), 0,
1233 {"errno", T_OBJECT, offsetof(PyOSErrorObject, myerrno), 0,
1235 {"strerror", T_OBJECT, offsetof(PyOSErrorObject, strerror), 0,
1237 {"filename", T_OBJECT, offsetof(PyOSErrorObject, filename), 0,
1239 {"filename2", T_OBJECT, offsetof(PyOSErrorObject, filename2), 0,
1242 {"winerror", T_OBJECT, offsetof(PyOSErrorObject, winerror), 0,
[all …]
Dfuncobject.c291 {"__closure__", T_OBJECT, OFF(func_closure), READONLY},
292 {"__doc__", T_OBJECT, OFF(func_doc), 0},
293 {"__globals__", T_OBJECT, OFF(func_globals), READONLY},
294 {"__module__", T_OBJECT, OFF(func_module), 0},
295 {"__builtins__", T_OBJECT, OFF(func_builtins), READONLY},
864 {"__func__", T_OBJECT, offsetof(classmethod, cm_callable), READONLY},
865 {"__wrapped__", T_OBJECT, offsetof(classmethod, cm_callable), READONLY},
1062 {"__func__", T_OBJECT, offsetof(staticmethod, sm_callable), READONLY},
1063 {"__wrapped__", T_OBJECT, offsetof(staticmethod, sm_callable), READONLY},
Dcodeobject.c390 {"co_code", T_OBJECT, OFF(co_code), READONLY},
391 {"co_consts", T_OBJECT, OFF(co_consts), READONLY},
392 {"co_names", T_OBJECT, OFF(co_names), READONLY},
393 {"co_varnames", T_OBJECT, OFF(co_varnames), READONLY},
394 {"co_freevars", T_OBJECT, OFF(co_freevars), READONLY},
395 {"co_cellvars", T_OBJECT, OFF(co_cellvars), READONLY},
396 {"co_filename", T_OBJECT, OFF(co_filename), READONLY},
397 {"co_name", T_OBJECT, OFF(co_name), READONLY},
399 {"co_linetable", T_OBJECT, OFF(co_linetable), READONLY},
Dclassobject.c147 {"__func__", T_OBJECT, MO_OFF(im_func), READONLY,
149 {"__self__", T_OBJECT, MO_OFF(im_self), READONLY,
402 {"__func__", T_OBJECT, IMO_OFF(func), READONLY,
Dsliceobject.c353 {"start", T_OBJECT, offsetof(PySliceObject, start), READONLY},
354 {"stop", T_OBJECT, offsetof(PySliceObject, stop), READONLY},
355 {"step", T_OBJECT, offsetof(PySliceObject, step), READONLY},
Ddescrobject.c621 {"__objclass__", T_OBJECT, offsetof(PyDescrObject, d_type), READONLY},
622 {"__name__", T_OBJECT, offsetof(PyDescrObject, d_name), READONLY},
1334 {"__self__", T_OBJECT, offsetof(wrapperobject, self), READONLY},
1504 {"fget", T_OBJECT, offsetof(propertyobject, prop_get), READONLY},
1505 {"fset", T_OBJECT, offsetof(propertyobject, prop_set), READONLY},
1506 {"fdel", T_OBJECT, offsetof(propertyobject, prop_del), READONLY},
1507 {"__doc__", T_OBJECT, offsetof(propertyobject, prop_doc), 0},
Dgenobject.c757 {"gi_frame", T_OBJECT, offsetof(PyGenObject, gi_frame), READONLY|PY_AUDIT_READ},
758 {"gi_code", T_OBJECT, offsetof(PyGenObject, gi_code), READONLY|PY_AUDIT_READ},
993 {"cr_frame", T_OBJECT, offsetof(PyCoroObject, cr_frame), READONLY|PY_AUDIT_READ},
994 {"cr_code", T_OBJECT, offsetof(PyCoroObject, cr_code), READONLY|PY_AUDIT_READ},
995 {"cr_origin", T_OBJECT, offsetof(PyCoroObject, cr_origin), READONLY},
1374 {"ag_frame", T_OBJECT, offsetof(PyAsyncGenObject, ag_frame), READONLY|PY_AUDIT_READ},
1377 {"ag_code", T_OBJECT, offsetof(PyAsyncGenObject, ag_code), READONLY|PY_AUDIT_READ},
Dframeobject.c15 {"f_back", T_OBJECT, OFF(f_back), READONLY},
16 {"f_code", T_OBJECT, OFF(f_code), READONLY|PY_AUDIT_READ},
17 {"f_builtins", T_OBJECT, OFF(f_builtins), READONLY},
18 {"f_globals", T_OBJECT, OFF(f_globals), READONLY},
Dnamespaceobject.c14 {"__dict__", T_OBJECT, offsetof(_PyNamespaceObject, ns_dict), READONLY},
Dgenericaliasobject.c556 {"__origin__", T_OBJECT, offsetof(gaobject, origin), READONLY},
557 {"__args__", T_OBJECT, offsetof(gaobject, args), READONLY},
Dunionobject.c351 {"__args__", T_OBJECT, offsetof(unionobject, args), READONLY},
Dmethodobject.c282 {"__module__", T_OBJECT, OFF(m_module), 0},
Dstructseq.c453 members[k].type = T_OBJECT; in initialize_members()
/third_party/python/Python/
Dstructmember.c64 case T_OBJECT: in PyMember_GetOne()
124 else if (l->type != T_OBJECT) { in PyMember_SetOne()
248 case T_OBJECT: in PyMember_SetOne()
Dsymtable.c152 {"id", T_OBJECT, OFF(ste_id), READONLY},
153 {"name", T_OBJECT, OFF(ste_name), READONLY},
154 {"symbols", T_OBJECT, OFF(ste_symbols), READONLY},
155 {"varnames", T_OBJECT, OFF(ste_varnames), READONLY},
156 {"children", T_OBJECT, OFF(ste_children), READONLY},
/third_party/python/Modules/_sqlite/
Dconnection.c1948 {"Warning", T_OBJECT, offsetof(pysqlite_Connection, Warning), READONLY},
1949 {"Error", T_OBJECT, offsetof(pysqlite_Connection, Error), READONLY},
1950 {"InterfaceError", T_OBJECT, offsetof(pysqlite_Connection, InterfaceError), READONLY},
1951 {"DatabaseError", T_OBJECT, offsetof(pysqlite_Connection, DatabaseError), READONLY},
1952 {"DataError", T_OBJECT, offsetof(pysqlite_Connection, DataError), READONLY},
1953 {"OperationalError", T_OBJECT, offsetof(pysqlite_Connection, OperationalError), READONLY},
1954 {"IntegrityError", T_OBJECT, offsetof(pysqlite_Connection, IntegrityError), READONLY},
1955 {"InternalError", T_OBJECT, offsetof(pysqlite_Connection, InternalError), READONLY},
1956 {"ProgrammingError", T_OBJECT, offsetof(pysqlite_Connection, ProgrammingError), READONLY},
1957 {"NotSupportedError", T_OBJECT, offsetof(pysqlite_Connection, NotSupportedError), READONLY},
[all …]
Dcursor.c1010 {"connection", T_OBJECT, offsetof(pysqlite_Cursor, connection), READONLY},
1011 {"description", T_OBJECT, offsetof(pysqlite_Cursor, description), READONLY},
1013 {"lastrowid", T_OBJECT, offsetof(pysqlite_Cursor, lastrowid), READONLY},
1015 {"row_factory", T_OBJECT, offsetof(pysqlite_Cursor, row_factory), 0},
/third_party/python/Modules/
D_json.c42 {"object_hook", T_OBJECT, offsetof(PyScannerObject, object_hook), READONLY, "object_hook"},
43 {"object_pairs_hook", T_OBJECT, offsetof(PyScannerObject, object_pairs_hook), READONLY},
44 {"parse_float", T_OBJECT, offsetof(PyScannerObject, parse_float), READONLY, "parse_float"},
45 {"parse_int", T_OBJECT, offsetof(PyScannerObject, parse_int), READONLY, "parse_int"},
46 …{"parse_constant", T_OBJECT, offsetof(PyScannerObject, parse_constant), READONLY, "parse_constant"…
65 {"markers", T_OBJECT, offsetof(PyEncoderObject, markers), READONLY, "markers"},
66 {"default", T_OBJECT, offsetof(PyEncoderObject, defaultfn), READONLY, "default"},
67 {"encoder", T_OBJECT, offsetof(PyEncoderObject, encoder), READONLY, "encoder"},
68 {"indent", T_OBJECT, offsetof(PyEncoderObject, indent), READONLY, "indent"},
69 … {"key_separator", T_OBJECT, offsetof(PyEncoderObject, key_separator), READONLY, "key_separator"},
[all …]
D_functoolsmodule.c335 {"func", T_OBJECT, OFF(fn), READONLY,
337 {"args", T_OBJECT, OFF(args), READONLY,
339 {"keywords", T_OBJECT, OFF(kw), READONLY,
536 {"obj", T_OBJECT,
D_sre.c2723 {"pattern", T_OBJECT, PAT_OFF(pattern), READONLY,
2782 {"string", T_OBJECT, MATCH_OFF(string), READONLY,
2784 {"re", T_OBJECT, MATCH_OFF(pattern), READONLY,
2832 {"pattern", T_OBJECT, SCAN_OFF(pattern), READONLY},
Dzlibmodule.c1374 {"unused_data", T_OBJECT, COMP_OFF(unused_data), READONLY},
1375 {"unconsumed_tail", T_OBJECT, COMP_OFF(unconsumed_tail), READONLY},
D_csv.c981 { "dialect", T_OBJECT, R_OFF(dialect), READONLY },
1371 { "dialect", T_OBJECT, W_OFF(dialect), READONLY },
/third_party/python/Include/
Dstructmember.h33 #define T_OBJECT 6 macro
/third_party/python/Doc/c-api/
Dstructures.rst429 T_OBJECT PyObject \*
443 :c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` differ in that
444 :c:macro:`T_OBJECT` returns ``None`` if the member is ``NULL`` and
446 :c:macro:`T_OBJECT_EX` over :c:macro:`T_OBJECT` because :c:macro:`T_OBJECT_EX`
448 than :c:macro:`T_OBJECT`.
453 Only :c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX`
/third_party/python/Modules/_io/
Dbufferedio.c2417 {"raw", T_OBJECT, offsetof(buffered, raw), READONLY},
2503 {"raw", T_OBJECT, offsetof(buffered, raw), READONLY},
2674 {"raw", T_OBJECT, offsetof(buffered, raw), READONLY},

12