Home
last modified time | relevance | path

Searched refs:write_time (Results 1 – 4 of 4) sorted by relevance

/external/tlsdate/src/
Dtlsdated-unittest.c43 int write_time (const char *path, time_t time) in write_time() function
88 ASSERT_EQ (0, write_time (buf, 0)); in TEST_F()
91 ASSERT_EQ (0, write_time (buf, INT_MAX)); in TEST_F()
94 ASSERT_EQ (0, write_time (buf, now)); in TEST_F()
101 ASSERT_EQ (0, write_time (buf, now)); in TEST_F()
113 ASSERT_EQ (0, write_time (buf, now)); in TEST_F()
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Duserial_linux.c185 struct timespec write_time; member
370 clock_gettime(CLOCK_MONOTONIC, &linux_cb.write_time); in setWriteDelay()
373 linux_cb.write_time.tv_sec += delay / 1000; in setWriteDelay()
377 linux_cb.write_time.tv_nsec += write_delay; in setWriteDelay()
378 if (linux_cb.write_time.tv_nsec > 1000*1000*1000) in setWriteDelay()
380 linux_cb.write_time.tv_nsec -= 1000*1000*1000; in setWriteDelay()
381 linux_cb.write_time.tv_sec++; in setWriteDelay()
405 if (now.tv_sec > linux_cb.write_time.tv_sec) in doWriteDelay()
407 else if (now.tv_sec == linux_cb.write_time.tv_sec) in doWriteDelay()
409 if (now.tv_nsec > linux_cb.write_time.tv_nsec) in doWriteDelay()
[all …]
/external/libchrome/base/process/
Dprocess_metrics_linux.cc763 write_time = 0; in SystemDiskInfo()
781 res->SetDouble("write_time", static_cast<double>(write_time)); in ToValue()
842 diskinfo->write_time = 0; in GetSystemDiskInfo()
854 uint64_t write_time = 0; in GetSystemDiskInfo() local
872 StringToUint64(disk_fields[kDiskWriteTime], &write_time); in GetSystemDiskInfo()
884 diskinfo->write_time += write_time; in GetSystemDiskInfo()
Dprocess_metrics.h350 uint64_t write_time; member