Lines Matching refs:now_str
732 char now_str[100]; in current_time_to_string() local
740 if (strftime(now_str, sizeof(now_str), "%H:%M:%S", tmp) == 0) { in current_time_to_string()
744 return strdup(now_str); in current_time_to_string()
754 char *now_str = NULL; in print_dom0_uptime() local
776 now_str = current_time_to_string(now); in print_dom0_uptime()
778 printf(" %s up %s, %s (%d)\n", now_str, uptime_str, in print_dom0_uptime()
783 now_str = NULL; in print_dom0_uptime()
789 free(now_str); in print_dom0_uptime()
803 char *now_str = NULL; in print_domU_uptime() local
813 now_str = current_time_to_string(now); in print_domU_uptime()
815 printf(" %s up %s, %s (%d)\n", now_str, uptime_str, in print_domU_uptime()
820 now_str = NULL; in print_domU_uptime()
827 free(now_str); in print_domU_uptime()