Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/cmd/sendmail/src/
H A Darpadate.c68 char *tz; variable
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 != '\0')
197 while (*tz != '\0' && q < &b[sizeof(b) - 3])
[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);
/titanic_50/usr/src/cmd/rtc/
H A Drtc.c44 static char tz[256] = "TZ="; variable
172 tz[3] = 0; in set_zone()
173 (void) strncat(tz, zone_string, 253); in set_zone()
175 (void) fprintf(stderr, "Time Zone string is '%s'\n", tz); in set_zone()
177 (void) putenv(tz); in set_zone()
208 tz[3] = 0; in correct_rtc_and_lag()
209 (void) strncat(tz, zone_info, 253); in correct_rtc_and_lag()
211 (void) fprintf(stderr, "Time Zone string is '%s'\n", tz); in correct_rtc_and_lag()
213 (void) putenv(tz); in correct_rtc_and_lag()
/titanic_50/usr/src/ucblib/libucb/port/gen/
H A Dftime.c55 struct timezone tz; in ftime() local
57 if (gettimeofday(&t, &tz) < 0) in ftime()
61 tp->timezone = (short)tz.tz_minuteswest; in ftime()
62 tp->dstflag = (short)tz.tz_dsttime; in ftime()
/titanic_50/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) 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()
/titanic_50/usr/src/ucbcmd/rusage/
H A Drusage.c60 struct timezone tz; in main() local
71 (void) gettimeofday(&before, &tz); in main()
98 (void) gettimeofday(&after, &tz); in main()
/titanic_50/usr/src/lib/libast/common/comp/
H A Diconv.c264 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 …]
/titanic_50/usr/src/lib/libnsl/yp/
H A Dyp_match.c128 struct timezone tz; in in_cache() local
143 (void) gettimeofday(&now, &tz); in in_cache()
185 struct timezone tz; in __yp_match_cflookup() local
274 (void) gettimeofday(&now, &tz); in __yp_match_cflookup()
369 struct timezone tz; in __yp_match_rsvdport_cflookup() local
469 (void) gettimeofday(&now, &tz); in __yp_match_rsvdport_cflookup()
/titanic_50/usr/src/lib/libshell/common/features/
H A Dtime10 struct timezone tz;
11 return gettimeofday(&tv, &tz);
/titanic_50/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()
/titanic_50/usr/src/lib/libsqlite/src/
H A Ddate.c70 int tz; /* Timezone offset in minutes */ member
152 p->tz = 0; in parseTimezone()
165 p->tz = sgn*(nMn + nHr*60); in parseTimezone()
209 p->validTZ = p->tz!=0; in parseHhMmSs()
246 p->rJD += p->tz*60/86400.0; in computeJD()
417 x.tz = 0; in localtimeOffset()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dlocaltime.c2317 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 …]
/titanic_50/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()
/titanic_50/usr/src/uts/common/vm/
H A Dvm_usage.c1576 vmu_zone_t *tz; in vmu_free_extra() local
1602 tz = vmu_data.vmu_free_zones; in vmu_free_extra()
1605 if (tz->vmz_projects_hash != NULL) in vmu_free_extra()
1606 mod_hash_destroy_hash(tz->vmz_projects_hash); in vmu_free_extra()
1607 if (tz->vmz_tasks_hash != NULL) in vmu_free_extra()
1608 mod_hash_destroy_hash(tz->vmz_tasks_hash); in vmu_free_extra()
1609 if (tz->vmz_rusers_hash != NULL) in vmu_free_extra()
1610 mod_hash_destroy_hash(tz->vmz_rusers_hash); in vmu_free_extra()
1611 if (tz->vmz_eusers_hash != NULL) in vmu_free_extra()
1612 mod_hash_destroy_hash(tz->vmz_eusers_hash); in vmu_free_extra()
[all …]
/titanic_50/usr/src/cmd/troff/troff.d/tmac.d/
H A DMakefile39 tbl.me thesis.me tz.map v vgrind
/titanic_50/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; }
/titanic_50/usr/src/data/zoneinfo/
H A Detcetera7 # people in areas not otherwise covered by the tz files could "zic -l"
9 # tz files cover almost all the inhabited world, and the only practical
/titanic_50/usr/src/cmd/cron/
H A Dcron.c197 struct shared *tz; /* timezone of this event */ member
1134 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()
1253 e->of.ct.tz = dup_shared(tz); in readcron()
1283 rel_shared(tz); in readcron()
1909 if (e->of.ct.tz != NULL) { in next_time()
1912 (void) putenv((char *)get_obj(e->of.ct.tz)); in next_time()
2142 rel_shared(e2->of.ct.tz); in rm_ctevents()
[all …]
/titanic_50/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c993 set_system_tz(char *tz, char *root) in set_system_tz() argument
1005 if (tz == NULL || root == NULL) in set_system_tz()
1008 if (strchr(tz, '<')) { in set_system_tz()
1092 tz); in set_system_tz()
1131 (fprintf(ofp, tzfmt, tz) == EOF)) { in set_system_tz()
/titanic_50/usr/src/lib/libast/common/features/
H A Dtvlib54 struct timezone tz;
/titanic_50/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()
/titanic_50/usr/src/lib/libsip/common/
H A Dsip_msg.h115 sip_str_t tz; member
218 #define date_tz hdr_value.date.tz
/titanic_50/usr/src/cmd/sgs/lex/common/
H A Dsub2.c458 CHR *temp, *tz; in nextstate() local
478 tz = temp + tptr; in nextstate()
479 while (temp < tz) { in nextstate()
/titanic_50/usr/src/uts/common/sys/nxge/
H A Dnxge_sr_hw.h192 uint16_t tz : 2; member
198 uint16_t tz : 2;
/titanic_50/usr/src/uts/common/io/hxge/
H A Dhxge_peu_hw.h2750 uint32_t tz:2; member
2762 uint32_t tz:2;
4761 uint32_t tz:2; member
4773 uint32_t tz:2;

12