Home
last modified time | relevance | path

Searched refs:local_tm (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/base/
Dtime.cc74 struct tm* local_tm; in GetTimeFmt() local
75 local_tm = localtime(&raw_time); in GetTimeFmt()
77 PERFETTO_CHECK(strftime(buf, 80, fmt.c_str(), local_tm) > 0); in GetTimeFmt()
/external/skqp/tools/bookmaker/
DincludeWriter.cpp2647 tm local_tm = *localtime(&tt); in writeHeader() local
2661 if (year < 2005 || year > local_tm.tm_year + 1900) { in writeHeader()
2697 string dateTimeStr = std::to_string(local_tm.tm_year + 1900) + "-" in writeHeader()
2698 + paddedString(local_tm.tm_mon + 1) + "-" in writeHeader()
2699 + paddedString(local_tm.tm_mday) + " " in writeHeader()
2700 + paddedString(local_tm.tm_hour) + ":" in writeHeader()
2701 + paddedString(local_tm.tm_min) + ":" in writeHeader()
2702 + paddedString(local_tm.tm_sec); in writeHeader()
/external/tcpdump/
Dtcpdump.c675 struct tm *local_tm; in MakeFilename() local
678 if ((local_tm = localtime(&Gflag_time)) == NULL) { in MakeFilename()
685 strftime(filename, PATH_MAX, orig_name, local_tm); in MakeFilename()