Home
last modified time | relevance | path

Searched refs:new_time (Results 1 – 14 of 14) sorted by relevance

/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.last_write_time/
Dlast_write_time.pass.cpp241 file_time_type new_time; in TEST_CASE() member
259 last_write_time(TC.p, TC.new_time, ec); in TEST_CASE()
264 if (TimeIsRepresentableByFilesystem(TC.new_time)) { in TEST_CASE()
266 if (TC.new_time < epoch_time) { in TEST_CASE()
267 TEST_CHECK(got_time <= TC.new_time); in TEST_CASE()
268 TEST_CHECK(got_time > TC.new_time - Sec(1)); in TEST_CASE()
270 TEST_CHECK(got_time <= TC.new_time + Sec(1)); in TEST_CASE()
271 TEST_CHECK(got_time >= TC.new_time - Sec(1)); in TEST_CASE()
290 const file_time_type new_time = Clock::now() + Hours(3); in TEST_CASE() local
296 last_write_time(sym, new_time, ec); in TEST_CASE()
[all …]
/external/ltp/testcases/kernel/syscalls/stime/
Dstime01.c88 time_t new_time; variable
121 new_time = real_time_tv.tv_sec + INCR_TIME; in main()
129 if (stime(&new_time) < 0) { in main()
130 tst_resm(TFAIL | TERRNO, "stime(%ld) failed", new_time); in main()
144 switch (pres_time_tv.tv_sec - new_time) { in main()
150 "to %ld", new_time); in main()
156 new_time, pres_time_tv.tv_sec); in main()
Dstime02.c84 time_t new_time; /* system's new time */ variable
108 TEST(stime(&new_time)); in main()
159 new_time = curr_time + INCR_TIME; in setup()
/external/libcxx/utils/google-benchmark/src/
Dreporter.cc57 double new_time = real_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedRealTime() local
58 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedRealTime()
59 return new_time; in GetAdjustedRealTime()
63 double new_time = cpu_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedCPUTime() local
64 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedCPUTime()
65 return new_time; in GetAdjustedCPUTime()
/external/google-benchmark/src/
Dreporter.cc57 double new_time = real_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedRealTime() local
58 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedRealTime()
59 return new_time; in GetAdjustedRealTime()
63 double new_time = cpu_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedCPUTime() local
64 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedCPUTime()
65 return new_time; in GetAdjustedCPUTime()
/external/toolchain-utils/mem_tests/
Dclean_data.py25 new_time = int(line.split(',')[0]) variable
26 dictionary[new_time] = line
/external/llvm/include/llvm/Support/
DTimeValue.h106 explicit TimeValue( double new_time ) in TimeValue() argument
108 SecondsType integer_part = static_cast<SecondsType>( new_time ); in TimeValue()
110 nanos_ = static_cast<NanoSecondsType>( (new_time - in TimeValue()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DTimeValue.h94 explicit TimeValue( double new_time ) in TimeValue() argument
96 SecondsType integer_part = static_cast<SecondsType>( new_time ); in TimeValue()
98 nanos_ = static_cast<NanoSecondsType>( (new_time - in TimeValue()
/external/autotest/client/site_tests/video_YouTubePage/
Dvideo_YouTubePage.py88 def seek_video(self, new_time): argument
94 self.tab.ExecuteJavaScript('window.__seek(%f);' % new_time)
/external/fonttools/Lib/fontTools/
Dmerge.py873 new_time = time.time()
874 print("Took %0.3fs to %s" %(new_time - self.last_time,
876 self.last_time = new_time
Dsubset.py2091 new_time = time.time()
2092 print("Took %0.3fs to %s" %(new_time - self.last_time,
2094 self.last_time = new_time
/external/autotest/client/cros/
Dpower_status.py1721 new_time = time.time()
1723 self._stats[state] += new_time - self._time
1725 self._stats[state] = new_time - self._time
1726 self._time = new_time
/external/libcxx/src/experimental/filesystem/
Doperations.cpp679 void __last_write_time(const path& p, file_time_type new_time, in __last_write_time() argument
702 &tbuf[1].tv_sec, &tbuf[1].tv_usec, new_time); in __last_write_time()
718 &tbuf[1].tv_sec, &tbuf[1].tv_nsec, new_time); in __last_write_time()
/external/libcxx/include/experimental/
Dfilesystem176 void last_write_time(const path& p, file_time_type new_time);
177 void last_write_time(const path& p, file_time_type new_time,
1280 void __last_write_time(const path& p, file_time_type new_time,