Searched refs:tv (Results 1 - 25 of 84) sorted by relevance

1234

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/
H A Dvenc_util.c44 struct timeval tv; local
46 gettimeofday(&tv, NULL);
47 microsec = (tv.tv_sec * 1000000) + (tv.tv_usec);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/common/
H A Dconsole_helper.c29 struct timeval tv;
32 tv.tv_sec=0;
33 tv.tv_usec=0;
37 if(select(1, &read_fd, NULL, NULL, &tv) == -1)
/hardware/ti/omap3/dspbridge/libbridge/inc/
H A Dperfutils.h22 INT getTimeStamp(struct timeval *tv);
/hardware/qcom/gps/msm8084/platform_lib_abstractions/
H A Dplatform_lib_macros.h36 struct timeval tv; \
39 gettimeofday(&tv, &tz); \
40 hh = tv.tv_sec/3600%24; \
41 mm = (tv.tv_sec%3600)/60; \
42 ss = tv.tv_sec%60; \
43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
/hardware/qcom/gps/msm8909/utils/platform_lib_abstractions/
H A Dplatform_lib_macros.h36 struct timeval tv; \
39 gettimeofday(&tv, &tz); \
40 hh = tv.tv_sec/3600%24; \
41 mm = (tv.tv_sec%3600)/60; \
42 ss = tv.tv_sec%60; \
43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
/hardware/qcom/gps/msm8960/platform_lib_abstractions/
H A Dplatform_lib_macros.h36 struct timeval tv; \
39 gettimeofday(&tv, &tz); \
40 hh = tv.tv_sec/3600%24; \
41 mm = (tv.tv_sec%3600)/60; \
42 ss = tv.tv_sec%60; \
43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
/hardware/qcom/gps/msm8994/platform_lib_abstractions/
H A Dplatform_lib_macros.h36 struct timeval tv; \
39 gettimeofday(&tv, &tz); \
40 hh = tv.tv_sec/3600%24; \
41 mm = (tv.tv_sec%3600)/60; \
42 ss = tv.tv_sec%60; \
43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
/hardware/qcom/gps/msm8996/utils/platform_lib_abstractions/
H A Dplatform_lib_macros.h36 struct timeval tv; \
39 gettimeofday(&tv, &tz); \
40 hh = tv.tv_sec/3600%24; \
41 mm = (tv.tv_sec%3600)/60; \
42 ss = tv.tv_sec%60; \
43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
/hardware/qcom/gps/platform_lib_abstractions/
H A Dplatform_lib_macros.h36 struct timeval tv; \
39 gettimeofday(&tv, &tz); \
40 hh = tv.tv_sec/3600%24; \
41 mm = (tv.tv_sec%3600)/60; \
42 ss = tv.tv_sec%60; \
43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
H A Dmlos_linux.c181 struct timeval tv; local
183 if (gettimeofday(&tv, NULL) != 0)
186 return (long)((tv.tv_sec * 1000000LL + tv.tv_usec) / 1000LL);
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
H A Dmlos_linux.c181 struct timeval tv; local
183 if (gettimeofday(&tv, NULL) != 0)
186 return (long)((tv.tv_sec * 1000000LL + tv.tv_usec) / 1000LL);
/hardware/qcom/gps/msm8084/utils/
H A Dloc_log.cpp230 struct timeval tv; local
233 gettimeofday(&tv, &tz);
234 hh = tv.tv_sec/3600%24;
235 mm = (tv.tv_sec%3600)/60;
236 ss = tv.tv_sec%60;
237 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec);
/hardware/qcom/gps/msm8909/utils/
H A Dloc_log.cpp232 struct timeval tv; local
235 gettimeofday(&tv, &tz);
236 hh = tv.tv_sec/3600%24;
237 mm = (tv.tv_sec%3600)/60;
238 ss = tv.tv_sec%60;
239 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec);
/hardware/qcom/gps/msm8960/utils/
H A Dloc_log.cpp224 struct timeval tv; local
227 gettimeofday(&tv, &tz);
228 hh = tv.tv_sec/3600%24;
229 mm = (tv.tv_sec%3600)/60;
230 ss = tv.tv_sec%60;
231 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec);
H A Dloc_timer.c50 struct timeval tv; local
73 gettimeofday(&tv, NULL);
89 __func__, __LINE__, (int)tv.tv_sec, (int)tv.tv_usec*1000);
/hardware/qcom/gps/msm8994/utils/
H A Dloc_log.cpp231 struct timeval tv; local
234 gettimeofday(&tv, &tz);
235 hh = tv.tv_sec/3600%24;
236 mm = (tv.tv_sec%3600)/60;
237 ss = tv.tv_sec%60;
238 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec);
/hardware/qcom/gps/msm8996/utils/
H A Dloc_log.cpp232 struct timeval tv; local
235 gettimeofday(&tv, &tz);
236 hh = tv.tv_sec/3600%24;
237 mm = (tv.tv_sec%3600)/60;
238 ss = tv.tv_sec%60;
239 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec);
/hardware/qcom/gps/utils/
H A Dloc_log.cpp231 struct timeval tv; local
234 gettimeofday(&tv, &tz);
235 hh = tv.tv_sec/3600%24;
236 mm = (tv.tv_sec%3600)/60;
237 ss = tv.tv_sec%60;
238 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec);
/hardware/ti/omap3/dspbridge/libbridge/
H A Dperfutils.c38 INT getTimeStamp(struct timeval *tv) argument
42 Result = gettimeofday(tv, &tz);
/hardware/ril/libril/
H A Dril_event.h45 void ril_timer_add(struct ril_event * ev, struct timeval * tv);
H A Dril_event.cpp96 static void getNow(struct timeval * tv) argument
100 tv->tv_sec = ts.tv_sec;
101 tv->tv_usec = ts.tv_nsec/1000;
215 static int calcNextTimeout(struct timeval * tv) argument
232 timersub(&tev->timeout, &now, tv);
235 tv->tv_sec = tv->tv_usec = 0;
286 void ril_timer_add(struct ril_event * ev, struct timeval * tv) argument
292 if (tv != NULL) {
299 timeradd(&now, tv,
349 struct timeval tv; local
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
H A DOMX_G711Dec_ComponentThread.c66 struct timespec tv; local
88 tv.tv_sec = 1;
89 tv.tv_nsec = 0;
96 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
98 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
H A DOMX_G711Enc_ComponentThread.c89 struct timespec tv; local
108 tv.tv_sec = 1;
109 tv.tv_nsec = 0;
115 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
117 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
H A DOMX_G726Dec_CompThread.c94 struct timespec tv; local
115 tv.tv_sec = 1;
116 tv.tv_nsec = 0;
122 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
124 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
/hardware/qcom/display/msm8996/sdm/include/utils/
H A Dlocker.h144 struct timeval tv; local
145 gettimeofday(&tv, NULL);
146 ts.tv_sec = tv.tv_sec + ms/1000;
147 ts.tv_nsec = tv.tv_usec*1000 + (ms%1000)*1000000;

Completed in 749 milliseconds

1234