Lines Matching defs:current
106 aliasitem_t current;
113 current = list->first_item;
114 while (current != NULL) {
115 if (current->pattern != NULL) {
116 free(current->pattern);
118 if (current->encoding != NULL) {
119 free(current->encoding);
121 next = current->next;
122 free(current);
123 current = next;
246 aliasitem_t current;
256 current = list->first_item;
257 while (current != NULL) {
259 DUMP(("current pattern: %s, encoding: %s\n",
260 current->pattern, current->encoding));
262 if (match(current->pattern, pattern)) {
263 *encodingp = current->encoding;
266 current = current->next;