/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | ftime.c | 55 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 D | arpadate.c | 68 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 D | main.c | 661 char *tz; local 666 tz = xalloc(tzlen); 667 (void) sm_strlcpyn(tz, tzlen, 2, "TZ=", p); 670 (void) putenv(tz);
|
/illumos-gate/usr/src/ucbcmd/rusage/ |
H A D | rusage.c | 60 struct timezone tz; local 71 (void) gettimeofday(&before, &tz); 98 (void) gettimeofday(&after, &tz);
|
/illumos-gate/usr/src/cmd/rtc/ |
H A D | rtc.c | 44 static char tz[256] = "TZ="; variable 172 tz[3] = 0; 173 (void) strncat(tz, zone_string, 253); 175 (void) fprintf(stderr, "Time Zone string is '%s'\n", tz); 177 (void) putenv(tz); 208 tz[3] = 0; 209 (void) strncat(tz, zone_info, 253); 211 (void) fprintf(stderr, "Time Zone string is '%s'\n", tz); 213 (void) putenv(tz);
|
/illumos-gate/usr/src/cmd/lms/SyncLib/src/ |
H A D | ThreadUnix.cpp | 138 struct timezone tz; local 140 gettimeofday(&now, &tz); 185 struct timezone tz; local 188 gettimeofday(&now, &tz);
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_osd.c | 114 struct timezone tz; local 117 (void) gettimeofday(&tv, &tz); 239 struct timezone tz; local 242 (void) gettimeofday(&now, &tz);
|
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | base64.c | 51 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/lib/libnsl/yp/ |
H A D | yp_match.c | 128 struct timezone tz; local 143 (void) gettimeofday(&now, &tz); 185 struct timezone tz; local 274 (void) gettimeofday(&now, &tz); 369 struct timezone tz; local 469 (void) gettimeofday(&now, &tz);
|
/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/ |
H A D | syslog.c | 341 char *facname, *tz, *rootdir, *urlbase; local 361 ((tz = getenv("TZ")) == NULL || strcmp(tz, "GMT") != 0)) {
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | sub2.c | 458 CHR *temp, *tz; local 478 tz = temp + tptr; 479 while (temp < tz) {
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | date.c | 70 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/lib/libast/common/comp/ |
H A D | iconv.c | 264 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/libzoneinfo/common/ |
H A D | libzone.c | 526 * Check tz name lengths. This check assumes the 993 set_system_tz(char *tz, char *root) argument 1005 if (tz == NULL || root == NULL) 1008 if (strchr(tz, '<')) { 1092 tz); 1131 (fprintf(ofp, tzfmt, tz) == EOF)) {
|
/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); 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/lib/libsip/common/ |
H A D | sip_msg.h | 115 sip_str_t tz; member in struct:sip_date 218 #define date_tz hdr_value.date.tz
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_usage.c | 1576 vmu_zone_t *tz; local 1602 tz = vmu_data.vmu_free_zones; 1605 if (tz->vmz_projects_hash != NULL) 1606 mod_hash_destroy_hash(tz->vmz_projects_hash); 1607 if (tz->vmz_tasks_hash != NULL) 1608 mod_hash_destroy_hash(tz->vmz_tasks_hash); 1609 if (tz->vmz_rusers_hash != NULL) 1610 mod_hash_destroy_hash(tz->vmz_rusers_hash); 1611 if (tz->vmz_eusers_hash != NULL) 1612 mod_hash_destroy_hash(tz [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | localtime.c | 277 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/uts/common/sys/nxge/ |
H A D | nxge_sr_hw.h | 192 uint16_t tz : 2; member in struct:_sr_rx_tx_common_ctrl_h::__anon8605 198 uint16_t tz : 2;
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | cron.c | 197 struct shared *tz; /* timezone of this event */ member in struct:event::__anon342::__anon343 1134 struct shared *tz = NULL; local 1177 if (tz == NULL || strcmp(&line[cursor], get_obj(tz))) { 1178 rel_shared(tz); 1179 tz = create_shared_str(&line[cursor]); 1253 e->of.ct.tz = dup_shared(tz); 1283 rel_shared(tz); 1909 if (e->of.ct.tz ! 3145 char *hz, *tz; local [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_peu_hw.h | 2750 uint32_t tz:2; member in struct:__anon5556::__anon5557 2762 uint32_t tz:2; 4761 uint32_t tz:2; member in struct:__anon5648::__anon5649 4773 uint32_t tz:2;
|