/external/icu/icu4c/source/i18n/ |
ztrans.h | 12 * \brief C API: Time zone transition classes 31 * Constructs a time zone transition with the time and the rules before/after 34 * @param time The time of transition in milliseconds since the base time. 35 * @param from The time zone rule used before the transition. 36 * @param to The time zone rule used after the transition. 39 ztrans_open(UDate time, const void* from, const void* to); 74 * Returns the time of transition in milliseconds [all...] |
/external/blktrace/btt/ |
trace_im.c | 31 q_iop->g_time = g_iop->t.time; 32 update_q2g(q_iop, tdelta(q_iop->t.time, g_iop->t.time)); 34 update_s2g(q_iop, tdelta(q_iop->s_time, g_iop->t.time)); 43 q_iop->s_time = s_iop->t.time; 51 q_iop->i_time = i_iop->t.time; 53 update_g2i(q_iop, tdelta(q_iop->g_time, i_iop->t.time)); 65 q_iop->m_time = m_iop->t.time; 66 update_q2m(q_iop, tdelta(q_iop->t.time, m_iop->t.time)); [all...] |
/external/chromium_org/chrome/browser/ |
upload_list.h | 14 #include "base/time/time.h" 17 // time,id[,local_id] 18 // time,id[,local_id] 20 // where each line represents an upload and "time" is Unix time. Must be used 27 const base::Time& t, 29 UploadInfo(const std::string& id, const base::Time& t); 33 base::Time time; member in struct:UploadList::UploadInfo [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/idle/idle_simple/ |
history.js | 6 * Convert a state and time into a nice styled chunk of HTML. 8 function renderState(state, time) { 10 var diff = Math.round((time.getTime() - now) / 1000); 23 function renderItem(state, time, parent) { 25 dom_item.innerHTML = renderState(state, time); 31 // like to keep track of last time we went idle. 45 var time = new Date(); 48 laststatetime = time; 53 dom_result.innerHTML = renderState(state, time); 70 renderItem(data['state'], data['time'], dom_history) [all...] |
/external/chromium_org/ui/wm/core/ |
user_activity_detector.h | 11 #include "base/time/time.h" 22 // Minimum amount of time between notifications to observers. 25 // Amount of time that mouse events should be ignored after notification 55 // updates |last_observer_notification_time_| if enough time has passed 61 // Last time at which user activity was observed. 64 // Last time at which we notified observers that the user was active. 67 // If set, used when the current time is needed. This can be set by tests to 68 // simulate the passage of time. 71 // If set, mouse events will be ignored until this time is reached. Thi [all...] |
/external/netperf/ |
hist.h | 2 # include <sys/time.h> 3 # include <time.h> 6 # include <sys/time.h> 8 # include <time.h> 14 Given a time difference in microseconds, increment one of 61 27 This will allow any time to be recorded to within an accuracy of 29 distribution of a large number of time differences (e.g. 39 #include <sys/time.h> 74 HIST_add - add a time difference to a histogram. Time should be i [all...] |
/bionic/libc/tzcode/ |
tzfile.h | 11 ** This header is for use ONLY with the time conversion code. 19 ** Information about time zone files. 23 #define TZDIR "/usr/local/etc/zoneinfo" /* Time zone object file directory */ 44 char tzh_ttisgmtcnt[4]; /* coded number of trans. time flags */ 45 char tzh_ttisstdcnt[4]; /* coded number of trans. time flags */ 48 char tzh_typecnt[4]; /* coded number of local time types */ 55 ** tzh_timecnt (char [4])s coded transition times a la time(2) 56 ** tzh_timecnt (unsigned char)s types of local time starting at above 66 ** time is standard time, if FALSE [all...] |
/external/chromium_org/components/network_time/ |
network_time_tracker_unittest.cc | 11 #include "base/time/tick_clock.h" 29 // A custom tick clock that will return an arbitrary time. 52 now_ = base::Time::NowFromSystemTime(); 58 base::Time Now() const { 70 // Updates the notifier's time with the specified parameters. 71 void UpdateNetworkTime(const base::Time& network_time, 79 // Ensures the network time tracker has a network time and that the 80 // disparity between the network time version of |ticks_now_| and the actual 82 // because the network time notifier uses |ticks_now_| for the tick clock) [all...] |
/external/chromium_org/third_party/WebKit/ManualTests/ |
input-type-datetime-default-value.html | 3 <head><title>Default values for date/time input (type= date, datetime, datetime-local, month, time, week)</title></head> 15 <li>time: <input type="time" size="32" value="" /> 24 <li>time: <input type="time" size="32" value="foo" /> 33 <li>time: <input type="time" size="32" value="" step="foo" /> 42 <li>time: <input type="time" size="32" value="foo" step="foo" / [all...] |
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
rtp_packet_history_unittest.cc | 76 int64_t time; local 78 &time)); 91 int64_t time; local 93 &time)); 109 int64_t time; local 111 &time)); 135 int64_t time; local 137 &len_out, &time)); 139 EXPECT_EQ(capture_time_ms, time); 155 int64_t time; local 174 int64_t time; local 189 int64_t time; local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
Stopwatches.java | 71 * @param time total elapsed time 75 public static String buildShareResults(Context context, String time, long[] laps) { 76 StringBuilder b = new StringBuilder (context.getString(R.string.sw_share_main, time)); 96 * @param time total elapsed time 100 public static String buildShareResults(Context context, long time, long[] laps) { 101 return buildShareResults(context, getTimeText(context, time, NO_LAP_NUMBER), laps); 105 * Format the string of the time running on the stopwatch up to hundred of a second accuracy 107 * @param time - in hundreds of a second since the stopwatch starte [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sched.py | 8 supposed to return the current time, one that is supposed to 9 implement a delay. You can implement real-time scheduling by 10 substituting time and sleep from built-in module time, or you can 11 implement simulated time by writing your own functions. This can 13 function is allowed to modify the queue. Time can be expressed as 16 Events are specified by tuples (time, priority, action, argument). 29 # XXX the global state of your particular time and delay functions. 36 Event = namedtuple('Event', 'time, priority, action, argument') 40 """Initialize a new instance, passing the time and dela [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sched.py | 8 supposed to return the current time, one that is supposed to 9 implement a delay. You can implement real-time scheduling by 10 substituting time and sleep from built-in module time, or you can 11 implement simulated time by writing your own functions. This can 13 function is allowed to modify the queue. Time can be expressed as 16 Events are specified by tuples (time, priority, action, argument). 29 # XXX the global state of your particular time and delay functions. 36 Event = namedtuple('Event', 'time, priority, action, argument') 40 """Initialize a new instance, passing the time and dela [all...] |
/external/chromium_org/third_party/skia/include/utils/ |
SkInterpolator.h | 28 /** Return the start and end time for this interpolator. 30 @param startTime If not null, returns the time (in milliseconds) of the 33 @param endTime If not null, returns the time (in milliseconds) of the 50 @param repeatCount Multiplies the total time by this scalar. 62 Result timeToT(SkMSec time, SkScalar* T, int* index, SkBool* exact) const; 70 static SkScalar ComputeRelativeT(SkMSec time, SkMSec prevTime, 95 @param index The index of this frame (frames must be ordered by time) 96 @param time The millisecond time for this frame 104 bool setKeyFrame(int index, SkMSec time, const SkScalar values[] [all...] |
/external/skia/include/utils/ |
SkInterpolator.h | 28 /** Return the start and end time for this interpolator. 30 @param startTime If not null, returns the time (in milliseconds) of the 33 @param endTime If not null, returns the time (in milliseconds) of the 50 @param repeatCount Multiplies the total time by this scalar. 62 Result timeToT(SkMSec time, SkScalar* T, int* index, SkBool* exact) const; 70 static SkScalar ComputeRelativeT(SkMSec time, SkMSec prevTime, 95 @param index The index of this frame (frames must be ordered by time) 96 @param time The millisecond time for this frame 104 bool setKeyFrame(int index, SkMSec time, const SkScalar values[] [all...] |
/external/bison/lib/ |
timevar.def | 2 measure run-time performance of the compiler. 33 /* The total execution time. */ 34 DEFTIMEVAR (TV_TOTAL , "total time") 36 /* Time spent in the reader. */ 41 /* Time spent handling the grammar. */ 52 /* Time spent outputing results. */ 60 /* Time spent by freeing the memory :). */
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
timer.py | 5 import time namespace 13 self._start = time.time() 20 self._elapsed = time.time() - self._start 24 '''Returns a new stopped Timer with this Timer's elapsed time + |other|'s. 35 '''Returns the elapsed time as a string in a pretty format; as a whole
|
/external/chromium_org/components/precache/core/ |
precache_url_table.h | 11 #include "base/time/time.h" 34 // Adds a precached URL to the table, using the current time as the 36 void AddURL(const GURL& url, const base::Time& precache_time); 44 // Deletes entries that were precached before the time of |delete_end|. 45 void DeleteAllPrecachedBefore(const base::Time& delete_end); 48 void GetAllDataForTesting(std::map<GURL, base::Time>* map);
|
/external/chromium_org/third_party/skia/src/images/ |
SkMovie.cpp | 12 // We should never see this in normal operation since our time values are 53 bool SkMovie::setTime(SkMSec time) 56 if (time > dur) 57 time = dur; 60 if (time != fCurrTime) 62 fCurrTime = time; 63 changed = this->onSetTime(time);
|
/external/ltrace/testsuite/ltrace.minor/ |
Makefile.am | 22 time-record.c time-record-T.exp time-record-tt.exp \ 23 time-record-ttt.exp trace-clone.c trace-clone.exp \ 28 count-record demangle print-instruction-pointer time-record-T \ 29 time-record-tt time-record-ttt trace-clone trace-exec \
|
/external/proguard/src/proguard/gui/splash/ |
LinearTiming.java | 24 * This Timing ramps up linearly from 0 to 1 in a given time interval. 36 * @param fromTime the time at which the timing starts ramping up from 0. 37 * @param toTime the time at which the timing stops ramping up at 1. 48 public double getTiming(long time) 51 return time <= fromTime ? 0.0 : 52 time >= toTime ? 1.0 : 53 (double)(time - fromTime) / (double)(toTime - fromTime);
|
SmoothTiming.java | 24 * This Timing ramps up smoothly from 0 to 1 in a given time interval. 36 * @param fromTime the time at which the timing starts ramping up from 0. 37 * @param toTime the time at which the timing stops ramping up at 1. 48 public double getTiming(long time) 50 if (time <= fromTime) 55 if (time >= toTime) 61 double timing = (double) (time - fromTime) / (double) (toTime - fromTime);
|
/external/skia/src/images/ |
SkMovie.cpp | 12 // We should never see this in normal operation since our time values are 53 bool SkMovie::setTime(SkMSec time) 56 if (time > dur) 57 time = dur; 60 if (time != fCurrTime) 62 fCurrTime = time; 63 changed = this->onSetTime(time);
|
/system/media/audio_utils/include/audio_utils/ |
echo_reference.h | 21 #include <sys/time.h> 25 /* Buffer descriptor used by read() and write() methods, including the time stamp and delay. */ 30 struct timespec time_stamp; // time stamp for this buffer (see comment below) 36 * - time_stamp is the time stamp corresponding to the delay calculation 42 * - time_stamp is the time stamp corresponding to the delay calculation 44 * - delay_ns is the delay between the returned frames and the capture time derived from 45 * delay and time stamp indicated as input. This delay is to be communicated to the AEC.
|
/external/chromium_org/chrome/browser/history/android/ |
urls_sql_handler_unittest.cc | 18 using base::Time; 52 // Insert a row only has URL to verify the visit count and last visit time 63 // Both visit count and last visit time are default value. 65 EXPECT_EQ(Time(), url_row.last_visit()); 70 // Insert a row with last visit time to verify the visit count is set to 1 by 76 row.set_last_visit_time(Time::Now()); 88 // Insert a row with different last visit time and created time to verify the 94 row.set_last_visit_time(Time::Now()); 95 row.set_created(Time::Now() - TimeDelta::FromDays(1)) [all...] |