/external/c-ares/ |
ares__timeval.c | 28 struct timeval now; local 30 now.tv_sec = milliseconds / 1000; 31 now.tv_usec = (milliseconds % 1000) * 1000; 32 return now; 46 struct timeval now; local 49 now.tv_sec = tsnow.tv_sec; 50 now.tv_usec = tsnow.tv_nsec / 1000; 59 (void)gettimeofday(&now, NULL); 62 now.tv_sec = (long)time(NULL); 63 now.tv_usec = 0 78 struct timeval now; local 90 struct timeval now; local [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/ |
Timer.java | 35 resetMillis = now(); 39 return (float) (now() - resetMillis); 42 private static native double now() /*-{ method in class:Timer 43 return Date.now();
|
/hardware/ril/librilutils/ |
librilutils.c | 21 struct timespec now; local 22 clock_gettime(CLOCK_MONOTONIC, &now); 23 return now.tv_sec * 1000000000LL + now.tv_nsec;
|
/development/tools/idegen/src/ |
Stopwatch.java | 25 long now = System.currentTimeMillis(); local 26 Log.info(label + ": " + (now - last) + "ms"); 27 last = now;
|
/build/tools/droiddoc/templates-ndk/ |
timestamp.cs | 1 var BUILD_TIMESTAMP = "<?cs var:page.now ?>";
|
/build/tools/droiddoc/templates-sac/ |
timestamp.cs | 1 var BUILD_TIMESTAMP = "<?cs var:page.now ?>";
|
/build/tools/droiddoc/templates-sdk/ |
timestamp.cs | 1 var BUILD_TIMESTAMP = "<?cs var:page.now ?>";
|
/external/curl/src/ |
tool_util.c | 42 struct timeval now; local 48 now.tv_sec = (long)(milliseconds / 1000); 49 now.tv_usec = (milliseconds % 1000) * 1000; 50 return now; 64 struct timeval now; local 67 now.tv_sec = tsnow.tv_sec; 68 now.tv_usec = tsnow.tv_nsec / 1000; 77 (void)gettimeofday(&now, NULL); 80 now.tv_sec = (long)time(NULL); 81 now.tv_usec = 0 96 struct timeval now; local 108 struct timeval now; local [all...] |
/external/curl/tests/libtest/ |
testutil.c | 36 struct timeval now; local 38 now.tv_sec = milliseconds / 1000; 39 now.tv_usec = (milliseconds % 1000) * 1000; 40 return now; 54 struct timeval now; local 57 now.tv_sec = tsnow.tv_sec; 58 now.tv_usec = tsnow.tv_nsec / 1000; 67 (void)gettimeofday(&now, NULL); 70 now.tv_sec = (long)time(NULL); 71 now.tv_usec = 0 86 struct timeval now; local 98 struct timeval now; local [all...] |
/external/doclava/res/assets/templates/ |
timestamp.cs | 1 var BUILD_TIMESTAMP = "<?cs var:page.now ?>";
|
/external/valgrind/helgrind/tests/ |
cond_timedwait_test.c | 9 struct timespec now; local 10 memset(&now, 0, sizeof(now)); 13 pthread_cond_timedwait(&cond, &mutex, &now);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_strftime.py | 36 def _update_variables(self, now): 38 self.gmt = time.gmtime(now) 39 now = time.localtime(now) 41 if now[3] < 12: self.ampm='(AM|am)' 44 self.jan1 = time.localtime(time.mktime((now[0], 1, 1, 0, 0, 0, 0, 1, 0))) 47 if now[8]: self.tz = time.tzname[1] 52 if now[3] > 12: self.clock12 = now[3] - 12 53 elif now[3] > 0: self.clock12 = now[3 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_strftime.py | 36 def _update_variables(self, now): 38 self.gmt = time.gmtime(now) 39 now = time.localtime(now) 41 if now[3] < 12: self.ampm='(AM|am)' 44 self.jan1 = time.localtime(time.mktime((now[0], 1, 1, 0, 0, 0, 0, 1, 0))) 47 if now[8]: self.tz = time.tzname[1] 52 if now[3] > 12: self.clock12 = now[3] - 12 53 elif now[3] > 0: self.clock12 = now[3 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 36 def _update_variables(self, now): 38 self.gmt = time.gmtime(now) 39 now = time.localtime(now) 41 if now[3] < 12: self.ampm='(AM|am)' 44 self.jan1 = time.localtime(time.mktime((now[0], 1, 1, 0, 0, 0, 0, 1, 0))) 47 if now[8]: self.tz = time.tzname[1] 52 if now[3] > 12: self.clock12 = now[3] - 12 53 elif now[3] > 0: self.clock12 = now[3 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 36 def _update_variables(self, now): 38 self.gmt = time.gmtime(now) 39 now = time.localtime(now) 41 if now[3] < 12: self.ampm='(AM|am)' 44 self.jan1 = time.localtime(time.mktime((now[0], 1, 1, 0, 0, 0, 0, 1, 0))) 47 if now[8]: self.tz = time.tzname[1] 52 if now[3] > 12: self.clock12 = now[3] - 12 53 elif now[3] > 0: self.clock12 = now[3 [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
RateEstimator.java | 37 public float update(long now) { 44 mInterarrivalTime = getInterarrivalEstimate(now); 47 mLastEventTime = now; 51 /** @return the estimated rate if there were a new event right now. */ 52 public float getRate(long now) { 56 return (float) (1.0 / getInterarrivalEstimate(now)); 59 /** @return the average inter-arrival time if there were a new event right now. */ 60 private double getInterarrivalEstimate(long now) { 61 double dt = ((double) (now - mLastEventTime)) / 1000.0;
|
/external/curl/lib/ |
timeval.c | 34 struct timeval now; local 38 now.tv_sec = milliseconds / 1000; 39 now.tv_usec = (milliseconds % 1000) * 1000; 42 now.tv_sec = (long) (milliseconds / 1000); 43 now.tv_usec = (long) (milliseconds % 1000) * 1000; 46 return now; 60 struct timeval now; local 63 now.tv_sec = tsnow.tv_sec; 64 now.tv_usec = tsnow.tv_nsec / 1000; 73 (void)gettimeofday(&now, NULL) 92 struct timeval now; local 104 struct timeval now; local [all...] |
/external/libcxx/test/std/utilities/time/time.clock/time.clock.steady/ |
now.pass.cpp | 16 // static time_point now(); 24 C::time_point t1 = C::now(); 25 C::time_point t2 = C::now();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.clock/time.clock.steady/ |
now.pass.cpp | 14 // static time_point now(); 22 C::time_point t1 = C::now(); 23 C::time_point t2 = C::now();
|
/ndk/tests/device/test-gnustl-2/jni/ |
hello.cpp | 5 time_t now = 0; local 9 std::cout << now; local
|
/system/security/keystore/ |
keystore_keymaster_enforcement.h | 41 time_t now = time(NULL); variable 42 if (now == static_cast<time_t>(-1)) { 45 } else if (now < 0) { 54 uint64_t now_date = static_cast<uint64_t>(now) * 1000 + 999; 59 time_t now = time(NULL); variable 60 if (now == static_cast<time_t>(-1)) { 63 } else if (now < 0) { 71 uint64_t now_date = static_cast<uint64_t>(now) * 1000;
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSListener.java | 22 * @param now 27 void updateRecord(DNSCache dnsCache, long now, DNSEntry record);
|
/frameworks/base/core/java/android/os/ |
ConditionVariable.java | 124 long now = System.currentTimeMillis(); local 125 long end = now + timeout; 126 while (!mCondition && now < end) { 128 this.wait(end-now); 132 now = System.currentTimeMillis();
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
MidiBtleTimeTracker.java | 40 public MidiBtleTimeTracker(long now) { 42 mBaseHostTimeNanos = now; 43 mPreviousNow = now; 49 * @param now 53 public long convertTimestampToNanotime(int timestamp, long now) { 63 if ((now - mPreviousNow) > (RANGE_NANOS / 2)) { 65 long minimumTimeNanos = (now - mBaseHostTimeNanos) 78 if (timestampHostNanos > now) { 80 mBaseHostTimeNanos = now; 81 timestampHostNanos = now; [all...] |
/system/extras/tests/icachetest/ |
icache_main.c | 11 struct timeval now, tm; local 19 gettimeofday(&now, 0); 22 t = (tm.tv_sec*1000000LL+tm.tv_usec) - (now.tv_sec*1000000LL+now.tv_usec); 26 gettimeofday(&now, 0); 29 t = (tm.tv_sec*1000000LL+tm.tv_usec) - (now.tv_sec*1000000LL+now.tv_usec);
|