Searched refs:tz (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dftime.c55 struct timezone tz; local
57 if (gettimeofday(&t, &tz) < 0)
61 tp->timezone = (short)tz.tz_minuteswest;
62 tp->dstflag = (short)tz.tz_dsttime;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Darpadate.c68 char *tz; local
151 tz = NULL;
153 tz = lt->tm_name;
156 tz = lt->tm_zone;
163 tz = tzname[1];
165 tz = tzname[0];
167 tz = NULL;
174 tz = timezone(off, lt->tm_isdst);
193 if (tz != NULL && *tz !
[all...]
H A Dmain.c661 char *tz; local
666 tz = xalloc(tzlen);
667 (void) sm_strlcpyn(tz, tzlen, 2, "TZ=", p);
670 (void) putenv(tz);
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dgettimeofday.c25 gettimeofday(struct timeval *tv, void *tz) argument
/illumos-gate/usr/src/ucbcmd/rusage/
H A Drusage.c60 struct timezone tz; local
71 (void) gettimeofday(&before, &tz);
98 (void) gettimeofday(&after, &tz);
/illumos-gate/usr/src/lib/libast/common/string/
H A Dbase64.c51 base64encode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) argument
73 te = tp + tz - B64_EC + 1;
162 base64decode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) argument
188 te = tp + tz;
189 if (tz > 2)
190 tz = 2;
191 tx = te - tz;
/illumos-gate/usr/src/cmd/troff/troff.d/tmac.d/
H A DMakefile39 tbl.me thesis.me tz.map v vgrind
/illumos-gate/usr/src/cmd/rtc/
H A Drtc.c49 static char tz[256] = "TZ="; variable
171 tz[3] = 0;
172 (void) strncat(tz, z, 253);
174 (void) fprintf(stderr, "Time Zone string is '%s'\n", tz);
176 (void) putenv(tz);
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_osd.c114 struct timezone tz; local
117 (void) gettimeofday(&tv, &tz);
239 struct timezone tz; local
242 (void) gettimeofday(&now, &tz);
/illumos-gate/usr/src/test/util-tests/tests/date/
H A Ddate_test.ksh39 typeset tz=$3
/illumos-gate/usr/src/lib/libast/common/comp/
H A Diconv.c264 size_t tz; local
280 fz = tz = (*fn < *tn) ? *fn : *tn;
294 if ((tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, *tn)) && tz <= *tn)
297 tz *= sizeof(WCHAR);
311 while (!(tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)fz, (LPWSTR)*tb, 0)))
314 tz *= sizeof(WCHAR);
315 if (tz == *tn)
323 if (tz > *tn)
351 if (tz
[all...]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_match.c129 struct timezone tz; local
144 (void) gettimeofday(&now, &tz);
186 struct timezone tz; local
275 (void) gettimeofday(&now, &tz);
370 struct timezone tz; local
470 (void) gettimeofday(&now, &tz);
/illumos-gate/usr/src/lib/libsqlite/src/
H A Ddate.c70 int tz; /* Timezone offset in minutes */ member in struct:DateTime
75 char validTZ; /* True if tz is valid */
152 p->tz = 0;
165 p->tz = sgn*(nMn + nHr*60);
209 p->validTZ = p->tz!=0;
246 p->rJD += p->tz*60/86400.0;
417 x.tz = 0;
/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/
H A Dsyslog.c341 char *facname, *tz, *rootdir, *urlbase; local
361 ((tz = getenv("TZ")) == NULL || strcmp(tz, "GMT") != 0)) {
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlocaltime.c277 const char *default_tzname0; /* Def tz..[0] val */
278 const char *default_tzname1; /* Def tz..[1] val */
2317 char *tz = NULL; local
2340 tz = libc_strdup((char *)tzp);
2345 return (tz);
2439 char *tz; local
2441 tz = getenv("TZ");
2442 if (tz != NULL && *tz != '\0')
2443 return ((const char *)tz);
[all...]
/illumos-gate/usr/src/common/bzip2/
H A Dblocksort.c610 { 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/uts/common/vm/
H A Dvm_usage.c1579 vmu_zone_t *tz; local
1605 tz = vmu_data.vmu_free_zones;
1608 if (tz->vmz_projects_hash != NULL)
1609 mod_hash_destroy_hash(tz->vmz_projects_hash);
1610 if (tz->vmz_tasks_hash != NULL)
1611 mod_hash_destroy_hash(tz->vmz_tasks_hash);
1612 if (tz->vmz_rusers_hash != NULL)
1613 mod_hash_destroy_hash(tz->vmz_rusers_hash);
1614 if (tz->vmz_eusers_hash != NULL)
1615 mod_hash_destroy_hash(tz
[all...]
/illumos-gate/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c524 * Check tz name lengths. This check assumes the
991 set_system_tz(char *tz, char *root) argument
1003 if (tz == NULL || root == NULL)
1006 if (strchr(tz, '<')) {
1090 tz);
1129 (fprintf(ofp, tzfmt, tz) == EOF)) {
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_msg.h115 sip_str_t tz; member in struct:sip_date
218 #define date_tz hdr_value.date.tz
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c194 struct shared *tz; /* timezone of this event */ member in struct:event::__anon5::__anon6
1130 struct shared *tz = NULL; local
1173 if (tz == NULL || strcmp(&line[cursor], get_obj(tz))) {
1174 rel_shared(tz);
1175 tz = create_shared_str(&line[cursor]);
1256 e->of.ct.tz = dup_shared(tz);
1286 rel_shared(tz);
1851 if (e->of.ct.tz !
3084 char *hz, *tz; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rshd.c395 static char *tz; /* "TZ=" */ variable
1139 tz = malloc(tz_len);
1140 if (tz != NULL)
1141 (void) snprintf(tz, tz_len, "%s%s", tzstr, tzenv);
1148 add_to_envinit(tz);
1157 * because `tz' may or may not be set.
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dexternal.c738 gettimeofday(struct timeval *tv, void *tz) argument
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dsub2.c458 CHR *temp, *tz; local
478 tz = temp + tptr;
479 while (temp < tz) {
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_sr_hw.h192 uint16_t tz : 2; member in struct:_sr_rx_tx_common_ctrl_h::__anon8600
198 uint16_t tz : 2;
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_peu_hw.h2750 uint32_t tz:2; member in struct:__anon5566::__anon5567
2762 uint32_t tz:2;
4761 uint32_t tz:2; member in struct:__anon5658::__anon5659
4773 uint32_t tz:2;

Completed in 243 milliseconds