| /src/lib/libcompat/4.1/ |
| ftime.c | 53 struct timezone tz; local 58 if (gettimeofday(&t, &tz) < 0) 62 tbp->timezone = tz.tz_minuteswest; 63 tbp->dstflag = tz.tz_dsttime;
|
| /src/crypto/external/apache2/openssl/dist/test/testutil/ |
| helper.c | 31 char *tz = NULL; local 62 tz = getenv("TZ"); 63 if (tz != NULL) { 64 tz = OPENSSL_strdup(tz); 65 if (tz == NULL) { 70 setenv("TZ", "UTC", 1); 74 if (tz != NULL) { 75 setenv("TZ", tz, 1) [all...] |
| /src/external/lgpl3/gmp/dist/mini-gmp/tests/ |
| t-mul.c | 37 mpz_t a, b, res, res_ui, ref, tz; local 68 mpz_roinit_n (tz, t, 2*an); 69 if (mpz_cmpabs (tz, ref)) 98 mpz_roinit_n (tz, t, 2*an); 99 if (mpz_cmp (tz, ref))
|
| /src/external/lgpl3/gmp/dist/tests/mpn/ |
| t-gcdext_1.c | 50 mpz_t d, sz, tz, tmp; local 54 mpz_init (tz); 57 set_signed_limb (tz, t); 60 mpz_addmul (d, mpz_roinit_n (tmp, &b, 1), tz); 70 mpz_mul_ui (tz, tz, 2); 72 && (abs_t == 1 || mpz_cmpabs (tz, mpz_roinit_n (tmp, &a_div_g, 1)) < 0)) 76 mpz_clear (tz);
|
| t-bdiv.c | 133 mpz_t n, d, tz; local 156 mpz_init (tz); 201 mpz_urandomb (tz, rands, 32); 202 t = mpz_get_ui (tz); 350 mpz_clear (tz);
|
| t-div.c | 130 mpz_t n, d, q, r, tz, junk; local 154 mpz_init (tz); 219 mpz_urandomb (tz, rands, 32); 220 t = mpz_get_ui (tz); 492 mpz_clear (tz);
|
| /src/sys/arch/hpc/stand/hpcboot/ |
| hpcmenu.cpp | 334 TIME_ZONE_INFORMATION tz; local 335 DWORD tzid = GetTimeZoneInformation(&tz); 348 bi.timezone = tz.Bias; 350 bi.timezone += tz.DaylightBias;
|
| /src/sys/fs/cd9660/ |
| cd9660_node.c | 249 int y, m, d, hour, minute, second, tz; local 257 tz = pi[6]; 278 if (-48 <= tz && tz <= 52) 279 crtime -= tz * 15 * 60;
|
| /src/lib/libc/time/ |
| strptime.c | 121 timezone_t tz; local 133 tz = tzalloc(buf); 134 if (tz == NULL) 140 tm->TM_GMTOFF = tzgetgmtoff(tz, tm->tm_isdst); 146 tzfree(tz);
|
| zdump.c | 223 mktime_z(timezone_t tz, struct tm *tmp) 238 if (setenv("TZ", val, 1) != 0) { 247 static char const TZeq[TZeqlen] = "TZ="; 337 my_localtime_rz(timezone_t tz, const time_t *tp, struct tm *tmp) 339 tmp = localtime_rz(tz, tp, tmp); 345 t = mktime_z(tz, &tm); 579 timezone_t tz = tzalloc(strcmp(argv[i], "-") == 0 local 586 if (!tz) { 590 show(tz, argv[i], now, false); 591 tzfree(tz); [all...] |
| /src/external/bsd/ntp/dist/ntpd/ |
| refclock_wwvb.c | 53 * <cr><lf>i ddd hh:mm:ss TZ=zz<cr><lf> 260 int tz; /* time zone */ local 325 tz = 0; 336 &pp->second, &tmpchar, &dstchar, &tz) == 8) {
|
| refclock_acts.c | 739 int tz; /* WWVB timezone */ local 842 &pp->second, &dstchar, &tz) != 7) {
|
| refclock_msfees.c | 73 bug->values[11] = (u_long)ees->tz; 265 char tz; /* timezone from clock */ member in struct:eesunit 855 ees->tz = istrue(cp[EESM_BST]) ? -1 : 0; 870 ees->tz, rbufp->recv_time.l_ui, &ees->yearstart,
|
| /src/external/gpl3/gdb/dist/sim/m32r/ |
| traps.c | 531 struct timezone tz; 533 result = gettimeofday (&tv, &tz); 547 translate_endian_h2t (&tz, sizeof(tz)); 548 if ((s.write_mem) (cb, &s, arg2, (char *) &tz, sizeof(tz)) 549 != sizeof(tz)) 530 struct timezone tz; local
|
| /src/external/gpl3/gdb.old/dist/sim/m32r/ |
| traps.c | 531 struct timezone tz; 533 result = gettimeofday (&tv, &tz); 547 translate_endian_h2t (&tz, sizeof(tz)); 548 if ((s.write_mem) (cb, &s, arg2, (char *) &tz, sizeof(tz)) 549 != sizeof(tz)) 530 struct timezone tz; local
|
| /src/sys/arch/hpcmips/stand/pbsdboot/ |
| main.c | 810 TIME_ZONE_INFORMATION tz; local 812 GetTimeZoneInformation(&tz); 824 bi->timezone = tz.Bias;
|
| /src/usr.bin/pr/ |
| pr.c | 1302 struct timezone tz; local 1323 if (gettimeofday(&tv, &tz) < 0) { 1347 if (gettimeofday(&tv, &tz) < 0) { 1379 if (gettimeofday(&tv, &tz) < 0) {
|
| /src/crypto/external/bsd/openssh/dist/ |
| auth-pam.c | 510 char *tz = getenv("TZ"); local 518 if (tz != NULL) 519 if (setenv("TZ", tz, 1) == -1) 520 error("PAM: could not set TZ environment: %s",
|
| /src/external/gpl3/gdb/dist/sim/bfin/ |
| interp.c | 152 struct timezone _tz, *tz = &_tz; local 159 tz = NULL; 160 sc.result = gettimeofday (tv, tz); 176 t = tz->tz_minuteswest; 178 t = tz->tz_dsttime;
|
| /src/external/gpl3/gdb/dist/sim/ppc/ |
| emul_netbsd.c | 209 struct timezone tz, 213 H2T(tz.tz_minuteswest); 214 H2T(tz.tz_dsttime); 215 emul_write_buffer(&tz, addr, sizeof(tz), processor, cia); 759 struct timezone tz; local 760 int status = gettimeofday(&t, (tz_addr != 0 ? &tz : NULL)); 772 write_timezone(tz_addr, tz, processor, cia);
|
| /src/external/gpl3/gdb.old/dist/sim/bfin/ |
| interp.c | 152 struct timezone _tz, *tz = &_tz; local 159 tz = NULL; 160 sc.result = gettimeofday (tv, tz); 176 t = tz->tz_minuteswest; 178 t = tz->tz_dsttime;
|
| /src/external/gpl3/gdb.old/dist/sim/ppc/ |
| emul_netbsd.c | 209 struct timezone tz, 213 H2T(tz.tz_minuteswest); 214 H2T(tz.tz_dsttime); 215 emul_write_buffer(&tz, addr, sizeof(tz), processor, cia); 759 struct timezone tz; local 760 int status = gettimeofday(&t, (tz_addr != 0 ? &tz : NULL)); 772 write_timezone(tz_addr, tz, processor, cia);
|
| /src/bin/sh/ |
| var.c | 1502 static struct space_reserved tzs; /* remember TZ last used */ 1505 char *tz; local 1518 tz = lookupvar("TZ"); 1521 if (tz != NULL) { 1522 if (tzs.b == NULL || strcmp(tzs.b, tz) != 0) { 1524 if (make_space(&tzs, strlen(tz) + 1)) { 1525 strcpy(tzs.b, tz); 1528 last_zone = zone = tzalloc(tz); 1531 zone = tzalloc(tz); [all...] |
| /src/sys/dev/bluetooth/ |
| btmagic.c | 1317 int id, nf, az, aw, tz, tw; local 1359 tz = az - sc->sc_az[id]; 1364 dz += btmagic_scale(tz, &sc->sc_rz, 1368 } else if (abs(tz) > sc->sc_dist
|
| /src/external/mpl/dhcp/dist/common/ |
| dns.c | 631 struct dns_zone *tz = NULL; local 634 dns_zone_hash_lookup(&tz, dns_zone_hash, zone->name, 0, MDL); 635 if (tz != NULL) { 636 dns_zone_hash_delete(dns_zone_hash, tz->name, 0, MDL); 637 dns_zone_dereference(&tz, MDL); 646 struct dns_zone *tz = (struct dns_zone *)0; local 649 dns_zone_hash_lookup (&tz, 651 if (tz == zone) { 652 dns_zone_dereference (&tz, MDL); 655 if (tz) { [all...] |