Lines Matching defs:cbr
682 CallbackPtr cbr;
684 cbr = malloc(sizeof(CallbackRec));
685 if (!cbr)
687 cbr->proc = callback;
688 cbr->data = data;
689 cbr->next = (*pcbl)->list;
690 cbr->deleted = FALSE;
691 (*pcbl)->list = cbr;
702 CallbackPtr cbr, pcbr;
704 for (pcbr = NULL, cbr = cbl->list;
705 cbr != NULL;
706 pcbr = cbr, cbr = cbr->next)
708 if ((cbr->proc == callback) && (cbr->data == data))
711 if (cbr != NULL)
716 cbr->deleted = TRUE;
721 cbl->list = cbr->next;
723 pcbr->next = cbr->next;
724 free(cbr);
737 CallbackPtr cbr, pcbr;
740 for (cbr = cbl->list; cbr != NULL; cbr = cbr->next)
742 (*(cbr->proc)) (pcbl, cbr->data, call_data);
762 for (pcbr = NULL, cbr = cbl->list; (cbr != NULL) && cbl->numDeleted; )
764 if (cbr->deleted)
768 cbr = cbr->next;
770 pcbr->next = cbr;
773 cbr = cbr->next;
775 cbl->list = cbr;
781 pcbr = cbr;
782 cbr = cbr->next;
793 CallbackPtr cbr, nextcbr;
811 for (cbr = cbl->list; cbr != NULL; cbr = nextcbr)
813 nextcbr = cbr->next;
814 free(cbr);