| /illumos-gate/usr/src/pkg/manifests/ |
| H A D | system-test-tztest.p5m | 28 dir path=opt/tz-tests 29 dir path=opt/tz-tests 30 file path=opt/tz-tests/README mode=0444 31 dir path=opt/tz-tests/bin 32 file path=opt/tz-tests/bin/tz-test mode=0555 33 dir path=opt/tz-tests/runfiles 34 file path=opt/tz-tests/runfiles/default.run mode=0444 35 dir path=opt/tz-tests/tests 36 file path=opt/tz-tests/tests/basic_tzs mode=0555 37 file path=opt/tz-tests/tests/strftime_18091.32 mode=0555 [all …]
|
| /illumos-gate/usr/src/cmd/sendmail/src/ |
| H A D | arpadate.c | 66 char *tz; variable 149 tz = NULL; 151 tz = lt->tm_name; 154 tz = lt->tm_zone; 161 tz = tzname[1]; 163 tz = tzname[0]; 165 tz = NULL; 172 tz = timezone(off, lt->tm_isdst); 191 if (tz != NULL && *tz != '\0') 195 while (*tz != '\0' && q < &b[sizeof(b) - 3]) [all …]
|
| /illumos-gate/usr/src/test/tz-tests/tests/ |
| H A D | zoneinfo_dump.c | 54 const struct tz_country *country, const struct tz_timezone *tz) in dump_timezone() argument 60 name = strdup(tz->tz_name); in dump_timezone() 63 tz->tz_name); in dump_timezone() 82 (void) fprintf(f, "name: %s\n", tz->tz_name); in dump_timezone() 83 (void) fprintf(f, "oname: %s\n", tz->tz_oname); in dump_timezone() 84 (void) fprintf(f, "id: %s\n", tz->tz_id_desc); in dump_timezone() 85 (void) fprintf(f, "desc: %s\n", tz->tz_display_desc); in dump_timezone() 86 (void) fprintf(f, "lat: %d.%u.%u.%u\n", tz->tz_coord.lat_sign, in dump_timezone() 87 tz->tz_coord.lat_degree, tz->tz_coord.lat_minute, in dump_timezone() 88 tz->tz_coord.lat_second); in dump_timezone() [all …]
|
| H A D | tzlist.c | 54 for (struct tz_timezone *tz = zones; tz != NULL; in main() local 55 tz = tz->tz_next) { in main() 56 (void) printf("%s\n", tz->tz_name); in main()
|
| H A D | tz_dump.ksh | 90 typeset tz="$1" 91 typeset dir="$lc_out/$tz" 97 printf "Dumping %s\n" "$tz" 99 TZ=$tz mdb $lc_dir/tzload.32 > "$dir/libc-out.32" \ 114 TZ=$tz mdb $lc_dir/tzload.64 > "$dir/libc-out.64" \ 131 $lc_prog -v $tz 2>&1 >"$dir/zdump"
|
| /illumos-gate/usr/src/cmd/zdump/ |
| H A D | zdump.c | 226 mktime_z(timezone_t tz, struct tm *tmp) in mktime_z() argument 345 my_localtime_rz(timezone_t tz, time_t *tp, struct tm *tmp) in my_localtime_rz() argument 347 tmp = localtime_rz(tz, tp, tmp); in my_localtime_rz() 353 t = mktime_z(tz, &tm); in my_localtime_rz() 589 timezone_t tz = tzalloc(strcmp(argv[i], "-") == 0 in main() local 595 if (!tz) { in main() 602 show(tz, argv[i], now, false); in main() 603 tzfree(tz); in main() 609 show(tz, argv[i], t, true); in main() 610 if (my_localtime_rz(tz, &t, &tm) == NULL in main() [all …]
|
| /illumos-gate/usr/src/ucblib/libucb/port/gen/ |
| H A D | ftime.c | 53 struct timezone tz; in ftime() local 55 if (gettimeofday(&t, &tz) < 0) in ftime() 59 tp->timezone = (short)tz.tz_minuteswest; in ftime() 60 tp->dstflag = (short)tz.tz_dsttime; in ftime()
|
| /illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
| H A D | base64.c | 51 base64encode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) in base64encode() argument 73 te = tp + tz - B64_EC + 1; in base64encode() 162 base64decode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) in base64decode() argument 188 te = tp + tz; in base64decode() 189 if (tz > 2) in base64decode() 190 tz = 2; in base64decode() 191 tx = te - tz; in base64decode()
|
| /illumos-gate/usr/src/test/tz-tests/runfiles/ |
| H A D | default.run | 28 [/opt/tz-tests/tests/basic_tzs] 29 [/opt/tz-tests/tests/strftime_18091.32] 30 [/opt/tz-tests/tests/strftime_18091.64] 31 [/opt/tz-tests/tests/tzname_17947]
|
| H A D | Makefile | 20 ROOTOPTPKG = $(ROOT)/opt/tz-tests
|
| /illumos-gate/usr/src/cmd/rtc/ |
| H A D | rtc.c | 49 static char tz[256] = "TZ="; variable 171 tz[3] = 0; in get_local() 172 (void) strncat(tz, z, 253); in get_local() 174 (void) fprintf(stderr, "Time Zone string is '%s'\n", tz); in get_local() 176 (void) putenv(tz); in get_local()
|
| /illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
| H A D | iconv.c | 264 size_t tz; in _win_iconv() local 280 fz = tz = (*fn < *tn) ? *fn : *tn; in _win_iconv() 294 …if ((tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, *tn)) && tz <… in _win_iconv() 297 tz *= sizeof(WCHAR); in _win_iconv() 311 while (!(tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)fz, (LPWSTR)*tb, 0))) in _win_iconv() 314 tz *= sizeof(WCHAR); in _win_iconv() 315 if (tz == *tn) in _win_iconv() 323 if (tz > *tn) in _win_iconv() 351 if (tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, un, *tb, *tn, 0, 0)) in _win_iconv() 368 if (!(tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, fz, *tb, 0, 0, 0))) in _win_iconv() [all …]
|
| /illumos-gate/usr/src/ucbcmd/rusage/ |
| H A D | rusage.c | 58 struct timezone tz; in main() local 69 (void) gettimeofday(&before, &tz); in main() 96 (void) gettimeofday(&after, &tz); in main()
|
| /illumos-gate/usr/src/test/tz-tests/cmd/ |
| H A D | Makefile | 18 CMDS = tz-test 20 ROOTOPTPKG = $(ROOT)/opt/tz-tests
|
| /illumos-gate/usr/src/lib/libnsl/yp/ |
| H A D | yp_match.c | 127 struct timezone tz; in in_cache() local 142 (void) gettimeofday(&now, &tz); in in_cache() 184 struct timezone tz; in __yp_match_cflookup() local 273 (void) gettimeofday(&now, &tz); in __yp_match_cflookup() 368 struct timezone tz; in __yp_match_rsvdport_cflookup() local 468 (void) gettimeofday(&now, &tz); in __yp_match_rsvdport_cflookup()
|
| /illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
| H A D | dapl_osd.c | 114 struct timezone tz; in dapl_os_get_time() local 117 (void) gettimeofday(&tv, &tz); in dapl_os_get_time() 239 struct timezone tz; in dapl_os_wait_object_wait() local 242 (void) gettimeofday(&now, &tz); in dapl_os_wait_object_wait()
|
| /illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/features/ |
| H A D | time | 10 struct timezone tz; 11 return gettimeofday(&tv, &tz);
|
| /illumos-gate/usr/src/lib/libsqlite/src/ |
| H A D | date.c | 67 int tz; /* Timezone offset in minutes */ member 149 p->tz = 0; in parseTimezone() 162 p->tz = sgn*(nMn + nHr*60); in parseTimezone() 206 p->validTZ = p->tz!=0; in parseHhMmSs() 243 p->rJD += p->tz*60/86400.0; in computeJD() 414 x.tz = 0; in localtimeOffset()
|
| /illumos-gate/usr/src/lib/libc/port/gen/ |
| H A D | localtime.c | 2422 char *tz = NULL; in get_default_tz() local 2445 tz = libc_strdup((char *)tzp); in get_default_tz() 2450 return (tz); in get_default_tz() 2544 char *tz; in getsystemTZ() local 2546 tz = getenv("TZ"); in getsystemTZ() 2547 if (tz != NULL && *tz != '\0') in getsystemTZ() 2548 return ((const char *)tz); in getsystemTZ() 2557 tz = get_default_tz(); in getsystemTZ() 2560 if (tz == NULL) { in getsystemTZ() 2574 if (strcmp(tz, tzn->name) == 0) in getsystemTZ() [all …]
|
| /illumos-gate/usr/src/uts/common/vm/ |
| H A D | vm_usage.c | 1579 vmu_zone_t *tz; in vmu_free_extra() local 1605 tz = vmu_data.vmu_free_zones; in vmu_free_extra() 1608 if (tz->vmz_projects_hash != NULL) in vmu_free_extra() 1609 mod_hash_destroy_hash(tz->vmz_projects_hash); in vmu_free_extra() 1610 if (tz->vmz_tasks_hash != NULL) in vmu_free_extra() 1611 mod_hash_destroy_hash(tz->vmz_tasks_hash); in vmu_free_extra() 1612 if (tz->vmz_rusers_hash != NULL) in vmu_free_extra() 1613 mod_hash_destroy_hash(tz->vmz_rusers_hash); in vmu_free_extra() 1614 if (tz->vmz_eusers_hash != NULL) in vmu_free_extra() 1615 mod_hash_destroy_hash(tz->vmz_eusers_hash); in vmu_free_extra() [all …]
|
| /illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/ |
| H A D | syslog.c | 341 char *facname, *tz, *rootdir, *urlbase; in _fmd_init() local 361 ((tz = getenv("TZ")) == NULL || strcmp(tz, "GMT") != 0)) { in _fmd_init()
|
| /illumos-gate/usr/src/test/tz-tests/doc/ |
| H A D | Makefile | 18 ROOTOPTDIR = $(ROOT)/opt/tz-tests
|
| /illumos-gate/usr/src/lib/libc/i386/sys/ |
| H A D | gettimeofday.c | 25 gettimeofday(struct timeval *tv, void *tz __unused) in gettimeofday()
|
| /illumos-gate/usr/src/test/ |
| H A D | Makefile | 37 tz-tests \
|
| /illumos-gate/usr/src/common/bzip2/ |
| H A D | blocksort.c | 610 { Int32 tz; \ 611 tz = nextLo[az]; nextLo[az] = nextLo[bz]; nextLo[bz] = tz; \ 612 tz = nextHi[az]; nextHi[az] = nextHi[bz]; nextHi[bz] = tz; \ 613 tz = nextD [az]; nextD [az] = nextD [bz]; nextD [bz] = tz; }
|