/external/android-clat/ |
H A D | clatd.c | 347 logmsg(ANDROID_LOG_WARN,"ipv4mtu now set to = %d",Global_Clatd_Config.ipv4mtu); 443 time_t now = time(NULL); local 444 if(last_interface_poll < (now - INTERFACE_POLL_FREQUENCY)) { 446 last_interface_poll = now;
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | CodeSignerTest.java | 40 private Date now = new Date(); field in class:CodeSignerTest 42 private Timestamp ts = new Timestamp(now, cpath);
|
H A D | TimestampTest.java | 39 private Date now = new Date(); field in class:TimestampTest 53 new Timestamp(now, null); 64 Timestamp one = new Timestamp(now, cpath); 65 Timestamp two = new Timestamp(now, cpath); 79 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath); 83 Timestamp t = new Timestamp(now, cpath); 84 assertEquals(now, t.getTimestamp()); 85 assertNotSame(now, t.getTimestamp()); 92 new Timestamp(now, cpath).toString();
|
/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);
|
H A D | Timestamp_ImplTest.java | 39 private Date now = new Date(); field in class:Timestamp_ImplTest 46 assertTrue(new Timestamp(now, cpath).hashCode() == (now.hashCode() ^ cpath
|
/external/apache-http/src/org/apache/http/impl/conn/ |
H A D | IdleConnectionHandler.java | 152 long now = System.currentTimeMillis(); 154 log.debug("Checking for expired connections, now: " + now); 163 if(times.timeExpires <= now) { 182 * @param now The current time in milliseconds 186 TimeValues(long now, long validDuration, TimeUnit validUnit) { argument 187 this.timeAdded = now; 189 this.timeExpires = now + validUnit.toMillis(validDuration);
|
/external/bison/lib/ |
H A D | timevar.c | 200 get_time (now) 201 struct timevar_time_def *now; 203 now->user = 0; 204 now->sys = 0; 205 now->wall = 0; 213 now->wall = times (&tms) * ticks_to_msec; 215 now->user = tms.tms_utime * ticks_to_msec; 216 now->sys = tms.tms_stime * ticks_to_msec; 218 now->user = (tms.tms_utime + tms.tms_cutime) * ticks_to_msec; 219 now 289 struct timevar_time_def now; local 340 struct timevar_time_def now; local 401 struct timevar_time_def now; local 423 struct timevar_time_def now; local 453 struct timevar_time_def now; local [all...] |
/external/blktrace/ |
H A D | blktrace.c | 504 struct timeval now; local 506 gettimeofday(&now, NULL); 507 tsp->tv_sec = now.tv_sec; 508 tsp->tv_nsec = 1000L * now.tv_usec;
|
/external/blktrace/btreplay/ |
H A D | btreplay.c | 543 cpu_set_t now; local 545 (void)sched_getaffinity(getpid(), sizeof(now), &now); local 548 fprintf(tip->vfp, "%1d", CPU_ISSET(i, &now));
|
/external/blktrace/btt/ |
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...] |
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 | trace.c | 25 time_t now = time(NULL); local 30 if (verbose && ((now - last_vtrace) > 0)) { 34 last_vtrace = now;
|
/external/bluetooth/bluedroid/audio_a2dp_hw/ |
H A D | audio_a2dp_hw.c | 158 struct timespec now; local 165 clock_gettime(CLOCK_MONOTONIC, &now); 167 now_us = now.tv_sec*USEC_PER_SEC + now.tv_nsec/1000; 171 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000; 172 *pprev_opt = now; 177 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000; 178 prev = now; [all...] |
/external/bluetooth/bluedroid/btif/src/ |
H A D | btif_hf.c | 312 struct timespec now, conn_time_delta; local 315 clock_gettime(CLOCK_MONOTONIC, &now); 316 conn_time_delta.tv_sec = now.tv_sec; 322 if ((now.tv_sec - btif_hf_cb[i].connected_timestamp.tv_sec) 326 now.tv_sec - btif_hf_cb[i].connected_timestamp.tv_sec; 588 /* TODO: Some of these commands may need to be sent to app. For now respond with error */ 1387 struct timespec now; local 1389 clock_gettime(CLOCK_MONOTONIC, &now); 1390 if (now.tv_sec < btif_hf_cb[0].call_end_timestamp.tv_sec + 1427 ** It will not send codec setting cmd to the controller now [all...] |
/external/bluetooth/bluedroid/gki/ulinux/ |
H A D | gki_ulinux.c | 124 const UINT64 now = now_us(); local 125 alarm_service.timer_started_us = now; 129 prev_timer_delay = now - alarm_service.timer_last_expired_us; 708 /* adjust btld scheduling scheme now */
|
/external/bluetooth/bluedroid/osi/src/ |
H A D | alarm.c | 63 static period_ms_t now(void); 127 alarm->deadline = now() + deadline; 187 static period_ms_t now(void) { function 249 int64_t next_exp = next->deadline - now();
|
/external/chromium_org/android_webview/browser/ |
H A D | deferred_gpu_command_service.cc | 118 const base::Time now = base::Time::Now(); local 125 // Only run old tasks if we are not really idle right now. 126 base::TimeDelta age(now - idle_tasks_.front().first);
|
/external/chromium_org/ash/system/date/ |
H A D | date_view.cc | 87 base::Time now = base::Time::Now(); local 88 UpdateTextInternal(now); 90 SetTimer(now); 97 void BaseDateTimeView::SetTimer(const base::Time& now) { argument 102 now.LocalExplode(&exploded); 105 // 60 seconds from now. 168 void DateView::UpdateTextInternal(const base::Time& now) { argument 170 base::TimeFormatFriendlyDate(now) + 173 now, hour_type_, base::kKeepAmPm)); 176 IDS_ASH_STATUS_TRAY_DATE, FormatDayOfWeek(now), FormatDat 227 UpdateTextInternal(const base::Time& now) argument [all...] |
/external/chromium_org/ash/wm/ |
H A D | video_detector.cc | 32 base::TimeTicks now) { 42 update_times_[(buffer_start_ + buffer_size_) % kMinFramesPerSecond] = now; 46 (now - update_times_[buffer_start_]).InSecondsF() <= 1.0; 96 base::TimeTicks now = local 98 if (info->RecordUpdateAndCheckForVideo(damage_rect_in_dip, now)) 99 MaybeNotifyObservers(window, now); 114 base::TimeTicks now) { 116 (now - last_observer_notification_time_).InSecondsF() < 152 last_observer_notification_time_ = now; 31 RecordUpdateAndCheckForVideo(const gfx::Rect& region, base::TimeTicks now) argument 113 MaybeNotifyObservers(aura::Window* window, base::TimeTicks now) argument
|
H A D | video_detector.h | 63 void set_now_for_test(base::TimeTicks now) { now_for_test_ = now; } argument 86 void MaybeNotifyObservers(aura::Window* window, base::TimeTicks now);
|
/external/chromium_org/athena/system/ |
H A D | time_view.cc | 42 void TimeView::SetTimer(base::Time now) { argument 47 now.LocalExplode(&exploded); 50 // 60 seconds from now. 66 base::Time now = base::Time::Now(); local 68 now, base::k12HourClock, base::kKeepAmPm)); 69 SetTimer(now);
|
/external/chromium_org/athena/wm/ |
H A D | window_list_provider_impl_unittest.cc | 32 // Return a string which defines the order of windows in |now| using the indices 36 const aura::Window::Windows& now) { 37 if (original.size() != now.size()) 40 for (aura::Window::Windows::const_iterator it = now.begin(); 41 it != now.end(); ++it) { 35 GetWindowOrder(const aura::Window::Windows& original, const aura::Window::Windows& now) argument
|
/external/chromium_org/base/debug/ |
H A D | trace_event.h | 116 // free(str); // Trace system now has dangling pointer 1371 base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); local 1373 name, id, thread_id, now, flags); 1407 base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); local 1409 name, id, thread_id, now, flags, 1450 base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); local 1452 name, id, thread_id, now, flags, 1509 // For now the category_group must be "gpu".
|
H A D | trace_event_android.cc | 189 TimeTicks now = TimeTicks::NowFromSystemTraceTime(); local 190 double now_in_seconds = now.ToInternalValue() / 1000000.0;
|
H A D | trace_event_impl.cc | 632 void TraceEvent::UpdateDuration(const TimeTicks& now, 635 duration_ = now - timestamp_; 1161 TimeTicks now = trace_log_->OffsetNow(); 1162 TimeDelta overhead = now - event_timestamp; 1172 trace_event->UpdateDuration(now, thread_now); 1378 // Update the max index now. 1876 base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); local 1878 name, id, thread_id, now, 1914 TimeTicks now = OffsetTimestamp(timestamp); local 1987 trace_event->Initialize(thread_id, now, thread_no 2125 TimeTicks now = OffsetNow(); local [all...] |