Searched defs:tm (Results 1 - 4 of 4) sorted by relevance

/development/tools/emulator/system/libqemu/
H A Dtest_util.c30 struct timespec tm; local
31 clock_gettime(CLOCK_MONOTONIC, &tm);
32 return (double)tm.tv_sec + (double)tm.tv_nsec/1e9;
/development/ndk/platforms/android-3/include/
H A Dtime.h45 struct tm { struct
62 * struct tm, the value should be the field name
66 extern char* asctime(const struct tm* a);
67 extern char* asctime_r(const struct tm* a, char* buf);
71 extern time_t mktime (struct tm *a);
73 extern struct tm* localtime(const time_t *t);
74 extern struct tm* localtime_r(const time_t *timep, struct tm *result);
76 extern struct tm* gmtime(const time_t *timep);
77 extern struct tm* gmtime_
[all...]
/development/ndk/platforms/android-8/include/
H A Dtime.h45 struct tm { struct
62 * struct tm, the value should be the field name
66 extern char* asctime(const struct tm* a);
67 extern char* asctime_r(const struct tm* a, char* buf);
71 extern time_t mktime (struct tm *a);
73 extern struct tm* localtime(const time_t *t);
74 extern struct tm* localtime_r(const time_t *timep, struct tm *result);
76 extern struct tm* gmtime(const time_t *timep);
77 extern struct tm* gmtime_
[all...]
/development/tools/emulator/system/gps/
H A Dgps_qemu.c198 struct tm tm_local;
199 struct tm tm_utc;
255 struct tm tm; local
264 gmtime_r( &now, &tm );
265 r->utc_year = tm.tm_year + 1900;
266 r->utc_mon = tm.tm_mon + 1;
267 r->utc_day = tm.tm_mday;
274 tm.tm_hour = hour;
275 tm
[all...]

Completed in 112 milliseconds