Searched defs:tz (Results 1 - 11 of 11) sorted by relevance

/osnet-11/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.c664 char *tz; local
669 tz = xalloc(tzlen);
670 (void) sm_strlcpyn(tz, tzlen, 2, "TZ=", p);
673 (void) putenv(tz);
/osnet-11/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;
/osnet-11/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);
/osnet-11/usr/src/lib/libnsl/yp/
H A Dyp_match.c124 struct timezone tz; local
139 (void) gettimeofday(&now, &tz);
181 struct timezone tz; local
270 (void) gettimeofday(&now, &tz);
365 struct timezone tz; local
465 (void) gettimeofday(&now, &tz);
/osnet-11/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...]
/osnet-11/usr/src/lib/libsqlite/src/
H A Ddate.c68 int tz; /* Timezone offset in minutes */ member in struct:DateTime
73 char validTZ; /* True if tz is valid */
150 p->tz = 0;
163 p->tz = sgn*(nMn + nHr*60);
207 p->validTZ = p->tz!=0;
244 p->rJD += p->tz*60/86400.0;
415 x.tz = 0;
/osnet-11/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
/osnet-11/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c524 * Check tz name lengths. This check assumes the
997 set_smf_tz(char *tz) argument
1014 scf_value_set_astring(val, tz) != 0 ||
1053 set_system_tz(char *tz, char *root) argument
1065 if (tz == NULL || root == NULL)
1069 * If root is '/', then set the tz in SMF service
1072 return (set_smf_tz(tz));
1076 * the tz in /etc/default/init file
1078 if (strchr(tz, '<')) {
1161 ret = snprintf(buff, sizeof (buff), tzfmt, tz);
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dudf.c964 grub_int16_t tz; local
974 tz = U16 (tstamp->type_and_timezone) & 0xfff;
975 if (tz & 0x800)
976 tz |= 0xf000;
977 if (tz == -2047)
978 tz = 0;
982 info.mtime -= 60 * tz;
/osnet-11/usr/src/lib/libc/port/gen/
H A Dlocaltime.c221 const char *default_tzname0; /* Def tz..[0] val */
222 const char *default_tzname1; /* Def tz..[1] val */
2644 char *tz = NULL; local
2667 tz = libc_strdup((char *)tzp);
2672 return (tz);
2740 char *tz; local
2742 tz = getenv("TZ");
2743 if (tz != NULL && *tz != '\0')
2744 return ((const char *)tz);
[all...]

Completed in 68 milliseconds