/external/webrtc/webrtc/system_wrappers/source/ |
D | event_timer_posix.cc | 85 struct timezone time_zone; in Wait() local 86 time_zone.tz_minuteswest = 0; in Wait() 87 time_zone.tz_dsttime = 0; in Wait() 88 gettimeofday(&value, &time_zone); in Wait() 182 struct timezone time_zone; in Process() 183 time_zone.tz_minuteswest = 0; in Process() 184 time_zone.tz_dsttime = 0; in Process() 185 gettimeofday(&value, &time_zone); in Process()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | message_types_test.py | 55 time_zone = util.TimeZoneOffset(60 * 10) 58 datetime.datetime(2033, 2, 4, 11, 22, 10, tzinfo=time_zone)) 82 time_zone = util.TimeZoneOffset(60 * 5) 83 self.assertEqual(datetime.datetime(2033, 2, 4, 11, 6, 40, tzinfo=time_zone),
|
D | util_test.py | 377 time_zone = util.TimeZoneOffset(datetime.timedelta(minutes=3)) 378 epoch = time_zone.utcoffset(datetime.datetime.utcfromtimestamp(0))
|
/external/icu/icu4c/source/test/intltest/ |
D | tzbdtest.cpp | 189 TimeZoneBoundaryTest::verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expIn… in verifyDST() argument 193 logln("-- Verifying time " + dateToString(d) + " in zone " + time_zone->getID(str)); in verifyDST() 194 if (time_zone->inDaylightTime(d, status) == expInDaylightTime) in verifyDST() 195 …logln(UnicodeString("PASS: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":"fal… in verifyDST() 197 …dataerrln(UnicodeString("FAIL: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":… in verifyDST() 200 if (time_zone->useDaylightTime() == expUseDaylightTime) in verifyDST() 201 … logln(UnicodeString("PASS: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false")); in verifyDST() 203 …dataerrln(UnicodeString("FAIL: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false"… in verifyDST() 204 if (time_zone->getRawOffset() == expZoneOffset) in verifyDST() 207 …dataerrln(UnicodeString("FAIL: getRawOffset() = ") + (time_zone->getRawOffset() / ONE_HOUR) + "; … in verifyDST() [all …]
|
D | tzbdtest.h | 54 …virtual void verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expInDaylight…
|
D | tztest.cpp | 338 TimeZone* time_zone = TimeZone::createTimeZone("PST"); in TestVariousAPI518() local 341 logln("The timezone is " + time_zone->getID(str)); in TestVariousAPI518() 342 if (!time_zone->inDaylightTime(d, status)) dataerrln("FAIL: inDaylightTime returned FALSE"); in TestVariousAPI518() 344 if (!time_zone->useDaylightTime()) dataerrln("FAIL: useDaylightTime returned FALSE"); in TestVariousAPI518() 345 …if (time_zone->getRawOffset() != - 8 * millisPerHour) dataerrln("FAIL: getRawOffset returned wrong… in TestVariousAPI518() 350 if (time_zone->getOffset(gc->AD, gc->get(UCAL_YEAR, status), gc->get(UCAL_MONTH, status), in TestVariousAPI518() 355 delete time_zone; in TestVariousAPI518()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 243 void verifyDST(String tag, Calendar cal, TimeZone time_zone, in verifyDST() argument 250 " in zone " + time_zone.getID() + " (" + in verifyDST() 253 if (time_zone.inDaylightTime(d) == expInDaylightTime) in verifyDST() 254 logln("PASS: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST() 256 errln("FAIL: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST() 258 if (time_zone.useDaylightTime() == expUseDaylightTime) in verifyDST() 259 logln("PASS: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST() 261 errln("FAIL: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST() 263 if (time_zone.getRawOffset() == expRawOffset) in verifyDST() 266 errln("FAIL: getRawOffset() = " + time_zone.getRawOffset()/(double)ONE_HOUR + in verifyDST() [all …]
|
D | TimeZoneTest.java | 697 TimeZone time_zone = TimeZone.getTimeZone("PST"); in TestVariousAPI518() local 702 logln("The timezone is " + time_zone.getID()); in TestVariousAPI518() 704 if (time_zone.inDaylightTime(d) != true) in TestVariousAPI518() 707 if (time_zone.useDaylightTime() != true) in TestVariousAPI518() 710 if (time_zone.getRawOffset() != -8*millisPerHour) in TestVariousAPI518() 715 …if (time_zone.getOffset(GregorianCalendar.AD, gc.get(GregorianCalendar.YEAR), gc.get(GregorianCale… in TestVariousAPI518()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 239 void verifyDST(String tag, Calendar cal, TimeZone time_zone, in verifyDST() argument 246 " in zone " + time_zone.getID() + " (" + in verifyDST() 249 if (time_zone.inDaylightTime(d) == expInDaylightTime) in verifyDST() 250 logln("PASS: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST() 252 errln("FAIL: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST() 254 if (time_zone.useDaylightTime() == expUseDaylightTime) in verifyDST() 255 logln("PASS: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST() 257 errln("FAIL: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST() 259 if (time_zone.getRawOffset() == expRawOffset) in verifyDST() 262 errln("FAIL: getRawOffset() = " + time_zone.getRawOffset()/(double)ONE_HOUR + in verifyDST() [all …]
|
D | TimeZoneTest.java | 693 TimeZone time_zone = TimeZone.getTimeZone("PST"); in TestVariousAPI518() local 698 logln("The timezone is " + time_zone.getID()); in TestVariousAPI518() 700 if (time_zone.inDaylightTime(d) != true) in TestVariousAPI518() 703 if (time_zone.useDaylightTime() != true) in TestVariousAPI518() 706 if (time_zone.getRawOffset() != -8*millisPerHour) in TestVariousAPI518() 711 …if (time_zone.getOffset(GregorianCalendar.AD, gc.get(GregorianCalendar.YEAR), gc.get(GregorianCale… in TestVariousAPI518()
|
/external/libchrome/base/time/ |
D | time_mac.cc | 179 base::ScopedCFTypeRef<CFTimeZoneRef> time_zone( in FromExploded() local 181 CFAbsoluteTime seconds = CFGregorianDateGetAbsoluteTime(date, time_zone) + in FromExploded() 197 base::ScopedCFTypeRef<CFTimeZoneRef> time_zone( in Explode() local 199 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(seconds, time_zone); in Explode() 201 int cf_day_of_week = CFAbsoluteTimeGetDayOfWeek(seconds, time_zone); in Explode()
|
/external/google-breakpad/src/processor/ |
D | minidump.cc | 313 static inline void Swap(MDTimeZoneInformation* time_zone) { in Swap() argument 314 Swap(&time_zone->bias); in Swap() 317 Swap(&time_zone->standard_date); in Swap() 318 Swap(&time_zone->standard_bias); in Swap() 321 Swap(&time_zone->daylight_date); in Swap() 322 Swap(&time_zone->daylight_bias); in Swap() 3442 Swap(&misc_info_.time_zone); in Read() 3460 ConvertUTF16BufferToUTF8String(misc_info_.time_zone.standard_name, in Read() 3461 sizeof(misc_info_.time_zone.standard_name), in Read() 3463 ConvertUTF16BufferToUTF8String(misc_info_.time_zone.daylight_name, in Read() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | ieee802_11_shared.c | 429 len = os_strlen(hapd->conf->time_zone); in hostapd_eid_time_zone() 433 os_memcpy(eid, hapd->conf->time_zone, len); in hostapd_eid_time_zone()
|
D | ap_config.h | 460 char *time_zone; member
|
D | ap_config.c | 478 os_free(conf->time_zone); in hostapd_config_free_bss()
|
/external/v8/src/ |
D | i18n.cc | 163 icu::UnicodeString time_zone; in SetResolvedDateSettings() local 164 tz.getID(time_zone); in SetResolvedDateSettings() 167 icu::TimeZone::getCanonicalID(time_zone, canonical_time_zone, status); in SetResolvedDateSettings()
|
/external/google-breakpad/src/google_breakpad/common/ |
D | minidump_format.h | 757 MDTimeZoneInformation time_zone; member
|
/external/gtest/test/ |
D | gtest_unittest.cc | 446 static void SetTimeZone(const char* time_zone) { in SetTimeZone() argument 454 std::string("TZ=") + (time_zone ? time_zone : ""); in SetTimeZone() 462 if (time_zone) { in SetTimeZone() 463 setenv(("TZ"), time_zone, 1); in SetTimeZone()
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest_unittest.cc | 357 static void SetTimeZone(const char* time_zone) { in SetTimeZone() argument 365 std::string("TZ=") + (time_zone ? time_zone : ""); in SetTimeZone() 373 if (time_zone) { in SetTimeZone() 374 setenv(("TZ"), time_zone, 1); in SetTimeZone()
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
D | gtest_unittest.cc | 446 static void SetTimeZone(const char* time_zone) { in SetTimeZone() argument 454 std::string("TZ=") + (time_zone ? time_zone : ""); in SetTimeZone() 462 if (time_zone) { in SetTimeZone() 463 setenv(("TZ"), time_zone, 1); in SetTimeZone()
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 3084 os_free(bss->time_zone); in hostapd_config_fill() 3085 bss->time_zone = os_strdup(pos); in hostapd_config_fill() 3086 if (bss->time_zone == NULL) in hostapd_config_fill()
|