Lines Matching defs:ml
568 static int next_one(array_contents_t * ml)
570 if (ml->next) {
571 ap_assert(ml->upper);
572 *(ml->upper) = ml->next;
584 array_contents_t *ml = (array_contents_t *) param;
585 char **tab = (char **) ml->contents->elts;
587 while (ml->char_index >= ml->length) {
588 if (ml->index >= ml->contents->nelts) {
590 if (ml->next && ml->next->getch && next_one(ml)) {
591 apr_status_t rc = ml->next->getch(ch, ml->next->param);
593 ml->next->line_number++;
598 ml->index++;
599 ml->char_index = 0;
600 ml->length = ml->index >= ml->contents->nelts ?
601 0 : strlen(tab[ml->index]);
604 *ch = tab[ml->index][ml->char_index++];
615 array_contents_t *ml = (array_contents_t *) param;
629 if (next_one(ml)) {
630 ap_assert(ml->next->getstr);
633 ml->next->line_number++;
634 return ml->next->getstr(buf, bufsize, ml->next->param);
650 array_contents_t *ml = (array_contents_t *) param;
652 ml->index = ml->contents->nelts;
653 ml->char_index = ml->length;