Lines Matching refs:name
50 /* If set print the name of the category. */
53 /* If set print the name of the item. */
75 { "category-name", 'c', NULL, 0, N_("Write names of selected categories") },
76 { "keyword-name", 'k', NULL, 0, N_("Write names of selected keywords") },
117 const char *name;
122 const char *name;
139 #define DEFINE_CATEGORY(category, name, items, postload) \
150 #define DEFINE_CATEGORY(category, name, items, postload) \
151 [category] = { _NL_NUM_##category, name, NELEMS (category##_desc), \
162 /* helper function for extended name handling. */
163 extern void locale_special (const char *name, int show_category_name,
174 static void show_info (const char *name);
360 #define HANDLE(idx, name) \
364 printf ("%9s | %s\n", name, str)
427 #define PUT(name) tsearch (name, &all_data, \
429 #define GET(name) tfind (name, &all_data, \
566 /* Terminate alias name. */
622 char *name;
630 return strcoll (((const struct nameent *) a)->name,
631 ((const struct nameent *) b)->name);
686 names[used].name = addr + namehashtab[cnt].name_offset;
697 PUT (xstrdup (names[cnt].name));
703 names[cnt].name, linebuf);
773 print_assignment (const char *name, const char *val, bool dquote)
775 printf ("%s=", name);
809 const char *name = category[cat_no].name;
810 const char *val = getenv (name);
813 print_assignment (name,
819 print_assignment (name, val, false);
835 printf ("%s=\"", item->name);
847 printf ("%s=\"", item->name);
872 printf ("%s=", item->name);
890 printf ("%s=", item->name);
903 printf ("%s=", item->name);
920 printf ("%s=", item->name);
932 printf ("%s=", item->name);
954 show_info (const char *name)
959 if (strcmp (name, category[cat_no].name) == 0)
963 puts (category[cat_no].name);
974 if (strcmp (name, category[cat_no].item_desc[item_no].name) == 0)
977 puts (category[cat_no].name);
984 /* The name is not a standard one.
986 locale_special (name, show_category_name, show_keyword_name);