Lines Matching refs:sl
2405 register struct stringlist *sl; in decode_switches() local
2471 sl = *(struct stringlist **) cs->value_ptr; in decode_switches()
2472 if (sl == 0) in decode_switches()
2474 sl = (struct stringlist *) in decode_switches()
2476 sl->max = 5; in decode_switches()
2477 sl->idx = 0; in decode_switches()
2478 sl->list = (char **) xmalloc (5 * sizeof (char *)); in decode_switches()
2479 *(struct stringlist **) cs->value_ptr = sl; in decode_switches()
2481 else if (sl->idx == sl->max - 1) in decode_switches()
2483 sl->max += 5; in decode_switches()
2484 sl->list = (char **) in decode_switches()
2485 xrealloc ((char *) sl->list, in decode_switches()
2486 sl->max * sizeof (char *)); in decode_switches()
2488 sl->list[sl->idx++] = optarg; in decode_switches()
2489 sl->list[sl->idx] = 0; in decode_switches()
2766 struct stringlist *sl = *(struct stringlist **) cs->value_ptr; in define_makeflags() local
2767 if (sl != 0) in define_makeflags()
2772 register unsigned int i = sl->idx; in define_makeflags()
2774 ADD_FLAG (sl->list[i], strlen (sl->list[i])); in define_makeflags()