/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/icu/icu4c/source/test/intltest/ |
D | tzbdtest.cpp | 191 TimeZoneBoundaryTest::verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expIn… in verifyDST() argument 195 logln("-- Verifying time " + dateToString(d) + " in zone " + time_zone->getID(str)); in verifyDST() 196 if (time_zone->inDaylightTime(d, status) == expInDaylightTime) in verifyDST() 197 …logln(UnicodeString("PASS: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":"fal… in verifyDST() 199 …dataerrln(UnicodeString("FAIL: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":… in verifyDST() 202 if (time_zone->useDaylightTime() == expUseDaylightTime) in verifyDST() 203 … logln(UnicodeString("PASS: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false")); in verifyDST() 205 …dataerrln(UnicodeString("FAIL: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false"… in verifyDST() 206 if (time_zone->getRawOffset() == expZoneOffset) in verifyDST() 209 …dataerrln(UnicodeString("FAIL: getRawOffset() = ") + (time_zone->getRawOffset() / ONE_HOUR) + "; … in verifyDST() [all …]
|
D | tzbdtest.h | 56 …virtual void verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expInDaylight…
|
D | tztest.cpp | 343 TimeZone* time_zone = TimeZone::createTimeZone("PST"); in TestVariousAPI518() local 346 logln("The timezone is " + time_zone->getID(str)); in TestVariousAPI518() 347 if (!time_zone->inDaylightTime(d, status)) dataerrln("FAIL: inDaylightTime returned FALSE"); in TestVariousAPI518() 349 if (!time_zone->useDaylightTime()) dataerrln("FAIL: useDaylightTime returned FALSE"); in TestVariousAPI518() 350 …if (time_zone->getRawOffset() != - 8 * millisPerHour) dataerrln("FAIL: getRawOffset returned wrong… in TestVariousAPI518() 355 if (time_zone->getOffset(gc->AD, gc->get(UCAL_YEAR, status), gc->get(UCAL_MONTH, status), in TestVariousAPI518() 360 delete time_zone; in TestVariousAPI518()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 242 void verifyDST(String tag, Calendar cal, TimeZone time_zone, in verifyDST() argument 249 " in zone " + time_zone.getID() + " (" + in verifyDST() 252 if (time_zone.inDaylightTime(d) == expInDaylightTime) in verifyDST() 253 logln("PASS: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST() 255 errln("FAIL: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST() 257 if (time_zone.useDaylightTime() == expUseDaylightTime) in verifyDST() 258 logln("PASS: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST() 260 errln("FAIL: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST() 262 if (time_zone.getRawOffset() == expRawOffset) in verifyDST() 265 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/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 245 void verifyDST(String tag, Calendar cal, TimeZone time_zone, in verifyDST() argument 252 " in zone " + time_zone.getID() + " (" + in verifyDST() 255 if (time_zone.inDaylightTime(d) == expInDaylightTime) in verifyDST() 256 logln("PASS: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST() 258 errln("FAIL: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST() 260 if (time_zone.useDaylightTime() == expUseDaylightTime) in verifyDST() 261 logln("PASS: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST() 263 errln("FAIL: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST() 265 if (time_zone.getRawOffset() == expRawOffset) in verifyDST() 268 errln("FAIL: getRawOffset() = " + time_zone.getRawOffset()/(double)ONE_HOUR + in verifyDST() [all …]
|
D | TimeZoneTest.java | 700 TimeZone time_zone = TimeZone.getTimeZone("PST"); in TestVariousAPI518() local 705 logln("The timezone is " + time_zone.getID()); in TestVariousAPI518() 707 if (time_zone.inDaylightTime(d) != true) in TestVariousAPI518() 710 if (time_zone.useDaylightTime() != true) in TestVariousAPI518() 713 if (time_zone.getRawOffset() != -8*millisPerHour) in TestVariousAPI518() 718 …if (time_zone.getOffset(GregorianCalendar.AD, gc.get(GregorianCalendar.YEAR), gc.get(GregorianCale… in TestVariousAPI518()
|
/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/ImageMagick/MagickCore/ |
D | nt-base.c | 379 struct timezone *time_zone) in gettimeofday() argument 406 if (time_zone != (struct timezone *) NULL) in gettimeofday() 413 time_zone->tz_minuteswest=_timezone/60; in gettimeofday() 414 time_zone->tz_dsttime=_daylight; in gettimeofday()
|
/external/v8/src/ |
D | i18n.cc | 175 icu::UnicodeString time_zone; in SetResolvedDateSettings() local 176 tz.getID(time_zone); in SetResolvedDateSettings() 179 icu::TimeZone::getCanonicalID(time_zone, canonical_time_zone, status); in SetResolvedDateSettings()
|
/external/wpa_supplicant_8/src/ap/ |
D | ieee802_11_shared.c | 451 len = os_strlen(hapd->conf->time_zone); in hostapd_eid_time_zone() 455 os_memcpy(eid, hapd->conf->time_zone, len); in hostapd_eid_time_zone()
|
D | ap_config.h | 480 char *time_zone; member
|
D | ap_config.c | 524 os_free(conf->time_zone); in hostapd_config_free_bss()
|
/external/google-breakpad/src/google_breakpad/common/ |
D | minidump_format.h | 757 MDTimeZoneInformation time_zone; member
|
/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/googletest/googletest/test/ |
D | gtest_unittest.cc | 441 static void SetTimeZone(const char* time_zone) { in SetTimeZone() argument 449 std::string("TZ=") + (time_zone ? time_zone : ""); in SetTimeZone() 455 if (time_zone) { in SetTimeZone() 456 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/v8/testing/gtest/test/ |
D | gtest_unittest.cc | 441 static void SetTimeZone(const char* time_zone) { in SetTimeZone() argument 449 std::string("TZ=") + (time_zone ? time_zone : ""); in SetTimeZone() 455 if (time_zone) { in SetTimeZone() 456 setenv(("TZ"), time_zone, 1); in SetTimeZone()
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 3289 os_free(bss->time_zone); in hostapd_config_fill() 3290 bss->time_zone = os_strdup(pos); in hostapd_config_fill() 3291 if (bss->time_zone == NULL) in hostapd_config_fill()
|