OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:chrono
(Results
76 - 100
of
542
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.special/
max.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
21
typedef std::
chrono
::system_clock Clock;
22
typedef std::
chrono
::milliseconds Duration;
23
typedef std::
chrono
::time_point<Clock, Duration> TP;
min.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
21
typedef std::
chrono
::system_clock Clock;
22
typedef std::
chrono
::milliseconds Duration;
23
typedef std::
chrono
::time_point<Clock, Duration> TP;
/system/core/libmemunreachable/
ScopedAlarm.h
23
#include <
chrono
>
28
ScopedAlarm(std::
chrono
::microseconds us, std::function<void()> func) {
37
std::
chrono
::seconds s = std::
chrono
::duration_cast<std::
chrono
::seconds>(us);
/external/caliper/lib/
joda-time-2.1.jar
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvarany/
wait_for.exception.pass.cpp
4
#include <
chrono
>
36
std::this_thread::sleep_for(std::
chrono
::milliseconds(500));
48
cv.wait_for(mut, std::
chrono
::milliseconds(250));
/external/libcxx/include/experimental/
chrono
2
//===------------------------------
chrono
---------------------------------===//
15
experimental/
chrono
synopsis
19
#include <
chrono
>
22
namespace
chrono
{
32
} // namespace
chrono
38
#include <
chrono
>
/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/
op_-.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
22
const std::
chrono
::minutes m(3);
23
std::
chrono
::minutes m2 = -m;
28
constexpr std::
chrono
::minutes m(3);
29
constexpr std::
chrono
::minutes m2 = -m;
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cons/
convert_exact.pass.cpp
10
// <
chrono
>
19
#include <
chrono
>
25
std::
chrono
::milliseconds ms(1);
26
std::
chrono
::microseconds us = ms;
31
constexpr std::
chrono
::milliseconds ms(1);
32
constexpr std::
chrono
::microseconds us = ms;
convert_inexact.pass.cpp
10
// <
chrono
>
19
#include <
chrono
>
25
std::
chrono
::duration<double, std::micro> us(1);
26
std::
chrono
::duration<double, std::milli> ms = us;
31
constexpr std::
chrono
::duration<double, std::micro> us(1);
32
constexpr std::
chrono
::duration<double, std::milli> ms = us;
convert_int_to_float.pass.cpp
10
// <
chrono
>
19
#include <
chrono
>
25
std::
chrono
::duration<int> i(3);
26
std::
chrono
::duration<double, std::milli> d = i;
31
constexpr std::
chrono
::duration<int> i(3);
32
constexpr std::
chrono
::duration<double, std::milli> d = i;
rep.pass.cpp
10
// <
chrono
>
17
#include <
chrono
>
36
test<std::
chrono
::duration<int> >(5);
37
test<std::
chrono
::duration<int, std::ratio<3, 2> > >(5);
38
test<std::
chrono
::duration<Rep, std::ratio<3, 2> > >(Rep(3));
39
test<std::
chrono
::duration<double, std::ratio<2, 3> > >(5.5);
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/
op_times_rep.pass.cpp
10
// <
chrono
>
24
#include <
chrono
>
30
std::
chrono
::nanoseconds ns(3);
38
constexpr std::
chrono
::nanoseconds ns(3);
39
constexpr std::
chrono
::nanoseconds ns2 = ns * 5;
41
constexpr std::
chrono
::nanoseconds ns3 = 6 * ns;
/external/libcxx/test/std/utilities/time/time.duration/time.duration.special/
max.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
27
Rep max_rep = std::
chrono
::duration_values<Rep>::max();
33
constexpr Rep max_rep = std::
chrono
::duration_values<Rep>::max();
41
test<std::
chrono
::duration<int> >();
42
test<std::
chrono
::duration<Rep> >();
min.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
27
Rep min_rep = std::
chrono
::duration_values<Rep>::min();
33
constexpr Rep min_rep = std::
chrono
::duration_values<Rep>::min();
41
test<std::
chrono
::duration<int> >();
42
test<std::
chrono
::duration<Rep> >();
zero.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
26
Rep zero_rep = std::
chrono
::duration_values<Rep>::zero();
32
constexpr Rep zero_rep = std::
chrono
::duration_values<Rep>::zero();
40
test<std::
chrono
::duration<int> >();
41
test<std::
chrono
::duration<Rep> >();
/external/libcxx/test/std/utilities/time/time.point/time.point.cons/
default.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
23
typedef std::
chrono
::system_clock Clock;
24
typedef std::
chrono
::duration<Rep, std::milli> Duration;
26
std::
chrono
::time_point<Clock, Duration> t;
31
constexpr std::
chrono
::time_point<Clock, Duration> t;
/external/libcxx/test/std/utilities/time/time.traits/time.traits.duration_values/
zero.pass.cpp
10
// <
chrono
>
14
#include <
chrono
>
21
assert(std::
chrono
::duration_values<int>::zero() == 0);
22
assert(std::
chrono
::duration_values<Rep>::zero() == 0);
24
static_assert(std::
chrono
::duration_values<int>::zero() == 0, "");
25
static_assert(std::
chrono
::duration_values<Rep>::zero() == 0, "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/
op_-.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
22
const std::
chrono
::minutes m(3);
23
std::
chrono
::minutes m2 = -m;
28
constexpr std::
chrono
::minutes m(3);
29
constexpr std::
chrono
::minutes m2 = -m;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cons/
convert_exact.pass.cpp
10
// <
chrono
>
19
#include <
chrono
>
25
std::
chrono
::milliseconds ms(1);
26
std::
chrono
::microseconds us = ms;
31
constexpr std::
chrono
::milliseconds ms(1);
32
constexpr std::
chrono
::microseconds us = ms;
convert_inexact.pass.cpp
10
// <
chrono
>
19
#include <
chrono
>
25
std::
chrono
::duration<double, std::micro> us(1);
26
std::
chrono
::duration<double, std::milli> ms = us;
31
constexpr std::
chrono
::duration<double, std::micro> us(1);
32
constexpr std::
chrono
::duration<double, std::milli> ms = us;
convert_int_to_float.pass.cpp
10
// <
chrono
>
19
#include <
chrono
>
25
std::
chrono
::duration<int> i(3);
26
std::
chrono
::duration<double, std::milli> d = i;
31
constexpr std::
chrono
::duration<int> i(3);
32
constexpr std::
chrono
::duration<double, std::milli> d = i;
rep.pass.cpp
10
// <
chrono
>
17
#include <
chrono
>
36
test<std::
chrono
::duration<int> >(5);
37
test<std::
chrono
::duration<int, std::ratio<3, 2> > >(5);
38
test<std::
chrono
::duration<Rep, std::ratio<3, 2> > >(Rep(3));
39
test<std::
chrono
::duration<double, std::ratio<2, 3> > >(5.5);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/
op_times_rep.pass.cpp
10
// <
chrono
>
24
#include <
chrono
>
30
std::
chrono
::nanoseconds ns(3);
38
constexpr std::
chrono
::nanoseconds ns(3);
39
constexpr std::
chrono
::nanoseconds ns2 = ns * 5;
41
constexpr std::
chrono
::nanoseconds ns3 = 6 * ns;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.special/
max.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
27
Rep max_rep = std::
chrono
::duration_values<Rep>::max();
33
constexpr Rep max_rep = std::
chrono
::duration_values<Rep>::max();
41
test<std::
chrono
::duration<int> >();
42
test<std::
chrono
::duration<Rep> >();
min.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
27
Rep min_rep = std::
chrono
::duration_values<Rep>::min();
33
constexpr Rep min_rep = std::
chrono
::duration_values<Rep>::min();
41
test<std::
chrono
::duration<int> >();
42
test<std::
chrono
::duration<Rep> >();
Completed in 477 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>