Home
last modified time | relevance | path

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

/external/python/cpython2/Mac/Modules/cf/
Dcfsupport.py281 …Output("static int %s_compare(%s *self, %s *other)", self.prefix, self.objecttype, self.objecttype)
291 Output("static int %s_hash(%s *self)", self.prefix, self.objecttype)
299 Output("static PyObject * %s_repr(%s *self)", self.prefix, self.objecttype)
310 Output("((%s *)self)->ob_itself = NULL;", self.objecttype)
311 Output("((%s *)self)->ob_freeit = CFRelease;", self.objecttype)
321 Output("((%s *)_self)->ob_itself = itself;", self.objecttype)
329 Output("((%s *)_self)->ob_itself = itself;", self.objecttype)
342 Output("static PyObject * %s_repr(%s *self)", self.prefix, self.objecttype)
354 Output("static PyObject * %s_repr(%s *self)", self.prefix, self.objecttype)
366 Output("static PyObject * %s_repr(%s *self)", self.prefix, self.objecttype)
[all …]
/external/python/cpython2/Tools/bgen/bgen/
DbgenObjectDefinition.py25 self.objecttype = name + 'Object'
33 g.setselftype(self.objecttype, self.itselftype)
50 Output("typedef struct %s {", self.objecttype)
55 Output("} %s;", self.objecttype)
104 Output("%s *it;", self.objecttype)
106 Output("it = PyObject_NEW(%s, &%s);", self.objecttype, self.typename)
131 Output("*p_itself = ((%s *)v)->ob_itself;", self.objecttype)
140 Output("static void %s_dealloc(%s *self)", self.prefix, self.objecttype)
160 Output("static PyObject *%s_getattr(%s *self, char *name)", self.prefix, self.objecttype)
200 Output("sizeof(%s), /*tp_basicsize*/", self.objecttype)
[all …]
DbgenGenerator.py26 self.objecttype = "PyObject" # Type of _self argument to function
52 self.prefix, self.name, self.objecttype)
108 self.objecttype = selftype
134 self.objecttype = selftype
/external/python/cpython2/Mac/Modules/file/
Dfilesupport.py506 self.objecttype, self.itselftype)
561 self.objecttype, self.itselftype)
571 self.objecttype, self.itselftype)
601 self.objecttype, self.itselftype)
630 Output("memcpy(&((%s *)_self)->ob_itself, rawdata, rawdatalen);", self.objecttype)
633 Output("if (PyMac_GetFSSpec(v, &((%s *)_self)->ob_itself)) return 0;", self.objecttype)
638 Output("static PyObject * %s_repr(%s *self)", self.prefix, self.objecttype)
674 self.objecttype, self.itselftype)
703 Output("memcpy(&((%s *)_self)->ob_itself, rawdata, rawdatalen);", self.objecttype)
706 Output("if (PyMac_GetFSRef(v, &((%s *)_self)->ob_itself)) return 0;", self.objecttype)
[all …]
/external/python/cpython2/Mac/Modules/res/
Dressupport.py175 Output("((%s *)self)->ob_itself = NULL;", self.objecttype)
176 Output("((%s *)self)->ob_freeit = NULL;", self.objecttype)
188 Output("((%s *)_self)->ob_itself = itself;", self.objecttype)
198 Output("((%s *)_self)->ob_itself = itself;", self.objecttype)
/external/python/cpython2/Mac/Modules/win/
Dwinsupport.py155 …Output("static int %s_compare(%s *self, %s *other)", self.prefix, self.objecttype, self.objecttype)
164 Output("static int %s_hash(%s *self)", self.prefix, self.objecttype)
171 Output("static PyObject * %s_repr(%s *self)", self.prefix, self.objecttype)
/external/python/cpython2/Mac/Modules/dlg/
Ddlgsupport.py214 …Output("static int %s_compare(%s *self, %s *other)", self.prefix, self.objecttype, self.objecttype)
223 Output("static int %s_hash(%s *self)", self.prefix, self.objecttype)
/external/python/cpython2/Mac/Modules/snd/
Dsndsupport.py253 Output("%s *it;", self.objecttype)
255 Output("it = PyObject_NEW(%s, &%s);", self.objecttype, self.typename)
285 Output("*p_itself = &((%s *)v)->ob_spb;", self.objecttype)
/external/python/cpython2/Objects/
Dexceptions.c1549 PyTypeObject *objecttype) in UnicodeError_init() argument
1557 objecttype, &self->object, in UnicodeError_init()
/external/libmtp/src/
Dptp.h2749 uint16_t objecttype, uint64_t objectsize, MTPProperties *props, int nrofprops);
Dptp.c3779 uint16_t objecttype, uint64_t objectsize, MTPProperties *props, int nrofprops) in ptp_mtp_sendobjectproplist() argument
3786 PTP_CNT_INIT(ptp, PTP_OC_MTP_SendObjectPropList, *store, *parenthandle, (uint32_t) objecttype, in ptp_mtp_sendobjectproplist()
/external/protobuf/objectivec/
DGPBUtilities.m155 // Like GPBClearMessageField(), free the memory if an objecttype is set,