/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TimeZoneGenericNames.java | 158 TimeZone tz = TimeZone.getDefault(); local 159 String tzCanonicalID = ZoneMeta.getCanonicalCLDRID(tz); 189 * @param tz the time zone 195 public String getDisplayName(TimeZone tz, GenericNameType type, long date) { 200 tzCanonicalID = ZoneMeta.getCanonicalCLDRID(tz); 207 name = formatGenericNonLocationName(tz, type, date); 209 tzCanonicalID = ZoneMeta.getCanonicalCLDRID(tz); 317 * @param tz the requested time zone 324 private String formatGenericNonLocationName(TimeZone tz, GenericNameType type, long date) { 326 String tzID = ZoneMeta.getCanonicalCLDRID(tz); [all...] |
JavaTimeZone.java | 274 JavaTimeZone tz = (JavaTimeZone)super.cloneAsThawed(); local 275 tz.javatz = (java.util.TimeZone)javatz.clone(); 276 tz.javacal = new java.util.GregorianCalendar(javatz); // easier than synchronized javacal.clone() 277 tz.isFrozen = false; 278 return tz;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
JavaTimeZone.java | 276 JavaTimeZone tz = (JavaTimeZone)super.cloneAsThawed(); local 277 tz.javatz = (java.util.TimeZone)javatz.clone(); 278 tz.javacal = new java.util.GregorianCalendar(javatz); // easier than synchronized javacal.clone() 279 tz.isFrozen = false; 280 return tz;
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
TimeZoneJDK.java | 227 TimeZoneJDK tz = (TimeZoneJDK)super.cloneAsThawed(); local 228 tz.fJdkTz = (TimeZone)fJdkTz.clone(); 229 tz.fJdkCal = null; // To be instantiated when necessary 230 tz.fIsFrozen = false; 231 return tz;
|
/frameworks/base/rs/java/android/renderscript/ |
AllocationAdapter.java | 46 int tz = mAdaptedAllocation.mType.getZ(); local 49 if ((tx==1) && (ty == 1) && (tz == 1)) { 55 if (tz > 1) tz >>= 1; 60 mCurrentDimZ = tz;
|
/libcore/ojluni/src/main/java/java/time/zone/ |
IcuZoneRulesProvider.java | 109 BasicTimeZone tz = (BasicTimeZone) timeZone; local 110 TimeZoneRule[] rules = tz.getTimeZoneRules(); 126 TimeZoneTransition transition = tz.getNextTransition(Long.MIN_VALUE, false); 171 transition = tz.getNextTransition(transition.getTime(), false); 182 transition = tz.getNextTransition(transition.getTime(), false);
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertAdapter.java | 115 String tz = Utils.getTimeZone(context, null); local 119 tz = Time.TIMEZONE_UTC; 127 Time time = new Time(tz); 132 if (!allDay && tz != Time.getCurrentTimezone()) { 133 sb.append(" ").append(TimeZone.getTimeZone(tz).getDisplayName(
|
/bionic/libc/bionic/ |
vdso.cpp | 54 int gettimeofday(timeval* tv, struct timezone* tz) { 58 return vdso_return(vdso_gettimeofday(tv, tz)); 60 return __gettimeofday(tv, tz);
|
/external/icu/icu4c/source/test/intltest/ |
itformat.cpp | 109 TimeZone *tz = TimeZone::createTimeZone("America/Los_Angeles"); local 110 TimeZone::setDefault(*tz); 111 delete tz;
|
/external/icu/icu4c/source/test/perf/normperf/ |
dtfmtrtperf.h | 166 TimeZone *tz = TimeZone::createTimeZone(*tzid); local 173 sdf->setTimeZone(*tz); 197 delete tz;
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/ |
tirpc_bottomlevel_clnt_call_scalability.c | 144 struct timezone tz; local 183 gettimeofday(&tv1, &tz); 207 gettimeofday(&tv2, &tz);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/ |
tirpc_expertlevel_clnt_call_scalability.c | 139 struct timezone tz; local 178 gettimeofday(&tv1, &tz); 202 gettimeofday(&tv2, &tz);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/ |
tirpc_rpcb_rmtcall_scalability.c | 129 struct timezone tz; local 168 gettimeofday(&tv1, &tz); 192 gettimeofday(&tv2, &tz);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/ |
tirpc_interlevel_clnt_call_scalability.c | 121 struct timezone tz; local 160 gettimeofday(&tv1, &tz); 184 gettimeofday(&tv2, &tz);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/ |
tirpc_toplevel_clnt_call_scalability.c | 111 struct timezone tz; local 150 gettimeofday(&tv1, &tz); 174 gettimeofday(&tv2, &tz);
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RecurrenceProcessorTest.java | 88 String tz = "America/Los_Angeles"; local 89 Time dtstart = new Time(tz); 90 Time rangeStart = new Time(tz); 91 Time rangeEnd = new Time(tz); 92 Time outCal = new Time(tz); 156 Time expectedLast = new Time(tz); 2454 String tz = "America\/Los_Angeles"; local 2500 String tz = "America\/Los_Angeles"; local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
CityDAO.java | 147 final TimeZone tz = TimeZone.getTimeZone(tzId); local 149 if ("GMT".equals(tz.getID())) { 164 return new City(id, index, indexString, name, phoneticName, tz);
|
/external/e2fsprogs/debugfs/ |
util.c | 205 const char *tz; local 208 /* The diet libc doesn't respect the TZ environemnt variable */ 209 tz = ss_safe_getenv("TZ"); 210 if (!tz) 211 tz = ""; 212 do_gmt = !strcmp(tz, "GMT") || !strcmp(tz, "GMT0");
|
/prebuilts/go/darwin-x86/src/time/ |
zoneinfo_windows_test.go | 21 if tz := t1.Format("MST"); tz[0] == '-' || tz[0] == '+' {
|
/prebuilts/go/linux-x86/src/time/ |
zoneinfo_windows_test.go | 21 if tz := t1.Format("MST"); tz[0] == '-' || tz[0] == '+' {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
_parseaddr.py | 70 data.append('') # Dummy tz
74 [dd, mm, yy, tm, tz] = data
91 yy, tz = tz, yy
123 tz = tz.upper()
124 if tz in _timezones:
125 tzoffset = _timezones[tz]
128 tzoffset = int(tz)
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
BasicTimeZone.java | 70 * @param tz The instance of <code>TimeZone</code> 75 * time range. When tz is not a <code>BasicTimeZone</code>, this method 78 public boolean hasEquivalentTransitions(TimeZone tz, long start, long end) { 79 return hasEquivalentTransitions(tz, start, end, false); 88 * @param tz The instance of <code>TimeZone</code> 98 * time range. When tz is not a <code>BasicTimeZone</code>, this method 101 public boolean hasEquivalentTransitions(TimeZone tz, long start, long end, 103 if (this == tz) { 107 if (!(tz instanceof BasicTimeZone)) { 116 tz.getOffset(start, false, offsets2) [all...] |
/external/icu/icu4c/source/test/compat/ |
tzdate.c | 77 const UChar *tz = 0; local 84 fmt = udat_open(style, style, 0, tz, -1,NULL,0, &status);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
BasicTimeZone.java | 73 * @param tz The instance of <code>TimeZone</code> 78 * time range. When tz is not a <code>BasicTimeZone</code>, this method 83 public boolean hasEquivalentTransitions(TimeZone tz, long start, long end) { 84 return hasEquivalentTransitions(tz, start, end, false); 93 * @param tz The instance of <code>TimeZone</code> 103 * time range. When tz is not a <code>BasicTimeZone</code>, this method 108 public boolean hasEquivalentTransitions(TimeZone tz, long start, long end, 110 if (this == tz) { 114 if (!(tz instanceof BasicTimeZone)) { 123 tz.getOffset(start, false, offsets2) [all...] |
/external/python/cpython2/Lib/email/ |
_parseaddr.py | 70 data.append('') # Dummy tz 74 [dd, mm, yy, tm, tz] = data 91 yy, tz = tz, yy 123 tz = tz.upper() 124 if tz in _timezones: 125 tzoffset = _timezones[tz] 128 tzoffset = int(tz)
|