Lines Matching refs:l
135 list listNewCopy(list l) /*- copy ctor */ in listNewCopy() argument
139 assert(l != 0); in listNewCopy()
144 ptr = l->head; in listNewCopy()
152 if (ptr == l->cptr) pThis->cptr = c; in listNewCopy()
417 void printlist(list l) in printlist() argument
420 assert(l != 0); in printlist()
421 saved = listPosition(l); in printlist()
425 if (!listIsEmpty(l)) { in printlist()
426 listToFirst(l); in printlist()
428 printf("%d ", (int) listCurrent(l)); in printlist()
429 } while (listNext(l)); in printlist()
434 listPositionAt(l, saved); in printlist()
437 void printstringlist(list l) in printstringlist() argument
440 assert(l != 0); in printstringlist()
441 saved = listPosition(l); in printstringlist()
445 if (!listIsEmpty(l)) { in printstringlist()
446 listToFirst(l); in printstringlist()
448 printf("'%s' ", (char *) listCurrent(l)); in printstringlist()
449 } while (listNext(l)); in printstringlist()
454 listPositionAt(l, saved); in printstringlist()
457 void printstat(list l) in printstat() argument
460 listCount(l), listPosition(l), listIsEmpty(l), listAtFirst(l), listAtLast(l)); in printstat()