Home
last modified time | relevance | path

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

12

/external/python/cpython2/Objects/
Dfuncobject.c160 {"func_closure", T_OBJECT, OFF(func_closure),
162 {"__closure__", T_OBJECT, OFF(func_closure),
164 {"func_doc", T_OBJECT, OFF(func_doc), PY_WRITE_RESTRICTED},
165 {"__doc__", T_OBJECT, OFF(func_doc), PY_WRITE_RESTRICTED},
166 {"func_globals", T_OBJECT, OFF(func_globals),
168 {"__globals__", T_OBJECT, OFF(func_globals),
170 {"__module__", T_OBJECT, OFF(func_module), PY_WRITE_RESTRICTED},
666 {"__func__", T_OBJECT, offsetof(classmethod, cm_callable), READONLY},
821 {"__func__", T_OBJECT, offsetof(staticmethod, sm_callable), READONLY},
Dcodeobject.c205 {"co_code", T_OBJECT, OFF(co_code), READONLY},
206 {"co_consts", T_OBJECT, OFF(co_consts), READONLY},
207 {"co_names", T_OBJECT, OFF(co_names), READONLY},
208 {"co_varnames", T_OBJECT, OFF(co_varnames), READONLY},
209 {"co_freevars", T_OBJECT, OFF(co_freevars), READONLY},
210 {"co_cellvars", T_OBJECT, OFF(co_cellvars), READONLY},
211 {"co_filename", T_OBJECT, OFF(co_filename), READONLY},
212 {"co_name", T_OBJECT, OFF(co_name), READONLY},
214 {"co_lnotab", T_OBJECT, OFF(co_lnotab), READONLY},
Dexceptions.c554 {"code", T_OBJECT, offsetof(PySystemExitObject, code), 0,
750 {"errno", T_OBJECT, offsetof(PyEnvironmentErrorObject, myerrno), 0,
752 {"strerror", T_OBJECT, offsetof(PyEnvironmentErrorObject, strerror), 0,
754 {"filename", T_OBJECT, offsetof(PyEnvironmentErrorObject, filename), 0,
981 {"errno", T_OBJECT, offsetof(PyWindowsErrorObject, myerrno), 0,
983 {"strerror", T_OBJECT, offsetof(PyWindowsErrorObject, strerror), 0,
985 {"filename", T_OBJECT, offsetof(PyWindowsErrorObject, filename), 0,
987 {"winerror", T_OBJECT, offsetof(PyWindowsErrorObject, winerror), 0,
1209 {"msg", T_OBJECT, offsetof(PySyntaxErrorObject, msg), 0,
1211 {"filename", T_OBJECT, offsetof(PySyntaxErrorObject, filename), 0,
[all …]
Dsliceobject.c248 {"start", T_OBJECT, offsetof(PySliceObject, start), READONLY},
249 {"stop", T_OBJECT, offsetof(PySliceObject, stop), READONLY},
250 {"step", T_OBJECT, offsetof(PySliceObject, step), READONLY},
Ddescrobject.c360 {"__objclass__", T_OBJECT, offsetof(PyDescrObject, d_type), READONLY},
361 {"__name__", T_OBJECT, offsetof(PyDescrObject, d_name), READONLY},
985 {"__self__", T_OBJECT, offsetof(wrapperobject, self), READONLY},
1162 {"fget", T_OBJECT, offsetof(propertyobject, prop_get), READONLY},
1163 {"fset", T_OBJECT, offsetof(propertyobject, prop_set), READONLY},
1164 {"fdel", T_OBJECT, offsetof(propertyobject, prop_del), READONLY},
1165 {"__doc__", T_OBJECT, offsetof(propertyobject, prop_doc), READONLY},
Dgenobject.c318 {"gi_frame", T_OBJECT, offsetof(PyGenObject, gi_frame), RO},
320 {"gi_code", T_OBJECT, offsetof(PyGenObject, gi_code), RO},
Dframeobject.c18 {"f_back", T_OBJECT, OFF(f_back), RO},
19 {"f_code", T_OBJECT, OFF(f_code), RO},
20 {"f_builtins", T_OBJECT, OFF(f_builtins),RO},
21 {"f_globals", T_OBJECT, OFF(f_globals), RO},
Dmoduleobject.c13 {"__dict__", T_OBJECT, offsetof(PyModuleObject, md_dict), READONLY},
Dclassobject.c2285 {"im_class", T_OBJECT, OFF(im_class), READONLY|RESTRICTED,
2287 {"im_func", T_OBJECT, OFF(im_func), READONLY|RESTRICTED,
2289 {"__func__", T_OBJECT, OFF(im_func), READONLY|RESTRICTED,
2291 {"im_self", T_OBJECT, OFF(im_self), READONLY|RESTRICTED,
2293 {"__self__", T_OBJECT, OFF(im_self), READONLY|RESTRICTED,
Dmethodobject.c197 {"__module__", T_OBJECT, OFF(m_module), PY_WRITE_RESTRICTED},
Dfileobject.c2141 {"mode", T_OBJECT, OFF(f_mode), RO,
2143 {"name", T_OBJECT, OFF(f_name), RO,
2145 {"encoding", T_OBJECT, OFF(f_encoding), RO,
2147 {"errors", T_OBJECT, OFF(f_errors), RO,
Dstructseq.c512 members[k].type = T_OBJECT; in PyStructSequence_InitType()
/external/python/cpython2/Tools/framer/framer/
Dmember.py10 T_OBJECT = "T_OBJECT" variable
31 "PyObject *" : T_OBJECT,
/external/python/cpython2/Modules/_sqlite/
Dconnection.c1632 {"Warning", T_OBJECT, offsetof(pysqlite_Connection, Warning), RO},
1633 {"Error", T_OBJECT, offsetof(pysqlite_Connection, Error), RO},
1634 {"InterfaceError", T_OBJECT, offsetof(pysqlite_Connection, InterfaceError), RO},
1635 {"DatabaseError", T_OBJECT, offsetof(pysqlite_Connection, DatabaseError), RO},
1636 {"DataError", T_OBJECT, offsetof(pysqlite_Connection, DataError), RO},
1637 {"OperationalError", T_OBJECT, offsetof(pysqlite_Connection, OperationalError), RO},
1638 {"IntegrityError", T_OBJECT, offsetof(pysqlite_Connection, IntegrityError), RO},
1639 {"InternalError", T_OBJECT, offsetof(pysqlite_Connection, InternalError), RO},
1640 {"ProgrammingError", T_OBJECT, offsetof(pysqlite_Connection, ProgrammingError), RO},
1641 {"NotSupportedError", T_OBJECT, offsetof(pysqlite_Connection, NotSupportedError), RO},
[all …]
Dcursor.c1057 {"connection", T_OBJECT, offsetof(pysqlite_Cursor, connection), RO},
1058 {"description", T_OBJECT, offsetof(pysqlite_Cursor, description), RO},
1060 {"lastrowid", T_OBJECT, offsetof(pysqlite_Cursor, lastrowid), RO},
1062 {"row_factory", T_OBJECT, offsetof(pysqlite_Cursor, row_factory), 0},
/external/python/cpython2/Python/
Dstructmember.c114 case T_OBJECT: in PyMember_GetOne()
192 else if (l->type != T_OBJECT) { in PyMember_SetOne()
316 case T_OBJECT: in PyMember_SetOne()
Dtraceback.c15 {"tb_next", T_OBJECT, OFF(tb_next), READONLY},
16 {"tb_frame", T_OBJECT, OFF(tb_frame), READONLY},
Dsymtable.c111 {"id", T_OBJECT, OFF(ste_id), READONLY},
112 {"name", T_OBJECT, OFF(ste_name), READONLY},
113 {"symbols", T_OBJECT, OFF(ste_symbols), READONLY},
114 {"varnames", T_OBJECT, OFF(ste_varnames), READONLY},
115 {"children", T_OBJECT, OFF(ste_children), READONLY},
/external/python/cpython2/Modules/
D_json.c45 {"encoding", T_OBJECT, offsetof(PyScannerObject, encoding), READONLY, "encoding"},
46 {"strict", T_OBJECT, offsetof(PyScannerObject, strict), READONLY, "strict"},
47 {"object_hook", T_OBJECT, offsetof(PyScannerObject, object_hook), READONLY, "object_hook"},
48 …{"object_pairs_hook", T_OBJECT, offsetof(PyScannerObject, pairs_hook), READONLY, "object_pairs_hoo…
49 {"parse_float", T_OBJECT, offsetof(PyScannerObject, parse_float), READONLY, "parse_float"},
50 {"parse_int", T_OBJECT, offsetof(PyScannerObject, parse_int), READONLY, "parse_int"},
51 …{"parse_constant", T_OBJECT, offsetof(PyScannerObject, parse_constant), READONLY, "parse_constant"…
70 {"markers", T_OBJECT, offsetof(PyEncoderObject, markers), READONLY, "markers"},
71 {"default", T_OBJECT, offsetof(PyEncoderObject, defaultfn), READONLY, "default"},
72 {"encoder", T_OBJECT, offsetof(PyEncoderObject, encoder), READONLY, "encoder"},
[all …]
D_functoolsmodule.c219 {"func", T_OBJECT, OFF(fn), READONLY,
221 {"args", T_OBJECT, OFF(args), READONLY,
223 {"keywords", T_OBJECT, OFF(kw), READONLY,
Dzipimport.c579 {"archive", T_OBJECT, offsetof(ZipImporter, archive), READONLY},
580 {"prefix", T_OBJECT, offsetof(ZipImporter, prefix), READONLY},
581 {"_files", T_OBJECT, offsetof(ZipImporter, files), READONLY},
D_csv.c880 { "dialect", T_OBJECT, R_OFF(dialect), RO },
1283 { "dialect", T_OBJECT, W_OFF(dialect), RO },
D_sre.c2693 {"pattern", T_OBJECT, PAT_OFF(pattern), READONLY},
2696 {"groupindex", T_OBJECT, PAT_OFF(groupindex), READONLY},
3731 {"string", T_OBJECT, MATCH_OFF(string), READONLY},
3732 {"re", T_OBJECT, MATCH_OFF(pattern), READONLY},
3936 {"pattern", T_OBJECT, SCAN_OFF(pattern), READONLY},
/external/python/cpython2/Doc/c-api/
Dstructures.rst296 T_OBJECT PyObject \*
310 :c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` differ in that
311 :c:macro:`T_OBJECT` returns ``None`` if the member is *NULL* and
313 :c:macro:`T_OBJECT_EX` over :c:macro:`T_OBJECT` because :c:macro:`T_OBJECT_EX`
315 than :c:macro:`T_OBJECT`.
319 :c:macro:`READONLY`. Only :c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX`
/external/python/cpython2/Include/
Dstructmember.h52 #define T_OBJECT 6 macro

12