Searched refs:local_tm (Results 1 – 3 of 3) sorted by relevance
74 struct tm* local_tm; in GetTimeFmt() local75 local_tm = localtime(&raw_time); in GetTimeFmt()77 PERFETTO_CHECK(strftime(buf, 80, fmt.c_str(), local_tm) > 0); in GetTimeFmt()
2647 tm local_tm = *localtime(&tt); in writeHeader() local2661 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()
675 struct tm *local_tm; in MakeFilename() local678 if ((local_tm = localtime(&Gflag_time)) == NULL) { in MakeFilename()685 strftime(filename, PATH_MAX, orig_name, local_tm); in MakeFilename()