/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
H A D | TimeZoneTest.java | 42 TimeZone tz = TimeZone.getTimeZone("PST"); 43 int offset = tz.getOffset(1, 2004, 0, 01, 1, 0); 51 TimeZone tz = TimeZone.getTimeZone("PST"); 52 int value = tz.getRawOffset(); 54 tz.setRawOffset(value1); 55 int result = tz.getRawOffset(); 64 TimeZone tz = TimeZone.getTimeZone("PST"); 65 int offset = tz.getRawOffset(); 73 TimeZone tz = TimeZone.getTimeZone("PST"); 74 assertEquals("PST", tz [all...] |
/external/linux-kselftest/tools/testing/selftests/timers/ |
H A D | set-tz.c | 1 /* Set tz value 30 struct timezone tz; local 32 tz.tz_minuteswest = min; 33 tz.tz_dsttime = dst; 35 return settimeofday(0, &tz); 40 struct timezone tz; local 43 memset(&tz, 0, sizeof(tz)); 44 gettimeofday(&tv, &tz); 45 return tz 50 struct timezone tz; local [all...] |
/external/strace/tests/ |
H A D | xettimeofday.c | 41 TAIL_ALLOC_OBJECT_CONST_PTR(struct timezone, tz); 49 if (syscall(__NR_gettimeofday, tv, tz)) 55 tz->tz_minuteswest, tz->tz_dsttime); 59 assert(syscall(__NR_settimeofday, tv, tz) == -1); 64 tz->tz_minuteswest, tz->tz_dsttime); 68 assert(syscall(__NR_settimeofday, tv, tz) == -1); 73 tz->tz_minuteswest, tz [all...] |
/external/strace/tests-m32/ |
H A D | xettimeofday.c | 41 TAIL_ALLOC_OBJECT_CONST_PTR(struct timezone, tz); 49 if (syscall(__NR_gettimeofday, tv, tz)) 55 tz->tz_minuteswest, tz->tz_dsttime); 59 assert(syscall(__NR_settimeofday, tv, tz) == -1); 64 tz->tz_minuteswest, tz->tz_dsttime); 68 assert(syscall(__NR_settimeofday, tv, tz) == -1); 73 tz->tz_minuteswest, tz [all...] |
/external/strace/tests-mx32/ |
H A D | xettimeofday.c | 41 TAIL_ALLOC_OBJECT_CONST_PTR(struct timezone, tz); 49 if (syscall(__NR_gettimeofday, tv, tz)) 55 tz->tz_minuteswest, tz->tz_dsttime); 59 assert(syscall(__NR_settimeofday, tv, tz) == -1); 64 tz->tz_minuteswest, tz->tz_dsttime); 68 assert(syscall(__NR_settimeofday, tv, tz) == -1); 73 tz->tz_minuteswest, tz [all...] |
/external/python/cpython3/Modules/clinic/ |
H A D | _datetimemodule.c.h | 6 "now($type, /, tz=None)\n" 9 "Returns new datetime object representing current time local to tz.\n" 11 " tz\n" 14 "If no tz is specified, uses local timezone."); 20 datetime_datetime_now_impl(PyTypeObject *type, PyObject *tz); 26 static const char * const _keywords[] = {"tz", NULL}; 28 PyObject *tz = Py_None; local 31 &tz)) { 34 return_value = datetime_datetime_now_impl(type, tz);
|
/external/lmfit/demo/ |
H A D | surface1.c | 22 /* fit model: a plane p0 + p1*tx + p2*tz */ 23 double f( double tx, double tz, const double *p ) argument 25 return p[0] + p[1]*tx + p[2]*tz; 30 double *tx, *tz; member in struct:__anon15151 32 double (*f)( double tx, double tz, const double *p ); 45 fvec[i] = D->y[i] - D->f( D->tx[i], D->tz[i], par ); 57 double tz[4] = { -1, 1, -1, 1 }; local 60 data_struct data = { tx, tz, y, f }; 86 ff = f(tx[i], tz[i], par); 88 i, tx[i], tz[ [all...] |
/external/libvncserver/compat/msvc/sys/ |
H A D | time.h | 32 static __inline int gettimeofday(struct timeval *tv, struct timezone *tz) argument 52 if (NULL != tz) 59 tz->tz_minuteswest = _timezone / 60; 60 tz->tz_dsttime = _daylight;
|
/external/syslinux/gpxe/src/include/sys/ |
H A D | time.h | 18 extern int gettimeofday ( struct timeval *tv, struct timezone *tz );
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | DangiCalendar.java | 77 RuleBasedTimeZone tz = new RuleBasedTimeZone("KOREA_ZONE", initialTimeZone); 78 tz.addTransitionRule(rule1897); 79 tz.addTransitionRule(rule1898to1911); 80 tz.addTransitionRule(ruleFrom1912); 81 tz.freeze(); 82 KOREA_ZONE = tz;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | DangiCalendar.java | 75 RuleBasedTimeZone tz = new RuleBasedTimeZone("KOREA_ZONE", initialTimeZone); 76 tz.addTransitionRule(rule1897); 77 tz.addTransitionRule(rule1898to1911); 78 tz.addTransitionRule(ruleFrom1912); 79 tz.freeze(); 80 KOREA_ZONE = tz;
|
/external/v8/src/ |
H A D | dateparser-inl.h | 21 TimeZoneComposer tz; local 74 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz); 103 } else if (tz.IsExpecting(n)) { 104 tz.SetAbsoluteMinute(n); 129 tz.Set(value); 137 } else if (token.IsAsciiSign() && (tz.IsUTC() || !time.IsEmpty())) { 140 tz.SetSign(token.ascii_sign()); 152 tz.SetAbsoluteHour(n); 154 tz.SetAbsoluteMinute(kNone); 157 tz 244 ParseES5DateTime( DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, TimeZoneComposer* tz) argument [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
H A D | DateFormatter.java | 50 * @param tz the new time zone 53 DateFormatter withTimeZone(TimeZone tz); argument
|
H A D | DurationFormatter.java | 42 * @param tz the time zone 76 * @param tz the time zone in which to compute durations. 79 DurationFormatter withTimeZone(TimeZone tz); argument
|
H A D | PeriodBuilder.java | 56 PeriodBuilder withTimeZone(TimeZone tz); argument
|
H A D | BasicDurationFormatter.java | 94 public DurationFormatter withTimeZone(TimeZone tz) { argument 95 if (!tz.equals(timeZone)) { 96 PeriodBuilder newBuilder = builder.withTimeZone(tz); 99 : fallback.withTimeZone(tz); 102 localeName, tz);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
H A D | DateFormatter.java | 48 * @param tz the new time zone 51 DateFormatter withTimeZone(TimeZone tz); argument
|
H A D | DurationFormatter.java | 40 * @param tz the time zone 74 * @param tz the time zone in which to compute durations. 77 DurationFormatter withTimeZone(TimeZone tz); argument
|
H A D | PeriodBuilder.java | 54 PeriodBuilder withTimeZone(TimeZone tz); argument
|
H A D | BasicDurationFormatter.java | 93 public DurationFormatter withTimeZone(TimeZone tz) { argument 94 if (!tz.equals(timeZone)) { 95 PeriodBuilder newBuilder = builder.withTimeZone(tz); 98 : fallback.withTimeZone(tz); 101 localeName, tz);
|
/external/icu/icu4c/source/tools/tzcode/ |
H A D | icuzdump.cpp | 119 void setTimeZone(TimeZone* tz) { argument 120 timezone = tz; 240 TimeZone* tz = NULL; local 245 tz = TimeZone::createTimeZone(*zid); 251 tz = TimeZone::createTimeZone((const UnicodeString&)zids[idx]); 254 tz = TimeZone::createDefault(); 259 return tz; 376 TimeZone* tz = zit->next(); local 377 if (tz == NULL) { 380 dumper.setTimeZone(tz); 407 TimeZone* tz = zit->next(); local [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | tzregts.h | 55 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max); 56 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
|
/external/mdnsresponder/mDNSWindows/ |
H A D | PosixCompat.h | 53 gettimeofday( struct timeval * tv, struct timezone * tz );
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
H A D | XMPDateTime.java | 88 /** @param tz a time zone to set */ 89 void setTimeZone(TimeZone tz); argument
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/ |
H A D | rpc_clnt_call_scalability.c | 68 struct timezone tz; local 94 gettimeofday(&tv1, &tz); 105 gettimeofday(&tv2, &tz);
|