Lines Matching refs:encoding
70 __collate_load_tables_l(const char *encoding, struct xlocale_collate *table);
83 __collate_load(const char *encoding, __unused locale_t unused)
85 if (strcmp(encoding, "C") == 0 || strcmp(encoding, "POSIX") == 0) {
92 if (__collate_load_tables_l(encoding, table) != _LDP_LOADED) {
100 * Load the collation tables for the specified encoding into the global table.
103 __collate_load_tables(const char *encoding)
106 return (__collate_load_tables_l(encoding, &__xlocale_global_collate));
110 __collate_load_tables_l(const char *encoding, struct xlocale_collate *table)
122 /* 'encoding' must be already checked. */
123 if (strcmp(encoding, "C") == 0 || strcmp(encoding, "POSIX") == 0) {
127 asprintf(&buf, "%s/%s/LC_COLLATE", _PathLocale, encoding);