Home | History | Annotate | Download | only in MagickCore

Lines Matching refs:next

66     *next;

78 *next;
117 *next;
123 next=(ElementInfo *) AcquireMagickMemory(sizeof(*next));
124 if (next == (ElementInfo *) NULL)
126 next->value=(void *) value;
127 next->next=(ElementInfo *) NULL;
129 if (list_info->next == (ElementInfo *) NULL)
130 list_info->next=next;
132 list_info->head=next;
134 list_info->tail->next=next;
135 list_info->tail=next;
175 *next;
180 next=list_info->head;
181 while (next != (ElementInfo *) NULL)
184 next->value=relinquish_value(next->value);
185 element=next;
186 next=next->next;
191 list_info->next=(ElementInfo *) NULL;
229 *next;
234 for (next=list_info->head; next != (ElementInfo *) NULL; )
237 next->value=relinquish_value(next->value);
238 entry=next;
239 next=next->next;
298 % GetNextValueInLinkedList() gets the next value in the linked-list.
317 if (list_info->next == (ElementInfo *) NULL)
322 value=list_info->next->value;
323 list_info->next=list_info->next->next;
391 *next;
416 next=list_info->head;
418 next=next->next;
419 value=next->value;
456 *next;
468 next=(ElementInfo *) AcquireMagickMemory(sizeof(*next));
469 if (next == (ElementInfo *) NULL)
471 next->value=(void *) value;
472 next->next=(ElementInfo *) NULL;
476 if (list_info->next == (ElementInfo *) NULL)
477 list_info->next=next;
478 list_info->head=next;
479 list_info->tail=next;
485 if (list_info->next == list_info->head)
486 list_info->next=next;
487 next->next=list_info->head;
488 list_info->head=next;
493 if (list_info->next == (ElementInfo *) NULL)
494 list_info->next=next;
495 list_info->tail->next=next;
496 list_info->tail=next;
504 next->next=element->next;
507 element=element->next;
508 next->next=element->next;
510 next=next->next;
511 element->next=next;
512 if (list_info->next == next->next)
513 list_info->next=next;
562 *next;
574 next=(ElementInfo *) AcquireMagickMemory(sizeof(*next));
575 if (next == (ElementInfo *) NULL)
577 next->value=(void *) value;
580 next->next=list_info->head;
581 while (next->next != (ElementInfo *) NULL)
583 i=(ssize_t) compare(value,next->next->value);
588 *replace=next->next->value;
589 next->next=next->next->next;
591 element->next=(ElementInfo *) RelinquishMagickMemory(
592 element->next);
596 element->next=next;
598 list_info->head=next;
601 element=next->next;
602 next->next=next->next->next;
604 if (next->next == (ElementInfo *) NULL)
607 element->next=next;
609 list_info->head=next;
610 list_info->tail=next;
677 *next;
687 next=list_info->head;
688 for (i=0; next != (ElementInfo *) NULL; i++)
690 array[i]=next->value;
691 next=next->next;
734 list_info->next=(ElementInfo *) NULL;
771 *next;
780 if (list_info->next == list_info->head)
781 list_info->next=list_info->head->next;
782 next=list_info->head;
783 list_info->head=list_info->head->next;
784 next=(ElementInfo *) RelinquishMagickMemory(next);
791 next=list_info->head;
792 while ((next->next != (ElementInfo *) NULL) &&
793 (next->next->value != value))
794 next=next->next;
795 if (next->next == (ElementInfo *) NULL)
800 element=next->next;
801 next->next=element->next;
803 list_info->tail=next;
804 if (list_info->next == element)
805 list_info->next=element->next;
844 *next;
859 if (list_info->next == list_info->head)
860 list_info->next=list_info->head->next;
862 next=list_info->head;
863 list_info->head=list_info->head->next;
864 next=(ElementInfo *) RelinquishMagickMemory(next);
871 next=list_info->head;
873 next=next->next;
874 element=next->next;
875 next->next=element->next;
877 list_info->tail=next;
878 if (list_info->next == element)
879 list_info->next=element->next;
921 if (list_info->next == list_info->tail)
922 list_info->next=(ElementInfo *) NULL;
932 *next;
935 next=list_info->head;
936 while (next->next != list_info->tail)
937 next=next->next;
939 list_info->tail=next;
940 next->next=(ElementInfo *) NULL;
977 list_info->next=list_info->head;