| /bionic/benchmarks/ |
| D | time_benchmark.cpp | 25 static void BM_time_clock_gettime(benchmark::State& state) { in BM_time_clock_gettime() 34 static void BM_time_clock_gettime_syscall(benchmark::State& state) { in BM_time_clock_gettime_syscall() 43 static void BM_time_clock_gettime_MONOTONIC_COARSE(benchmark::State& state) { in BM_time_clock_gettime_MONOTONIC_COARSE() 52 static void BM_time_clock_gettime_MONOTONIC_RAW(benchmark::State& state) { in BM_time_clock_gettime_MONOTONIC_RAW() 61 static void BM_time_clock_gettime_REALTIME(benchmark::State& state) { in BM_time_clock_gettime_REALTIME() 70 static void BM_time_clock_gettime_REALTIME_COARSE(benchmark::State& state) { in BM_time_clock_gettime_REALTIME_COARSE() 79 static void BM_time_clock_gettime_BOOTTIME(benchmark::State& state) { in BM_time_clock_gettime_BOOTTIME() 88 static void BM_time_clock_getres(benchmark::State& state) { in BM_time_clock_getres() 97 static void BM_time_clock_getres_syscall(benchmark::State& state) { in BM_time_clock_getres_syscall() 106 static void BM_time_clock_getres_MONOTONIC_COARSE(benchmark::State& state) { in BM_time_clock_getres_MONOTONIC_COARSE() [all …]
|
| D | math_benchmark.cpp | 26 static void SetLabel(benchmark::State& state) { in SetLabel() 38 static void BM_math_sqrt(benchmark::State& state) { in BM_math_sqrt() 47 static void BM_math_log10(benchmark::State& state) { in BM_math_log10() 56 static void BM_math_logb(benchmark::State& state) { in BM_math_logb() 65 static void BM_math_isfinite_macro(benchmark::State& state) { in BM_math_isfinite_macro() 75 static void BM_math_isfinite(benchmark::State& state) { in BM_math_isfinite() 85 static void BM_math_isinf_macro(benchmark::State& state) { in BM_math_isinf_macro() 95 static void BM_math_isinf(benchmark::State& state) { in BM_math_isinf() 105 static void BM_math_isnan_macro(benchmark::State& state) { in BM_math_isnan_macro() 115 static void BM_math_isnan(benchmark::State& state) { in BM_math_isnan() [all …]
|
| D | pthread_benchmark.cpp | 25 static void BM_pthread_self(benchmark::State& state) { in BM_pthread_self() 32 static void BM_pthread_getspecific(benchmark::State& state) { in BM_pthread_getspecific() 44 static void BM_pthread_setspecific(benchmark::State& state) { in BM_pthread_setspecific() 59 static void BM_pthread_once(benchmark::State& state) { in BM_pthread_once() 69 static void BM_pthread_mutex_lock(benchmark::State& state) { in BM_pthread_mutex_lock() 79 static void BM_pthread_mutex_lock_ERRORCHECK(benchmark::State& state) { in BM_pthread_mutex_lock_ERRORCHECK() 89 static void BM_pthread_mutex_lock_RECURSIVE(benchmark::State& state) { in BM_pthread_mutex_lock_RECURSIVE() 118 static void BM_pthread_mutex_lock_PI(benchmark::State& state) { in BM_pthread_mutex_lock_PI() 128 static void BM_pthread_mutex_lock_ERRORCHECK_PI(benchmark::State& state) { in BM_pthread_mutex_lock_ERRORCHECK_PI() 138 static void BM_pthread_mutex_lock_RECURSIVE_PI(benchmark::State& state) { in BM_pthread_mutex_lock_RECURSIVE_PI() [all …]
|
| D | stdio_benchmark.cpp | 38 void ReadWriteTest(benchmark::State& state, Fn f, bool buffered) { in ReadWriteTest() 60 void BM_stdio_fread(benchmark::State& state) { in BM_stdio_fread() 65 void BM_stdio_fwrite(benchmark::State& state) { in BM_stdio_fwrite() 70 void BM_stdio_fread_unbuffered(benchmark::State& state) { in BM_stdio_fread_unbuffered() 75 void BM_stdio_fwrite_unbuffered(benchmark::State& state) { in BM_stdio_fwrite_unbuffered() 81 static void FopenFgetlnFclose(benchmark::State& state, bool no_locking) { in FopenFgetlnFclose() 94 static void BM_stdio_fopen_fgetln_fclose_locking(benchmark::State& state) { in BM_stdio_fopen_fgetln_fclose_locking() 99 void BM_stdio_fopen_fgetln_fclose_no_locking(benchmark::State& state) { in BM_stdio_fopen_fgetln_fclose_no_locking() 105 static void FopenFgetsFclose(benchmark::State& state, bool no_locking) { in FopenFgetsFclose() 118 static void BM_stdio_fopen_fgets_fclose_locking(benchmark::State& state) { in BM_stdio_fopen_fgets_fclose_locking() [all …]
|
| D | atomic_benchmark.cpp | 48 void BM_atomic_empty(benchmark::State& state) { in BM_atomic_empty() 55 static void BM_atomic_load_relaxed(benchmark::State& state) { in BM_atomic_load_relaxed() 65 static void BM_atomic_load_acquire(benchmark::State& state) { in BM_atomic_load_acquire() 75 static void BM_atomic_store_release(benchmark::State& state) { in BM_atomic_store_release() 84 static void BM_atomic_store_seq_cst(benchmark::State& state) { in BM_atomic_store_seq_cst() 93 static void BM_atomic_fetch_add_relaxed(benchmark::State& state) { in BM_atomic_fetch_add_relaxed() 103 static void BM_atomic_fetch_add_seq_cst(benchmark::State& state) { in BM_atomic_fetch_add_seq_cst() 116 static void BM_atomic_acquire_fence(benchmark::State& state) { in BM_atomic_acquire_fence() 127 static void BM_atomic_seq_cst_fence(benchmark::State& state) { in BM_atomic_seq_cst_fence() 140 static void BM_atomic_fetch_add_cs(benchmark::State& state) { in BM_atomic_fetch_add_cs()
|
| D | stdlib_benchmark.cpp | 39 static void MallocFree(benchmark::State& state) { in MallocFree() 53 static void BM_stdlib_malloc_free_default(benchmark::State& state) { in BM_stdlib_malloc_free_default() 64 static void BM_stdlib_malloc_free_decay1(benchmark::State& state) { in BM_stdlib_malloc_free_decay1() 74 static void MallocMultiple(benchmark::State& state, size_t nbytes, size_t numAllocs) { in MallocMultiple() 92 void BM_stdlib_malloc_forty_default(benchmark::State& state) { in BM_stdlib_malloc_forty_default() 104 void BM_stdlib_malloc_forty_decay1(benchmark::State& state) { in BM_stdlib_malloc_forty_decay1() 114 void BM_stdlib_malloc_multiple_8192_allocs_default(benchmark::State& state) { in BM_stdlib_malloc_multiple_8192_allocs_default() 125 void BM_stdlib_malloc_multiple_8192_allocs_decay1(benchmark::State& state) { in BM_stdlib_malloc_multiple_8192_allocs_decay1() 135 static void BM_stdlib_mbstowcs(benchmark::State& state) { in BM_stdlib_mbstowcs() 178 static void BM_stdlib_mbrtowc(benchmark::State& state) { in BM_stdlib_mbrtowc() [all …]
|
| D | unistd_benchmark.cpp | 23 static void BM_unistd_getpid(benchmark::State& state) { in BM_unistd_getpid() 30 static void BM_unistd_getpid_syscall(benchmark::State& state) { in BM_unistd_getpid_syscall() 42 static void BM_unistd_gettid(benchmark::State& state) { in BM_unistd_gettid() 51 void BM_unistd_gettid_syscall(benchmark::State& state) { in BM_unistd_gettid_syscall()
|
| D | string_benchmark.cpp | 24 static void BM_string_memcmp(benchmark::State& state) { in BM_string_memcmp() 43 static void BM_string_memcpy(benchmark::State& state) { in BM_string_memcpy() 61 static void BM_string_memmove_non_overlapping(benchmark::State& state) { in BM_string_memmove_non_overlapping() 79 static void BM_string_memmove_overlap_dst_before_src(benchmark::State& state) { in BM_string_memmove_overlap_dst_before_src() 94 static void BM_string_memmove_overlap_src_before_dst(benchmark::State& state) { in BM_string_memmove_overlap_src_before_dst() 109 static void BM_string_memset(benchmark::State& state) { in BM_string_memset() 124 static void BM_string_strlen(benchmark::State& state) { in BM_string_strlen() 141 static void BM_string_strcat_copy_only(benchmark::State& state) { in BM_string_strcat_copy_only() 164 static void BM_string_strcat_seek_only(benchmark::State& state) { in BM_string_strcat_seek_only() 185 static void BM_string_strcat_half_copy_half_seek(benchmark::State& state) { in BM_string_strcat_half_copy_half_seek() [all …]
|
| D | inttypes_benchmark.cpp | 22 void BM_inttypes_strtoimax(benchmark::State& state) { in BM_inttypes_strtoimax() 29 void BM_inttypes_strtoumax(benchmark::State& state) { in BM_inttypes_strtoumax()
|
| D | property_benchmark.cpp | 126 static void BM_property_get(benchmark::State& state) { in BM_property_get() 139 static void BM_property_find(benchmark::State& state) { in BM_property_find() 151 static void BM_property_read(benchmark::State& state) { in BM_property_read() 174 static void BM_property_serial(benchmark::State& state) { in BM_property_serial()
|
| D | semaphore_benchmark.cpp | 26 static void BM_semaphore_sem_getvalue(benchmark::State& state) { in BM_semaphore_sem_getvalue() 37 static void BM_semaphore_sem_wait_sem_post(benchmark::State& state) { in BM_semaphore_sem_wait_sem_post()
|
| D | get_heap_size_benchmark.cpp | 45 static void BM_mallinfo(benchmark::State& state) { in BM_mallinfo() 75 static void BM_read_statm(benchmark::State& state) { in BM_read_statm()
|
| D | malloc_benchmark.cpp | 105 static void BM_malloc_sql_trace_default(benchmark::State& state) { in BM_malloc_sql_trace_default() 116 static void BM_malloc_sql_trace_decay1(benchmark::State& state) { in BM_malloc_sql_trace_decay1()
|
| /bionic/libc/upstream-openbsd/lib/libc/stdio/ |
| D | open_wmemstream.c | 30 struct state { struct 37 mbstate_t mbs; /* conversion state of the stream */ argument
|
| D | open_memstream.c | 29 struct state { struct 41 struct state *st = v; in memstream_write() argument
|
| /bionic/libc/bionic/ |
| D | grp_pwd.cpp | 67 static void init_group_state(group_state_t* state) { in init_group_state() 140 static passwd* android_iinfo_to_passwd(passwd_state_t* state, in android_iinfo_to_passwd() 155 static group* android_iinfo_to_group(group_state_t* state, in android_iinfo_to_group() 166 static passwd* android_id_to_passwd(passwd_state_t* state, unsigned id) { in android_id_to_passwd() 175 static passwd* android_name_to_passwd(passwd_state_t* state, const char* name) { in android_name_to_passwd() 184 static group* android_id_to_group(group_state_t* state, unsigned id) { in android_id_to_group() 193 static group* android_name_to_group(group_state_t* state, const char* name) { in android_name_to_group() 427 static passwd* oem_id_to_passwd(uid_t uid, passwd_state_t* state) { in oem_id_to_passwd() 449 static group* oem_id_to_group(gid_t gid, group_state_t* state) { in oem_id_to_group() 474 static passwd* app_id_to_passwd(uid_t uid, passwd_state_t* state) { in app_id_to_passwd() [all …]
|
| D | mbrtoc16.cpp | 36 static inline bool mbspartialc16(const mbstate_t* state) { in mbspartialc16() 41 size_t nconv, mbstate_t* state) { in begin_surrogate() 54 static size_t finish_surrogate(char16_t* pc16, mbstate_t* state) { in finish_surrogate() 63 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in mbrtoc16() local
|
| D | wchar.cpp | 62 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in mbrtowc() local 70 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in mbsnrtowcs() local 141 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in wcrtomb() local 149 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in wcsnrtombs() local
|
| D | __cxa_guard.cpp | 55 atomic_int state; member 64 atomic_int state; member
|
| D | mblen.cpp | 33 mbstate_t state = {}; in mblen() local
|
| D | pthread_rwlock.cpp | 158 atomic_int state; member 184 static inline __always_inline bool __state_owned_by_writer(int state) { in __state_owned_by_writer() 188 static inline __always_inline bool __state_owned_by_readers(int state) { in __state_owned_by_readers() 194 static inline __always_inline bool __state_owned_by_readers_or_writer(int state) { in __state_owned_by_readers_or_writer() 198 static inline __always_inline int __state_add_writer_flag(int state) { in __state_add_writer_flag() 202 static inline __always_inline bool __state_is_last_reader(int state) { in __state_is_last_reader() 206 static inline __always_inline bool __state_have_pending_writers(int state) { in __state_have_pending_writers() 210 static inline __always_inline bool __state_have_pending_readers_or_writers(int state) { in __state_have_pending_readers_or_writers()
|
| D | c32rtomb.cpp | 37 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in c32rtomb() local
|
| D | c16rtomb.cpp | 45 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in c16rtomb() local
|
| /bionic/tests/ |
| D | string_test.cpp | 256 StringTestState<char> state(SMALL); in TEST() local 438 StringTestState<char> state(SMALL); in TEST() local 474 StringTestState<char> state(SMALL); in TEST() local 509 StringTestState<char> state(SMALL); in TEST() local 533 StringTestState<char> state(SMALL); in TEST() local 558 StringTestState<char> state(SMALL); in TEST() local 587 StringTestState<char> state(SMALL); in TEST() local 618 StringTestState<char> state(SMALL); in TEST() local 642 StringTestState<char> state(SMALL); in TEST() local 677 StringTestState<char> state(SMALL); in TEST() local [all …]
|
| /bionic/libc/upstream-netbsd/android/include/sys/ |
| D | sha1.h | 19 uint32_t state[5]; member
|