/external/openssh/ |
H A D | auth-pam.c | 439 char *tz = getenv("TZ"); local 447 if (tz != NULL) 448 if (setenv("TZ", tz, 1) == -1)
|
/external/valgrind/coregrind/ |
H A D | m_libcproc.c | 681 Int VG_(gettimeofday)(struct vki_timeval *tv, struct vki_timezone *tz) argument 684 res = VG_(do_syscall2)(__NR_gettimeofday, (UWord)tv, (UWord)tz); 690 if (tz) *tz = (struct vki_timezone){ .tz_minuteswest = 0, .tz_dsttime = 0 };
|
/external/wpa_supplicant_8/hostapd/src/eap_server/ |
H A D | eap_server_pwd.c | 1099 struct timezone tz; local 1103 (void) gettimeofday(&tp, &tz);
|
/external/wpa_supplicant_8/src/eap_server/ |
H A D | eap_server_pwd.c | 1099 struct timezone tz; local 1103 (void) gettimeofday(&tp, &tz);
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/ |
H A D | eap_server_pwd.c | 1099 struct timezone tz; local 1103 (void) gettimeofday(&tp, &tz);
|
/external/clang/test/Misc/ |
H A D | diag-template-diffing.cpp | 1012 T<z> tz; local 1016 T<&c> tc(tz);
|
/external/icu/icu4c/source/i18n/ |
H A D | tzfmt.cpp | 643 TimeZoneFormat::format(UTimeZoneFormatStyle style, const TimeZone& tz, UDate date, argument 653 formatGeneric(tz, UTZGNM_LOCATION, date, name); 656 formatGeneric(tz, UTZGNM_LONG, date, name); 659 formatGeneric(tz, UTZGNM_SHORT, date, name); 662 formatSpecific(tz, UTZNM_LONG_STANDARD, UTZNM_LONG_DAYLIGHT, date, name, timeType); 665 formatSpecific(tz, UTZNM_SHORT_STANDARD, UTZNM_SHORT_DAYLIGHT, date, name, timeType); 669 tz.getID(name); 674 const UChar* shortID = ZoneMeta::getShortID(tz); 684 formatExemplarLocation(tz, name); 696 tz 776 const TimeZone* tz = dynamic_cast<const TimeZone*>(formatObj); local [all...] |
H A D | ucal.cpp | 212 const TimeZone& tz = ((Calendar*)cal)->getTimeZone(); local 214 tz.getID(id); 229 const TimeZone& tz = ((Calendar*)cal)->getTimeZone(); local 239 tz.getDisplayName(FALSE, TimeZone::LONG, Locale(locale), id); 243 tz.getDisplayName(FALSE, TimeZone::SHORT, Locale(locale), id); 247 tz.getDisplayName(TRUE, TimeZone::LONG, Locale(locale), id); 251 tz.getDisplayName(TRUE, TimeZone::SHORT, Locale(locale), id); 759 const TimeZone& tz = ((Calendar*)cal)->getTimeZone(); local 760 const BasicTimeZone * btz = dynamic_cast<const BasicTimeZone *>(&tz);
|
H A D | zonemeta.cpp | 303 // Dereference the input ID using the tz data 380 ZoneMeta::getCanonicalCLDRID(const TimeZone& tz) { argument 381 if (dynamic_cast<const OlsonTimeZone *>(&tz) != NULL) { 383 const OlsonTimeZone *otz = (const OlsonTimeZone*)&tz; 388 return getCanonicalCLDRID(tz.getID(tzID), status); 883 ZoneMeta::getShortID(const TimeZone& tz) { argument 885 if (dynamic_cast<const OlsonTimeZone *>(&tz) != NULL) { 887 const OlsonTimeZone *otz = (const OlsonTimeZone*)&tz;
|
H A D | tzgnames.cpp | 276 UnicodeString& getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, 308 UnicodeString& formatGenericNonLocationName(const TimeZone& tz, UTimeZoneGenericNameType type, 434 TimeZone *tz = TimeZone::createDefault(); local 435 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); 439 delete tz; 463 TZGNCore::getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) const { argument 468 const UChar* tzCanonicalID = ZoneMeta::getCanonicalCLDRID(tz); 476 formatGenericNonLocationName(tz, type, date, name); 478 const UChar* tzCanonicalID = ZoneMeta::getCanonicalCLDRID(tz); 614 TZGNCore::formatGenericNonLocationName(const TimeZone& tz, UTimeZoneGenericNameTyp argument 1336 getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, UDate date, UnicodeString& name) const argument [all...] |
H A D | tznames_impl.cpp | 950 TimeZone *tz = TimeZone::createDefault(); local 951 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); 955 delete tz; 1435 // TimeZoneNames holding the IANA tz database abbreviations. 1653 // Some tz database abbreviations are ambiguous. For example, 1694 // The tz database contains a few zones sharing a 1801 // The tz database contains a few zones sharing a
|
/external/icu/icu4c/source/test/intltest/ |
H A D | tzfmttst.cpp | 177 TimeZone *tz = TimeZone::createTimeZone(*tzid); local 183 sdf->setTimeZone(*tz); 209 tz->getOffset(DATES[datidx], false, inRaw, inDst, status); 232 logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid 237 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid 246 errln((UnicodeString)"Zone ID round trip failued; tz=" + *tzid 263 if (!((BasicTimeZone*)&outtz)->hasEquivalentTransitions((BasicTimeZone&)*tz, low, high, TRUE, status)) { 266 logln((UnicodeString)"Canonical round trip failed (as expected); tz=" + *tzid 271 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid 312 errln((UnicodeString)"Offset round trip failed; tz 500 BasicTimeZone *tz = (BasicTimeZone*) TimeZone::createTimeZone(*tzid); local 838 TimeZone* tz = tzfmt->parse(DATA[i].style, DATA[i].text, pos, DATA[i].parseOptions, &ttype); local 971 SimpleTimeZone* tz = new SimpleTimeZone(OFFSET[i], UnicodeString("Zone Offset:") + OFFSET[i] + "ms"); local [all...] |
H A D | tzregts.cpp | 87 UDate TimeZoneRegressionTest::findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max) { argument 89 UBool startsInDST = tz.inDaylightTime(min, status); 91 if (tz.inDaylightTime(max, status) == startsInDST) { 98 if (tz.inDaylightTime(mid, status) == startsInDST) { 108 UDate TimeZoneRegressionTest::findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max) { argument 110 UBool startsInDST = tz.inDaylightTime(min, status); 113 if (tz.inDaylightTime(min, status) != startsInDST) { 209 TimeZone *tz = TimeZone::createTimeZone("PST"); local 211 int32_t offset1 = tz->getOffset(1, 213 int32_t offset2 = tz 460 TimeZone *tz = TimeZone::createTimeZone("PST"); local 805 TimeZone *tz = TimeZone::createDefault(); local 883 TimeZone *tz = (TimeZone*)DATA_TZ[j]; local [all...] |
H A D | caltest.cpp | 2563 TimeZone *tz = TimeZone::createTimeZone(RPDATA[i].tzid); local 2567 calLast.setTimeZone(*tz); 2583 calDefault.setTimeZone(*tz); 2599 calFirst.setTimeZone(*tz); 2612 delete tz; 2665 TimeZone *tz = TimeZone::createTimeZone(SKDATA[i].tzid); local 2673 calLast.setTimeZone(*tz); 2697 calDefault.setTimeZone(*tz); 2721 calFirst.setTimeZone(*tz); 2745 calNextAvail.setTimeZone(*tz); 3609 TimeZone *tz = TimeZone::createTimeZone(AAZTDATA[i].zone); local [all...] |
H A D | tzrulets.cpp | 621 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 625 verifyTransitions(*tz, lo, hi); 627 delete tz; 656 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 657 int32_t ruleCount = tz->countTransitionRules(status); 661 tz->getTimeZoneRules(initial, trsrules, ruleCount, status); 686 compareTransitionsAscending(*tz, *rbtz, start, until, FALSE); 688 compareTransitionsAscending(*tz, *rbtz, start + 1, until, TRUE); 690 compareTransitionsDescending(*tz, *rbtz, start, until, FALSE); 692 compareTransitionsDescending(*tz, *rbt 793 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 893 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 1129 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); local 2306 const TimeZone *tz = TimeZone::getGMT(); local [all...] |
H A D | tztest.cpp | 235 TimeZoneTest::findTransition(const TimeZone& tz, argument 239 UBool startsInDST = tz.inDaylightTime(min, ec); 241 if (tz.inDaylightTime(max, ec) == startsInDST) { 242 logln("Error: " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"TRUE":"FALSE") + 249 if (tz.inDaylightTime(mid, ec) == startsInDST) { 258 logln(tz.getID(id) + " Before: " + min/1000 + " = " + 259 dateToString(min,s,tz)); 260 logln(tz.getID(id) + " After: " + max/1000 + " = " + 261 dateToString(max,s,tz)); 265 TimeZoneTest::testUsingBinarySearch(const TimeZone& tz, argument 311 TimeZone* tz = TimeZone::createTimeZone("PRT"); local 501 TimeZone *tz = TimeZone::createTimeZone("PST"); local 695 TimeZone *tz = TimeZone::createTimeZone(*id1); local 903 TimeZone *tz = TimeZone::createTimeZone(itsID); local 1548 SimpleTimeZone *tz = new SimpleTimeZone(-5 * U_MILLIS_PER_HOUR, "dstSavingsTest", local 1791 TimeZone *tz = TimeZone::createTimeZone(id); local 1912 TimeZone *tz; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | VTimeZone.java | 51 vtz.tz = (BasicTimeZone)TimeZone.getTimeZone(tzid, TimeZone.TIMEZONE_ICU); 52 vtz.olsonzid = vtz.tz.getID(); 81 return tz.getOffset(era, year, month, day, dayOfWeek, milliseconds); 90 tz.getOffset(date, local, offsets); 102 tz.getOffsetFromLocal(date, nonExistingTimeOpt, duplicatedTimeOpt, offsets); 111 return tz.getRawOffset(); 120 return tz.inDaylightTime(date); 132 tz.setRawOffset(offsetMillis); 141 return tz.useDaylightTime(); 150 return tz 391 private BasicTimeZone tz; field in class:VTimeZone [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | r200_state.c | 1563 float_ui32_type tz = { v[MAT_TZ] * depthScale }; local 1572 rmesa->hw.vpt.cmd[VPT_SE_VPORT_ZOFFSET] = tz.ui32;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_state.c | 1370 float_ui32_type tz = { v[MAT_TZ] * depthScale }; local 1379 rmesa->hw.vpt.cmd[VPT_SE_VPORT_ZOFFSET] = tz.ui32;
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
H A D | cmscnvrt.c | 186 cmsFloat64Number ax, ay, az, bx, by, bz, tx, ty, tz; local 198 tz = BlackPointIn->Z - cmsD50_XYZ()->Z; 202 az = (BlackPointOut->Z - cmsD50_XYZ()->Z) / tz; 206 bz = - cmsD50_XYZ()-> Z * (BlackPointOut->Z - BlackPointIn->Z) / tz;
|
/external/toybox/lib/ |
H A D | xwrap.c | 665 char *tz = getenv("TZ"); local 667 if (tz) tz = xstrdup(tz); 671 return tz;
|
/external/compiler-rt/lib/dfsan/ |
H A D | dfsan_custom.cc | 719 int __dfsw_gettimeofday(struct timeval *tv, struct timezone *tz, argument 722 int ret = gettimeofday(tv, tz); 726 if (tz) { 727 dfsan_set_label(0, tz, sizeof(struct timezone));
|
/external/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cc | 640 INTERCEPTOR(int, gettimeofday, void *tv, void *tz) { argument 642 int res = REAL(gettimeofday)(tv, tz); 645 if (tz) 646 __msan_unpoison(tz, 8);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | TimeZoneFormat.java | 316 * look for the IANA tz database compatible zone abbreviations in addition 850 * @param tz the time zone. 857 public final String format(Style style, TimeZone tz, long date) { argument 858 return format(style, tz, date, null); 869 * @param tz the time zone. 878 public String format(Style style, TimeZone tz, long date, Output<TimeType> timeType) { argument 889 result = getTimeZoneGenericNames().getGenericLocationName(ZoneMeta.getCanonicalCLDRID(tz)); 892 result = getTimeZoneGenericNames().getDisplayName(tz, GenericNameType.LONG, date); 895 result = getTimeZoneGenericNames().getDisplayName(tz, GenericNameType.SHORT, date); 898 result = formatSpecific(tz, NameTyp 1778 formatSpecific(TimeZone tz, NameType stdType, NameType dstType, long date, Output<TimeType> timeType) argument 1800 formatExemplarLocation(TimeZone tz) argument [all...] |
/external/vixl/src/vixl/a64/ |
H A D | disasm-a64.cc | 3077 int tz = CountTrailingZeros(imm5, 32); local 3078 rd_index = imm5 >> (tz + 1); 3079 rn_index = imm4 >> tz;
|