Searched defs:now (Results 1 - 11 of 11) sorted by relevance
/system/extras/tests/bionic/libc/common/ |
H A D | test_strftime_2039.c | 11 time_t now = time(NULL); local 12 struct tm tm = *localtime(&now);
|
/system/extras/tests/bionic/libc/other/ |
H A D | bench_locks.c | 7 static double now(void) function 23 t0 = now(); 28 t1 = now() - t0;
|
/system/extras/tests/icachetest/ |
H A D | 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);
|
/system/core/init/ |
H A D | signal_handler.c | 50 time_t now; local 92 now = gettime(); 94 if (svc->time_crashed + CRITICAL_CRASH_WINDOW >= now) { 103 svc->time_crashed = now;
|
H A D | bootchart.c | 132 struct tm now = *localtime(&now_t); local 133 strftime(date, sizeof(date), "%x %X", &now);
|
/system/extras/tests/framebuffer/ |
H A D | refresh.c | 133 // at least for now, always clear the fb 161 int64_t now = systemTime(); local 162 time = now - time; 165 time = now;
|
/system/core/fastboot/ |
H A D | engine.c | 37 double now() function 90 double split = now(); 189 double split = now(); 201 double split = now(); 323 a->start = now(); 348 fprintf(stderr,"finished. total time: %.3fs\n", (now() - start));
|
/system/core/toolbox/ |
H A D | getevent.c | 652 int64_t now = event.time.tv_sec * 1000000LL + event.time.tv_usec; local 654 printf(" rate %lld", 1000000LL / (now - last_sync_time)); 655 last_sync_time = now;
|
H A D | newfs_msdos.c | 270 time_t now; local 617 now = tv.tv_sec; 618 tm = localtime(&now);
|
/system/core/adb/ |
H A D | adb.c | 658 struct tm now; local 671 localtime_r(&t, &now); 674 &now);
|
/system/core/charger/ |
H A D | charger.c | 443 /* only pick up the first battery for now */ 672 static void update_screen_state(struct charger *charger, int64_t now) argument 678 if (!batt_anim->run || now < charger->next_screen_transition) 686 LOGV("[%lld] animation done\n", now); 697 LOGV("[%lld] animation starting\n", now); 727 LOGV("[%lld] animation missing or unknown battery status\n", now); 728 charger->next_screen_transition = now + BATTERY_UNKNOWN_TIME; 734 charger->next_screen_transition = now + disp_time; 760 int64_t now = curr_time_ms(); local 773 charger->keys[code].timestamp = now; 807 process_key(struct charger *charger, int code, int64_t now) argument 834 handle_input_state(struct charger *charger, int64_t now) argument 842 handle_power_supply_state(struct charger *charger, int64_t now) argument 865 wait_next_event(struct charger *charger, int64_t now) argument 911 int64_t now = curr_time_ms(); local 930 int64_t now = curr_time_ms() - 1; local [all...] |
Completed in 139 milliseconds