Searched refs:locname (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | localeimpl.c | 112 .locname = "C", 220 locdata_get_cache(int category, const char *locname) in locdata_get_cache() argument 231 if ((loc != NULL) && (strcmp(loc->l_lname, locname) == 0)) { in locdata_get_cache() 242 if (strcmp(locname, loc->l_lname) == 0) { in locdata_get_cache() 266 loc = (*loaders[category])(locname); in locdata_get_cache() 269 (void) strlcpy(loc->l_lname, locname, in locdata_get_cache() 310 locdata_get(int category, const char *locname) in locdata_get() argument 319 if (locname == NULL || *locname == 0) { in locdata_get() 320 locname = get_locale_env(category); in locdata_get() 327 if ((slash = strchr(locname, '/')) != NULL) { in locdata_get() [all …]
|
H A D | setlocale.c | 68 setlocale(int category, const char *locname) in setlocale() argument 79 if (locname == NULL) in setlocale() 84 loc = newlocale(mask, locname, NULL); in setlocale() 100 if (strcmp(srch->locname, loc->locname) == 0) { in setlocale() 135 return (loc->locname); in current_locale()
|
H A D | localeimpl.h | 61 char locname[(ENCODING_LEN+1)*NLOCDATA + 1]; member
|
H A D | collate.c | 75 __lc_collate_load(const char *locname) in __lc_collate_load() argument 92 _PathLocale, locname); in __lc_collate_load() 146 if ((ldata = __locdata_alloc(locname, sizeof (*lcc))) == NULL) { in __lc_collate_load()
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | localedef.c | 44 static char *locname = NULL; variable 77 locname, category_name()); in category_file() 272 locname = argv[argc - 1]; in main() 274 (void) printf(_("Processing locale %s.\n"), locname); in main() 303 while ((dir = opendir(locname)) == NULL) { in main() 305 (mkdir(locname, 0755) < 0)) { in main()
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | dirs.c | 217 char locname[MAXCOMPLEXLEN]; in treescan() local 236 loclen = complexcpy(locname, pname, MAXCOMPLEXLEN); in treescan() 237 locname[loclen-1] = '/'; in treescan() 258 locname[loclen] = '\0'; in treescan() 259 if ((loclen + dp->d_namlen) >= (sizeof (locname) - 2)) { in treescan() 263 locname, dp->d_name, MAXCOMPLEXLEN); in treescan() 266 (void) strcpy(locname + loclen, dp->d_name); in treescan() 268 locname[loclen+dp->d_namlen+1] = '\0'; in treescan() 269 treescan(locname, dp->d_ino, todo); in treescan() 277 gettext("corrupted directory: %s.\n"), locname); in treescan()
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_loc.c | 303 char *locname; in loc_selectcb() local 308 if (nwam_loc_get_name(loch, &locname) != NWAM_SUCCESS) in loc_selectcb() 310 if (strcmp(locname, NWAM_LOC_NAME_LEGACY) == 0) { in loc_selectcb() 311 free(locname); in loc_selectcb() 314 free(locname); in loc_selectcb()
|