Searched refs:tz (Results 1 - 25 of 324) sorted by relevance

1234567891011>>

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
H A DTimeZoneTest.java42 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 Dset-tz.c1 /* 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 Dxettimeofday.c41 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 Dxettimeofday.c41 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 Dxettimeofday.c41 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.h6 "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 Dsurface1.c22 /* 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 Dtime.h32 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 Dtime.h18 extern int gettimeofday ( struct timeval *tv, struct timezone *tz );
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DDangiCalendar.java77 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 DDangiCalendar.java75 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 Ddateparser-inl.h21 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 DDateFormatter.java50 * @param tz the new time zone
53 DateFormatter withTimeZone(TimeZone tz); argument
H A DDurationFormatter.java42 * @param tz the time zone
76 * @param tz the time zone in which to compute durations.
79 DurationFormatter withTimeZone(TimeZone tz); argument
H A DPeriodBuilder.java56 PeriodBuilder withTimeZone(TimeZone tz); argument
H A DBasicDurationFormatter.java94 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 DDateFormatter.java48 * @param tz the new time zone
51 DateFormatter withTimeZone(TimeZone tz); argument
H A DDurationFormatter.java40 * @param tz the time zone
74 * @param tz the time zone in which to compute durations.
77 DurationFormatter withTimeZone(TimeZone tz); argument
H A DPeriodBuilder.java54 PeriodBuilder withTimeZone(TimeZone tz); argument
H A DBasicDurationFormatter.java93 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 Dicuzdump.cpp119 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 Dtzregts.h55 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max);
56 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
/external/mdnsresponder/mDNSWindows/
H A DPosixCompat.h53 gettimeofday( struct timeval * tv, struct timezone * tz );
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
H A DXMPDateTime.java88 /** @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 Drpc_clnt_call_scalability.c68 struct timezone tz; local
94 gettimeofday(&tv1, &tz);
105 gettimeofday(&tv2, &tz);

Completed in 701 milliseconds

1234567891011>>