/bionic/benchmarks/ |
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 | malloc_map_benchmark.cpp | 64 static void MapBenchmark(benchmark::State& state, size_t num_elements) { in MapBenchmark() 97 static void BM_std_map_8(benchmark::State& state) { in BM_std_map_8() 102 static void BM_std_map_16(benchmark::State& state) { in BM_std_map_16() 107 static void BM_std_map_32(benchmark::State& state) { in BM_std_map_32() 112 static void BM_std_map_64(benchmark::State& state) { in BM_std_map_64() 117 static void BM_std_map_96(benchmark::State& state) { in BM_std_map_96() 122 static void BM_std_map_128(benchmark::State& state) { in BM_std_map_128() 127 static void BM_std_map_256(benchmark::State& state) { in BM_std_map_256() 132 static void BM_std_map_512(benchmark::State& state) { in BM_std_map_512() 137 static void BM_std_unordered_map_8(benchmark::State& state) { in BM_std_unordered_map_8() [all …]
|
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 | 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 | 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() 58 static void BM_pthread_once(benchmark::State& state) { in BM_pthread_once() 68 static void BM_pthread_mutex_lock(benchmark::State& state) { in BM_pthread_mutex_lock() 78 static void BM_pthread_mutex_lock_ERRORCHECK(benchmark::State& state) { in BM_pthread_mutex_lock_ERRORCHECK() 88 static void BM_pthread_mutex_lock_RECURSIVE(benchmark::State& state) { in BM_pthread_mutex_lock_RECURSIVE() 117 static void BM_pthread_mutex_lock_PI(benchmark::State& state) { in BM_pthread_mutex_lock_PI() 127 static void BM_pthread_mutex_lock_ERRORCHECK_PI(benchmark::State& state) { in BM_pthread_mutex_lock_ERRORCHECK_PI() 137 static void BM_pthread_mutex_lock_RECURSIVE_PI(benchmark::State& state) { in BM_pthread_mutex_lock_RECURSIVE_PI() [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 | 27 static void MallocFree(benchmark::State& state) { in MallocFree() 41 static void BM_stdlib_malloc_free_default(benchmark::State& state) { in BM_stdlib_malloc_free_default() 52 static void BM_stdlib_malloc_free_decay1(benchmark::State& state) { in BM_stdlib_malloc_free_decay1() 62 static void CallocFree(benchmark::State& state) { in CallocFree() 76 static void BM_stdlib_calloc_free_default(benchmark::State& state) { in BM_stdlib_calloc_free_default() 87 static void BM_stdlib_calloc_free_decay1(benchmark::State& state) { in BM_stdlib_calloc_free_decay1() 97 static void MallocMultiple(benchmark::State& state, size_t nbytes, size_t numAllocs) { in MallocMultiple() 115 void BM_stdlib_malloc_forty_default(benchmark::State& state) { in BM_stdlib_malloc_forty_default() 127 void BM_stdlib_malloc_forty_decay1(benchmark::State& state) { in BM_stdlib_malloc_forty_decay1() 137 void BM_stdlib_malloc_multiple_8192_allocs_default(benchmark::State& state) { in BM_stdlib_malloc_multiple_8192_allocs_default() [all …]
|
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 | property_benchmark.cpp | 127 static void BM_property_get(benchmark::State& state) { in BM_property_get() 140 static void BM_property_find(benchmark::State& state) { in BM_property_find() 152 static void BM_property_read(benchmark::State& state) { in BM_property_read() 175 static void BM_property_serial(benchmark::State& state) { in BM_property_serial() 200 static void BM_property_find_real(benchmark::State& state) { in BM_property_find_real()
|
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_sql_benchmark.cpp | 106 static void BM_malloc_sql_trace_default(benchmark::State& state) { in BM_malloc_sql_trace_default() 117 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 | 77 static void init_group_state(group_state_t* state) { in init_group_state() 90 static void init_passwd_state(passwd_state_t* state) { in init_passwd_state() 103 static passwd* android_iinfo_to_passwd(passwd_state_t* state, in android_iinfo_to_passwd() 115 static group* android_iinfo_to_group(group_state_t* state, in android_iinfo_to_group() 436 static passwd* oem_id_to_passwd(uid_t uid, passwd_state_t* state) { in oem_id_to_passwd() 457 static group* oem_id_to_group(gid_t gid, group_state_t* state) { in oem_id_to_group() 482 static passwd* app_id_to_passwd(uid_t uid, passwd_state_t* state) { in app_id_to_passwd() 507 static group* app_id_to_group(gid_t gid, group_state_t* state) { in app_id_to_group() 520 passwd* getpwuid_internal(uid_t uid, passwd_state_t* state) { in getpwuid_internal() 534 passwd_state_t* state = get_passwd_tls_buffer(); in getpwuid() local [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 | 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 | __cxa_guard.cpp | 53 atomic_int state; member 62 atomic_int state; member
|
D | mblen.cpp | 33 mbstate_t state = {}; in mblen() local
|
/bionic/linker/ |
D | linker_gnu_hash_benchmark.cpp | 287 static void BM_gnu_hash_simple(benchmark::State& state) { in BM_gnu_hash_simple() 299 static void BM_gnu_hash_neon(benchmark::State& state) { in BM_gnu_hash_neon()
|
/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/tzcode/ |
D | localtime.c | 122 struct state { struct 123 int leapcnt; 124 int timecnt; 125 int typecnt; 126 int charcnt; 127 bool goback; 128 bool goahead; 152 static struct tm *gmtsub(struct state const *, time_t const *, int_fast32_t, argument
|
/bionic/libc/stdio/ |
D | parsefloat.c | 46 } state = S_START; in parsefloat() local 194 } state = S_START; in wparsefloat() local
|
/bionic/libc/malloc_debug/ |
D | backtrace.cpp | 82 stack_crawl_state_t* state = static_cast<stack_crawl_state_t*>(arg); in trace_function() local 128 stack_crawl_state_t state(frames, frame_count); in backtrace_get() local
|