Searched refs:locname (Results 1 – 8 of 8) sorted by relevance
/titanic_50/usr/src/lib/libc/port/locale/ |
H A D | localeimpl.c | 112 .locname = "C", 206 locdata_get_cache(int category, const char *locname) in locdata_get_cache() argument 217 if ((loc != NULL) && (strcmp(loc->l_lname, locname) == 0)) { in locdata_get_cache() 228 if (strcmp(locname, loc->l_lname) == 0) { in locdata_get_cache() 252 loc = (*loaders[category])(locname); in locdata_get_cache() 255 (void) strlcpy(loc->l_lname, locname, in locdata_get_cache() 283 locdata_get(int category, const char *locname) in locdata_get() argument 290 if (locname == NULL || *locname == 0) { in locdata_get() 291 locname = get_locale_env(category); in locdata_get() 298 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()
|
/titanic_50/usr/src/cmd/localedef/ |
H A D | localedef.c | 44 static char *locname = NULL; variable 77 locname, category_name()); in category_file() 273 locname = argv[argc - 1]; in main() 275 (void) printf(_("Processing locale %s.\n"), locname); in main() 304 while ((dir = opendir(locname)) == NULL) { in main() 306 (mkdir(locname, 0755) < 0)) { in main()
|
/titanic_50/usr/src/cmd/avs/dscfg/ |
H A D | dscfg.c | 79 char *locname; /* config location from cfg_location */ variable 257 if (!locname) in dump_status() 260 (void) printf("%s\n", locname); in dump_status() 263 (void) printf(gettext("Configuration location: %s\n"), locname); in dump_status() 626 locname = cfg_location(config_file, CFG_LOC_SET_CLUSTER, 628 if (locname == NULL) { 639 locname = cfg_location(NULL, 642 if (Cflg && (locname == NULL)) { 648 loc = rflg ? locname : NULL; 688 if (!make_new_config(locname)) { [all …]
|
/titanic_50/usr/src/cmd/backup/restore/ |
H A D | dirs.c | 232 char locname[MAXCOMPLEXLEN]; in treescan() local 251 loclen = complexcpy(locname, pname, MAXCOMPLEXLEN); in treescan() 252 locname[loclen-1] = '/'; in treescan() 273 locname[loclen] = '\0'; in treescan() 274 if ((loclen + dp->d_namlen) >= (sizeof (locname) - 2)) { in treescan() 278 locname, dp->d_name, MAXCOMPLEXLEN); in treescan() 281 (void) strcpy(locname + loclen, dp->d_name); in treescan() 283 locname[loclen+dp->d_namlen+1] = '\0'; in treescan() 284 treescan(locname, dp->d_ino, todo); in treescan() 292 gettext("corrupted directory: %s.\n"), locname); in treescan()
|
/titanic_50/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()
|