/bionic/libc/unistd/ |
ftime.c | 33 struct timezone tz; local 35 if (gettimeofday (&tv, &tz) < 0) 45 tb->timezone = tz.tz_minuteswest; 46 tb->dstflag = tz.tz_dsttime;
|
/hardware/ti/omap3/dspbridge/libbridge/ |
perfutils.c | 41 struct timezone tz; local 42 Result = gettimeofday(tv, &tz);
|
DSPProcessor_OEM.c | 102 struct timezone tz; local
|
DSPManager.c | 300 struct timezone tz; local 343 struct timezone tz; local
|
DSPProcessor.c | 219 struct timezone tz; local 263 struct timezone tz; local 405 struct timezone tz; local 535 struct timezone tz; local 599 struct timezone tz; local 645 struct timezone tz; local
|
/external/icu4c/test/intltest/ |
itformat.cpp | 77 TimeZone *tz = TimeZone::createTimeZone("PST"); local 78 TimeZone::setDefault(*tz); 79 delete tz;
|
/external/icu4c/i18n/unicode/ |
vtzone.h | 415 BasicTimeZone *tz; member in class:VTimeZone
|
/frameworks/av/libvideoeditor/osal/src/ |
M4OSA_Clock.c | 59 struct timezone tz; local 76 if(gettimeofday(&tv, &tz) == 0)
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
Time.java | 48 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); local 51 dateF.setTimeZone(tz);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
SetTimeZonePermissionsTest.java | 55 String tz = mZones[i]; local 57 mAlarm.setTimeZone(tz);
|
/frameworks/base/services/jni/ |
com_android_server_AlarmManagerService.cpp | 42 struct timezone tz; local 44 tz.tz_minuteswest = minswest; 45 tz.tz_dsttime = 0; 47 int result = settimeofday(NULL, &tz);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
DateUtils.java | 39 TimeZone tz = TimeZone.getTimeZone("GMT"); local 40 Calendar c = Calendar.getInstance(tz);
|
/cts/tests/tests/util/src/android/util/cts/ |
TimeUtilsTest.java | 37 TimeZone tz = TimeZone.getTimeZone(name); local 38 Calendar c = Calendar.getInstance(tz); 58 TimeZone tz = TimeZone.getTimeZone(name); local 59 Calendar c = Calendar.getInstance(tz); 74 TimeZone tz = TimeZone.getTimeZone(name); local 75 Calendar c = Calendar.getInstance(tz); 94 TimeZone tz = TimeZone.getTimeZone(name); local 95 Calendar c = Calendar.getInstance(tz);
|
/external/icu4c/samples/date/ |
date.c | 46 static void date(const UChar *tz, UDateFormatStyle style, char *format, UErrorCode *status); 64 const UChar *tz = 0; local 84 tz = GMT_ID; 138 date(tz, style, format, &status); 192 date(const UChar *tz, 202 fmt = udat_open(style, style, 0, tz, -1,NULL,0, status);
|
/libcore/luni/src/test/java/libcore/java/util/ |
TimeZoneTest.java | 58 TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); local 59 TimeZone.setDefault(tz); 63 assertEquals(-28800000, tz.getOffset(date.getTime())); 64 assertFalse(tz.inDaylightTime(date)); 69 assertEquals(-28800000, tz.getOffset(date.getTime())); 70 assertFalse(tz.inDaylightTime(date)); 82 TimeZone tz = TimeZone.getTimeZone("Asia/Saigon"); local 86 assertNonDaylightOffset(25580, -2005975000L, tz); 88 assertNonDaylightOffset(25580, -2005974400L, tz); // 0 89 assertNonDaylightOffset(25580, -2005974000L, tz); 124 TimeZone tz = TimeZone.getTimeZone(id); local [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
Support_SimpleDateFormat.java | 51 TimeZone tz = TimeZone.getTimeZone("EST"); local 52 Calendar cal = new GregorianCalendar(tz); 58 format.setTimeZone(tz); 138 TimeZone tz = TimeZone.getTimeZone("EST"); local 139 Calendar cal = new GregorianCalendar(tz); 145 format.setTimeZone(tz);
|
/external/chromium/base/ |
time_posix.cc | 59 struct timezone tz = { 0, 0 }; // UTC local 60 if (gettimeofday(&tv, &tz) != 0) {
|
/external/icu4c/i18n/ |
wintzimpl.cpp | 36 static UBool getSystemTimeInformation(TimeZone *tz, SYSTEMTIME &daylightDate, SYSTEMTIME &standardDate, int32_t &bias, int32_t &daylightBias, int32_t &standardBias) { 39 BasicTimeZone *btz = (BasicTimeZone*)tz; // we should check type 119 TimeZone *tz = TimeZone::createTimeZone(id); local 121 if (tz != NULL) { 128 if (getSystemTimeInformation(tz, daylightDate, standardDate, bias, daylightBias, standardBias)) {
|
/external/icu4c/test/compat/ |
tzdate.c | 75 const UChar *tz = 0; local 82 fmt = udat_open(style, style, 0, tz, -1,NULL,0, &status);
|
/external/icu4c/test/perf/normperf/ |
dtfmtrtperf.h | 163 TimeZone *tz = TimeZone::createTimeZone(*tzid); local 170 sdf->setTimeZone(*tz); 194 delete tz;
|
/external/tremolo/Tremolo/ |
misc.c | 92 static struct timezone tz; local 95 gettimeofday(&tv,&tz); 149 static struct timezone tz; local 155 gettimeofday(&tv,&tz);
|
/external/v8/src/ |
dateparser-inl.h | 43 TimeZoneComposer tz; local 95 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz); 122 } else if (tz.IsExpecting(n)) { 123 tz.SetAbsoluteMinute(n); 147 tz.Set(value); 152 } else if (token.IsAsciiSign() && (tz.IsUTC() || !time.IsEmpty())) { 154 tz.SetSign(token.ascii_sign()); 163 tz.SetAbsoluteHour(n); 164 tz.SetAbsoluteMinute(kNone); 166 tz.SetAbsoluteHour(n / 100) [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
TimeUtilsTest.java | 41 TimeZone tz = TimeZone.getTimeZone(name); local 42 Calendar c = Calendar.getInstance(tz); 62 TimeZone tz = TimeZone.getTimeZone(name); local 63 Calendar c = Calendar.getInstance(tz); 78 TimeZone tz = TimeZone.getTimeZone(name); local 79 Calendar c = Calendar.getInstance(tz); 358 "tz", "Africa/Dar_es_Salaam", 392 TimeZone tz = TimeZone.getTimeZone(name); local 393 Calendar c = Calendar.getInstance(tz); 416 TimeZone tz = TimeZone.getTimeZone(name) local [all...] |
/frameworks/rs/ |
rsScript.cpp | 107 char *tz = (char *) malloc(length + 1); local 108 if (!tz) { 112 strncpy(tz, timeZone, length); 113 tz[length] = '\0'; 114 if (setenv("TZ", tz, 1) == 0) { 119 free(tz);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TimeZoneTest.java | 217 TimeZone tz = TimeZone.getTimeZone("Asia/Shanghai"); local 218 int rawoffset = tz.getRawOffset(); 256 TimeZone tz = TimeZone.getTimeZone("Asia/Shanghai"); local 257 int offset = tz.getRawOffset(); 263 if (!(ids[i].equalsIgnoreCase(tz.getID()))) { 265 assertTrue(tz.hasSameRules(sameZone)); 272 assertFalse("should return false when parameter is null", tz
|