Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/cmd/sendmail/src/
H A Darpadate.c66 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 Dftime.c53 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 Dbase64.c51 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 Drtc.c49 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/ucbcmd/rusage/
H A Drusage.c58 struct timezone tz; in main() local
69 (void) gettimeofday(&before, &tz); in main()
96 (void) gettimeofday(&after, &tz); in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Diconv.c264 size_t tz; in _win_iconv() local
280 fz = tz = (*fn < *tn) ? *fn : *tn; in _win_iconv()
297 tz *= sizeof(WCHAR); in _win_iconv()
314 tz *= sizeof(WCHAR); in _win_iconv()
315 if (tz == *tn) in _win_iconv()
323 if (tz > *tn) in _win_iconv()
370 if (tz == *tn) in _win_iconv()
378 if (tz > *tn) in _win_iconv()
386 if (!(tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, fz, *tb, tz, 0, 0))) in _win_iconv()
401 *tb += tz; in _win_iconv()
[all …]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_match.c127 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 Dtime10 struct timezone tz;
11 return gettimeofday(&tv, &tz);
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_osd.c114 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 Ddate.c67 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 Dlocaltime.c2317 char *tz = NULL; in get_default_tz() local
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()
2475 (void) strcpy(tzn->name, tz); in getsystemTZ()
[all …]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_usage.c1579 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 Dsyslog.c341 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 Dgettimeofday.c25 gettimeofday(struct timeval *tv, void *tz __unused) in gettimeofday()
/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/cmd/cron/
H A Dcron.c1132 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()
2111 rel_shared(e2->of.ct.tz); in rm_ctevents()
2510 if (e->of.ct.tz) { in ex()
3111 char *hz, *tz; in defaults() local
[all …]
/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/test/util-tests/tests/date/
H A Ddate_test.ksh41 typeset tz=$3
/illumos-gate/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c991 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/contrib/ast/src/lib/libast/features/
H A Dtvlib54 struct timezone tz;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rshd.c395 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/lib/libsip/common/
H A Dsip_msg.h113 sip_str_t tz; member
216 #define date_tz hdr_value.date.tz
/illumos-gate/usr/src/data/zoneinfo/
H A Detcetera6 # These entries are for uses not otherwise covered by the tz database.
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dsub2.c456 CHR *temp, *tz; in nextstate() local
476 tz = temp + tptr; in nextstate()
477 while (temp < tz) { in nextstate()
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_sr_hw.h190 uint16_t tz : 2; member
196 uint16_t tz : 2;

12