Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/openmp/runtime/test/tasking/
H A Domp50_taskwait_depend.c23 int secs = 0; in wait_on_flag() local
28 secs++; in wait_on_flag()
29 if (secs == timelimit) { in wait_on_flag()
H A Dtaskdep_if0_2.c15 int secs = 0; in wait_on_flag() local
20 secs++; in wait_on_flag()
21 if (secs == timelimit) { in wait_on_flag()
/llvm-project-15.0.7/clang/utils/
H A DFindSpecRefs683 secs = str[1:str.index(']')].split('.')
690 indices = secs
692 secs = str.split('.')
694 if 'p' in secs[-1]:
695 secs[-1],p = secs[-1].split('p',1)
697 indices = map(int, secs)
/llvm-project-15.0.7/libcxx/src/filesystem/
H A Dfilesystem_common.h409 auto secs = duration_cast<fs_seconds>(tm.time_since_epoch());
410 auto nsecs = duration_cast<fs_nanoseconds>(tm.time_since_epoch() - secs);
412 secs = secs + fs_seconds(1);
416 if (secs.count() >= 0)
417 return secs.count() <= TLim::max();
418 return secs.count() >= TLim::min();
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/
H A Dlast_write_time.pass.cpp115 auto secs = duration_cast<Sec>(ft.time_since_epoch()); in ConvertToTimeSpec() local
116 auto nsecs = duration_cast<NanoSec>(ft.time_since_epoch() - secs); in ConvertToTimeSpec()
119 secs += Sec(1); in ConvertToTimeSpec()
125 if (SecLim::max() < secs.count() || SecLim::min() > secs.count()) in ConvertToTimeSpec()
129 ts.tv_sec = secs.count(); in ConvertToTimeSpec()
/llvm-project-15.0.7/libcxx/docs/DesignDocs/
H A DFileTimeType.rst274 a ``timespec`` by passing ``{secs, nsecs}``. Instead we're limited to
308 auto secs = duration_cast<Secs>(tp.time_since_epoch());
310 return secs.count().tv_sec; // Oops!
428 time_t secs = duration_cast<seconds>(tp.time_since_epoch()).count();
429 c_interface_using_time_t(p.c_str(), secs);
/llvm-project-15.0.7/llvm/unittests/Support/
H A DYAMLIOTest.cpp1454 NormalizedSeconds(IO &, TotalSeconds &secs) in NormalizedSeconds() argument
1455 : hours(secs/3600), in NormalizedSeconds()
1456 minutes((secs - (hours*3600))/60), in NormalizedSeconds()
1457 seconds(secs % 60) { in NormalizedSeconds()
1468 static void mapping(IO &io, TotalSeconds &secs) { in mapping()
1469 MappingNormalization<NormalizedSeconds, TotalSeconds> keys(io, secs); in mapping()
/llvm-project-15.0.7/polly/www/video-js/
H A Dvideo.js1580 formatTime: function(secs) { argument
1581 var seconds = Math.round(secs);
/llvm-project-15.0.7/lld/ELF/
H A DLinkerScript.cpp576 SmallVector<InputSectionBase *, 0> secs( in discardSynthetic() local
581 for (InputSectionBase *s : computeInputSections(isd, secs)) in discardSynthetic()