Lines Matching refs:item
829 print_item (struct cat_item *item) in print_item() argument
831 switch (item->value_type) in print_item()
835 printf ("%s=\"", item->name); in print_item()
836 fputs (nl_langinfo (item->item_id) ? : "", stdout); in print_item()
847 printf ("%s=\"", item->name); in print_item()
849 for (cnt = 0; cnt < item->max - 1; ++cnt) in print_item()
851 val = nl_langinfo (item->item_id + cnt); in print_item()
857 val = nl_langinfo (item->item_id + cnt); in print_item()
869 const char *val = nl_langinfo (item->item_id) ? : ""; in print_item()
872 printf ("%s=", item->name); in print_item()
874 for (int cnt = 0; cnt < item->max && *val != '\0'; ++cnt) in print_item()
887 const char *val = nl_langinfo (item->item_id); in print_item()
890 printf ("%s=", item->name); in print_item()
899 const char *val = nl_langinfo (item->item_id); in print_item()
903 printf ("%s=", item->name); in print_item()
918 val.string = nl_langinfo (item->item_id); in print_item()
920 printf ("%s=", item->name); in print_item()
930 val.string = nl_langinfo (item->item_id); in print_item()
932 printf ("%s=", item->name); in print_item()
934 for (int cnt = 0; cnt < item->max; ++cnt) in print_item()