Home
last modified time | relevance | path

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

/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.last_write_time/
Dlast_write_time.pass.cpp269 file_time_type new_time; in TEST_CASE() member
287 last_write_time(TC.p, TC.new_time, ec); in TEST_CASE()
292 if (TimeIsRepresentableByFilesystem(TC.new_time)) { in TEST_CASE()
294 if (TC.new_time < epoch_time) { in TEST_CASE()
295 TEST_CHECK(got_time <= TC.new_time); in TEST_CASE()
296 TEST_CHECK(got_time > TC.new_time - Sec(1)); in TEST_CASE()
298 TEST_CHECK(got_time <= TC.new_time + Sec(1)); in TEST_CASE()
299 TEST_CHECK(got_time >= TC.new_time - Sec(1)); in TEST_CASE()
318 const file_time_type new_time = Clock::now() + Hours(3); in TEST_CASE() local
324 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.cc70 double new_time = real_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedRealTime() local
71 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedRealTime()
72 return new_time; in GetAdjustedRealTime()
76 double new_time = cpu_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedCPUTime() local
77 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedCPUTime()
78 return new_time; in GetAdjustedCPUTime()
/external/google-benchmark/src/
Dreporter.cc70 double new_time = real_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedRealTime() local
71 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedRealTime()
72 return new_time; in GetAdjustedRealTime()
76 double new_time = cpu_accumulated_time * GetTimeUnitMultiplier(time_unit); in GetAdjustedCPUTime() local
77 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedCPUTime()
78 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/swiftshader/third_party/llvm-subzero/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/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/autotest/client/site_tests/video_YouTubePage/
Dvideo_YouTubePage.py89 def seek_video(self, new_time): argument
95 self.tab.ExecuteJavaScript('window.__seek(%f);' % new_time)
/external/libcxx/src/experimental/filesystem/
Doperations.cpp584 void __last_write_time(const path& p, file_time_type new_time, in __last_write_time() argument
605 &tbuf[1].tv_sec, &tbuf[1].tv_usec, new_time); in __last_write_time()
621 &tbuf[1].tv_sec, &tbuf[1].tv_nsec, new_time); in __last_write_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/power/
Dpower_status.py1745 new_time = time.time()
1747 self._stats[state] += new_time - self._time
1749 self._stats[state] = new_time - self._time
1750 self._time = new_time
/external/python/cpython2/Modules/
Ddatetimemodule.c721 #define new_time(hh, mm, ss, us, tzinfo) \ macro
3423 temp = new_time(hour, minute, in time_hash()
4508 return new_time(DATE_GET_HOUR(self), in datetime_gettime()
4518 return new_time(DATE_GET_HOUR(self), in datetime_gettimetz()
4826 x = new_time(0, 0, 0, 0, Py_None); in initdatetime()
4831 x = new_time(23, 59, 59, 999999, Py_None); in initdatetime()
/external/perf_data_converter/src/quipper/
Dperf_parser_test.cc46 uint64_t new_time = GetTimeFromPerfEvent(events.Get(i)); in CheckChronologicalOrderOfEvents() local
47 CHECK_LE(prev_time, new_time); in CheckChronologicalOrderOfEvents()
48 prev_time = new_time; in CheckChronologicalOrderOfEvents()
/external/python/cpython3/Modules/
D_datetimemodule.c775 #define new_time(hh, mm, ss, us, tzinfo, fold) \ macro
5362 return new_time(DATE_GET_HOUR(self), in datetime_gettime()
5373 return new_time(DATE_GET_HOUR(self), in datetime_gettimetz()
5715 x = new_time(0, 0, 0, 0, Py_None, 0); in PyInit__datetime()
5720 x = new_time(23, 59, 59, 999999, Py_None, 0); in PyInit__datetime()
/external/libcxx/include/experimental/
Dfilesystem177 void last_write_time(const path& p, file_time_type new_time);
178 void last_write_time(const path& p, file_time_type new_time,
1286 void __last_write_time(const path& p, file_time_type new_time,