/external/webkit/Source/WebCore/html/ |
TimeRanges.cpp | 111 bool TimeRanges::contain(float time) const 115 if (time >= start(n, unused) && time <= end(n, unused)) 121 float TimeRanges::nearest(float time) const 129 if (time >= startTime && time <= endTime) 130 return time; 131 if (fabs(startTime - time) < closest) 132 closest = fabsf(startTime - time); 133 else if (fabs(endTime - time) < closest [all...] |
/external/webrtc/src/system_wrappers/source/ |
event_linux.cc | 18 #include <sys/time.h> 55 // Set start time to zero 208 bool EventLinux::StartTimer(bool periodic, unsigned long time) 218 _time = time; 231 _time = time; 267 unsigned long long time = _time * ++_count; local 268 tEnd.tv_sec = _tCreate.tv_sec + time/1000; 269 tEnd.tv_nsec = _tCreate.tv_nsec + (time - (time/1000)*1000)*E6; 319 // Set time to zero to force new reference time for the timer [all...] |
/frameworks/base/include/utils/ |
Timers.h | 25 #include <sys/time.h> 79 SYSTEM_TIME_MONOTONIC = 1, // monotonic time since unspecified starting point 84 // return the system-time according to the specified clock 92 * Returns the number of milliseconds to wait between the reference time and the timeout time. 93 * If the timeout is in the past relative to the reference time, returns 0. 94 * If the timeout is more than INT_MAX milliseconds in the future relative to the reference time, 96 * Otherwise, returns the difference between the reference time and timeout time 112 * Time the duration of something [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ConditionVariableTest.java | 83 long time = System.currentTimeMillis(); local 85 assertTrue(System.currentTimeMillis() - time < TOLERANCE_MS); 89 time = System.currentTimeMillis(); 91 assertTrue(System.currentTimeMillis() - time >= BLOCK_TIME); 94 time = System.currentTimeMillis(); 109 long timeDelta = System.currentTimeMillis() - time; 113 time = System.currentTimeMillis();
|
/external/chromium/third_party/libjingle/source/talk/base/ |
time.cc | 29 #include <sys/time.h> 38 #include "talk/base/time.h" 48 uint32 Time() { 56 uint32 Time() { 62 // Close to program execution time 63 static const uint32 g_start = Time(); 73 return Time() + elapsed;
|
/external/proguard/src/proguard/gui/splash/ |
ShadowedSprite.java | 67 public void paint(Graphics graphics, long time) 69 double l = alpha.getDouble(time); 70 int b = blur.getInt(time) + 1; 87 int xo = xOffset.getInt(time) - b/2; 88 int yo = yOffset.getInt(time) - b/2; 98 sprite.paint(graphics, time); 107 sprite.paint(graphics, time);
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
udhcpd-p2p.conf | 20 # If remaining is true (default), udhcpd will store the time 22 # for embedded systems that cannot keep time between reboots. 23 # If you set remaining to no, the absolute time that the lease 29 # The time period at which udhcpd will write out a dhcpd.leases 36 # The amount of time that an IP will be reserved (leased) for if a 42 # The amount of time that an IP will be reserved (leased) for if an 52 # If a lease to be given is below this value, the full lease time is
|
/frameworks/base/media/java/android/media/videoeditor/ |
MediaVideoItem.java | 96 * @param beginMs Start time in milliseconds. Set to 0 to extract from the 98 * @param endMs End time in milliseconds. Set to {@link #END_OF_FILE} to 203 * @param beginMs Start time in milliseconds. Set to 0 to extract from the 205 * @param endMs End time in milliseconds. Set to {@link #END_OF_FILE} to 208 * @throws IllegalArgumentException if the start time is greater or equal than 209 * end time, the end time is beyond the file duration, the start time 214 throw new IllegalArgumentException("setExtractBoundaries: Invalid start time"); 218 throw new IllegalArgumentException("setExtractBoundaries: Invalid end time"); [all...] |
/packages/apps/Settings/res/xml/ |
timezones.xml | 6 <timezone id="America/Los_Angeles">Pacific Time</timezone> 10 <timezone id="America/Denver">Mountain Time</timezone> 12 <timezone id="America/Chicago">Central Time</timezone> 16 <timezone id="America/New_York">Eastern Time</timezone> 18 <timezone id="America/Barbados">Atlantic Time (Barbados)</timezone> 19 <timezone id="America/Halifax">Atlantic Time (Canada)</timezone> 37 <timezone id="Africa/Brazzaville">W. Africa Time</timezone>
|
/sdk/emulator/qtools/ |
callstack.h | 29 virtual void push(int stackLevel, uint64_t time, CallStackBase *base) {}; 30 virtual void pop(int stackLevel, uint64_t time, CallStackBase *base) {}; 42 uint32_t time; // for debugging when a problem occurred member in class:StackFrame 58 void popAll(uint64_t time); 59 void threadStart(uint64_t time); 60 void threadStop(uint64_t time); 69 uint64_t getGlobalTime(uint64_t time) { return time + mSkippedTime; } 83 uint64_t time, int flags); 84 void doSimplePop(uint64_t time); 219 uint64_t time = event->time - mSkippedTime; local 385 uint64_t time = event->time - mSkippedTime; local 555 uint64_t time = event->time - mSkippedTime; local 693 uint64_t time = event->time - mSkippedTime; local 737 uint64_t time = event->time - mSkippedTime; local [all...] |
/external/icu4c/i18n/ |
rbtz.cpp | 23 * A struct representing a time zone transition 26 UDate time; member in struct:Transition 167 // Build the transition array which represents historical time zone 198 // No more transitions from this rule - skip this rule next time 262 trst->time = nextTransitionTime; 303 final0->time = tt0; 306 rule1->getNextStart(tt0, rule0->getRawOffset(), rule0->getDSTSavings(), false, final1->time); 310 final0->time = tt1; 313 rule0->getNextStart(tt1, rule1->getRawOffset(), rule1->getDSTSavings(), false, final1->time); 374 UDate time = (UDate)Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY + millis local 484 UDate time; local 875 UDate time = transition->time; local [all...] |
/external/webkit/Source/WebCore/platform/audio/ |
ReverbConvolver.cpp | 44 // We only process the leading portion of the impulse response in the real-time thread. We don't exceed this length. 46 // Empirically, this has been found to be a good compromise between giving enough time for scheduling slop, 49 // the very rough scheduling latencies are similar on these time-scales. Of course, this code may need to be 68 , m_minFFTSize(MinFFTSize) // First stage will have this size - successive stages will double in size each time 76 // stages which run in the real-time thread. This avoids having only one or two 77 // large stages (size 16384 or so) at the end which take a lot of time every several 81 // For the moment, a good way to know if we have real-time constraint is to check if we're using background threads. 102 // This "staggers" the time when each FFT happens so they don't all happen at the same time 127 // FIXME: would be better to up the thread priority here. It doesn't need to be real-time, but higher than the default.. [all...] |
/frameworks/compile/libbcc/ |
README.rst | 12 * it implements both AOT (Ahead-of-Time) and JIT (Just-in-Time) 15 * Android devices demand fast start-up time, small size, and high 16 performance *at the same time*. libbcc attempts to address these 25 * a *just-in-time bitcode compiler*, which translates the LLVM bitcode 40 * libbcc strives to balance between library size, launch time and 48 * To reduce launch time, we support caching of 49 binaries. Just-in-Time compilation are oftentimes Just-too-Late, 51 AOT to get the best of both worlds: Fast launch time and high 55 portability enhancement. Launch time reduction after w [all...] |
/dalvik/vm/ |
Misc.h | 28 #include <sys/time.h> 207 * Get the current time, in nanoseconds. This is "relative" time, meaning 208 * it could be wall-clock time or a monotonic counter, and is only suitable 209 * for computing time deltas. 214 * Get the current time, in microseconds. This is "relative" time, meaning 215 * it could be wall-clock time or a monotonic counter, and is only suitable 216 * for computing time deltas. 223 * Get the current time, in milliseconds. This is "relative" time [all...] |
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfoDB.java | 38 * A class used to initialize the time zone database. This implementation uses the 39 * 'zoneinfo' database as the source of time zone information. However, to conserve 40 * disk space the data for all time zones are concatenated into a single file, and a 41 * second file is used to indicate the starting position of each time zone record. A 48 * The directory containing the time zone database files. 54 * The name of the file containing the concatenated time zone records. 59 * The name of the file containing the index to each time zone record within 69 * Rather than open, read, and close the big data file each time we look up a time zone, 78 * The 'ids' array contains time zone ids sorted alphabetically, for binary searching [all...] |
/external/chromium/chrome/browser/history/ |
text_database.cc | 26 // different words in the index for each time number. 34 // time Time the corresponding FTS entry was visited. 191 // Note that there is no point in creating an index over time. Since 195 if (!db_.Execute("CREATE TABLE info(time INTEGER NOT NULL)")) 201 db_.Execute("CREATE INDEX info_time ON info(time)"); 205 bool TextDatabase::AddPageData(base::Time time, 232 "INSERT INTO info (rowid, time) VALUES (?,?)")); 238 add_to_info.BindInt64(1, time.ToInternalValue()) [all...] |
text_database_manager_unittest.cc | 14 using base::Time; 66 std::vector<Time>* times) { 67 Time::Exploded exploded; 68 memset(&exploded, 0, sizeof(Time::Exploded)); 77 visit_row.visit_time = Time::FromUTCExploded(exploded); 91 visit_row.visit_time = Time::FromUTCExploded(exploded); 100 visit_row.visit_time = Time::FromUTCExploded(exploded); 110 visit_row.visit_time = Time::FromUTCExploded(exploded); 119 visit_row.visit_time = Time::FromUTCExploded(exploded); 129 visit_row.visit_time = Time::FromUTCExploded(exploded) [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
ZipEntry.java | 47 int compressionMethod = -1, time = -1, modDate = -1; field in class:ZipEntry 152 * Gets the last modification time of this {@code ZipEntry}. 154 * @return the last modification time as the number of milliseconds since 158 if (time != -1) { 162 modDate & 0x1f, (time >> 11) & 0x1f, (time >> 5) & 0x3f, 163 (time & 0x1f) << 1); 268 * Sets the modification time of this {@code ZipEntry}. 271 * the modification time as the number of milliseconds since Jan. 280 time = 0 [all...] |
/system/extras/tests/sdcard/ |
plot_sdcard.py | 23 -t x axis is time 48 """Dataset holds the summary and data (time,value pairs).""" 53 self.time = [] 61 return str(zip(self.time, self.data)) 63 def Add(self, time, value): 64 self.time.append(time) 75 for t, d in izip(self.time, self.data): 82 self.time = new_time 164 (time, value) = line.split(None, 1 [all...] |
/external/chromium/chrome/browser/chromeos/status/ |
power_menu_button.cc | 8 #include "base/time.h" 62 // If battery is in an intermediate charge state, show how much time left. 63 base::TimeDelta time = line_power_on_ ? battery_time_to_full_ : 65 if (time.InSeconds() == 0) { 66 // If time is 0, then that means we are still calculating how much time. 68 // are calculating time until full or calculating remaining time. 79 int hour = time.InHours(); 80 int min = (time - base::TimeDelta::FromHours(hour)).InMinutes() [all...] |
/external/chromium/chrome/browser/extensions/ |
convert_web_app.cc | 19 #include "base/time.h" 34 using base::Time; 63 std::string ConvertTimeToExtensionVersion(const Time& create_time) { 64 Time::Exploded create_time_exploded; 68 (create_time_exploded.millisecond * Time::kMicrosecondsPerMillisecond) + 69 (create_time_exploded.second * Time::kMicrosecondsPerSecond) + 70 (create_time_exploded.minute * Time::kMicrosecondsPerMinute) + 71 (create_time_exploded.hour * Time::kMicrosecondsPerHour)); 72 double day_fraction = micros / Time::kMicrosecondsPerDay; 87 const Time& create_time) [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
about_ipc_controller.mm | 9 #include "base/time.h" 27 - (NSString*)time { 28 base::Time t = base::Time::FromInternalValue(data_.sent); 29 base::Time::Exploded exploded; 57 base::Time sent = base::Time::FromInternalValue(data_.sent); 58 int64 delta = (base::Time::FromInternalValue(data_.receive) - 64 base::TimeDelta delta = (base::Time::FromInternalValue(data_.dispatch) - 65 base::Time::FromInternalValue(data_.receive)) [all...] |
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
ratelimitmanager.h | 31 #include "talk/base/time.h" 93 // True iff the current time >= to the next song allowed time 98 // Updates time and counter for rate limit 100 event_times_[counter_] = talk_base::Time(); 106 // The time at which the i-th (where i = max_count) event occured 111 // The time that the next event is allowed to occur 130 // True iff the current time >= to the next song allowed time 133 // Updates time and counter for rate limi [all...] |
/external/icu4c/samples/datefmt/ |
README.TXT | 13 #Date/Time/Number Formatting Support 18 1. What is the date/time support in ICU? 53 and a Calendar object, and make the calendar use the time zone. 60 Problem 2: Date Formatting, Specific Time Zone (Medium) 62 To really localize a time display, one can also specify the time 63 zone in which the time should be displayed. For each language, 64 also create different time zones from the TIMEZONE list. 76 NOTE: It's not always desirable to change the time to a local time [all...] |
/external/kernel-headers/original/linux/ |
rtc.h | 3 * This version contains the part of the user interface to the Real Time Clock 16 * struct tm in <time.h>, but it needs to be here so that the kernel 39 struct rtc_time time; /* time the alarm is set to */ member in struct:rtc_wkalrm 79 #define RTC_ALM_SET _IOW('p', 0x07, struct rtc_time) /* Set alarm time */ 80 #define RTC_ALM_READ _IOR('p', 0x08, struct rtc_time) /* Read alarm time */ 81 #define RTC_RD_TIME _IOR('p', 0x09, struct rtc_time) /* Read RTC time */ 82 #define RTC_SET_TIME _IOW('p', 0x0a, struct rtc_time) /* Set RTC time */ 107 extern int rtc_tm_to_time(struct rtc_time *tm, unsigned long *time); 108 extern void rtc_time_to_tm(unsigned long time, struct rtc_time *tm) [all...] |