/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/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/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/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/contrib/ast/src/cmd/ksh93/features/ |
H A D | time | 10 struct timezone tz; 11 return gettimeofday(&tv, &tz);
|
/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/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 | 2317 char *tz = NULL; in get_default_tz() local 2340 tz = libc_strdup((char *)tzp); in get_default_tz() 2345 return (tz); in get_default_tz() 2439 char *tz; in getsystemTZ() local 2441 tz = getenv("TZ"); in getsystemTZ() 2442 if (tz != NULL && *tz != '\0') in getsystemTZ() 2443 return ((const char *)tz); in getsystemTZ() 2452 tz = get_default_tz(); in getsystemTZ() 2455 if (tz == NULL) { in getsystemTZ() 2469 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/lib/libc/i386/sys/ |
H A D | gettimeofday.c | 25 gettimeofday(struct timeval *tv, void *tz __unused) in gettimeofday()
|
/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; }
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | cron.c | 195 struct shared *tz; /* timezone of this event */ member 1132 struct shared *tz = NULL; in readcron() local 1177 if (tz == NULL || strcmp(&line[cursor], get_obj(tz))) { in readcron() 1178 rel_shared(tz); in readcron() 1179 tz = create_shared_str(&line[cursor]); in readcron() 1277 e->of.ct.tz = dup_shared(tz); in readcron() 1309 rel_shared(tz); in readcron() 1876 if (e->of.ct.tz != NULL) { in next_time() 1877 (void) putenv((char *)get_obj(e->of.ct.tz)); in next_time() 2111 rel_shared(e2->of.ct.tz); in rm_ctevents() [all …]
|
/illumos-gate/usr/src/cmd/troff/troff.d/tmac.d/ |
H A D | Makefile | 39 tbl.me thesis.me tz.map v vgrind
|
/illumos-gate/usr/src/test/util-tests/tests/date/ |
H A D | date_test.ksh | 41 typeset tz=$3
|
/illumos-gate/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 991 set_system_tz(char *tz, char *root) in set_system_tz() argument 1003 if (tz == NULL || root == NULL) in set_system_tz() 1006 if (strchr(tz, '<')) { in set_system_tz() 1090 tz); in set_system_tz() 1129 (fprintf(ofp, tzfmt, tz) == EOF)) { in set_system_tz()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rshd.c | 395 static char *tz; /* "TZ=" */ variable 1139 tz = malloc(tz_len); in doit() 1140 if (tz != NULL) in doit() 1141 (void) snprintf(tz, tz_len, "%s%s", tzstr, tzenv); in doit() 1148 add_to_envinit(tz); in doit()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | tvlib | 54 struct timezone tz;
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_msg.h | 113 sip_str_t tz; member 216 #define date_tz hdr_value.date.tz
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | sub2.c | 456 CHR *temp, *tz; in nextstate() local 476 tz = temp + tptr; in nextstate() 477 while (temp < tz) { in nextstate()
|
/illumos-gate/usr/src/data/zoneinfo/ |
H A D | etcetera | 6 # These entries are for uses not otherwise covered by the tz database.
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_sr_hw.h | 190 uint16_t tz : 2; member 196 uint16_t tz : 2;
|