Home
last modified time | relevance | path

Searched refs:time_buf (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/syscalls/pselect/
Dpselect02.c38 static struct timespec time_buf; variable
48 {128, NULL, &time_buf, EINVAL},
92 time_buf.tv_sec = -1; in setup()
93 time_buf.tv_nsec = 0; in setup()
/external/libchrome/base/time/
Dpr_time_unittest.cc80 char time_buf[BUFFER_SIZE] = {0}; in TEST_F() local
83 asctime_s(time_buf, arraysize(time_buf), &local_time); in TEST_F()
86 asctime_r(&local_time, time_buf); in TEST_F()
92 PRStatus result = PR_ParseTimeString(time_buf, PR_FALSE, &parsed_time); in TEST_F()
Dtime_unittest.cc222 char time_buf[BUFFER_SIZE] = {0}; in TEST_F() local
225 asctime_s(time_buf, arraysize(time_buf), &local_time); in TEST_F()
228 asctime_r(&local_time, time_buf); in TEST_F()
232 EXPECT_TRUE(Time::FromString(time_buf, &parsed_time)); in TEST_F()
/external/tcpdump/
Dprint-ntp.c366 char time_buf[128]; in p_ntp_time() local
369 strftime(time_buf, sizeof (time_buf), "%Y/%m/%d %H:%M:%S", tm); in p_ntp_time()
370 ND_PRINT((ndo, " (%s)", time_buf)); in p_ntp_time()
/external/fio/
Dstat.c714 char time_buf[32]; in show_thread_status_normal() local
719 memset(time_buf, 0, sizeof(time_buf)); in show_thread_status_normal()
722 os_ctime_r((const time_t *) &time_p, time_buf, sizeof(time_buf)); in show_thread_status_normal()
727 ts->error, (int) ts->pid, time_buf); in show_thread_status_normal()
732 time_buf); in show_thread_status_normal()
1754 char time_buf[32]; in __show_run_stats() local
1762 os_ctime_r((const time_t *) &now.tv_sec, time_buf, in __show_run_stats()
1763 sizeof(time_buf)); in __show_run_stats()
1764 if (time_buf[strlen(time_buf) - 1] == '\n') in __show_run_stats()
1765 time_buf[strlen(time_buf) - 1] = '\0'; in __show_run_stats()
[all …]
Dclient.c125 char time_buf[32]; in fio_client_json_init() local
132 os_ctime_r((const time_t *) &time_p, time_buf, sizeof(time_buf)); in fio_client_json_init()
133 time_buf[strlen(time_buf) - 1] = '\0'; in fio_client_json_init()
138 json_object_add_value_string(root, "time", time_buf); in fio_client_json_init()
/external/syslinux/com32/lib/libpng/
Dpng.c686 wchar_t time_buf[29]; in png_convert_to_rfc1123() local
687 wsprintf(time_buf, TEXT("%d %S %d %02d:%02d:%02d +0000"), in png_convert_to_rfc1123()
691 WideCharToMultiByte(CP_ACP, 0, time_buf, -1, png_ptr->time_buffer, in png_convert_to_rfc1123()