/bionic/tests/ |
D | time_test.cpp | 40 TEST(time, time) { in TEST() argument 42 time_t p1, t1 = time(&p1); in TEST() 50 time_t p2, t2 = time(&p2); in TEST() 61 ASSERT_LE(t2, time(nullptr)); in TEST() 62 ASSERT_LE(time(nullptr) - t2, static_cast<time_t>(1)); in TEST() 65 TEST(time, gmtime) { in TEST() argument 77 TEST(time, gmtime_r) { in TEST() argument 90 TEST(time, mktime_TZ_as_UTC_and_offset) { in TEST() argument 112 TEST(time, gmtime_no_stack_overflow_14313703) { in TEST() argument 125 TEST(time, mktime_empty_TZ) { in TEST() argument [all …]
|
/bionic/libc/bionic/ |
D | time64.c | 494 Time64_T time; in mktime64() local 507 time = (Time64_T)mktime(&safe_date); in mktime64() 509 time += seconds_between_years(year, (Year)(safe_date.tm_year + 1900)); in mktime64() 511 return time; in mktime64() 527 Time64_T time = *in_time; in gmtime64_r() local 554 v_tm_sec = (int)(time % 60); in gmtime64_r() 555 time /= 60; in gmtime64_r() 556 v_tm_min = (int)(time % 60); in gmtime64_r() 557 time /= 60; in gmtime64_r() 558 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 | 69 time_t time(time_t* t) { in time() function 72 auto vdso_time = reinterpret_cast<decltype(&time)>(__libc_globals->vdso[VDSO_TIME].fn); in time()
|
/bionic/libc/kernel/uapi/sound/ |
D | asequencer.h | 132 struct snd_seq_real_time time; member 143 union snd_seq_timestamp time; member 162 union snd_seq_timestamp time; member 173 union snd_seq_timestamp time; member 183 union snd_seq_timestamp time; member 262 union snd_seq_timestamp time; member 335 struct snd_seq_real_time time; member
|
/bionic/libc/kernel/uapi/linux/ |
D | timex.h | 21 struct timeval time; member 60 struct __kernel_timex_timeval time; member
|
D | input.h | 16 struct timeval time; member 17 #define input_event_sec time.tv_sec 18 #define input_event_usec time.tv_usec
|
D | um_timetravel.h | 13 __u64 time; member
|
D | joystick.h | 16 __u32 time; member
|
D | scc.h | 125 unsigned int time; member
|
D | rtc.h | 26 struct rtc_time time; member
|
D | blktrace_api.h | 83 __u64 time; member
|
D | msdos_fs.h | 134 __le16 time, date, start; member
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 226 std::srand(std::time(nullptr)); in Exec() 288 time_t start_time = time(nullptr); in InternalExec() 305 if ((time(nullptr) - start_time) > kReadOutputTimeoutSeconds) { in InternalExec() 313 start_time = time(nullptr); in InternalExec() 320 if ((time(nullptr) - start_time) > kWaitpidTimeoutSeconds) { in InternalExec() 326 start_time = time(nullptr); in InternalExec() 330 if (wait_pid == pid_ || (time(nullptr) - start_time) > kWaitpidTimeoutSeconds) { in InternalExec() 346 time_t start = time(nullptr); in CheckExpectedLogStrings() 362 if ((time(nullptr) - start) > kLogTimeoutSeconds) { in CheckExpectedLogStrings()
|
/bionic/docs/ |
D | clang_fortify_anatomy.md | 12 actually works in Bionic at the time of writing. Other FORTIFY implementations 48 to provide useful run-time checks. For the purpose of this document, all 80 * complexity and irrelevance. It turns into a compile-time warning if the 137 - Producing a compile-time error if the number of bytes to copy trivially 140 available at the destination, a run-time check is inserted to crash the 143 determined at compile-time[^1]. 236 ### How does Clang offer compile-time diagnostics? 252 mempcpy(buf, input_buf, 5); // Emits a compile-time error since sizeof(buf) < 5. 253 __builtin_mempcpy(buf, input_buf, 5); // No compile-time error. 254 (&mempcpy)(buf, input_buf, 5); // No compile-time error, since __builtin_mempcpy is selected. [all …]
|
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 …]
|
/bionic/benchmarks/ |
D | time_benchmark.cpp | 184 time(nullptr); in BM_time_time() 190 time_t t = time(nullptr); in BM_time_localtime() 198 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/asm-x86/asm/ |
D | mce.h | 18 __u64 time; member
|
/bionic/tests/headers/posix/ |
D | README.md | 3 These compile-time tests check that each POSIX header contains _at
|
D | time_h.c | 99 FUNCTION(time, time_t (*f)(time_t*)); in time_h()
|
/bionic/libc/tzcode/ |
D | private.h | 596 static time_t sys_time(time_t *x) { return time(x); } in sys_time() 635 # undef time 636 # define time tz_time macro 695 time_t time(time_t *);
|
/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.
|