Lines Matching defs:tm
26 struct tm tm;
31 memset(&tm, 0, sizeof(tm));
32 strptime("11:14", "%R", &tm);
33 strftime(buf, sizeof(buf), "%H:%M", &tm);
37 memset(&tm, 0, sizeof(tm));
38 strptime("09:41:53", "%T", &tm);
39 strftime(buf, sizeof(buf), "%H:%M:%S", &tm);