Home
last modified time | relevance | path

Searched refs:structobj (Results 1 – 3 of 3) 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.c1923 PyObject *structobj = NULL; in struct_get_unpacker() local
1944 structobj = PyObject_CallFunctionObjArgs(Struct, format, NULL); in struct_get_unpacker()
1945 if (structobj == NULL) in struct_get_unpacker()
1948 x->unpack_from = PyObject_GetAttrString(structobj, "unpack_from"); in struct_get_unpacker()
1967 Py_XDECREF(structobj); in struct_get_unpacker()
/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h1805 template<typename T> Offset<const T *> CreateStruct(const T &structobj) {
1808 buf_.push_small(structobj);