/external/icu/icu4c/source/i18n/ |
ztrans.cpp | 10 * \brief C API: Time zone transition classes 27 ztrans_open(UDate time, const void* from, const void* to){ 28 return (ZTrans*) new TimeZoneTransition(time,*(TimeZoneRule*)from,*(TimeZoneRule*)to); 57 ztrans_setTime(ZTrans* trans, UDate time) { 58 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setTime(time);
|
/external/icu/icu4c/source/test/compat/ |
tzone.pl | 33 #filter out the time zones 46 print "The following time zones had wrong results.\n"; 49 #set system time zone 54 #if the result is wrong print the time zone information to a log file 62 print "\nThe number of time zones with wrong results: $count out of $index\n";
|
/external/libpcap/ |
pcap_tstamp_type_val_to_name.3pcap | 24 a name or description for a time stamp type value 38 translates a time stamp type value to the corresponding time stamp type 44 translates a time stamp type value to a short description of that time
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/ |
TrackFragmentRandomAccessBox.java | 41 * unsigned int(64) time; 44 * unsigned int(32) time; 99 entry.time = IsoTypeReader.readUInt64(content); 102 entry.time = IsoTypeReader.readUInt32(content); 129 IsoTypeWriter.writeUInt64(byteBuffer, entry.time); 132 IsoTypeWriter.writeUInt32(byteBuffer, entry.time); 192 private long time; field in class:TrackFragmentRandomAccessBox.Entry 201 public Entry(long time, long moofOffset, long trafNumber, long trunNumber, long sampleNumber) { 204 this.time = time; [all...] |
/external/netperf/ |
netcpu_sysctl.c | 20 # include <sys/time.h> 21 # include <time.h> 24 # include <sys/time.h> 26 # include <time.h> 85 fprintf (stderr, "Cannot get CPU time!\n");
|
/external/proguard/src/proguard/gui/splash/ |
SawToothTiming.java | 24 * This Timing ramps up linearly from 0 to 1 in a given repeated time interval. 36 * @param period the time period for a full cycle. 37 * @param phase the phase of the cycle, which is added to the actual time. 48 public double getTiming(long time) 51 return (double)((time + phase) % period) / (double)period;
|
SineTiming.java | 24 * This Timing varies between 0 and 1, as a sine wave over time. 36 * @param period the time period for a full cycle. 37 * @param phase the phase of the cycle, which is added to the actual time. 48 public double getTiming(long time) 51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period);
|
/frameworks/base/core/java/android/net/ |
SntpClient.java | 29 * Simple SNTP client class for retrieving network time. 33 * if (client.requestTime("time.foo.com")) { 56 // system time computed from NTP server response 62 // round trip time in milliseconds 86 // get current time and write it to the request packet 117 // (response rather than request time) 122 if (false) Log.d(TAG, "request time failed: " + e); 134 * Returns the time computed from the NTP transaction. 136 * @return time value computed from NTP server response. 144 * corresponding to the NTP time [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
SetTimeZonePermissionsTest.java | 42 * Verify that non-system processes cannot set the time zone. 47 * Attempt to set several predefined time zones, verifying that the system 48 * system default time zone has not actually changed from its prior state 52 assertTrue("No system-defined time zones - test invalid", max > 0); 61 // to the system time zone.
|
/frameworks/base/docs/html/design/building-blocks/ |
pickers.jd | 32 <h2 id="date-time">Date and time pickers</h2> 35 entering the parts of the date (month, day, year) or time (hour, minute, AM/PM). Using these in your 36 app helps ensure that a user's specification of a data or time input is valid and formatted 37 correctly. The format of a time and date picker adjusts automatically to the locale.</p>
|
/packages/apps/Browser/src/com/android/browser/ |
LogTag.java | 36 * time the browser used to load the page. 38 * Note that a redirect will restart the timer, so this time is not 42 * @param duration the time the browser spent loading the page. 50 * log the time the user has spent on a webpage 53 * @param duration the time spent on the webpage.
|
/external/chromium_org/chrome/renderer/ |
page_load_histograms.cc | 18 #include "base/time/time.h" 41 using base::Time; 230 Time request = document_state->request_time(); 232 Time navigation_start = Time::FromDoubleT(performance.navigationStart()); 233 Time redirect_start = Time::FromDoubleT(performance.redirectStart()); 234 Time redirect_end = Time::FromDoubleT(performance.redirectEnd()) [all...] |
/external/chromium_org/v8/src/ |
date.js | 39 function UTC(time) { 40 if (NUMBER_IS_NAN(time)) return time; 43 return %DateToUTC(time); 91 function MakeDate(day, time) { 92 var time = day * msPerDay + time; 93 // Some of our runtime funtions for computing UTC(time) rely on 95 // is no way that the time can be within range even after UTC 98 if ($abs(time) > MAX_TIME_BEFORE_UTC) return NAN [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_replication.py | 5 import time namespace 167 import time namespace 168 timeout = time.time()+60 169 while (time.time()<timeout) and not (self.confirmed_master and self.client_startupdone) : 170 time.sleep(0.02) 178 if time.time()>timeout: 209 import time,os.pat namespace 233 import time namespace 379 import time namespace 391 import time,os.path namespace 418 import time namespace [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_replication.py | 5 import time namespace 167 import time namespace 168 timeout = time.time()+60 169 while (time.time()<timeout) and not (self.confirmed_master and self.client_startupdone) : 170 time.sleep(0.02) 178 if time.time()>timeout: 209 import time,os.pat namespace 233 import time namespace 379 import time namespace 391 import time,os.path namespace 418 import time namespace [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_xml_output_unittest.py | 60 <testsuites tests="23" failures="4" disabled="2" errors="0" time="*" timestamp="*" name="AllTests" ad_hoc_property="42"> 61 <testsuite name="SuccessfulTest" tests="1" failures="0" disabled="0" errors="0" time="*"> 62 <testcase name="Succeeds" status="run" time="*" classname="SuccessfulTest"/> 64 <testsuite name="FailedTest" tests="1" failures="1" disabled="0" errors="0" time="*"> 65 <testcase name="Fails" status="run" time="*" classname="FailedTest"> 71 <testsuite name="MixedResultTest" tests="3" failures="1" disabled="1" errors="0" time="*"> 72 <testcase name="Succeeds" status="run" time="*" classname="MixedResultTest"/> 73 <testcase name="Fails" status="run" time="*" classname="MixedResultTest"> 81 <testcase name="DISABLED_test" status="notrun" time="*" classname="MixedResultTest"/> 83 <testsuite name="XmlQuotingTest" tests="1" failures="1" disabled="0" errors="0" time="*" [all...] |
/external/chromium_org/net/tools/get_server_time/ |
get_server_time.cc | 5 // This is a small utility that snarfs the server time from the 7 // the local time. 9 // TODO(akalin): Also snarf the server time from the TLS handshake, if 30 #include "base/time/time.h" 60 // handshake), the resolution of the server time is 1 second. 63 // Assume base::Time::Now() has the same resolution as 153 // Assuming that the time |server_time| was received from a server, 156 // of the current time and |server_now_uncertainty| with a 158 void EstimateServerTimeNow(base::Time server_time [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
DowntimeConditionProvider.java | 60 private static final String EXTRA_TIME = "time"; 158 final long time = getTime(System.currentTimeMillis(), downtime.endHour, downtime.endMinute); local 159 final String formatted = new SimpleDateFormat(pattern, locale).format(new Date(time)); 184 private boolean isInDowntime(long time) { 186 final long start = getTime(time, mConfig.sleepStartHour, mConfig.sleepStartMinute); 187 long end = getTime(time, mConfig.sleepEndHour, mConfig.sleepEndMinute); 192 return isInDowntime(-1, time, start, end) || isInDowntime(0, time, start, end); 195 private boolean isInDowntime(int daysOffset, long time, long start, long end) { 197 final int day = ((getDayOfWeek(time) - 1) + (daysOffset % n) + n) % n + 1 253 long time = mCalendar.getTimeInMillis(); local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureStrokeRecognitionPoints.java | 180 public void duplicateLastPointWith(final int time) { 187 x, y, time)); 190 appendPoint(x, y, time); 191 updateIncrementalRecognitionSize(x, y, time); 206 private void appendPoint(final int x, final int y, final int time) { 209 // time than the next {@link MotionEvent}. To maintain the monotonicity of the event time, 211 if (lastIndex >= 0 && mEventTimes.get(lastIndex) > time) { 213 x, y, time, mXCoordinates.get(lastIndex), mYCoordinates.get(lastIndex), 217 mEventTimes.add(time); [all...] |
/external/blktrace/btt/ |
trace_complete.c | 38 __out(ofp, iop->t.time, IOP_Q, iop->t.sector, t_sec(&iop->t), 0); 60 update_cregion(&all_regions, c_iop->t.time); 61 update_cregion(&c_iop->dip->regions, c_iop->t.time); 63 update_cregion(&c_iop->pip->regions, c_iop->t.time); 64 aqd_complete(c_iop->dip->aqd_handle, BIT_TIME(c_iop->t.time)); 69 __u64 q2c = tdelta(q_iop->t.time, c_iop->t.time); 74 latency_q2c(q_iop->dip, q_iop->t.time, q2c); 77 __u64 d2c = tdelta(q_iop->d_time, c_iop->t.time); 80 latency_d2c(q_iop->dip, c_iop->t.time, d2c) [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/ |
webkit_file_stream_reader_impl_unittest.cc | 14 #include "base/time/time.h" 79 base::Time())); // expected modification time 99 base::Time())); // expected modification time 120 base::Time())); // expected modification time 140 base::Time())); // expected modification time [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/ |
unittestresults_unittest.py | 44 <testsuites tests="3" failures="0" disabled="0" errors="0" time="11.35" name="AllTests"> 45 <testsuite name="RenderTableCellDeathTest" tests="3" failures="0" disabled="0" errors="0" time="0.677"> 46 <testcase name="CanSetColumn" status="run" time="0.168" classname="RenderTableCellDeathTest" /> 47 <testcase name="CrashIfSettingUnsetColumnIndex" status="run" time="0.129" classname="RenderTableCellDeathTest" /> 48 <testcase name="CrashIfSettingUnsetRowIndex" status="run" time="0.123" classname="RenderTableCellDeathTest" /> 55 <testsuites tests="4" failures="1" disabled="0" errors="0" time="11.35" name="AllTests"> 56 <testsuite name="RenderTableCellDeathTest" tests="4" failures="1" disabled="0" errors="0" time="0.677"> 57 <testcase name="CanSetColumn" status="run" time="0.168" classname="RenderTableCellDeathTest" /> 58 <testcase name="CrashIfSettingUnsetColumnIndex" status="run" time="0.129" classname="RenderTableCellDeathTest" /> 59 <testcase name="CrashIfSettingUnsetRowIndex" status="run" time="0.123" classname="RenderTableCellDeathTest" / [all...] |
/external/llvm/utils/release/ |
findRegressions-simple.py | 2 import re, string, sys, os, time, math namespace 38 test[fname][t[1] + ' time'] = float('nan') 47 test[fname]['compile time'] = float(t[2].split('program')[1].strip('\r\n')) 50 test[fname]['exec time'] = float(t[2].split('program')[1].strip('\r\n')) 69 for x in ['compile state', 'compile time', 'exec state', 'exec time']: 77 for x in ['compile state', 'compile time', 'exec state', 'exec time']: 98 # For execution time, if there is no result it's a fail. 130 if len(regressions['compile time']) != 0 [all...] |
/frameworks/base/core/java/android/widget/ |
DateTimeView.java | 26 import android.text.format.Time; 39 // - listen for the next threshold time to update the view. 45 * Displays a given time in a convenient human-readable foramt. 91 public void setTime(long time) { 92 Time t = new Time(); 93 t.set(time); 108 Date time = mTime; local 110 Time t = new Time(); [all...] |
/external/chromium_org/content/renderer/input/ |
input_handler_proxy_unittest.cc | 37 double InSecondsF(const base::TimeTicks& time) { 38 return (time - base::TimeTicks()).InSecondsF(); 138 virtual bool apply(double time, blink::WebGestureCurveTarget* target) { 139 blink::WebFloatSize displacement(velocity_.width * time, 140 velocity_.height * time); 573 // The first animate call should let us pick up an animation start time, but 581 base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); local 582 input_handler_->Animate(time); 595 time += base::TimeDelta::FromMilliseconds(100); 596 input_handler_->Animate(time); 684 base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); local 959 base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); local 997 base::TimeTicks time = base::TimeTicks() + dt; local 1075 base::TimeTicks time = local 1143 base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); local 1188 base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); local 1251 base::TimeTicks time = base::TimeTicks() + dt; local 1337 base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); local 1494 base::TimeTicks time = base::TimeTicks() + base::TimeDelta::FromSeconds(10); local 1522 base::TimeTicks time = base::TimeTicks() + dt; local 1571 base::TimeTicks time = base::TimeTicks() + dt; local 1706 base::TimeTicks time = base::TimeTicks() + dt; local 1736 base::TimeTicks time = base::TimeTicks() + dt; local 1773 base::TimeTicks time = base::TimeTicks() + dt; local 1818 base::TimeTicks time = base::TimeTicks() + dt; local [all...] |