/system/media/audio_utils/include/audio_utils/ |
H A D | clock.h | 49 struct tm tm; local 52 if (localtime_r(&sec, &tm) == NULL) { 58 tm.tm_mon + 1, // localtime_r uses months in 0 - 11 range 59 tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec,
|
/system/core/libziparchive/ |
H A D | zip_writer_test.cc | 138 static struct tm MakeTm() { 139 struct tm tm; local 140 memset(&tm, 0, sizeof(struct tm)); 141 tm.tm_year = 2001 - 1900; 142 tm.tm_mon = 1; 143 tm.tm_mday = 12; 144 tm.tm_hour = 18; 145 tm 153 struct tm tm = MakeTm(); local 203 struct tm tm = MakeTm(); local [all...] |
H A D | zip_writer.cc | 157 struct tm* ptm; 159 struct tm tm_result;
|
H A D | unzip.cpp | 202 tm t = entry.GetModificationTime();
|
/system/extras/tests/timetest/ |
H A D | rtc_test.cpp | 29 static int hwtime(int flag, int request, struct rtc_time *tm) { argument 61 ret = TEMP_FAILURE_RETRY(ioctl(fd.get(), request, tm)); 74 static int rd_hwtime(struct rtc_time *tm) { argument 75 return hwtime(O_RDONLY, RTC_RD_TIME, tm); 78 static int set_hwtime(struct rtc_time *tm) { argument 79 return hwtime(O_WRONLY, RTC_SET_TIME, tm); 124 struct rtc_time tm = roll; local 125 int __set_hwtime = set_hwtime(&tm); 136 ASSERT_LE(0, rd_hwtime(&tm)); 137 ASSERT_EQ(roll.tm_sec, tm [all...] |
/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/update_engine/ |
H A D | main.cc | 46 struct tm tm; local 47 CHECK_EQ(localtime_r(&utime, &tm), &tm); local 49 CHECK_EQ(strftime(str, sizeof(str), "%Y%m%d-%H%M%S", &tm), 15u);
|
/system/core/debuggerd/libdebuggerd/ |
H A D | backtrace.cpp | 46 struct tm tm; local 47 localtime_r(&t, &tm); 49 strftime(timestr, sizeof(timestr), "%F %T", &tm);
|
/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 | 1344 struct tm tm; local 1400 cp = strptime(e, "%Y-%m-%d %H:%M:%S.", &tm); 1409 time.tv_sec = mktime(&tm); 1557 struct tm tmBuf; 1559 struct tm* ptm;
|
H A D | fake_log_device.c | 357 struct tm tmBuf; 359 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 | 42 struct tm* ptm = localtime(&secs);
|
H A D | btif_config.cc | 171 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 | 56 struct tm now;
|
/system/core/healthd/ |
H A D | healthd_mode_charger.cpp | 191 timespec tm; local 192 clock_gettime(CLOCK_MONOTONIC, &tm); 193 return tm.tv_sec * MSEC_PER_SEC + (tm.tv_nsec / NSEC_PER_MSEC);
|
H A D | healthd_draw.cpp | 133 tm* time_info = localtime(&rawtime);
|
/system/core/libziparchive/include/ziparchive/ |
H A D | zip_archive.h | 76 // Returns `mod_time` as a broken-down struct tm. 77 struct tm GetModificationTime() const;
|
/system/core/init/ |
H A D | bootchart.cpp | 68 struct tm now = *localtime(&now_t);
|
/system/bt/bta/dm/ |
H A D | bta_dm_api.cc | 306 msg->tm = trusted_mask;
|
H A D | bta_dm_int.h | 154 tBTA_SERVICE_MASK tm; member in struct:__anon81
|