Searched refs:CLOCK_LENGTH (Results 1 – 3 of 3) sorted by relevance
23 #define CLOCK_LENGTH 100 macro68 slist = malloc (CLOCK_LENGTH); in main()73 strftime (slist, CLOCK_LENGTH, format, localtime (&t)); in main()
123 static constexpr int CLOCK_LENGTH = 6; in draw_clock() local135 char clock_str[CLOCK_LENGTH]; in draw_clock()136 size_t length = strftime(clock_str, CLOCK_LENGTH, CLOCK_FORMAT, time_info); in draw_clock()137 if (length != CLOCK_LENGTH - 1) { in draw_clock()
162 static constexpr int CLOCK_LENGTH = 6; in draw_clock() local174 char clock_str[CLOCK_LENGTH]; in draw_clock()175 size_t length = strftime(clock_str, CLOCK_LENGTH, CLOCK_FORMAT, time_info); in draw_clock()176 if (length != CLOCK_LENGTH - 1) { in draw_clock()