Searched refs:time_zone (Results 1 - 20 of 20) sorted by relevance

/external/chromium/base/
H A Dtime_mac.cc74 time_zone(is_local ? CFTimeZoneCopySystem() : NULL);
75 CFAbsoluteTime seconds = CFGregorianDateGetAbsoluteTime(date, time_zone) +
87 time_zone(is_local ? CFTimeZoneCopySystem() : NULL);
88 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(seconds, time_zone);
/external/chromium_org/base/time/
H A Dtime_mac.cc142 base::ScopedCFTypeRef<CFTimeZoneRef> time_zone(
144 CFAbsoluteTime seconds = CFGregorianDateGetAbsoluteTime(date, time_zone) +
160 base::ScopedCFTypeRef<CFTimeZoneRef> time_zone(
162 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(seconds, time_zone);
164 int cf_day_of_week = CFAbsoluteTimeGetDayOfWeek(seconds, time_zone);
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtzbdtest.cpp189 TimeZoneBoundaryTest::verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expInDaylightTime, UDate expZoneOffset, UDate expDSTOffset) argument
193 logln("-- Verifying time " + dateToString(d) + " in zone " + time_zone->getID(str));
194 if (time_zone->inDaylightTime(d, status) == expInDaylightTime)
195 logln(UnicodeString("PASS: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":"false"));
197 dataerrln(UnicodeString("FAIL: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":"false"));
200 if (time_zone->useDaylightTime() == expUseDaylightTime)
201 logln(UnicodeString("PASS: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false"));
203 dataerrln(UnicodeString("FAIL: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false"));
204 if (time_zone->getRawOffset() == expZoneOffset)
207 dataerrln(UnicodeString("FAIL: getRawOffset() = ") + (time_zone
[all...]
H A Dtzbdtest.h54 virtual void verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expInDaylightTime, UDate expZoneOffset, UDate expDSTOffset);
H A Dtztest.cpp331 TimeZone* time_zone = TimeZone::createTimeZone("PST"); local
334 logln("The timezone is " + time_zone->getID(str));
335 if (!time_zone->inDaylightTime(d, status)) dataerrln("FAIL: inDaylightTime returned FALSE");
337 if (!time_zone->useDaylightTime()) dataerrln("FAIL: useDaylightTime returned FALSE");
338 if (time_zone->getRawOffset() != - 8 * millisPerHour) dataerrln("FAIL: getRawOffset returned wrong value");
343 if (time_zone->getOffset(gc->AD, gc->get(UCAL_YEAR, status), gc->get(UCAL_MONTH, status),
348 delete time_zone;
/external/icu4c/test/intltest/
H A Dtzbdtest.cpp189 TimeZoneBoundaryTest::verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expInDaylightTime, UDate expZoneOffset, UDate expDSTOffset) argument
193 logln("-- Verifying time " + dateToString(d) + " in zone " + time_zone->getID(str));
194 if (time_zone->inDaylightTime(d, status) == expInDaylightTime)
195 logln(UnicodeString("PASS: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":"false"));
197 dataerrln(UnicodeString("FAIL: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":"false"));
200 if (time_zone->useDaylightTime() == expUseDaylightTime)
201 logln(UnicodeString("PASS: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false"));
203 dataerrln(UnicodeString("FAIL: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false"));
204 if (time_zone->getRawOffset() == expZoneOffset)
207 dataerrln(UnicodeString("FAIL: getRawOffset() = ") + (time_zone
[all...]
H A Dtzbdtest.h54 virtual void verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expInDaylightTime, UDate expZoneOffset, UDate expDSTOffset);
H A Dtztest.cpp340 TimeZone* time_zone = TimeZone::createTimeZone("PST"); local
343 logln("The timezone is " + time_zone->getID(str));
344 if (!time_zone->inDaylightTime(d, status)) dataerrln("FAIL: inDaylightTime returned FALSE");
346 if (!time_zone->useDaylightTime()) dataerrln("FAIL: useDaylightTime returned FALSE");
347 if (time_zone->getRawOffset() != - 8 * millisPerHour) dataerrln("FAIL: getRawOffset returned wrong value");
352 if (time_zone->getOffset(gc->AD, gc->get(UCAL_YEAR, status), gc->get(UCAL_MONTH, status),
357 delete time_zone;
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dieee802_11_shared.c386 len = os_strlen(hapd->conf->time_zone);
390 os_memcpy(eid, hapd->conf->time_zone, len);
H A Dap_config.h399 char *time_zone; member in struct:hostapd_bss_config
H A Dap_config.c458 os_free(conf->time_zone);
/external/wpa_supplicant_8/src/ap/
H A Dieee802_11_shared.c386 len = os_strlen(hapd->conf->time_zone);
390 os_memcpy(eid, hapd->conf->time_zone, len);
H A Dap_config.h399 char *time_zone; member in struct:hostapd_bss_config
H A Dap_config.c458 os_free(conf->time_zone);
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dieee802_11_shared.c386 len = os_strlen(hapd->conf->time_zone);
390 os_memcpy(eid, hapd->conf->time_zone, len);
H A Dap_config.h399 char *time_zone; member in struct:hostapd_bss_config
H A Dap_config.c458 os_free(conf->time_zone);
/external/chromium_org/v8/src/
H A Di18n.cc177 icu::UnicodeString time_zone; local
178 tz.getID(time_zone);
181 icu::TimeZone::getCanonicalID(time_zone, canonical_time_zone, status);
/external/chromium_org/testing/gtest/test/
H A Dgtest_unittest.cc357 static void SetTimeZone(const char* time_zone) { argument
359 // and not being present, so we have to consider the case of time_zone
365 std::string("TZ=") + (time_zone ? time_zone : "");
373 if (time_zone) {
374 setenv(("TZ"), time_zone, 1);
/external/wpa_supplicant_8/hostapd/
H A Dconfig_file.c2733 } else if (os_strcmp(buf, "time_zone") == 0) {
2737 "time_zone", line);
2741 os_free(bss->time_zone);
2742 bss->time_zone = os_strdup(pos);
2743 if (bss->time_zone == NULL)

Completed in 282 milliseconds