Searched defs:timezone (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/ash/system/chromeos/
H A Dsystem_clock_observer.cc37 void SystemClockObserver::TimezoneChanged(const icu::TimeZone& timezone) { argument
/external/chromium_org/chrome/browser/chromeos/timezone/
H A Dtimezone_provider.cc5 #include "chrome/browser/chromeos/timezone/timezone_provider.h"
51 scoped_ptr<TimeZoneResponseData> timezone,
58 callback.Run(timezone.Pass(), server_error);
48 OnTimezoneResponse( TimeZoneRequest* request, TimeZoneRequest::TimeZoneResponseCallback callback, scoped_ptr<TimeZoneResponseData> timezone, bool server_error) argument
H A Dtimezone_unittest.cc7 #include "chrome/browser/chromeos/timezone/timezone_provider.h"
23 "https://localhost/maps/api/timezone/json?";
36 : url("https://localhost/maps/api/timezone/"
51 timezone.dstOffset = 0;
52 timezone.rawOffset = -28800;
53 timezone.timeZoneId = "America/Los_Angeles";
54 timezone.timeZoneName = "Pacific Standard Time";
55 timezone.error_message.erase();
56 timezone.status = chromeos::TimeZoneResponseData::OK;
61 timezone
67 chromeos::TimeZoneResponseData timezone; member in struct:__anon3376::SimpleRequest
174 OnRequestDone(scoped_ptr<TimeZoneResponseData> timezone, bool server_error) argument
187 const TimeZoneResponseData* timezone() const { return timezone_.get(); } function in class:chromeos::TimeZoneReceiver
[all...]
H A Dtimezone_request.cc5 #include "chrome/browser/chromeos/timezone/timezone_request.h"
30 "https://maps.googleapis.com/maps/api/timezone/json?";
46 // Sleep between timezone request retry on HTTP error.
49 // Sleep between timezone request retry on bad server response.
102 // Slow timezone resolve leads to bad user experience.
151 TimeZoneResponseData* timezone) {
152 timezone->status = TimeZoneResponseData::REQUEST_ERROR;
153 timezone->error_message =
158 << timezone->error_message;
162 // Sets |*timezone| t
149 PrintTimeZoneError(const GURL& server_url, const std::string& message, TimeZoneResponseData* timezone) argument
164 ParseServerResponse(const GURL& server_url, const std::string& response_body, TimeZoneResponseData* timezone) argument
372 scoped_ptr<TimeZoneResponseData> timezone = GetTimeZoneFromResponse( local
[all...]
/external/chromium_org/chrome/browser/chromeos/settings/
H A Dsystem_settings_provider.cc51 // The timezone is always trusted.
61 void SystemSettingsProvider::TimezoneChanged(const icu::TimeZone& timezone) { argument
64 system::TimezoneSettings::GetTimezoneID(timezone)));
/external/chromium_org/google_apis/drive/
H A Dtime_util.cc22 bool ParseTimezone(const base::StringPiece& timezone, argument
28 int num_of_token = Tokenize(timezone, ":", &parts);
62 // Parses timezone suffix on the time part if available.
84 // No timezone (uses local timezone)
/external/chromium_org/chrome/browser/chromeos/system/
H A Dtimezone_util.cc21 #include "third_party/icu/source/i18n/unicode/timezone.h"
35 // Returns an exemplary city in the given timezone.
72 // Take the last component of a timezone id (e.g. 'Baz' in 'Foo/Bar/Baz').
75 // any timezone for which that's the case.
84 // Gets the given timezone's name for visualization.
85 base::string16 GetTimezoneName(const icu::TimeZone& timezone) { argument
92 timezone.getOffset(now, false, raw_offset, dst_offset, status);
114 timezone.getDisplayName(dst_offset != 0, icu::TimeZone::LONG, name);
119 GetExemplarCity(timezone)));
129 // Creates a list of pairs of each timezone'
136 const icu::TimeZone* timezone = *iter; local
[all...]
/external/chromium_org/chromeos/settings/
H A Dtimezone_settings.cc23 #include "third_party/icu/source/i18n/unicode/timezone.h"
27 // The filepath to the timezone file that symlinks to the actual timezone file.
28 const char kTimezoneSymlink[] = "/var/lib/timezone/localtime";
29 const char kTimezoneSymlink2[] = "/var/lib/timezone/localtime2";
31 // The directory that contains all the timezone files. So for timezone
32 // "US/Pacific", the actual timezone file is: "/usr/share/zoneinfo/US/Pacific"
40 // we still have 400+ zones. Relaxing the criteria for the timezone
191 // incorrect states of the timezone symlin
371 SetTimezone(const icu::TimeZone& timezone) argument
416 SetTimezone(const icu::TimeZone& timezone) argument
458 GetTimezoneID(const icu::TimeZone& timezone) argument
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dtime.h20 struct timezone { struct
/external/libnfc-nci/src/include/
H A Dbuildcfg.h96 short timezone; member in struct:_timeb
/external/lldb/examples/summaries/cocoa/
H A DNSDate.py34 return time.mktime(t)-time.timezone
165 def timezone(self): member in class:NSTimeZoneClass_SummaryProvider
246 summary = provider.timezone();
/external/chromium_org/third_party/libevent/compat/sys/
H A D_libevent_time.h66 struct timezone { struct
H A D_time.h66 struct timezone { struct
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowTime.java30 public void __constructor__(String timezone) { argument
31 if (timezone == null) {
32 throw new NullPointerException("timezone is null!");
34 time.timezone = timezone;
46 time.timezone = other.timezone;
142 public void clear(String timezone) { argument
143 if (timezone == null) {
144 throw new NullPointerException("timezone i
[all...]
/external/chromium_org/content/zygote/
H A Dzygote_main_linux.cc43 #include "third_party/icu/source/i18n/unicode/timezone.h"
81 std::string result, timezone; local
83 !reply.ReadString(&iter, &timezone) ||
91 const size_t copy_len = std::min(timezone_out_len - 1, timezone.size());
92 memcpy(timezone_out, timezone.data(), copy_len);
305 // Olson timezone ID by accessing the zoneinfo files on disk. After
306 // TimeZone::createDefault is called once here, the timezone ID is
/external/chromium_org/v8/src/
H A Di18n.cc21 #include "unicode/timezone.h"
84 icu::UnicodeString timezone; local
85 if (ExtractStringSetting(isolate, options, "timeZone", &timezone)) {
86 tz = icu::TimeZone::createTimeZone(timezone);
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dnetwork_screen_handler.cc514 const base::ListValue* timezone = NULL; local
515 CHECK(timezones->GetList(i, &timezone));
518 CHECK(timezone->GetString(0, &timezone_id));
521 CHECK(timezone->GetString(1, &timezone_name));
/external/chromium_org/third_party/icu/source/tools/tzcode/
H A Dicuzdump.cpp16 * This tool write out timezone transitions for ICU timezone. This tool
17 * is used as a part of tzdata update process to check if ICU timezone
29 #include "unicode/timezone.h"
116 timezone = tz;
136 timezone->getOffset(t, FALSE, rawOffset, dstOffset, status);
141 timezone->getOffset(newt, FALSE, newRawOffset, newDstOffset, status);
157 timezone->getOffset(medt, FALSE, medRawOffset, medDstOffset, status);
191 GregorianCalendar* gcal = new GregorianCalendar(timezone, Locale::getEnglish(), status);
202 TimeZone* timezone; member in class:ICUZDump
[all...]
H A Dlocaltime.c222 time_t timezone = 0; variable
266 timezone = 0;
286 timezone = -(ttisp->tt_gmtoff);
/external/icu/icu4c/source/tools/tzcode/
H A Dicuzdump.cpp16 * This tool write out timezone transitions for ICU timezone. This tool
17 * is used as a part of tzdata update process to check if ICU timezone
29 #include "unicode/timezone.h"
116 timezone = tz;
136 timezone->getOffset(t, FALSE, rawOffset, dstOffset, status);
141 timezone->getOffset(newt, FALSE, newRawOffset, newDstOffset, status);
157 timezone->getOffset(medt, FALSE, medRawOffset, medDstOffset, status);
191 GregorianCalendar* gcal = new GregorianCalendar(timezone, Locale::getEnglish(), status);
202 TimeZone* timezone; member in class:ICUZDump
[all...]
H A Dlocaltime.c222 time_t timezone = 0; variable
266 timezone = 0;
286 timezone = -(ttisp->tt_gmtoff);
/external/chromium_org/chrome/browser/chromeos/login/
H A Dwizard_controller.cc56 #include "chrome/browser/chromeos/timezone/timezone_provider.h"
88 // Total timezone resolving process timeout.
1070 scoped_ptr<TimeZoneResponseData> timezone,
1073 DCHECK(timezone.get());
1082 VLOG(1) << "Resolved local timezone={" << timezone->ToStringForDebug()
1085 if (timezone->status != TimeZoneResponseData::OK) {
1086 LOG(WARNING) << "Resolve TimeZone: failed to resolve timezone.";
1103 if (!timezone->timeZoneId.empty()) {
1104 VLOG(1) << "Resolve TimeZone: setting timezone t
1069 OnTimezoneResolved( scoped_ptr<TimeZoneResponseData> timezone, bool server_error) argument
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dccaltst.c118 log_verbose("The number of timezone id's present with offset 0 are %d:\n", count);
176 log_verbose("%s returned %d timezone id's:\n", api, count);
358 log_err("FAIL: Error in getting the timezone display name : %s\n", u_errorName(status));
439 /*testing if the UCalendar's timezone is currently in day light saving's time*/
1828 const UChar * timezone; member in struct:__anon21185
1845 /* timezone locale start target progres yDf MDf dDf HDf mDf sDf */
1880 for (tfdItemPtr = tfdItems; tfdItemPtr->timezone != NULL; tfdItemPtr++) {
1882 UCalendar* ucal = ucal_open(tfdItemPtr->timezone, -1, tfdItemPtr->locale, UCAL_DEFAULT, &status);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_posix.h344 short timezone; member in struct:__sanitizer::__sanitizer_timeb
/external/netperf/
H A Dnetlib.c178 struct timezone { struct
206 struct timezone tz;
730 gettimeofday( struct timeval *tv , struct timezone *not_used )

Completed in 676 milliseconds

12