Lines Matching defs:curr
692 static void ll_append_tail(CIPHER_ORDER **head, CIPHER_ORDER *curr,
695 if (curr == *tail)
697 if (curr == *head)
698 *head = curr->next;
699 if (curr->prev != NULL)
700 curr->prev->next = curr->next;
701 if (curr->next != NULL)
702 curr->next->prev = curr->prev;
703 (*tail)->next = curr;
704 curr->prev = *tail;
705 curr->next = NULL;
706 *tail = curr;
709 static void ll_append_head(CIPHER_ORDER **head, CIPHER_ORDER *curr,
712 if (curr == *head)
714 if (curr == *tail)
715 *tail = curr->prev;
716 if (curr->next != NULL)
717 curr->next->prev = curr->prev;
718 if (curr->prev != NULL)
719 curr->prev->next = curr->next;
720 (*head)->prev = curr;
721 curr->next = *head;
722 curr->prev = NULL;
723 *head = curr;
973 CIPHER_ORDER *head, *tail, *curr, *next, *last;
999 curr = NULL;
1001 if (curr == last)
1004 curr = next;
1006 if (curr == NULL)
1009 next = reverse ? curr->prev : curr->next;
1011 cp = curr->cipher;
1060 if (!curr->active) {
1061 ll_append_tail(&head, curr, &tail);
1062 curr->active = 1;
1068 if (curr->active) {
1069 ll_append_tail(&head, curr, &tail);
1073 if (curr->active) {
1079 ll_append_head(&head, curr, &tail);
1080 curr->active = 0;
1084 if (head == curr)
1085 head = curr->next;
1087 curr->prev->next = curr->next;
1088 if (tail == curr)
1089 tail = curr->prev;
1090 curr->active = 0;
1091 if (curr->next != NULL)
1092 curr->next->prev = curr->prev;
1093 if (curr->prev != NULL)
1094 curr->prev->next = curr->next;
1095 curr->next = NULL;
1096 curr->prev = NULL;
1108 CIPHER_ORDER *curr;
1116 curr = *head_p;
1117 while (curr != NULL) {
1118 if (curr->active && (curr->cipher->strength_bits > max_strength_bits))
1119 max_strength_bits = curr->cipher->strength_bits;
1120 curr = curr->next;
1133 curr = *head_p;
1134 while (curr != NULL) {
1135 if (curr->active)
1136 number_uses[curr->cipher->strength_bits]++;
1137 curr = curr->next;
1477 CIPHER_ORDER *co_list = NULL, *head = NULL, *tail = NULL, *curr;
1636 for (curr = head; curr != NULL; curr = curr->next) {
1638 if (curr->active
1639 && (!FIPS_mode() || curr->cipher->algo_strength & SSL_FIPS))
1641 if (curr->active)
1644 sk_SSL_CIPHER_push(cipherstack, curr->cipher);
1646 fprintf(stderr, "<%s>\n", curr->cipher->name);