/system/media/audio_utils/include/audio_utils/ |
H A D | clock.h | 41 struct tm tm; local 44 if (localtime_r(&sec, &tm) == NULL) { 50 tm.tm_mon + 1, // localtime_r uses months in 0 - 11 range 51 tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec,
|
/system/extras/tests/timetest/ |
H A D | rtc_test.cpp | 27 static int hwtime(int flag, int request, struct rtc_time *tm) { argument 63 ret = TEMP_FAILURE_RETRY(ioctl(fd, request, tm)); 72 static int rd_hwtime(struct rtc_time *tm) { argument 73 return hwtime(O_RDONLY, RTC_RD_TIME, tm); 76 static int set_hwtime(struct rtc_time *tm) { argument 77 return hwtime(O_WRONLY, RTC_SET_TIME, tm); 122 struct rtc_time tm = roll; local 123 int __set_hwtime = set_hwtime(&tm); 134 ASSERT_LE(0, rd_hwtime(&tm)); 135 ASSERT_EQ(roll.tm_sec, tm [all...] |
/system/core/libziparchive/ |
H A D | zip_writer_test.cc | 138 static void ConvertZipTimeToTm(uint32_t& zip_time, struct tm* tm) { argument 139 memset(tm, 0, sizeof(struct tm)); 140 tm->tm_hour = (zip_time >> 11) & 0x1f; 141 tm->tm_min = (zip_time >> 5) & 0x3f; 142 tm->tm_sec = (zip_time & 0x1f) << 1; 144 tm->tm_year = ((zip_time >> 25) & 0x7f) + 80; 145 tm->tm_mon = ((zip_time >> 21) & 0xf) - 1; 146 tm 150 struct tm tm; local 164 struct tm tm = MakeTm(); local 215 struct tm tm = MakeTm(); local [all...] |
H A D | zip_writer.cc | 155 struct tm* ptm; 157 struct tm tm_result;
|
/system/update_engine/ |
H A D | main.cc | 60 struct tm tm; local 61 CHECK_EQ(localtime_r(&utime, &tm), &tm); local 63 CHECK_EQ(strftime(str, sizeof(str), "%Y%m%d-%H%M%S", &tm), 15u);
|
/system/core/libutils/ |
H A D | ProcessCallStack.cpp | 102 static String8 getTimeString(struct tm tm) { argument 105 strftime(timestr, sizeof(timestr), "%F %T", &tm); 126 mTimeUpdated = tm(); 144 struct tm tm; local 145 localtime_r(&t, &tm); 147 mTimeUpdated = tm;
|
/system/core/debuggerd/libdebuggerd/ |
H A D | backtrace.cpp | 43 struct tm tm; local 44 localtime_r(&t, &tm); 46 strftime(timestr, sizeof(timestr), "%F %T", &tm);
|
H A D | tombstone.cpp | 584 struct tm tmBuf; 585 struct tm* ptm;
|
/system/core/include/utils/ |
H A D | ProcessCallStack.h | 74 struct tm mTimeUpdated;
|
/system/core/libutils/include/utils/ |
H A D | ProcessCallStack.h | 74 struct tm mTimeUpdated;
|
/system/core/liblog/ |
H A D | log_time.cpp | 42 struct tm* ptm; 44 struct tm tmBuf;
|
H A D | logprint.c | 1304 struct tm tm; local 1360 cp = strptime(e, "%Y-%m-%d %H:%M:%S.", &tm); 1369 time.tv_sec = mktime(&tm); 1517 struct tm tmBuf; 1519 struct tm* ptm;
|
H A D | fake_log_device.c | 359 struct tm tmBuf; 361 struct tm* ptm;
|
/system/core/logd/ |
H A D | LogKlog.cpp | 280 struct tm tm; local 281 memset(&tm, 0, sizeof(tm)); 282 tm.tm_isdst = -1; 283 localtime_r(&now, &tm); 284 if ((tm.tm_gmtoff < 0) && ((-tm.tm_gmtoff) > (long)real.tv_sec)) { 287 real.tv_sec += tm.tm_gmtoff;
|
H A D | LogTags.cpp | 95 struct tm tm; local 96 localtime_r(&now, &tm); 99 strftime(timebuf, sizeof(timebuf), "%Y-%m-%d %H:%M:%S", &tm);
|
/system/bt/btif/src/ |
H A D | btif_debug_conn.cc | 43 struct tm* ptm = localtime(&secs);
|
H A D | btif_config.cc | 183 struct tm* time_created = localtime(¤t_time);
|
/system/core/toolbox/ |
H A D | newfs_msdos.c | 253 struct tm *tm; local 640 tm = localtime(&now); 689 x = (((u_int)(1 + tm->tm_mon) << 8 | 690 (u_int)tm->tm_mday) + 691 ((u_int)tm->tm_sec << 8 | 693 ((u_int)(1900 + tm->tm_year) + 694 ((u_int)tm->tm_hour << 8 | 695 (u_int)tm->tm_min)); 728 x = (u_int)tm [all...] |
/system/core/adb/ |
H A D | adb_trace.cpp | 52 struct tm now;
|
/system/core/healthd/ |
H A D | healthd_mode_charger.cpp | 197 struct timespec tm; local 198 clock_gettime(CLOCK_MONOTONIC, &tm); 199 return tm.tv_sec * MSEC_PER_SEC + (tm.tv_nsec / NSEC_PER_MSEC); 327 struct tm* time_info = localtime(&rawtime);
|
/system/core/init/ |
H A D | bootchart.cpp | 68 struct tm now = *localtime(&now_t);
|
/system/core/base/ |
H A D | logging.cpp | 190 struct tm now;
|
/system/extras/ANRdaemon/ |
H A D | ANRdaemon.cpp | 257 struct tm tstruct;
|
/system/keymaster/ |
H A D | keymaster_enforcement_test.cpp | 87 tm past_tm; 88 tm* future_tm;
|
/system/bt/bta/dm/ |
H A D | bta_dm_api.cc | 437 p_msg->tm = trusted_mask;
|