Home
last modified time | relevance | path

Searched refs:ctry_code (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/test/tz-tests/tests/
H A Dzoneinfo_dump.c73 cont->ctnt_name, country->ctry_code, name); in dump_timezone()
78 "tz %s/%s/%s file", cont->ctnt_name, country->ctry_code, in dump_timezone()
107 if (mkdirat(cfd, country->ctry_code, 0755) != 0 && errno != EEXIST) { in dump_country()
109 cont->ctnt_name, country->ctry_code); in dump_country()
112 if ((dirfd = openat(cfd, country->ctry_code, O_DIRECTORY)) < 0) { in dump_country()
114 cont->ctnt_name, country->ctry_code); in dump_country()
120 "%s/%s", cont->ctnt_name, country->ctry_code); in dump_country()
126 country->ctry_code); in dump_country()
129 (void) fprintf(f, "name: %s\n", country->ctry_code); in dump_country()
139 cont->ctnt_name, country->ctry_code); in dump_country()
[all …]
H A Dtzlist.c51 "%s/%s", ctnt->ctnt_name, ctry->ctry_code); in main()
/illumos-gate/usr/src/lib/libzoneinfo/common/
H A Dlibzoneinfo.h85 char ctry_code[_CCBUFLEN]; /* country code */ member
H A Dlibzone.c296 (void) strncpy(cp->ctry_code, lp_cc, CCLEN); in get_tz_countries()
297 cp->ctry_code[CCLEN] = '\0'; in get_tz_countries()
344 if ((cmp = strncmp(cp->ctry_code, buff, CCLEN)) == 0) { in get_tz_countries()
492 if (strncmp(country->ctry_code, lp_cc, CCLEN) == 0) { in get_timezones_by_country()