Lines Matching refs:structobj
304 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()
410 if (structobj == NULL) in pack_single()
413 nmemb = get_nmemb(structobj); in pack_single()
424 pack_into = PyObject_GetAttrString(structobj, "pack_into"); in pack_single()
467 Py_XDECREF(structobj); in pack_single()
660 PyObject *structobj = NULL, *unpack_from = NULL; in ndarray_as_list() local
699 structobj = PyObject_CallFunctionObjArgs(Struct, format, NULL); in ndarray_as_list()
701 if (structobj == NULL) in ndarray_as_list()
704 unpack_from = PyObject_GetAttrString(structobj, "unpack_from"); in ndarray_as_list()
726 Py_XDECREF(structobj); in ndarray_as_list()