Searched refs:tv (Results 1 - 12 of 12) sorted by relevance
/system/bt/btif/src/ |
H A D | btif_debug.c | 44 struct timeval tv; local 45 gettimeofday(&tv, NULL); 46 return (tv.tv_sec * 1000000LL) + tv.tv_usec;
|
/system/core/fastboot/ |
H A D | util.c | 40 struct timeval tv; local 41 gettimeofday(&tv, NULL); 42 return (double)tv.tv_sec + (double)tv.tv_usec / 1000000;
|
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));
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | misc.c | 60 #define tv2mS(tv) ((tv).tv_sec * 1000LL + ((tv).tv_usec + 500) / 1000) 99 struct timeval tv; local 104 (void)gettimeofday(&tv, NULL); 105 mS = tv2mS(tv) - tv2mS(st.start); 199 struct timeval tv; local 201 (void)gettimeofday(&tv, NULL); 202 mS = tv2mS(tv) - tv2mS(st.start);
|
/system/bt/hci/src/ |
H A D | btsnoop.c | 141 struct timeval tv; local 142 gettimeofday(&tv, NULL); 145 uint64_t timestamp = tv.tv_sec * 1000 * 1000LL; 146 timestamp += tv.tv_usec;
|
/system/extras/tests/bionic/libc/other/ |
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/core/debuggerd/ |
H A D | tombstone.cpp | 765 struct timeval tv; local 766 memset(&tv, 0, sizeof(tv)); 767 tv.tv_sec = 1; // tight leash 768 err = setsockopt(amfd, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(tv)); 770 tv.tv_sec = 3; // 3 seconds on handshake read 771 err = setsockopt(amfd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv));
|
/system/core/adb/ |
H A D | usb_linux.cpp | 321 struct timeval tv; local 350 gettimeofday(&tv, NULL); 351 ts.tv_sec = tv.tv_sec + 5; 352 ts.tv_nsec = tv.tv_usec * 1000L;
|
H A D | file_sync_client.cpp | 41 struct timeval tv; local 42 gettimeofday(&tv, 0); 43 return ((long long) tv.tv_usec) + 44 1000000LL * ((long long) tv.tv_sec);
|
/system/extras/tests/framebuffer/ |
H A D | fb_test.c | 47 struct timespec tv, tv2; variable in typeref:struct:timespec
|
/system/core/toolbox/ |
H A D | newfs_msdos.c | 251 struct timeval tv; local 638 gettimeofday(&tv, NULL); 639 now = tv.tv_sec; 692 (u_int)(tv.tv_usec / 10))) << 16 |
|
Completed in 433 milliseconds