/external/chromium_org/media/tools/constrained_network_server/ |
cns_test.py | 11 import time namespace 25 # Expiration time for ports. In mock time. 29 # Mock out time.time() to accelerate port expiration testing. 30 self._old_time = time.time 32 time.time = lambda: self._current_time 42 time.time = self._old_tim [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioParamTimeline.h | 47 void setValueAtTime(float value, double time); 48 void linearRampToValueAtTime(float value, double time); 49 void exponentialRampToValueAtTime(float value, double time, ExceptionState&); 50 void setTargetAtTime(float target, double time, double timeConstant); 51 void setValueCurveAtTime(Float32Array* curve, double time, double duration); 58 // Given the time range, calculates parameter values into the values buffer 79 ParamEvent(Type type, float value, double time, double timeConstant, double duration, PassRefPtr<Float32Array> curve) 82 , m_time(time) 91 double time() const { return m_time; } function in class:WebCore::AudioParamTimeline::ParamEvent
|
/external/chromium_org/third_party/icu/source/i18n/ |
olsontz.h | 27 * A time zone based on the Olson tz database. Olson time zones change 28 * behavior over time. The raw offset, rules, presence or absence of 29 * daylight savings time, and even the daylight savings amount can all 60 * Each time is represented by a pair of 32bit integer. 65 * time (transPre32/trans/transPost32) and its corresponding offset 71 * after the final transition time, finalRule represents the rule 100 * cessation lists consist of the month, dowim, dow, time, and time 196 * over time, so this API is not useful. In order to approximat [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
timeutils.h | 31 #include <time.h> 53 // Returns the current time in milliseconds. 54 uint32 Time(); 55 // Returns the current time in microseconds. 57 // Returns the current time in nanoseconds. 60 // Stores current time in *tm and microseconds in *microseconds. 66 // Comparisons between time values, which can wrap around. 87 return TimeDiff(Time(), earlier); 92 return TimeDiff(later, Time());
|
timeutils_unittest.cc | 36 uint32 ts_earlier = Time(); 38 uint32 ts_now = Time(); 41 // Make sure the Time is not returning in smaller unit like microseconds. 47 TimeStamp ts_earlier = Time(); 49 TimeStamp ts_now = Time(); 62 // Obtain a third time 97 TimeStamp ts_earlier = Time(); 101 // since time elapses between the calls to Time() and TimeAfter(500) 105 // Time has elapsed since ts_earlie [all...] |
/external/chromium_org/v8/src/ |
dateparser-inl.h | 21 TimeComposer time; local 25 // Accept ES5 ISO 8601 date-time-strings or legacy dates compatible 43 // (following Safari, ISO actually demands local time). 51 // An unsigned number followed by ':' is a time value, and is 53 // zero as well. A number followed by '.' is also a time and must be 58 // A word recognizable as a time-zone is recorded as such, as is 65 // parsed as an ES5 date-time string - which means it will default 66 // to UTC time-zone. That's unavoidable if following the ES5 72 // First try getting as far as possible with as ES5 Date Time String. 73 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz) [all...] |
/external/chromium_org/webkit/browser/blob/ |
file_stream_reader.h | 17 class Time; 40 // actual modification time to see if the file has been modified, and if 47 const base::Time& expected_modification_time); 52 // modification time to see if the file has been modified, and if it does any 58 const base::Time& expected_modification_time); 62 const base::Time& expected_modification_time, 65 // It is valid to delete the reader at any time. If the stream is deleted 86 // file info *and* its last modification time equals to 87 // expected modification time (rv >= 0 cases).
|
/external/lldb/test/ |
lldbbench.py | 1 import time namespace 7 times. Each start/stop is equal to a lap, with its elapsed time accumulated 20 # Get the average time. 59 self.__start__ = time.time() 67 self.__stop__ = time.time() 81 """Equal to total elapsed time divided by the number of laps.""" 91 return "Avg: %f (Laps: %d, Total Elapsed Time: %f, min=%f, max=%f)" % (self.avg(),
|
/external/protobuf/gtest/test/ |
gtest_xml_output_unittest.py | 57 <testsuites tests="15" failures="4" disabled="2" errors="0" time="*" name="AllTests"> 58 <testsuite name="SuccessfulTest" tests="1" failures="0" disabled="0" errors="0" time="*"> 59 <testcase name="Succeeds" status="run" time="*" classname="SuccessfulTest"/> 61 <testsuite name="FailedTest" tests="1" failures="1" disabled="0" errors="0" time="*"> 62 <testcase name="Fails" status="run" time="*" classname="FailedTest"> 68 <testsuite name="MixedResultTest" tests="3" failures="1" disabled="1" errors="0" time="*"> 69 <testcase name="Succeeds" status="run" time="*" classname="MixedResultTest"/> 70 <testcase name="Fails" status="run" time="*" classname="MixedResultTest"> 78 <testcase name="DISABLED_test" status="notrun" time="*" classname="MixedResultTest"/> 80 <testsuite name="XmlQuotingTest" tests="1" failures="1" disabled="0" errors="0" time="*" [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
InputSystem.java | 21 * an average direction over a short period of time. 46 TimeSystem time = sSystemRegistry.timeSystem; local 47 mTrackball.press(time.getGameTime(), mTrackball.getX() + x, mTrackball.getY() + y); 52 TimeSystem time = sSystemRegistry.timeSystem; local 56 mTouchScreen.press(index, time.getGameTime(), x, params.gameHeight - y); 81 TimeSystem time = sSystemRegistry.timeSystem; local 82 mOrientationSensor.press(time.getGameTime(), horizontalMotion, verticalMotion); 87 TimeSystem time = sSystemRegistry.timeSystem; local 88 final float gameTime = time.getGameTime();
|
/libcore/luni/src/main/java/java/util/ |
TimerTask.java | 21 * The {@code TimerTask} class represents a task to run at a specified time. The task 42 * The time when task will be executed, or the time when task was launched 57 * Method called from the Timer object when scheduling an event @param time 59 void setScheduledTime(long time) { 61 scheduledTime = time; 100 * Returns the scheduled execution time. If the task execution is in 101 * progress it returns the execution time of the ongoing task. Tasks which 104 * @return the most recent execution time.
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/sys/ |
acct.h | 26 #include <time.h> 47 u_int32_t ac_btime; /* Beginning time. */ 48 comp_t ac_utime; /* User time. */ 49 comp_t ac_stime; /* System time. */ 50 comp_t ac_etime; /* Elapsed time. */ 73 u_int32_t ac_btime; /* Process Creation Time */ 74 float ac_etime; /* Elapsed Time */ 75 comp_t ac_utime; /* User Time */ 76 comp_t ac_stime; /* System Time */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sys/ |
acct.h | 26 #include <time.h> 47 u_int32_t ac_btime; /* Beginning time. */ 48 comp_t ac_utime; /* User time. */ 49 comp_t ac_stime; /* System time. */ 50 comp_t ac_etime; /* Elapsed time. */ 73 u_int32_t ac_btime; /* Process Creation Time */ 74 float ac_etime; /* Elapsed Time */ 75 comp_t ac_utime; /* User Time */ 76 comp_t ac_stime; /* System Time */
|
/external/chromium_org/ash/system/chromeos/power/ |
power_status.h | 12 #include "base/time/time.h" 41 // Maximum battery time-to-full or time-to-empty that should be displayed 42 // in the UI. If the current is close to zero, battery time estimates can 58 // Returns true if |time|, a time returned by GetBatteryTimeToEmpty() or 61 static bool ShouldDisplayBatteryTime(const base::TimeDelta& time); 63 // Copies the hour and minute components of |time| to |hours| and |minutes|. 64 // The minute component is rounded rather than truncated: a |time| valu [all...] |
/external/chromium_org/net/cookies/ |
cookie_monster_store_test.cc | 10 #include "base/time/time.h" 106 const base::Time& creation_time) { 117 base::Time cookie_expires = pc.HasExpires() ? 118 cookie_util::ParseCookieTime(pc.Expires()) : base::Time(); 130 const base::Time& creation_time, 181 cookies_[creation_time].SetLastAccessDate(base::Time::Now()); 204 base::Time current(base::Time::Now()); 205 base::Time past_creation(base::Time::Now() - base::TimeDelta::FromDays(1000)) [all...] |
/external/chromium_org/net/ssl/ |
ssl_client_auth_cache_unittest.cc | 7 #include "base/time/time.h" 16 base::Time start_date = base::Time::Now(); 17 base::Time expiration_date = start_date + base::TimeDelta::FromDays(1); 82 base::Time start_date = base::Time::Now(); 83 base::Time expiration_date = start_date + base::TimeDelta::FromDays(1); 107 base::Time start_date = base::Time::Now() [all...] |
/external/chromium_org/net/tools/quic/ |
quic_time_wait_list_manager.h | 5 // Handles packets for connection_ids in time wait state by discarding the 42 // or nothing to the client which sent a packet with the connection_id in time 43 // wait state. After the connection_id expires its time wait period, a new 57 // Adds the given connection_id to time wait state for kTimeWaitPeriod. 67 // Returns true if the connection_id is in time wait state, false otherwise. 72 // Called when a packet is received for a connection_id that is in time wait 75 // exponential back off. DCHECKs for the connection_id to be in time wait 88 // Used to delete connection_id entries that have outlived their time wait 92 // Given a ConnectionId that exists in the time wait list, returns the 126 // Register the alarm with the epoll server to wake up at appropriate time [all...] |
/external/chromium_org/third_party/webrtc/base/ |
timeutils_unittest.cc | 19 uint32 ts_earlier = Time(); 21 uint32 ts_now = Time(); 24 // Make sure the Time is not returning in smaller unit like microseconds. 30 TimeStamp ts_earlier = Time(); 32 TimeStamp ts_now = Time(); 45 // Obtain a third time 80 TimeStamp ts_earlier = Time(); 84 // since time elapses between the calls to Time() and TimeAfter(500) 88 // Time has elapsed since ts_earlie [all...] |
/external/chromium_org/ui/base/l10n/ |
time_format.cc | 12 #include "base/time/time.h" 19 using base::Time; 120 const Time& time, 121 const Time* optional_midnight_today) { 122 Time midnight_today = optional_midnight_today ? *optional_midnight_today : 123 Time::Now().LocalMidnight(); 124 TimeDelta day = TimeDelta::FromMicroseconds(Time::kMicrosecondsPerDay); 125 Time tomorrow = midnight_today + day [all...] |
/external/kernel-headers/original/uapi/linux/ |
taskstats.h | 44 * Each time the struct is changed, the value should be incremented. 86 /* cpu "wall-clock" running time 87 * On some architectures, value will adjust for cpu time stolen 94 /* cpu "virtual" running time 95 * Uses time intervals seen by the kernel i.e. no adjustment 114 __u32 ac_btime; /* Begin time [sec since 1970] */ 116 /* Elapsed time [usec] */ 117 __u64 ac_utime; /* User CPU time [usec] */ 118 __u64 ac_stime; /* SYstem CPU time [usec] */ 125 * The current rss usage is added to this counter every time [all...] |
/external/smack/src/org/xbill/DNS/ |
TSIGRecord.java | 42 * @param timeSigned The time that this record was generated 43 * @param fudge The fudge factor for time - if the time that the message is 47 * @param originalID The message ID at the time of its generation 74 long time = (timeHigh << 32) + timeLow; local 75 timeSigned = new Date(time * 1000); 132 long time = ((long)(other[0] & 0xFF) << 40) + local 138 sb.append("<server time: "); 139 sb.append(new Date(time * 1000)); 159 /** Returns the time that this record was generated * 199 long time = timeSigned.getTime() \/ 1000; local [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
CountdownConditionProvider.java | 40 /** Built-in zen condition provider for simple time-based conditions */ 129 final long time = ZenModeConfig.tryParseCountdownConditionId(conditionId); local 131 if (time > 0) { 132 notifyCondition(newCondition(time, Condition.STATE_FALSE)); 138 private static final Condition newCondition(long time, int state) { 139 return new Condition(ZenModeConfig.toCountdownConditionId(time), 144 final long time = ZenModeConfig.tryParseCountdownConditionId(conditionUri); local 145 if (time == 0) return null; 148 DateUtils.getRelativeTimeSpanString(time, now, DateUtils.MINUTE_IN_MILLIS); 150 ts(time), time - now, span, ts(now)) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ |
FormattedDateBuilder.java | 45 * Times on today's date will just display time, e.g. 8:15 AM 49 * @param when The time to generate a formatted date for 64 * Times on today's date will just display time, e.g. 8:15 AM 65 * Times not today, but within two weeks ago will display relative date and time, 68 * absolute date and time, e.g. Nov 6, 8:15 AM 71 * @param when The time to generate a formatted date for 88 * Displays full date and time e.g. Tue, Nov 18, 2012, 8:15 AM, or 91 * @param when The time to generate a formatted date for 106 * @param when The time to generate a formatted date for 132 * that does not include the time in strings like "2 days ago" [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/linux/ |
taskstats.h | 44 * Each time the struct is changed, the value should be incremented. 86 /* cpu "wall-clock" running time 87 * On some architectures, value will adjust for cpu time stolen 94 /* cpu "virtual" running time 95 * Uses time intervals seen by the kernel i.e. no adjustment 114 __u32 ac_btime; /* Begin time [sec since 1970] */ 116 /* Elapsed time [usec] */ 117 __u64 ac_utime; /* User CPU time [usec] */ 118 __u64 ac_stime; /* SYstem CPU time [usec] */ 125 * The current rss usage is added to this counter every time [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
taskstats.h | 44 * Each time the struct is changed, the value should be incremented. 86 /* cpu "wall-clock" running time 87 * On some architectures, value will adjust for cpu time stolen 94 /* cpu "virtual" running time 95 * Uses time intervals seen by the kernel i.e. no adjustment 114 __u32 ac_btime; /* Begin time [sec since 1970] */ 116 /* Elapsed time [usec] */ 117 __u64 ac_utime; /* User CPU time [usec] */ 118 __u64 ac_stime; /* SYstem CPU time [usec] */ 125 * The current rss usage is added to this counter every time [all...] |