OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:chrono
(Results
126 - 150
of
542
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cons/
convert_inexact.fail.cpp
10
// <
chrono
>
19
#include <
chrono
>
23
std::
chrono
::microseconds us(1);
24
std::
chrono
::milliseconds ms = us;
rep02.pass.cpp
10
// <
chrono
>
19
#include <
chrono
>
24
std::
chrono
::duration<double> d(5);
27
constexpr std::
chrono
::duration<double> d2(5);
/external/libcxx/test/std/utilities/time/time.point/
duration.fail.cpp
10
// <
chrono
>
16
#include <
chrono
>
20
typedef std::
chrono
::time_point<std::
chrono
::system_clock, int> T;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.clock/time.clock.system/
rep_signed.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
21
assert(std::
chrono
::system_clock::duration::min() <
22
std::
chrono
::system_clock::duration::zero());
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/
default_ratio.pass.cpp
10
// <
chrono
>
19
#include <
chrono
>
24
static_assert((std::is_same<std::
chrono
::duration<int, std::ratio<1> >,
25
std::
chrono
::duration<int> >::value), "");
duration.fail.cpp
10
// <
chrono
>
17
#include <
chrono
>
21
typedef std::
chrono
::duration<std::
chrono
::milliseconds> D;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/
op_++.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
21
std::
chrono
::hours h(3);
22
std::
chrono
::hours& href = ++h;
op_++int.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
21
std::
chrono
::hours h(3);
22
std::
chrono
::hours h2 = h++;
op_--.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
21
std::
chrono
::hours h(3);
22
std::
chrono
::hours& href = --h;
op_--int.pass.cpp
10
// <
chrono
>
16
#include <
chrono
>
21
std::
chrono
::hours h(3);
22
std::
chrono
::hours h2 = h--;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cast/
toduration.fail.cpp
10
// <
chrono
>
20
#include <
chrono
>
24
std::
chrono
::duration_cast<int>(std::
chrono
::milliseconds(3));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cons/
convert_float_to_int.fail.cpp
10
// <
chrono
>
19
#include <
chrono
>
23
std::
chrono
::duration<double> d;
24
std::
chrono
::duration<int> i = d;
convert_inexact.fail.cpp
10
// <
chrono
>
19
#include <
chrono
>
23
std::
chrono
::microseconds us(1);
24
std::
chrono
::milliseconds ms = us;
rep02.pass.cpp
10
// <
chrono
>
19
#include <
chrono
>
24
std::
chrono
::duration<double> d(5);
27
constexpr std::
chrono
::duration<double> d2(5);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/
duration.fail.cpp
10
// <
chrono
>
16
#include <
chrono
>
20
typedef std::
chrono
::time_point<std::
chrono
::system_clock, int> T;
/external/libcxx/test/std/utilities/time/time.point/time.point.comparisons/
op_equal.pass.cpp
10
// <
chrono
>
22
#include <
chrono
>
27
typedef std::
chrono
::system_clock Clock;
28
typedef std::
chrono
::milliseconds Duration1;
29
typedef std::
chrono
::microseconds Duration2;
30
typedef std::
chrono
::time_point<Clock, Duration1> T1;
31
typedef std::
chrono
::time_point<Clock, Duration2> T2;
op_less.fail.cpp
10
// <
chrono
>
32
#include <
chrono
>
38
typedef std::
chrono
::system_clock Clock1;
40
typedef std::
chrono
::milliseconds Duration1;
41
typedef std::
chrono
::microseconds Duration2;
42
typedef std::
chrono
::time_point<Clock1, Duration1> T1;
43
typedef std::
chrono
::time_point<Clock2, Duration2> T2;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.comparisons/
op_equal.pass.cpp
10
// <
chrono
>
22
#include <
chrono
>
27
typedef std::
chrono
::system_clock Clock;
28
typedef std::
chrono
::milliseconds Duration1;
29
typedef std::
chrono
::microseconds Duration2;
30
typedef std::
chrono
::time_point<Clock, Duration1> T1;
31
typedef std::
chrono
::time_point<Clock, Duration2> T2;
op_less.fail.cpp
10
// <
chrono
>
32
#include <
chrono
>
38
typedef std::
chrono
::system_clock Clock1;
40
typedef std::
chrono
::milliseconds Duration1;
41
typedef std::
chrono
::microseconds Duration2;
42
typedef std::
chrono
::time_point<Clock1, Duration1> T1;
43
typedef std::
chrono
::time_point<Clock2, Duration2> T2;
/external/libcxx/test/std/thread/thread.threads/thread.thread.this/
sleep_until.pass.cpp
15
// void sleep_until(const
chrono
::time_point<Clock, Duration>& abs_time);
23
typedef std::
chrono
::system_clock Clock;
26
std::
chrono
::milliseconds ms(500);
30
std::
chrono
::nanoseconds ns = (t1 - t0) - ms;
31
std::
chrono
::nanoseconds err = 5 * ms / 100;
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/
op_divide_rep.pass.cpp
10
// <
chrono
>
19
#include <
chrono
>
25
std::
chrono
::nanoseconds ns(15);
31
constexpr std::
chrono
::nanoseconds ns(15);
32
constexpr std::
chrono
::nanoseconds ns2 = ns / 5;
op_mod_rep.pass.cpp
10
// <
chrono
>
19
#include <
chrono
>
25
std::
chrono
::nanoseconds ns(15);
31
constexpr std::
chrono
::nanoseconds ns(15);
32
constexpr std::
chrono
::nanoseconds ns2 = ns % 6;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.this/
sleep_for.pass.cpp
13
// void sleep_for(const
chrono
::duration<Rep, Period>& rel_time);
21
typedef std::
chrono
::system_clock Clock;
24
std::
chrono
::milliseconds ms(500);
28
std::
chrono
::nanoseconds ns = (t1 - t0) - ms;
29
std::
chrono
::nanoseconds err = 5 * ms / 100;
sleep_until.pass.cpp
13
// void sleep_until(const
chrono
::time_point<Clock, Duration>& abs_time);
21
typedef std::
chrono
::system_clock Clock;
24
std::
chrono
::milliseconds ms(500);
28
std::
chrono
::nanoseconds ns = (t1 - t0) - ms;
29
std::
chrono
::nanoseconds err = 5 * ms / 100;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/
op_divide_rep.pass.cpp
10
// <
chrono
>
19
#include <
chrono
>
25
std::
chrono
::nanoseconds ns(15);
31
constexpr std::
chrono
::nanoseconds ns(15);
32
constexpr std::
chrono
::nanoseconds ns2 = ns / 5;
Completed in 293 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>