/external/blktrace/btt/ |
H A D | plat.c | 69 double now = TO_SEC(ts); local 76 pp->first_ts = pp->last_ts = now; 79 } else if ((now - pp->first_ts) >= plat_freq) { 85 pp->first_ts = pp->last_ts = now; 89 pp->last_ts = now;
|
H A D | iostat.c | 63 static void update_tot_qusz(struct d_info *dip, double now) argument 65 dip->stats.tot_qusz += ((now - dip->stats.last_qu_change) * 67 dip->all_stats.tot_qusz += ((now - dip->all_stats.last_qu_change) * 70 dip->stats.last_qu_change = dip->all_stats.last_qu_change = now; 73 static void update_idle_time(struct d_info *dip, double now, int force) argument 76 dip->stats.idle_time += (now - dip->stats.last_dev_change); 78 (now - dip->all_stats.last_dev_change); 80 dip->stats.last_dev_change = dip->all_stats.last_dev_change = now; 88 double now = TO_SEC(stamp); local 100 update_idle_time(dip, now, 257 double now = TO_SEC(iop->t.time); local 268 double now = TO_SEC(c_iop->t.time); local [all...] |
/external/chromium/chrome/common/ |
H A D | time_format_unittest.cc | 18 Time now = Time::Now(); local 19 string16 today_str = TimeFormat::RelativeDate(now, NULL); 22 Time yesterday = now - TimeDelta::FromDays(1); 26 Time two_days_ago = now - TimeDelta::FromDays(2); 30 Time a_week_ago = now - TimeDelta::FromDays(7);
|
/external/ipsec-tools/src/racoon/ |
H A D | throttle.c | 99 time_t now; local 104 now = time(NULL); 111 if (te->penalty < now) { 146 remaining = te->penalty - now; 152 te->penalty = now + new;
|
/external/webrtc/src/system_wrappers/interface/ |
H A D | tick_util.h | 149 DWORD now = timeGetTime(); local 151 DWORD old = InterlockedExchange(lastTimeGetTimePtr, now); 152 if(now < old) 154 // If now is earlier than old, there may have been a race between 158 if(old > 0xf0000000 && now < 0x0fffffff) 163 result._ticks = now + (numWrapTimeGetTime<<32); 183 TickTime now = TickTime::Now(); local 188 return (now._ticks * 1000) / qpfreq.QuadPart; 190 return now._ticks; 193 return now 201 TickTime now = TickTime::Now(); local [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
H A D | protocol_manager_unittest.cc | 109 Time now = Time::Now(); local 112 pm.HandleGetHashError(now); 115 Time future = now + TimeDelta::FromMinutes(1); 120 pm.HandleGetHashError(now); 122 EXPECT_TRUE(pm.next_gethash_time_ >= now + TimeDelta::FromMinutes(30)); 123 EXPECT_TRUE(pm.next_gethash_time_ <= now + TimeDelta::FromMinutes(60)); 126 pm.HandleGetHashError(now); 128 EXPECT_TRUE(pm.next_gethash_time_ >= now + TimeDelta::FromMinutes(60)); 129 EXPECT_TRUE(pm.next_gethash_time_ <= now + TimeDelta::FromMinutes(120)); 132 pm.HandleGetHashError(now); [all...] |
H A D | safe_browsing_store_unittest.cc | 38 const base::Time now = base::Time::Now(); local 41 EXPECT_TRUE(SBAddPrefixHashLess(SBAddFullHash(10, now, two), 42 SBAddFullHash(11, now, one))); 43 EXPECT_FALSE(SBAddPrefixHashLess(SBAddFullHash(11, now, two), 44 SBAddFullHash(10, now, one))); 47 EXPECT_TRUE(SBAddPrefixHashLess(SBAddFullHash(10, now, one), 48 SBAddFullHash(10, now, two))); 49 EXPECT_FALSE(SBAddPrefixHashLess(SBAddFullHash(10, now, two), 50 SBAddFullHash(10, now, one))); 53 EXPECT_TRUE(SBAddPrefixHashLess(SBAddFullHash(10, now, on 262 const base::Time now = base::Time::Now(); local [all...] |
/external/chromium/net/base/ |
H A D | host_cache.cc | 37 base::TimeTicks now) const { 47 if (CanUseEntry(entry, now)) 56 base::TimeTicks now) { 61 base::TimeTicks expiration = now + 66 // Entry didn't exist, creating one now. 73 Compact(now, ptr); 116 bool HostCache::CanUseEntry(const Entry* entry, const base::TimeTicks now) { argument 117 return entry->expiration > now; 120 void HostCache::Compact(base::TimeTicks now, const Entry* pinned_entry) { argument 124 if (entry != pinned_entry && !CanUseEntry(entry, now)) { 53 Set(const Key& key, int error, const AddressList& addrlist, base::TimeTicks now) argument [all...] |
H A D | dns_reload_timer.cc | 36 base::TimeTicks now = base::TimeTicks::Now(); local 46 } else if (now - *timer_ptr > kRetryTime) { 47 *timer_ptr = now;
|
/external/apache-http/src/org/apache/http/impl/conn/ |
H A D | IdleConnectionHandler.java | 147 long now = System.currentTimeMillis(); 149 log.debug("Checking for expired connections, now: " + now); 158 if(times.timeExpires <= now) { 177 * @param now The current time in milliseconds 181 TimeValues(long now, long validDuration, TimeUnit validUnit) { argument 182 this.timeAdded = now; 184 this.timeExpires = now + validUnit.toMillis(validDuration);
|
/external/chromium/chrome/browser/policy/ |
H A D | file_based_policy_loader.cc | 77 base::Time now = base::Time::Now(); local 78 if (!IsSafeToReloadPolicy(now, &delay)) { 87 if (!IsSafeToReloadPolicy(now, &delay)) { 120 const base::Time& now, 134 last_modification_clock_ = now; 140 base::TimeDelta age = now - last_modification_clock_; 119 IsSafeToReloadPolicy( const base::Time& now, base::TimeDelta* delay) argument
|
/external/icu4c/test/compat/ |
H A D | tzdate.c | 110 time_t now; local 114 time(&now); 115 ts = *localtime(&now); 125 now = mktime(&ts); 126 ts = *localtime(&now); 132 return (double)now;
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
H A D | CodeSigner_ImplTest.java | 39 private Date now = new Date(); field in class:CodeSigner_ImplTest 41 private Timestamp ts = new Timestamp(now, cpath);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
H A D | 15.9.5.11-1.js | 47 var now = (new Date()).valueOf(); 49 addTestCase( now );
|
H A D | 15.9.5.13-1.js | 47 var now = (new Date()).valueOf(); 49 addTestCase( now );
|
H A D | 15.9.5.21-1.js | 47 var now = (new Date()).valueOf(); 58 addTestCase( now );
|
/external/webkit/Source/WebCore/loader/ |
H A D | FTPDirectoryParser.h | 93 : now(0) 102 double now; /* needed for year determination */ member in struct:WebCore::ListState
|
/external/webkit/Tools/QtTestBrowser/ |
H A D | fpstimer.cpp | 47 const QTime now = QTime::currentTime(); local 51 int msecs = m_frames[i].msecsTo(now);
|
/external/qemu/distrib/sdl-1.2.15/src/timer/riscos/ |
H A D | SDL_systimer.c | 86 Uint32 now,then,elapsed; local 115 now = SDL_GetTicks(); 116 elapsed = (now-then); 117 then = now;
|
/external/qemu/ |
H A D | tcpdump.c | 122 struct timeval now; local 128 gettimeofday(&now, NULL); 129 h.ts_sec = (uint32_t) now.tv_sec; 130 h.ts_usec = (uint32_t) now.tv_usec;
|
/external/webkit/Tools/QueueStatusServer/model/ |
H A D | activeworkitems.py | 81 def deactivate_expired(self, now): 82 one_hour_ago = time.mktime((now - timedelta(minutes=60)).timetuple()) 86 def next_item(self, work_item_ids, now): 89 self._append_item_time_pair([item_id, time.mktime(now.timetuple())])
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/wave/ |
H A D | prettyload.js | 70 startTime = Date.now(); 81 if (Date.now() - startTime < MAX_DURATION) { 97 }, this.minDuration * MS_PER_SEC - (Date.now() - startTime));
|
/external/qemu/distrib/sdl-1.2.15/src/timer/macos/ |
H A D | SDL_systimer.c | 70 Uint32 stop, now; local 80 now = SDL_GetTicks(); 82 } while ( stop > now );
|
/external/valgrind/main/memcheck/tests/x86/ |
H A D | pushfpopf_s.S | 17 # flags are now undef if either operand is 23 # flags are now definitely defined 31 # now use the condition codes to generate a value
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
H A D | 15.9.5.3.js | 60 status = "typeof (now.toDateString())"; 61 actual = typeof (now.toDateString()); 72 status = "(Date.parse(now.toDateString()) - (midnight(now)).valueOf()) == 0"; 73 actual = (Date.parse(now.toDateString()) - (midnight(now)).valueOf()) == 0;
|