Home
last modified time | relevance | path

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

12

/third_party/python/Python/
Dstructmember.c64 case T_OBJECT: in PyMember_GetOne()
119 else if (l->type != T_OBJECT) { in PyMember_SetOne()
243 case T_OBJECT: in PyMember_SetOne()
Dsymtable.c137 {"id", T_OBJECT, OFF(ste_id), READONLY},
138 {"name", T_OBJECT, OFF(ste_name), READONLY},
139 {"symbols", T_OBJECT, OFF(ste_symbols), READONLY},
140 {"varnames", T_OBJECT, OFF(ste_varnames), READONLY},
141 {"children", T_OBJECT, OFF(ste_children), READONLY},
/third_party/python/Objects/
Dcodeobject.c382 {"co_code", T_OBJECT, OFF(co_code), READONLY},
383 {"co_consts", T_OBJECT, OFF(co_consts), READONLY},
384 {"co_names", T_OBJECT, OFF(co_names), READONLY},
385 {"co_varnames", T_OBJECT, OFF(co_varnames), READONLY},
386 {"co_freevars", T_OBJECT, OFF(co_freevars), READONLY},
387 {"co_cellvars", T_OBJECT, OFF(co_cellvars), READONLY},
388 {"co_filename", T_OBJECT, OFF(co_filename), READONLY},
389 {"co_name", T_OBJECT, OFF(co_name), READONLY},
391 {"co_lnotab", T_OBJECT, OFF(co_lnotab), READONLY},
Dexceptions.c502 {"value", T_OBJECT, offsetof(PyStopIterationObject, value), 0,
615 {"code", T_OBJECT, offsetof(PySystemExitObject, code), 0,
758 {"msg", T_OBJECT, offsetof(PyImportErrorObject, msg), 0,
760 {"name", T_OBJECT, offsetof(PyImportErrorObject, name), 0,
762 {"path", T_OBJECT, offsetof(PyImportErrorObject, path), 0,
1229 {"errno", T_OBJECT, offsetof(PyOSErrorObject, myerrno), 0,
1231 {"strerror", T_OBJECT, offsetof(PyOSErrorObject, strerror), 0,
1233 {"filename", T_OBJECT, offsetof(PyOSErrorObject, filename), 0,
1235 {"filename2", T_OBJECT, offsetof(PyOSErrorObject, filename2), 0,
1238 {"winerror", T_OBJECT, offsetof(PyOSErrorObject, winerror), 0,
[all …]
Dfuncobject.c243 {"__closure__", T_OBJECT, OFF(func_closure), READONLY},
244 {"__doc__", T_OBJECT, OFF(func_doc), 0},
245 {"__globals__", T_OBJECT, OFF(func_globals), READONLY},
246 {"__module__", T_OBJECT, OFF(func_module), 0},
766 {"__func__", T_OBJECT, offsetof(classmethod, cm_callable), READONLY},
948 {"__func__", T_OBJECT, offsetof(staticmethod, sm_callable), READONLY},
Dsliceobject.c344 {"start", T_OBJECT, offsetof(PySliceObject, start), READONLY},
345 {"stop", T_OBJECT, offsetof(PySliceObject, stop), READONLY},
346 {"step", T_OBJECT, offsetof(PySliceObject, step), 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,
Dgenobject.c714 {"gi_frame", T_OBJECT, offsetof(PyGenObject, gi_frame), READONLY},
716 {"gi_code", T_OBJECT, offsetof(PyGenObject, gi_code), READONLY},
934 {"cr_frame", T_OBJECT, offsetof(PyCoroObject, cr_frame), READONLY},
936 {"cr_code", T_OBJECT, offsetof(PyCoroObject, cr_code), READONLY},
937 {"cr_origin", T_OBJECT, offsetof(PyCoroObject, cr_origin), READONLY},
1331 {"ag_frame", T_OBJECT, offsetof(PyAsyncGenObject, ag_frame), READONLY},
1334 {"ag_code", T_OBJECT, offsetof(PyAsyncGenObject, ag_code), READONLY},
Ddescrobject.c623 {"__objclass__", T_OBJECT, offsetof(PyDescrObject, d_type), READONLY},
624 {"__name__", T_OBJECT, offsetof(PyDescrObject, d_name), READONLY},
1331 {"__self__", T_OBJECT, offsetof(wrapperobject, self), READONLY},
1500 {"fget", T_OBJECT, offsetof(propertyobject, prop_get), READONLY},
1501 {"fset", T_OBJECT, offsetof(propertyobject, prop_set), READONLY},
1502 {"fdel", T_OBJECT, offsetof(propertyobject, prop_del), READONLY},
1503 {"__doc__", T_OBJECT, offsetof(propertyobject, prop_doc), 0},
Dframeobject.c15 {"f_back", T_OBJECT, OFF(f_back), READONLY},
16 {"f_code", T_OBJECT, OFF(f_code), READONLY},
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.c542 {"__origin__", T_OBJECT, offsetof(gaobject, origin), READONLY},
543 {"__args__", T_OBJECT, offsetof(gaobject, args), READONLY},
Dstructseq.c375 members[k].type = T_OBJECT; in initialize_members()
Dmethodobject.c278 {"__module__", T_OBJECT, OFF(m_module), 0},
/third_party/python/Modules/_sqlite/
Dconnection.c1826 {"Warning", T_OBJECT, offsetof(pysqlite_Connection, Warning), READONLY},
1827 {"Error", T_OBJECT, offsetof(pysqlite_Connection, Error), READONLY},
1828 {"InterfaceError", T_OBJECT, offsetof(pysqlite_Connection, InterfaceError), READONLY},
1829 {"DatabaseError", T_OBJECT, offsetof(pysqlite_Connection, DatabaseError), READONLY},
1830 {"DataError", T_OBJECT, offsetof(pysqlite_Connection, DataError), READONLY},
1831 {"OperationalError", T_OBJECT, offsetof(pysqlite_Connection, OperationalError), READONLY},
1832 {"IntegrityError", T_OBJECT, offsetof(pysqlite_Connection, IntegrityError), READONLY},
1833 {"InternalError", T_OBJECT, offsetof(pysqlite_Connection, InternalError), READONLY},
1834 {"ProgrammingError", T_OBJECT, offsetof(pysqlite_Connection, ProgrammingError), READONLY},
1835 {"NotSupportedError", T_OBJECT, offsetof(pysqlite_Connection, NotSupportedError), READONLY},
[all …]
Dcursor.c903 {"connection", T_OBJECT, offsetof(pysqlite_Cursor, connection), READONLY},
904 {"description", T_OBJECT, offsetof(pysqlite_Cursor, description), READONLY},
906 {"lastrowid", T_OBJECT, offsetof(pysqlite_Cursor, lastrowid), READONLY},
908 {"row_factory", T_OBJECT, offsetof(pysqlite_Cursor, row_factory), 0},
/third_party/python/Include/
Dstructmember.h33 #define T_OBJECT 6 macro
/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.c290 {"func", T_OBJECT, OFF(fn), READONLY,
292 {"args", T_OBJECT, OFF(args), READONLY,
294 {"keywords", T_OBJECT, OFF(kw), READONLY,
503 {"obj", T_OBJECT,
D_sre.c2584 {"pattern", T_OBJECT, PAT_OFF(pattern), READONLY,
2659 {"string", T_OBJECT, MATCH_OFF(string), READONLY,
2661 {"re", T_OBJECT, MATCH_OFF(pattern), READONLY,
2713 {"pattern", T_OBJECT, SCAN_OFF(pattern), READONLY},
Dzlibmodule.c1228 {"unused_data", T_OBJECT, COMP_OFF(unused_data), READONLY},
1229 {"unconsumed_tail", T_OBJECT, COMP_OFF(unconsumed_tail), READONLY},
D_csv.c898 { "dialect", T_OBJECT, R_OFF(dialect), READONLY },
1296 { "dialect", T_OBJECT, W_OFF(dialect), READONLY },
/third_party/python/Doc/c-api/
Dstructures.rst396 T_OBJECT PyObject \*
410 :c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` differ in that
411 :c:macro:`T_OBJECT` returns ``None`` if the member is ``NULL`` and
413 :c:macro:`T_OBJECT_EX` over :c:macro:`T_OBJECT` because :c:macro:`T_OBJECT_EX`
415 than :c:macro:`T_OBJECT`.
420 Only :c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX`
/third_party/boost/libs/python/src/object/
Dclass.cpp413 {const_cast<char*>("__weakref__"), T_OBJECT, offsetof(instance<>, weakrefs), 0, 0},
/third_party/python/Modules/_io/
Dbufferedio.c2406 {"raw", T_OBJECT, offsetof(buffered, raw), READONLY},
2492 {"raw", T_OBJECT, offsetof(buffered, raw), READONLY},
2663 {"raw", T_OBJECT, offsetof(buffered, raw), READONLY},

12