Home
last modified time | relevance | path

Searched refs:time_zone (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/third_party/webrtc/system_wrappers/source/
Devent_posix.cc130 struct timezone time_zone; in Wait() local
131 time_zone.tz_minuteswest = 0; in Wait()
132 time_zone.tz_dsttime = 0; in Wait()
133 gettimeofday(&value, &time_zone); in Wait()
231 struct timezone time_zone; in Process()
232 time_zone.tz_minuteswest = 0; in Process()
233 time_zone.tz_dsttime = 0; in Process()
234 gettimeofday(&value, &time_zone); in Process()
/external/icu/icu4c/source/test/intltest/
Dtzbdtest.cpp189 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 …]
Dtzbdtest.h54 …virtual void verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expInDaylight…
Dtztest.cpp333 TimeZone* time_zone = TimeZone::createTimeZone("PST"); in TestVariousAPI518() local
336 logln("The timezone is " + time_zone->getID(str)); in TestVariousAPI518()
337 if (!time_zone->inDaylightTime(d, status)) dataerrln("FAIL: inDaylightTime returned FALSE"); in TestVariousAPI518()
339 if (!time_zone->useDaylightTime()) dataerrln("FAIL: useDaylightTime returned FALSE"); in TestVariousAPI518()
340 …if (time_zone->getRawOffset() != - 8 * millisPerHour) dataerrln("FAIL: getRawOffset returned wrong… in TestVariousAPI518()
345 if (time_zone->getOffset(gc->AD, gc->get(UCAL_YEAR, status), gc->get(UCAL_MONTH, status), in TestVariousAPI518()
350 delete time_zone; in TestVariousAPI518()
/external/chromium_org/third_party/icu/source/test/intltest/
Dtzbdtest.cpp189 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 …]
Dtzbdtest.h54 …virtual void verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expInDaylight…
Dtztest.cpp342 TimeZone* time_zone = TimeZone::createTimeZone("PST"); in TestVariousAPI518() local
345 logln("The timezone is " + time_zone->getID(str)); in TestVariousAPI518()
346 if (!time_zone->inDaylightTime(d, status)) dataerrln("FAIL: inDaylightTime returned FALSE"); in TestVariousAPI518()
348 if (!time_zone->useDaylightTime()) dataerrln("FAIL: useDaylightTime returned FALSE"); in TestVariousAPI518()
349 …if (time_zone->getRawOffset() != - 8 * millisPerHour) dataerrln("FAIL: getRawOffset returned wrong… in TestVariousAPI518()
354 if (time_zone->getOffset(gc->AD, gc->get(UCAL_YEAR, status), gc->get(UCAL_MONTH, status), in TestVariousAPI518()
359 delete time_zone; in TestVariousAPI518()
/external/chromium_org/base/time/
Dtime_mac.cc174 base::ScopedCFTypeRef<CFTimeZoneRef> time_zone( in FromExploded() local
176 CFAbsoluteTime seconds = CFGregorianDateGetAbsoluteTime(date, time_zone) + in FromExploded()
192 base::ScopedCFTypeRef<CFTimeZoneRef> time_zone( in Explode() local
194 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(seconds, time_zone); in Explode()
196 int cf_day_of_week = CFAbsoluteTimeGetDayOfWeek(seconds, time_zone); in Explode()
/external/chromium_org/content/browser/
Dtime_zone_monitor_chromeos.cc24 virtual void TimezoneChanged(const icu::TimeZone& time_zone) OVERRIDE { in TimezoneChanged() argument
/external/chromium_org/chrome/test/telemetry/chromeos/
Dlogin_unittest.py261 def __init__(self, region_code, keyboard, time_zone, language_code, argument
265 self.time_zone = time_zone
/external/wpa_supplicant_8/src/ap/
Dieee802_11_shared.c417 len = os_strlen(hapd->conf->time_zone); in hostapd_eid_time_zone()
421 os_memcpy(eid, hapd->conf->time_zone, len); in hostapd_eid_time_zone()
Dap_config.h411 char *time_zone; member
Dap_config.c456 os_free(conf->time_zone); in hostapd_config_free_bss()
/external/chromium_org/v8/src/
Di18n.cc149 icu::UnicodeString time_zone; in SetResolvedDateSettings() local
150 tz.getID(time_zone); in SetResolvedDateSettings()
153 icu::TimeZone::getCanonicalID(time_zone, canonical_time_zone, status); in SetResolvedDateSettings()
/external/chromium_org/google_apis/gcm/protocol/
Dcheckin.proto64 optional string time_zone = 12; field
/external/chromium_org/testing/gtest/test/
Dgtest_unittest.cc441 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/gtest/test/
Dgtest_unittest.cc446 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/
Dconfig_file.c2860 os_free(bss->time_zone); in hostapd_config_fill()
2861 bss->time_zone = os_strdup(pos); in hostapd_config_fill()
2862 if (bss->time_zone == NULL) in hostapd_config_fill()