Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 53) sorted by relevance

123

/bionic/tests/
Dtime_test.cpp38 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/
Dtime64.c489 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 …]
Dndk_cruft.cpp298 time_t time; member
312 tb->time = tv.tv_sec; in ftime()
316 ++tb->time; in ftime()
Dvdso.cpp63 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/
Dasequencer.h143 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/
Dmalloc_debug_system_tests.cpp102 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/
Dtime_benchmark.cpp169 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()
DREADME.md83 ## 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/
Dtimex.h33 struct timeval time; member
72 struct __kernel_timex_timeval time; member
Dinput.h28 struct timeval time; member
29 #define input_event_sec time.tv_sec
30 #define input_event_usec time.tv_usec
Dum_timetravel.h25 __u64 time; member
Drtc.h37 struct rtc_time time; member
Djoystick.h28 __u32 time; member
Dscc.h137 unsigned int time; member
Dblktrace_api.h95 __u64 time; member
/bionic/libc/tzcode/
Dprivate.h327 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/
Ddefaults.py5 import time, os, sys
/bionic/docs/
Dlibc_assembler.md69 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
Dnative_allocator.md62 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 …]
Dstatus.md64 * `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/
Dmce.h30 __u64 time; member
/bionic/benchmarks/linker_relocation/
DREADME.md3 This benchmark measures the time spent in the dynamic linker to load a large set
/bionic/libc/malloc_hooks/
DREADME.md61 These hooks can be set at any time, but there is no thread safety, so
63 occurring at the same time.
/bionic/libc/include/
Dtime.h62 time_t time(time_t* __t);
/bionic/tests/headers/posix/
Dtime_h.c99 FUNCTION(time, time_t (*f)(time_t*)); in time_h()

123