/system/extras/tests/bionic/libc/other/ |
H A D | bench_locks.c | 9 struct timeval tv; local 10 gettimeofday(&tv, NULL); 11 return tv.tv_sec + tv.tv_usec/1000000.0;
|
H A D | test_jpeg.c | 230 struct timeval tv; 231 if (gettimeofday( &tv, NULL ) < 0) 234 return tv.tv_sec*1000000. + tv.tv_usec*1.0;
|
H A D | test_zlib.c | 167 struct timeval tv; 168 if (gettimeofday( &tv, NULL ) < 0) 171 return tv.tv_sec*1000000. + tv.tv_usec*1.0;
|
/system/media/mca/filterfw/native/core/ |
H A D | time_util.cpp | 31 struct timeval tv; local 33 gettimeofday(&tv, 0); 35 basesec = tv.tv_sec; 37 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 + 38 (uint64_t)tv.tv_usec;
|
/system/media/mca/filterpacks/base/native/ |
H A D | time_util.cpp | 29 struct timeval tv; local 31 gettimeofday(&tv, 0); 33 basesec = tv.tv_sec; 35 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 + 36 (uint64_t)tv.tv_usec;
|
/system/core/toolbox/ |
H A D | date.c | 49 struct timeval tv; local 114 //tv.tv_sec = mktime(&tm); 115 //tv.tv_usec = 0; 116 strtotimeval(argv[optind], &tv); 117 printf("time %s -> %d.%d\n", argv[optind], tv.tv_sec, tv.tv_usec); 119 ts.tv_sec = tv.tv_sec; 120 ts.tv_nsec = tv.tv_usec * 1000; 122 //res = settimeofday(&tv, NULL);
|
H A D | powerd.c | 163 struct timeval tv; local 298 tv.tv_sec = idle_time; 299 tv.tv_usec = 0; 302 tv.tv_sec = 0; 303 tv.tv_usec = 500000; 311 res = select(((notifyfd > eventfd) ? notifyfd : eventfd) + 1, &rfds, NULL, NULL, &tv); 329 tv.tv_sec = 60*60*24; 330 tv.tv_usec = 0; 365 tv.tv_sec = key_light_time; 372 tv [all...] |
H A D | alarm.c | 102 time(&tv.tv_sec); 109 //tv.tv_sec = mktime(&tm); 110 //tv.tv_usec = 0; 120 //strtotimeval(argv[optind], &tv);
|
H A D | dd.c | 991 #define tv2mS(tv) ((tv).tv_sec * 1000LL + ((tv).tv_usec + 500) / 1000) 998 struct timeval tv; local 1003 (void)gettimeofday(&tv, NULL); 1004 mS = tv2mS(tv) - tv2mS(st.start);
|
H A D | newfs_msdos.c | 259 struct timeval tv; local 616 gettimeofday(&tv, NULL); 617 now = tv.tv_sec; 673 (u_int)(tv.tv_usec / 10))) << 16 |
|
/system/media/wilhelm/tests/sandbox/ |
H A D | getch.c | 37 struct timeval tv = { 0L, 0L }; local 41 return select(1, &fds, NULL, NULL, &tv);
|
/system/core/libnl_2/ |
H A D | socket.c | 37 struct timeval tv; local 47 if (gettimeofday(&tv, NULL)) 50 sk->s_seq_next = (int) tv.tv_sec;
|
H A D | netlink.c | 32 struct timeval tv; local 41 if (gettimeofday(&tv, NULL)) 44 nlh->nlmsg_seq = (int) tv.tv_sec;
|
/system/core/fastboot/ |
H A D | usbtest.c | 43 struct timeval tv; local 44 gettimeofday(&tv, 0); 46 return (((long long) tv.tv_sec) * ((long long) 1000000)) + 47 (((long long) tv.tv_usec));
|
H A D | engine.c | 39 struct timeval tv; local 40 gettimeofday(&tv, NULL); 41 return (double)tv.tv_sec + (double)tv.tv_usec / 1000000;
|
/system/core/libnl_2/genl/ |
H A D | genl.c | 51 struct timeval tv; local 67 if (gettimeofday(&tv, NULL)) 70 nlh->nlmsg_seq = (int) tv.tv_sec;
|
/system/core/adb/ |
H A D | usb_linux.c | 290 struct timeval tv; local 319 gettimeofday(&tv, NULL); 320 ts.tv_sec = tv.tv_sec + 5; 321 ts.tv_nsec = tv.tv_usec * 1000L;
|
H A D | file_sync_client.c | 40 struct timeval tv; local 41 gettimeofday(&tv, 0); 42 return ((long long) tv.tv_usec) + 43 1000000LL * ((long long) tv.tv_sec);
|
/system/core/init/ |
H A D | devices.c | 263 struct timeval tv; local 264 gettimeofday(&tv, 0); 265 return tv.tv_sec * (suseconds_t) 1000000 + tv.tv_usec;
|
/system/extras/tests/framebuffer/ |
H A D | fb_test.c | 47 struct timespec tv, tv2; variable in typeref:struct:timespec
|