Home
last modified time | relevance | path

Searched refs:pself (Results 1 – 19 of 19) sorted by relevance

/external/cronet/third_party/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc71 static Py_ssize_t Len(PyObject* pself) { in Len() argument
73 reinterpret_cast<RepeatedScalarContainer*>(pself); in Len()
79 static int AssignItem(PyObject* pself, Py_ssize_t index, PyObject* arg) { in AssignItem() argument
81 reinterpret_cast<RepeatedScalarContainer*>(pself); in AssignItem()
184 static PyObject* Item(PyObject* pself, Py_ssize_t index) { in Item() argument
186 reinterpret_cast<RepeatedScalarContainer*>(pself); in Item()
268 static PyObject* Subscript(PyObject* pself, PyObject* slice) { in Subscript() argument
283 length = Len(pself); in Subscript()
295 return Item(pself, from); in Subscript()
310 ScopedPyObjectPtr s(Item(pself, index)); in Subscript()
[all …]
Drepeated_composite_container.cc60 static Py_ssize_t Length(PyObject* pself) { in Length() argument
62 reinterpret_cast<RepeatedCompositeContainer*>(pself); in Length()
116 static PyObject* AppendMethod(PyObject* pself, PyObject* value) { in AppendMethod() argument
118 reinterpret_cast<RepeatedCompositeContainer*>(pself); in AppendMethod()
129 static PyObject* Insert(PyObject* pself, PyObject* args) { in Insert() argument
131 reinterpret_cast<RepeatedCompositeContainer*>(pself); in Insert()
285 static PyObject* Remove(PyObject* pself, PyObject* value) { in Remove() argument
287 reinterpret_cast<RepeatedCompositeContainer*>(pself); in Remove()
311 static PyObject* RichCompare(PyObject* pself, PyObject* other, int opid) { in RichCompare() argument
313 reinterpret_cast<RepeatedCompositeContainer*>(pself); in RichCompare()
[all …]
Dunknown_fields.cc50 static Py_ssize_t Len(PyObject* pself) { in Len() argument
52 reinterpret_cast<PyUnknownFields*>(pself); in Len()
75 static PyObject* Item(PyObject* pself, Py_ssize_t index) { in Item() argument
77 reinterpret_cast<PyUnknownFields*>(pself); in Item()
131 static void Dealloc(PyObject* pself) { in Dealloc() argument
133 reinterpret_cast<PyUnknownFields*>(pself); in Dealloc()
141 auto* py_type = Py_TYPE(pself); in Dealloc()
143 py_type->tp_free(pself); in Dealloc()
303 static void Dealloc(PyObject* pself) { in Dealloc() argument
305 reinterpret_cast<PyUnknownFieldRef*>(pself); in Dealloc()
Dmessage_factory.cc103 static void Dealloc(PyObject* pself) { in Dealloc() argument
104 PyMessageFactory* self = reinterpret_cast<PyMessageFactory*>(pself); in Dealloc()
114 Py_TYPE(self)->tp_free(pself); in Dealloc()
117 static int GcTraverse(PyObject* pself, visitproc visit, void* arg) { in GcTraverse() argument
118 PyMessageFactory* self = reinterpret_cast<PyMessageFactory*>(pself); in GcTraverse()
126 static int GcClear(PyObject* pself) { in GcClear() argument
127 PyMessageFactory* self = reinterpret_cast<PyMessageFactory*>(pself); in GcClear()
Ddescriptor_pool.cc196 static void Dealloc(PyObject* pself) { in Dealloc() argument
197 PyDescriptorPool* self = reinterpret_cast<PyDescriptorPool*>(pself); in Dealloc()
211 Py_TYPE(self)->tp_free(pself); in Dealloc()
214 static int GcTraverse(PyObject* pself, visitproc visit, void* arg) { in GcTraverse() argument
215 PyDescriptorPool* self = reinterpret_cast<PyDescriptorPool*>(pself); in GcTraverse()
220 static int GcClear(PyObject* pself) { in GcClear() argument
221 PyDescriptorPool* self = reinterpret_cast<PyDescriptorPool*>(pself); in GcClear()
578 static PyObject* AddSerializedFile(PyObject* pself, PyObject* serialized_pb) { in AddSerializedFile() argument
579 PyDescriptorPool* self = reinterpret_cast<PyDescriptorPool*>(pself); in AddSerializedFile()
Ddescriptor.cc393 static void Dealloc(PyObject* pself) { in Dealloc() argument
394 PyBaseDescriptor* self = reinterpret_cast<PyBaseDescriptor*>(pself); in Dealloc()
398 Py_TYPE(self)->tp_free(pself); in Dealloc()
401 static int GcTraverse(PyObject* pself, visitproc visit, void* arg) { in GcTraverse() argument
402 PyBaseDescriptor* self = reinterpret_cast<PyBaseDescriptor*>(pself); in GcTraverse()
407 static int GcClear(PyObject* pself) { in GcClear() argument
408 PyBaseDescriptor* self = reinterpret_cast<PyBaseDescriptor*>(pself); in GcClear()
Dextension_dict.cc320 void dealloc(PyObject* pself) { in dealloc() argument
321 ExtensionDict* self = reinterpret_cast<ExtensionDict*>(pself); in dealloc()
Dmessage.cc310 static void Dealloc(PyObject* pself) { in Dealloc() argument
311 CMessageClass* self = reinterpret_cast<CMessageClass*>(pself); in Dealloc()
314 return PyType_Type.tp_dealloc(pself); in Dealloc()
317 static int GcTraverse(PyObject* pself, visitproc visit, void* arg) { in GcTraverse() argument
318 CMessageClass* self = reinterpret_cast<CMessageClass*>(pself); in GcTraverse()
321 return PyType_Type.tp_traverse(pself, visit, arg); in GcTraverse()
324 static int GcClear(PyObject* pself) { in GcClear() argument
327 return PyType_Type.tp_clear(pself); in GcClear()
2525 PyObject* GetAttr(PyObject* pself, PyObject* name) { in GetAttr() argument
2526 CMessage* self = reinterpret_cast<CMessage*>(pself); in GetAttr()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc71 static Py_ssize_t Len(PyObject* pself) { in Len() argument
73 reinterpret_cast<RepeatedScalarContainer*>(pself); in Len()
79 static int AssignItem(PyObject* pself, Py_ssize_t index, PyObject* arg) { in AssignItem() argument
81 reinterpret_cast<RepeatedScalarContainer*>(pself); in AssignItem()
184 static PyObject* Item(PyObject* pself, Py_ssize_t index) { in Item() argument
186 reinterpret_cast<RepeatedScalarContainer*>(pself); in Item()
268 static PyObject* Subscript(PyObject* pself, PyObject* slice) { in Subscript() argument
283 length = Len(pself); in Subscript()
295 return Item(pself, from); in Subscript()
310 ScopedPyObjectPtr s(Item(pself, index)); in Subscript()
[all …]
Drepeated_composite_container.cc60 static Py_ssize_t Length(PyObject* pself) { in Length() argument
62 reinterpret_cast<RepeatedCompositeContainer*>(pself); in Length()
116 static PyObject* AppendMethod(PyObject* pself, PyObject* value) { in AppendMethod() argument
118 reinterpret_cast<RepeatedCompositeContainer*>(pself); in AppendMethod()
129 static PyObject* Insert(PyObject* pself, PyObject* args) { in Insert() argument
131 reinterpret_cast<RepeatedCompositeContainer*>(pself); in Insert()
285 static PyObject* Remove(PyObject* pself, PyObject* value) { in Remove() argument
287 reinterpret_cast<RepeatedCompositeContainer*>(pself); in Remove()
311 static PyObject* RichCompare(PyObject* pself, PyObject* other, int opid) { in RichCompare() argument
313 reinterpret_cast<RepeatedCompositeContainer*>(pself); in RichCompare()
[all …]
Dunknown_fields.cc50 static Py_ssize_t Len(PyObject* pself) { in Len() argument
52 reinterpret_cast<PyUnknownFields*>(pself); in Len()
75 static PyObject* Item(PyObject* pself, Py_ssize_t index) { in Item() argument
77 reinterpret_cast<PyUnknownFields*>(pself); in Item()
131 static void Dealloc(PyObject* pself) { in Dealloc() argument
133 reinterpret_cast<PyUnknownFields*>(pself); in Dealloc()
141 auto* py_type = Py_TYPE(pself); in Dealloc()
143 py_type->tp_free(pself); in Dealloc()
303 static void Dealloc(PyObject* pself) { in Dealloc() argument
305 reinterpret_cast<PyUnknownFieldRef*>(pself); in Dealloc()
Dunknown_field_set.cc51 static Py_ssize_t Len(PyObject* pself) { in Len() argument
52 PyUnknownFieldSet* self = reinterpret_cast<PyUnknownFieldSet*>(pself); in Len()
62 static PyObject* Item(PyObject* pself, Py_ssize_t index) { in Item() argument
63 PyUnknownFieldSet* self = reinterpret_cast<PyUnknownFieldSet*>(pself); in Item()
132 static void Dealloc(PyObject* pself) { in Dealloc() argument
133 PyUnknownFieldSet* self = reinterpret_cast<PyUnknownFieldSet*>(pself); in Dealloc()
139 auto* py_type = Py_TYPE(pself); in Dealloc()
141 py_type->tp_free(pself); in Dealloc()
296 static void Dealloc(PyObject* pself) { in Dealloc() argument
297 PyUnknownField* self = reinterpret_cast<PyUnknownField*>(pself); in Dealloc()
Dmessage_factory.cc103 static void Dealloc(PyObject* pself) { in Dealloc() argument
104 PyMessageFactory* self = reinterpret_cast<PyMessageFactory*>(pself); in Dealloc()
114 Py_TYPE(self)->tp_free(pself); in Dealloc()
117 static int GcTraverse(PyObject* pself, visitproc visit, void* arg) { in GcTraverse() argument
118 PyMessageFactory* self = reinterpret_cast<PyMessageFactory*>(pself); in GcTraverse()
126 static int GcClear(PyObject* pself) { in GcClear() argument
127 PyMessageFactory* self = reinterpret_cast<PyMessageFactory*>(pself); in GcClear()
Ddescriptor_pool.cc196 static void Dealloc(PyObject* pself) { in Dealloc() argument
197 PyDescriptorPool* self = reinterpret_cast<PyDescriptorPool*>(pself); in Dealloc()
211 Py_TYPE(self)->tp_free(pself); in Dealloc()
214 static int GcTraverse(PyObject* pself, visitproc visit, void* arg) { in GcTraverse() argument
215 PyDescriptorPool* self = reinterpret_cast<PyDescriptorPool*>(pself); in GcTraverse()
220 static int GcClear(PyObject* pself) { in GcClear() argument
221 PyDescriptorPool* self = reinterpret_cast<PyDescriptorPool*>(pself); in GcClear()
578 static PyObject* AddSerializedFile(PyObject* pself, PyObject* serialized_pb) { in AddSerializedFile() argument
579 PyDescriptorPool* self = reinterpret_cast<PyDescriptorPool*>(pself); in AddSerializedFile()
Ddescriptor.cc393 static void Dealloc(PyObject* pself) { in Dealloc() argument
394 PyBaseDescriptor* self = reinterpret_cast<PyBaseDescriptor*>(pself); in Dealloc()
398 Py_TYPE(self)->tp_free(pself); in Dealloc()
401 static int GcTraverse(PyObject* pself, visitproc visit, void* arg) { in GcTraverse() argument
402 PyBaseDescriptor* self = reinterpret_cast<PyBaseDescriptor*>(pself); in GcTraverse()
407 static int GcClear(PyObject* pself) { in GcClear() argument
408 PyBaseDescriptor* self = reinterpret_cast<PyBaseDescriptor*>(pself); in GcClear()
Dextension_dict.cc320 void dealloc(PyObject* pself) { in dealloc() argument
321 ExtensionDict* self = reinterpret_cast<ExtensionDict*>(pself); in dealloc()
Dmessage.cc311 static void Dealloc(PyObject* pself) { in Dealloc() argument
312 CMessageClass* self = reinterpret_cast<CMessageClass*>(pself); in Dealloc()
315 return PyType_Type.tp_dealloc(pself); in Dealloc()
318 static int GcTraverse(PyObject* pself, visitproc visit, void* arg) { in GcTraverse() argument
319 CMessageClass* self = reinterpret_cast<CMessageClass*>(pself); in GcTraverse()
322 return PyType_Type.tp_traverse(pself, visit, arg); in GcTraverse()
325 static int GcClear(PyObject* pself) { in GcClear() argument
328 return PyType_Type.tp_clear(pself); in GcClear()
2526 PyObject* GetAttr(PyObject* pself, PyObject* name) { in GetAttr() argument
2527 CMessage* self = reinterpret_cast<CMessage*>(pself); in GetAttr()
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor_bridge.cc75 static void TensorReleaser_dealloc(PyObject* pself) { in TensorReleaser_dealloc() argument
76 TensorReleaser* self = reinterpret_cast<TensorReleaser*>(pself); in TensorReleaser_dealloc()
79 TensorReleaserType.tp_free(pself); in TensorReleaser_dealloc()
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py589 pself, pargs = t.pop[0], t.pop[1:]
592 pfunc = "p_func: %s.%s(" % (repr(pself), t.funcname)
788 pself = t.pop[0]
790 t.rp = getattr(pself, t.funcname)(*pargs)