Searched refs:n_elems (Results 1 – 1 of 1) sorted by relevance
245 uint_t n_elems, list_size, long_line = 0; in g11n_getlocales() local257 n_elems = 0; in g11n_getlocales()276 if (n_elems == list_size) { in g11n_getlocales()280 memset(&list[n_elems + 1], 0, in g11n_getlocales()281 sizeof (char *) * (list_size - n_elems + 1)); in g11n_getlocales()285 list[n_elems++] = xstrdup(locale); in g11n_getlocales()290 if (n_elems == 0) { in g11n_getlocales()295 list[n_elems] = NULL; in g11n_getlocales()297 qsort(list, n_elems - 1, sizeof (char *), locale_cmp); in g11n_getlocales()