Lines Matching refs:self
588 pymelem_dealloc(struct pymelem *self)
590 selem_free(self->melem);
591 self->ob_type->tp_free(self);
773 pymixer_free(struct pymixer *self)
777 for (idx = 0; idx < self->hctl_count; idx++) {
778 snd_mixer_detach_hctl(self->mixer, self->hctl[idx*2]);
779 Py_DECREF((PyObject *)self->hctl[idx*2+1]);
781 if (self->hctl)
782 free(self->hctl);
783 self->hctl_count = 0;
784 self->hctl = NULL;
785 for (idx = 0; idx < self->helem_count; idx++)
786 Py_DECREF((PyObject *)self->helem[idx*2+1]);
787 if (self->helem)
788 free(self->helem);
789 self->helem_count = 0;
790 self->helem = NULL;
791 for (idx = 0; idx < self->melem_count; idx++)
792 Py_DECREF((PyObject *)self->melem[idx*2+1]);
793 if (self->melem)
794 free(self->melem);
795 self->melem_count = 0;
796 self->melem = NULL;
800 pymixer_dealloc(struct pymixer *self)
802 pymixer_free(self);
803 self->ob_type->tp_free(self);