Searched refs:ptm (Results 1 – 7 of 7) sorted by relevance
/system/core/liblog/ |
D | log_time.cpp | 42 struct tm *ptm; in strptime() local 45 ptm = localtime_r(&now, &tmBuf); in strptime() 47 ptm = localtime(&now); in strptime() 58 ret = ::strptime(ret, f, ptm); in strptime() 71 ret = ::strptime(ret, f, ptm); in strptime() 83 ptm = localtime_r(&now, &tmBuf); in strptime() 85 ptm = localtime(&now); in strptime() 100 ret = ::strptime(ret, f, ptm); in strptime() 122 tv_sec = mktime(ptm); in strptime()
|
D | fake_log_device.c | 359 struct tm* ptm; in showLog() local 386 ptm = localtime_r(&when, &tmBuf); in showLog() 388 ptm = localtime(&when); in showLog() 391 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm); in showLog()
|
D | logprint.c | 1274 struct tm* ptm; in android_log_formatLogLine() local 1314 ptm = NULL; in android_log_formatLogLine() 1320 ptm = localtime_r(&now, &tmBuf); in android_log_formatLogLine() 1322 ptm = localtime(&now); in android_log_formatLogLine() 1326 ptm); in android_log_formatLogLine() 1336 if (p_format->zone_output && ptm) { in android_log_formatLogLine() 1337 strftime(timeBuf + len, sizeof(timeBuf) - len, " %z", ptm); in android_log_formatLogLine()
|
/system/core/libziparchive/ |
D | zip_writer.cc | 143 struct tm* ptm; in ExtractTimeAndDate() local 146 ptm = localtime_r(&when, &tm_result); in ExtractTimeAndDate() 148 ptm = localtime(&when); in ExtractTimeAndDate() 151 int year = ptm->tm_year; in ExtractTimeAndDate() 156 *out_date = (year - 80) << 9 | (ptm->tm_mon + 1) << 5 | ptm->tm_mday; in ExtractTimeAndDate() 157 *out_time = ptm->tm_hour << 11 | ptm->tm_min << 5 | ptm->tm_sec >> 1; in ExtractTimeAndDate()
|
/system/bt/btif/src/ |
D | btif_debug_conn.c | 43 struct tm *ptm = localtime(&secs); in format_ts() local 46 strftime(tempbuff, sizeof(tempbuff), "%m-%d %H:%M:%S", ptm); in format_ts()
|
/system/core/logcat/tests/ |
D | logcat_test.cpp | 90 struct tm *ptm; in TEST() local 93 ptm = localtime_r(&now, &tmBuf); in TEST() 95 ptm = localtime(&&now); in TEST() 97 strftime(needle, sizeof(needle), "[ %Y-", ptm); in TEST()
|
/system/core/debuggerd/ |
D | tombstone.cpp | 552 struct tm* ptm; in dump_log_file() local 553 ptm = localtime_r(&sec, &tmBuf); in dump_log_file() 554 strftime(timeBuf, sizeof(timeBuf), "%m-%d %H:%M:%S", ptm); in dump_log_file()
|