Home
last modified time | relevance | path

Searched refs:structobj (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Modules/
D_testbuffer.c304 PyObject *structobj, *pack_into; in pack_from_list() local
315 structobj = PyObject_CallFunctionObjArgs(Struct, format, NULL); in pack_from_list()
316 if (structobj == NULL) in pack_from_list()
320 nmemb = get_nmemb(structobj); in pack_from_list()
323 pack_into = PyObject_GetAttrString(structobj, "pack_into"); in pack_from_list()
325 Py_DECREF(structobj); in pack_from_list()
333 Py_DECREF(structobj); in pack_from_list()
388 Py_DECREF(structobj); in pack_from_list()
397 PyObject *structobj = NULL, *pack_into = NULL, *args = NULL; in pack_single() local
409 structobj = PyObject_CallFunctionObjArgs(Struct, format, NULL); in pack_single()
[all …]
/external/python/cpython3/Objects/
Dmemoryobject.c1954 PyObject *structobj = NULL; in struct_get_unpacker() local
1975 structobj = PyObject_CallOneArg(Struct, format); in struct_get_unpacker()
1976 if (structobj == NULL) in struct_get_unpacker()
1979 x->unpack_from = PyObject_GetAttrString(structobj, "unpack_from"); in struct_get_unpacker()
1998 Py_XDECREF(structobj); in struct_get_unpacker()
/external/python/cffi/c/
D_cffi_backend.c280 PyObject *structobj; member
1834 Py_DECREF(((CDataObject_own_structptr *)cd)->structobj); in cdataowning_dealloc()
1860 PyObject *x = ((CDataObject_own_structptr *)cd)->structobj; in cdataowninggc_dealloc()
1884 PyObject *x = ((CDataObject_own_structptr *)cd)->structobj; in cdataowninggc_traverse()
1903 PyObject *x = cd1->structobj; in cdataowninggc_clear()
1905 cd1->structobj = Py_None; in cdataowninggc_clear()
2091 cd = (CDataObject *)((CDataObject_own_structptr *)cd)->structobj; in _cdata_var_byte_size()
2117 PyObject *x = ((CDataObject_own_structptr *)cd)->structobj; in cdataowninggc_repr()
2568 PyObject *res = ((CDataObject_own_structptr *)cd)->structobj; in cdataowning_subscript()
3178 PyObject *x = ((CDataObject_own_structptr *)cd)->structobj; in cdata_exit()
[all …]
/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h1962 template<typename T> Offset<const T *> CreateStruct(const T &structobj) {
1965 buf_.push_small(structobj);