/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/sys/ |
D | timespec.h | 41 #define TIMEVAL_TO_TIMESPEC(tv, ts) \ argument 43 (ts)->tv_sec = (tv)->tv_sec; \ 44 (ts)->tv_nsec = (tv)->tv_usec * 1000; \ 46 #define TIMESPEC_TO_TIMEVAL(tv, ts) \ argument 48 (tv)->tv_sec = (ts)->tv_sec; \ 49 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
|
/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/ |
D | utime.c | 60 struct timeval tv[2], *tvp; in utime() local 67 tv[0].tv_sec = times->actime; in utime() 68 tv[1].tv_sec = times->modtime; in utime() 69 tv[0].tv_usec = tv[1].tv_usec = 0; in utime() 70 tvp = tv; in utime()
|
/device/google/marlin/dataservices/datatop/src/ |
D | datatop.c | 92 struct timeval tv, timeout; in dtop_poll_periodically() local 100 gettimeofday(&tv, NULL); in dtop_poll_periodically() 101 curtime = tv.tv_sec; in dtop_poll_periodically() 102 endtime = tv.tv_sec + usr_cl_opts.poll_time; in dtop_poll_periodically() 147 gettimeofday(&tv, NULL); in dtop_poll_periodically() 148 curtime = tv.tv_sec; in dtop_poll_periodically() 150 printf("Polled at %ld.%06ld\n", tv.tv_sec, tv.tv_usec); in dtop_poll_periodically()
|
D | datatop_helpers.c | 385 struct timeval tv; in dtop_print_time_at_poll() local 386 gettimeofday(&tv, NULL); in dtop_print_time_at_poll() 388 if (fprintf(fw, "%10ld", tv.tv_sec) < 0) in dtop_print_time_at_poll() 391 if (fprintf(fw, ".%06ld,", tv.tv_usec) < 0) in dtop_print_time_at_poll()
|
/device/sample/apps/client/src/com/example/android/platform_library/client/ |
D | Client.java | 38 TextView tv = new TextView(this); in onCreate() local 39 tv.setText("Got from lib: " + res); in onCreate() 40 setContentView(tv); in onCreate()
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | time.h | 68 #define TIMEVAL_TO_TIMESPEC(tv, ts) do { \ argument 69 (ts)->tv_sec = (tv)->tv_sec; \ 70 (ts)->tv_nsec = (tv)->tv_usec * 1000; \ 73 #define TIMESPEC_TO_TIMEVAL(tv, ts) do { \ argument 74 (tv)->tv_sec = (ts)->tv_sec; \ 75 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
|
/device/lge/bullhead/power/ |
D | power-8992.c | 64 struct timespec tv = {0}; in video_encode_hint_function() local 65 tv.tv_sec = VIDEO_ENCODE_DELAY_SECONDS; in video_encode_hint_function() 66 tv.tv_nsec = VIDEO_ENCODE_DELAY_NSECONDS; in video_encode_hint_function() 73 TEMP_FAILURE_RETRY(nanosleep(&tv, &tv)); in video_encode_hint_function()
|
/device/huawei/angler/power/ |
D | power-8994.c | 64 struct timespec tv = {0}; in video_encode_hint_function() local 65 tv.tv_sec = VIDEO_ENCODE_DELAY_SECONDS; in video_encode_hint_function() 66 tv.tv_nsec = VIDEO_ENCODE_DELAY_NSECONDS; in video_encode_hint_function() 73 TEMP_FAILURE_RETRY(nanosleep(&tv, &tv)); in video_encode_hint_function()
|
/device/generic/goldfish/libqemu/ |
D | test_util.c | 38 struct timeval tv; in now_secs() local 39 gettimeofday(&tv, NULL); in now_secs() 40 return tv.sec + (double)tv.usec/1e6; in now_secs()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
D | select.c | 154 struct timeval *tv in select() argument 204 if (tv) { in select() 205 timo = tv->tv_usec + (tv->tv_sec * 1000000); in select()
|
/device/google/atv/products/ |
D | atv_base.mk | 79 com.android.media.tv.remoteprovider \ 80 com.android.media.tv.remoteprovider.xml 112 …ice/google/atv/permissions/com.google.android.tv.installed.xml:system/etc/permissions/com.google.a…
|
/device/google/atv/sdk/ |
D | images_x86_source.prop_template | 8 SystemImage.TagId=android-tv
|
D | images_armeabi-v7a_source.prop_template | 8 SystemImage.TagId=android-tv
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | signalmodule.c | 110 timeval_from_double(double d, struct timeval *tv) in timeval_from_double() argument 112 tv->tv_sec = floor(d); in timeval_from_double() 113 tv->tv_usec = fmod(d, 1.0) * 1000000.0; in timeval_from_double() 117 double_from_timeval(struct timeval *tv) in double_from_timeval() argument 119 return tv->tv_sec + (double)(tv->tv_usec / 1000000.0); in double_from_timeval()
|
D | _hotshot.c | 832 hs_time tv; in get_tdelta() local 835 GETTIMEOFDAY(&tv); in get_tdelta() 836 diff = tv - self->prev_timeofday; in get_tdelta() 839 struct timeval tv; in get_tdelta() local 841 GETTIMEOFDAY(&tv); in get_tdelta() 843 tdelta = tv.tv_usec - self->prev_timeofday.tv_usec; in get_tdelta() 844 if (tv.tv_sec != self->prev_timeofday.tv_sec) in get_tdelta() 845 tdelta += (tv.tv_sec - self->prev_timeofday.tv_sec) * 1000000; in get_tdelta() 851 self->prev_timeofday = tv; in get_tdelta()
|
D | _lsprof.c | 51 struct timeval tv; in hpTimer() local 54 gettimeofday(&tv); in hpTimer() 56 gettimeofday(&tv, (struct timezone *)NULL); in hpTimer() 58 ret = tv.tv_sec; in hpTimer() 59 ret = ret * 1000000 + tv.tv_usec; in hpTimer()
|
D | _ssl.c | 1114 struct timeval tv; in check_socket_and_wait_for_timeout() local 1154 tv.tv_sec = (int)s->sock_timeout; in check_socket_and_wait_for_timeout() 1155 tv.tv_usec = (int)((s->sock_timeout - tv.tv_sec) * 1e6); in check_socket_and_wait_for_timeout() 1162 rc = select(s->sock_fd+1, NULL, &fds, NULL, &tv); in check_socket_and_wait_for_timeout() 1164 rc = select(s->sock_fd+1, &fds, NULL, NULL, &tv); in check_socket_and_wait_for_timeout()
|
D | selectmodule.c | 215 struct timeval tv, *tvp; in select_select() local 243 tv.tv_sec = seconds; in select_select() 244 tv.tv_usec = (long)(timeout * 1E6); in select_select() 245 tvp = &tv; in select_select()
|
D | socketmodule.c | 698 struct timeval tv; in internal_select() local 699 tv.tv_sec = (int)s->sock_timeout; in internal_select() 700 tv.tv_usec = (int)((s->sock_timeout - tv.tv_sec) * 1e6); in internal_select() 706 n = select(s->sock_fd+1, NULL, &fds, NULL, &tv); in internal_select() 708 n = select(s->sock_fd+1, &fds, NULL, NULL, &tv); in internal_select() 1990 struct timeval tv; local 1991 tv.tv_sec = (int)s->sock_timeout; 1992 tv.tv_usec = (int)((s->sock_timeout - tv.tv_sec) * 1e6); 1997 res = select(s->sock_fd+1, NULL, &fds, &fds_exc, &tv);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | signalmodule.c | 110 timeval_from_double(double d, struct timeval *tv) in timeval_from_double() argument 112 tv->tv_sec = floor(d); in timeval_from_double() 113 tv->tv_usec = fmod(d, 1.0) * 1000000.0; in timeval_from_double() 117 double_from_timeval(struct timeval *tv) in double_from_timeval() argument 119 return tv->tv_sec + (double)(tv->tv_usec / 1000000.0); in double_from_timeval()
|
/device/asus/fugu/ |
D | device.mk | 64 PRODUCT_CHARACTERISTICS := nosdcard,tv 306 android.hardware.tv.input@1.0-impl 310 android.hardware.tv.cec@1.0-impl
|
/device/google/marlin/camera/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 2051 struct timeval tv; in previewloop() local 2062 tv.tv_sec = 0; in previewloop() 2063 tv.tv_usec = 500000; in previewloop() 2067 r = select(camHal->fd + 1, &fds, NULL, NULL, &tv); in previewloop() 2069 r = select(1, NULL, NULL, NULL, &tv); in previewloop() 2519 struct timeval tv; in takePictureThread() local 2525 tv.tv_sec = 1; in takePictureThread() 2526 tv.tv_usec = 0; in takePictureThread() 2530 r = select(camHal->fd + 1, &fds, NULL, NULL, &tv); in takePictureThread()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
D | selectmodule.c | 215 struct timeval tv, *tvp; in select_select() local 243 tv.tv_sec = seconds; in select_select() 244 tv.tv_usec = (long)(timeout * 1E6); in select_select() 245 tvp = &tv; in select_select()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | platform.py | 208 tv = string.split(line) 209 if len(tv) == 2: 210 tag,value = tv
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | platform.py | 208 tv = string.split(line) 209 if len(tv) == 2: 210 tag,value = tv
|