/bionic/tests/ |
D | time_test.cpp | 38 TEST(time, time) { in TEST() argument 40 time_t p1, t1 = time(&p1); in TEST() 48 time_t p2, t2 = time(&p2); in TEST() 59 ASSERT_LE(t2, time(nullptr)); in TEST() 60 ASSERT_LE(time(nullptr) - t2, static_cast<time_t>(1)); in TEST() 63 TEST(time, gmtime) { in TEST() argument 75 TEST(time, gmtime_r) { in TEST() argument 100 TEST(time, gmtime_no_stack_overflow_14313703) { in TEST() argument 113 TEST(time, mktime_empty_TZ) { in TEST() argument 137 TEST(time, mktime_10310929) { in TEST() argument [all …]
|
/bionic/libc/bionic/ |
D | time64.c | 489 Time64_T time; in mktime64() local 502 time = (Time64_T)mktime(&safe_date); in mktime64() 504 time += seconds_between_years(year, (Year)(safe_date.tm_year + 1900)); in mktime64() 506 return time; in mktime64() 522 Time64_T time = *in_time; in gmtime64_r() local 549 v_tm_sec = (int)(time % 60); in gmtime64_r() 550 time /= 60; in gmtime64_r() 551 v_tm_min = (int)(time % 60); in gmtime64_r() 552 time /= 60; in gmtime64_r() 553 v_tm_hour = (int)(time % 24); in gmtime64_r() [all …]
|
D | ndk_cruft.cpp | 298 time_t time; member 312 tb->time = tv.tv_sec; in ftime() 316 ++tb->time; in ftime()
|
D | vdso.cpp | 63 time_t time(time_t* t) { in time() function 64 auto vdso_time = reinterpret_cast<decltype(&time)>(__libc_globals->vdso[VDSO_TIME].fn); in time()
|
/bionic/libc/kernel/uapi/sound/ |
D | asequencer.h | 143 struct snd_seq_real_time time; member 154 union snd_seq_timestamp time; member 171 union snd_seq_timestamp time; member 181 union snd_seq_timestamp time; member 253 union snd_seq_timestamp time; member 317 struct snd_seq_real_time time; member
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 102 time_t start_time = time(nullptr); in Exec() 119 if ((time(nullptr) - start_time) > timeout_seconds) { in Exec() 128 start_time = time(nullptr); in Exec() 135 if ((time(nullptr) - start_time) > timeout_seconds) { in Exec() 141 start_time = time(nullptr); in Exec() 145 if (wait_pid == *pid || (time(nullptr) - start_time) > timeout_seconds) { in Exec() 200 time_t start = time(nullptr); 220 if ((time(nullptr) - start) > timeout_seconds) {
|
/bionic/benchmarks/ |
D | time_benchmark.cpp | 169 time(nullptr); in BM_time_time() 175 time_t t = time(nullptr); in BM_time_localtime() 183 time_t t = time(nullptr); in BM_time_localtime_r()
|
D | README.md | 83 ## Process startup time (bionic-spawn-benchmarks) 85 The `spawn/` subdirectory has a few benchmarks measuring the time used to start simple programs 94 Google Benchmark reports both a real-time figure ("Time") and a CPU usage figure. For these 95 benchmarks, the CPU measurement only counts time spent in the thread calling `posix_spawn`, not that 96 spent in the spawned process. The real-time is probably more useful, and it is the figure used to 182 …***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will i…
|
/bionic/libc/kernel/uapi/linux/ |
D | timex.h | 33 struct timeval time; member 72 struct __kernel_timex_timeval time; member
|
D | input.h | 28 struct timeval time; member 29 #define input_event_sec time.tv_sec 30 #define input_event_usec time.tv_usec
|
D | um_timetravel.h | 25 __u64 time; member
|
D | rtc.h | 37 struct rtc_time time; member
|
D | joystick.h | 28 __u32 time; member
|
D | scc.h | 137 unsigned int time; member
|
D | blktrace_api.h | 95 __u64 time; member
|
/bionic/libc/tzcode/ |
D | private.h | 327 static time_t sys_time(time_t *x) { return time(x); } in sys_time() 358 # undef time 359 # define time tz_time macro 389 time_t time(time_t *);
|
/bionic/libc/kernel/tools/ |
D | defaults.py | 5 import time, os, sys
|
/bionic/docs/ |
D | libc_assembler.md | 69 It can take a long time to run these tests since it attempts to test a 82 …***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will i… 89 The smaller the time, the better the performance. 126 especially important if this is the first time a routine is assembler. 134 assembler routines optimize by reading multipe bytes at a time and can
|
D | native_allocator.md | 62 implementation, but it should be a reasonable amount of time. The jemalloc 197 allocations of the same size at the same time. 201 Only the time it takes to do the allocations is recorded, the frees are not 208 related to having multiple allocations alive at the same time. 225 benchmark, only the time it takes to do the allocations is tracked, the 320 this is a worst case scenario for allocations happening at the same time 323 time. The trace data does not include timestamps, 352 The performance number is a measure of the time it takes to perform all of 354 For any call that allocates a pointer, the time for the call and the time 402 happen if all of the allocations are spaced out in time so no thread [all …]
|
D | status.md | 64 * `timespec_get` (C11 `<time.h>` addition) 97 …* <signal.h> support for `sigaction64_t` and `sigset64_t` allowing LP32 access to real-time signals 192 * <time.h> `strftime_l`. 226 libc function count over time: 352 check can't be guaranteed at compile-time, a call to a run-time `_chk`
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | mce.h | 30 __u64 time; member
|
/bionic/benchmarks/linker_relocation/ |
D | README.md | 3 This benchmark measures the time spent in the dynamic linker to load a large set
|
/bionic/libc/malloc_hooks/ |
D | README.md | 61 These hooks can be set at any time, but there is no thread safety, so 63 occurring at the same time.
|
/bionic/libc/include/ |
D | time.h | 62 time_t time(time_t* __t);
|
/bionic/tests/headers/posix/ |
D | time_h.c | 99 FUNCTION(time, time_t (*f)(time_t*)); in time_h()
|