/external/strace/ |
time.c | 39 struct timezone tz; local 41 if (umove_or_printaddr(tcp, addr, &tz)) 45 tz.tz_minuteswest, tz.tz_dsttime);
|
/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/python/cpython3/Modules/clinic/ |
_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/icu/icu4c/source/i18n/unicode/ |
vtzone.h | 417 BasicTimeZone *tz; member in class:VTimeZone
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
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.tz_minuteswest 50 struct timezone tz; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
DangiCalendar.java | 77 RuleBasedTimeZone tz = new RuleBasedTimeZone("KOREA_ZONE", initialTimeZone); external variable declarations 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/ |
DangiCalendar.java | 75 RuleBasedTimeZone tz = new RuleBasedTimeZone("KOREA_ZONE", initialTimeZone); external variable declarations 76 tz.addTransitionRule(rule1897); 77 tz.addTransitionRule(rule1898to1911); 78 tz.addTransitionRule(ruleFrom1912); 79 tz.freeze(); 80 KOREA_ZONE = tz;
|
/external/lmfit/demo/ |
surface1.c | 22 /* fit model: a plane p0 + p1*tx + p2*tz */ 23 double f( double tx, double tz, const double *p ) 25 return p[0] + p[1]*tx + p[2]*tz; 30 double *tx, *tz; member in struct:__anon28496 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[i], y[i], ff, y[i] - ff ) [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
SetTimeZonePermissionsTest.java | 55 String tz = mZones[i]; local 57 mAlarm.setTimeZone(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);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
ObexTime.java | 68 TimeZone tz = TimeZone.getTimeZone("UTC"); local 69 tz.setRawOffset(offset); 71 cal.setTimeZone(tz);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
Time.java | 74 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); local 79 dateF.setTimeZone(tz); 107 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); local 114 dateF.setTimeZone(tz);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
Time.java | 55 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); local 60 dateF.setTimeZone(tz); 88 SimpleTimeZone tz = new SimpleTimeZone(0, "Z"); local 95 dateF.setTimeZone(tz);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/ |
rpc_clntraw_create_performance.c | 94 struct timezone tz; local 107 gettimeofday(&tv1, &tz); 113 gettimeofday(&tv2, &tz);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcraw_create/ |
rpc_svcraw_create_performance.c | 94 struct timezone tz; local 106 gettimeofday(&tv1, &tz); 112 gettimeofday(&tv2, &tz);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/ |
rpc_svctcp_create_performance.c | 94 struct timezone tz; local 109 gettimeofday(&tv1, &tz); 115 gettimeofday(&tv2, &tz);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/ |
rpc_svcudp_create_performance.c | 94 struct timezone tz; local 109 gettimeofday(&tv1, &tz); 115 gettimeofday(&tv2, &tz);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/ |
rpc_callrpc_performance.c | 94 struct timezone tz; local 109 gettimeofday(&tv1, &tz); 120 gettimeofday(&tv2, &tz);
|
rpc_callrpc_scalability.c | 94 struct timezone tz; local 109 gettimeofday(&tv1, &tz); 120 gettimeofday(&tv2, &tz);
|
/libcore/luni/src/main/java/libcore/icu/ |
DateIntervalFormat.java | 44 // We create a java.util.TimeZone here to use libcore's data and libcore's olson ID / pseudo-tz 46 TimeZone tz = (olsonId != null) ? TimeZone.getTimeZone(olsonId) : TimeZone.getDefault(); local 47 android.icu.util.TimeZone icuTimeZone = DateUtilsBridge.icuTimeZone(tz);
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
TimeZoneTest.java | 42 TimeZone tz = TimeZone.getTimeZone("PST"); local 43 int offset = tz.getOffset(1, 2004, 0, 01, 1, 0); 51 TimeZone tz = TimeZone.getTimeZone("PST"); local 52 int value = tz.getRawOffset(); 54 tz.setRawOffset(value1); 55 int result = tz.getRawOffset(); 64 TimeZone tz = TimeZone.getTimeZone("PST"); local 65 int offset = tz.getRawOffset(); 73 TimeZone tz = TimeZone.getTimeZone("PST"); local 74 assertEquals("PST", tz.getID()) 81 TimeZone tz = TimeZone.getTimeZone("PST"); local 94 TimeZone tz = TimeZone.getTimeZone("PST"); local 102 TimeZone tz = TimeZone.getTimeZone("PST"); local 110 TimeZone tz = TimeZone.getTimeZone("PST"); local 118 TimeZone tz = TimeZone.getTimeZone("PST"); local 127 TimeZone tz = TimeZone.getTimeZone("PST"); local 136 TimeZone tz = TimeZone.getTimeZone("PST"); local 145 TimeZone tz = TimeZone.getTimeZone("PST"); local 153 TimeZone tz = TimeZone.getTimeZone("PST"); local 161 TimeZone tz = TimeZone.getTimeZone("PST"); local 198 TimeZone tz = TimeZone.getDefault(); local [all...] |
/art/test/092-locale/src/ |
Main.java | 66 TimeZone tz = TimeZone.getTimeZone("GMT"); local 69 Calendar usaCal = Calendar.getInstance(tz, usa); 75 fmt.setTimeZone(tz); // defaults to local TZ; force GMT 85 Calendar franceCal = Calendar.getInstance(tz, france); 91 fmt.setTimeZone(tz); // defaults to local TZ; force GMT
|
/cts/tests/tests/util/src/android/util/cts/ |
TimeUtilsTest.java | 45 TimeZone tz = TimeZone.getTimeZone(name); local 46 Calendar c = Calendar.getInstance(tz); 67 TimeZone tz = TimeZone.getTimeZone(name); local 68 Calendar c = Calendar.getInstance(tz); 84 TimeZone tz = TimeZone.getTimeZone(name); local 85 Calendar c = Calendar.getInstance(tz); 105 TimeZone tz = TimeZone.getTimeZone(name); local 106 Calendar c = Calendar.getInstance(tz);
|
/external/icu/icu4c/source/i18n/ |
wintzimpl.cpp | 40 static UBool getSystemTimeInformation(TimeZone *tz, SYSTEMTIME &daylightDate, SYSTEMTIME &standardDate, int32_t &bias, int32_t &daylightBias, int32_t &standardBias) { 43 BasicTimeZone *btz = (BasicTimeZone*)tz; // we should check type 123 TimeZone *tz = TimeZone::createTimeZone(id); local 125 if (tz != NULL) { 132 if (getSystemTimeInformation(tz, daylightDate, standardDate, bias, daylightBias, standardBias)) {
|
/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);
|