Home
last modified time | relevance | path

Searched refs:tm_struct (Results 1 – 4 of 4) sorted by relevance

/third_party/node/src/
Dutil.cc263 void DiagnosticFilename::LocalTime(TIME_TYPE* tm_struct) { in LocalTime() argument
265 GetLocalTime(tm_struct); in LocalTime()
269 localtime_r(&time_val.tv_sec, tm_struct); in LocalTime()
279 TIME_TYPE tm_struct; in MakeFilename() local
280 LocalTime(&tm_struct); in MakeFilename()
283 oss << "." << std::setfill('0') << std::setw(4) << tm_struct.wYear; in MakeFilename()
284 oss << std::setfill('0') << std::setw(2) << tm_struct.wMonth; in MakeFilename()
285 oss << std::setfill('0') << std::setw(2) << tm_struct.wDay; in MakeFilename()
286 oss << "." << std::setfill('0') << std::setw(2) << tm_struct.wHour; in MakeFilename()
287 oss << std::setfill('0') << std::setw(2) << tm_struct.wMinute; in MakeFilename()
[all …]
Dnode_report.cc188 TIME_TYPE tm_struct; in WriteNodeReport() local
189 DiagnosticFilename::LocalTime(&tm_struct); in WriteNodeReport()
216 tm_struct.wYear, in WriteNodeReport()
217 tm_struct.wMonth, in WriteNodeReport()
218 tm_struct.wDay, in WriteNodeReport()
219 tm_struct.wHour, in WriteNodeReport()
220 tm_struct.wMinute, in WriteNodeReport()
221 tm_struct.wSecond); in WriteNodeReport()
227 tm_struct.tm_year + 1900, in WriteNodeReport()
228 tm_struct.tm_mon + 1, in WriteNodeReport()
[all …]
Dnode_internals.h340 static void LocalTime(TIME_TYPE* tm_struct);
/third_party/e2fsprogs/e2fsck/
Dlogfile.c72 struct tm *tm = NULL, tm_struct; in expand_percent_expression() local
81 tm = (*flags & FLAG_UTC) ? gmtime_r(&ctx->now, &tm_struct) : in expand_percent_expression()
82 localtime_r(&ctx->now, &tm_struct); in expand_percent_expression()