/external/qemu/android/utils/ |
H A D | timezone.c | 44 check_timezone_is_zoneinfo(const char* tz) argument 48 if (tz == NULL) 52 slash1 = strchr( tz, '/' ); 88 const char* tz = get_zoneinfo_timezone(); local 90 if (tz == NULL || !check_timezone_is_zoneinfo(tz)) 93 return bufprint(p, end, "%s", tz); 109 const char* tz = getenv("TZ"); local 113 if (tz == NULL) { 128 tz 295 const char* tz = getenv( "TZ" ); local [all...] |
/external/v8/src/ |
H A D | dateparser-inl.h | 43 TimeZoneComposer tz; local 95 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz); 122 } else if (tz.IsExpecting(n)) { 123 tz.SetAbsoluteMinute(n); 147 tz.Set(value); 152 } else if (token.IsAsciiSign() && (tz.IsUTC() || !time.IsEmpty())) { 154 tz.SetSign(token.ascii_sign()); 163 tz.SetAbsoluteHour(n); 164 tz.SetAbsoluteMinute(kNone); 166 tz 217 ParseES5DateTime( DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, TimeZoneComposer* tz) argument [all...] |
/external/icu4c/tools/tzcode/ |
H A D | icuzdump.cpp | 115 void setTimeZone(TimeZone* tz) { argument 116 timezone = tz; 239 TimeZone* tz = NULL; local 244 tz = TimeZone::createTimeZone(*zid); 250 tz = TimeZone::createTimeZone((const UnicodeString&)zids[idx]); 253 tz = TimeZone::createDefault(); 258 return tz; 375 TimeZone* tz = zit->next(); local 376 if (tz == NULL) { 379 dumper.setTimeZone(tz); 406 TimeZone* tz = zit->next(); local [all...] |
/external/icu4c/test/intltest/ |
H A D | tzregts.h | 53 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max); 54 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
|
H A D | tztest.cpp | 230 TimeZoneTest::findTransition(const TimeZone& tz, argument 234 UBool startsInDST = tz.inDaylightTime(min, ec); 236 if (tz.inDaylightTime(max, ec) == startsInDST) { 237 logln("Error: " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"TRUE":"FALSE") + 244 if (tz.inDaylightTime(mid, ec) == startsInDST) { 253 logln(tz.getID(id) + " Before: " + min/1000 + " = " + 254 dateToString(min,s,tz)); 255 logln(tz.getID(id) + " After: " + max/1000 + " = " + 256 dateToString(max,s,tz)); 260 TimeZoneTest::testUsingBinarySearch(const TimeZone& tz, argument 306 TimeZone* tz = TimeZone::createTimeZone("PRT"); local 496 TimeZone *tz = TimeZone::createTimeZone("PST"); local 690 TimeZone *tz = TimeZone::createTimeZone(*id1); local [all...] |
H A D | tzbdtest.cpp | 116 TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz) argument 122 if (tz->inDaylightTime(d, status) != startsInDST) { 123 dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(d) + ") != " + (startsInDST ? "true" : "false")); 127 if (tz->inDaylightTime(max, status) == startsInDST) { 128 dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(max) + ") != " + (startsInDST ? "false" : "true")); 134 UBool isIn = tz->inDaylightTime(mid, status); 143 logln(tz->getID(str) + " Before: " + showDate(min)); 144 logln(tz->getID(str) + " After: " + showDate(max)); 337 TimeZone *tz; local 338 TimeZone::setDefault(*(tz 382 testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary) argument 425 SimpleTimeZone *tz; local [all...] |
H A D | itformat.cpp | 77 TimeZone *tz = TimeZone::createTimeZone("PST"); local 78 TimeZone::setDefault(*tz); 79 delete tz;
|
H A D | tzbdtest.h | 42 virtual void findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz); 65 virtual void testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary);
|
H A D | tztest.h | 51 void findTransition(const TimeZone& tz, 57 void testUsingBinarySearch(const TimeZone& tz,
|
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 | windttst.cpp | 76 const TimeZone *tz = TimeZone::createDefault(); local 79 tz->getID(zoneID); 191 delete tz;
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
H A D | XMPDateTime.java | 88 /** @param tz a time zone to set */ 89 void setTimeZone(TimeZone tz); argument
|
/external/icu4c/i18n/ |
H A D | tzfmt.cpp | 35 UnicodeString& format(UTimeZoneFormatStyle style, const TimeZone& tz, UDate date, 48 UnicodeString& formatGeneric(const TimeZone& tz, UTimeZoneGenericNameType genType, UDate date, UnicodeString& name) const; 50 UnicodeString& formatSpecific(const TimeZone& tz, UTimeZoneNameType stdType, UTimeZoneNameType dstType, 122 TimeZoneFormatImpl::format(UTimeZoneFormatStyle style, const TimeZone& tz, UDate date, argument 129 formatGeneric(tz, UTZGNM_LOCATION, date, name); 132 formatGeneric(tz, UTZGNM_LONG, date, name); 135 formatGeneric(tz, UTZGNM_SHORT, date, name); 138 formatSpecific(tz, UTZNM_LONG_STANDARD, UTZNM_LONG_DAYLIGHT, date, name, timeType); 141 formatSpecific(tz, UTZNM_SHORT_STANDARD, UTZNM_SHORT_DAYLIGHT, date, name, timeType); 144 formatSpecific(tz, UTZNM_SHORT_STANDARD_COMMONLY_USE 253 formatGeneric(const TimeZone& tz, UTimeZoneGenericNameType genType, UDate date, UnicodeString& name) const argument 273 formatSpecific(const TimeZone& tz, UTimeZoneNameType stdType, UTimeZoneNameType dstType, UDate date, UnicodeString& name, UTimeZoneTimeType *timeType) const argument 493 format(UTimeZoneFormatStyle style, const TimeZone& tz, UDate date, UnicodeString& name, UTimeZoneTimeType* timeType ) const argument [all...] |
H A D | wintzimpl.cpp | 36 static UBool getSystemTimeInformation(TimeZone *tz, SYSTEMTIME &daylightDate, SYSTEMTIME &standardDate, int32_t &bias, int32_t &daylightBias, int32_t &standardBias) { argument 39 BasicTimeZone *btz = (BasicTimeZone*)tz; // we should check type 119 TimeZone *tz = TimeZone::createTimeZone(id); local 121 if (tz != NULL) { 128 if (getSystemTimeInformation(tz, daylightDate, standardDate, bias, daylightBias, standardBias)) {
|
H A D | tzfmt.h | 52 virtual UnicodeString& format(UTimeZoneFormatStyle style, const TimeZone& tz, UDate date,
|
H A D | tzgnames.h | 64 UnicodeString& getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type, 98 UnicodeString& formatGenericNonLocationName(const TimeZone& tz, UTimeZoneGenericNameType type,
|
/external/icu4c/samples/date/ |
H A D | date.c | 46 static void date(const UChar *tz, UDateFormatStyle style, char *format, UErrorCode *status); 64 const UChar *tz = 0; local 84 tz = GMT_ID; 138 date(tz, style, format, &status); 192 date(const UChar *tz, argument 202 fmt = udat_open(style, style, 0, tz, -1,NULL,0, status);
|
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
H A D | TranslateTransformOperation.h | 40 static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, const Length& tz, OperationType type) argument 42 return adoptRef(new TranslateTransformOperation(tx, ty, tz, type)); 75 TranslateTransformOperation(const Length& tx, const Length& ty, const Length& tz, OperationType type) argument 78 , m_z(tz)
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
H A D | TimeZoneTest.java | 217 TimeZone tz = TimeZone.getTimeZone("Asia/Shanghai"); 218 int rawoffset = tz.getRawOffset(); 256 TimeZone tz = TimeZone.getTimeZone("Asia/Shanghai"); 257 int offset = tz.getRawOffset(); 263 if (!(ids[i].equalsIgnoreCase(tz.getID()))) { 265 assertTrue(tz.hasSameRules(sameZone)); 272 assertFalse("should return false when parameter is null", tz
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
H A D | Time.java | 48 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); 51 dateF.setTimeZone(tz);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | Time.java | 48 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); 51 dateF.setTimeZone(tz);
|
/external/e2fsprogs/debugfs/ |
H A D | util.c | 195 const char *tz; local 199 tz = getenv("TZ"); 200 if (!tz) 201 tz = ""; 202 do_gmt = !strcmp(tz, "GMT");
|
/external/chromium/third_party/libevent/ |
H A D | evutil.h | 169 #define evutil_gettimeofday(tv, tz) gettimeofday((tv), (tz)) 172 int evutil_gettimeofday(struct timeval *tv, struct timezone *tz);
|
/external/icu4c/test/perf/normperf/ |
H A D | dtfmtrtperf.h | 163 TimeZone *tz = TimeZone::createTimeZone(*tzid); local 170 sdf->setTimeZone(*tz); 194 delete tz;
|
/external/icu4c/test/compat/ |
H A D | tzdate.c | 75 const UChar *tz = 0; local 82 fmt = udat_open(style, style, 0, tz, -1,NULL,0, &status);
|