Home
last modified time | relevance | path

Searched defs:state (Results 1 – 25 of 69) sorted by relevance

123

/bionic/benchmarks/
Dmath_benchmark.cpp26 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 …]
Dmalloc_map_benchmark.cpp64 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 …]
Dtime_benchmark.cpp25 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 …]
Dstdio_benchmark.cpp38 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 …]
Dpthread_benchmark.cpp25 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 …]
Datomic_benchmark.cpp48 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()
Dstdlib_benchmark.cpp27 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 …]
Dstring_benchmark.cpp24 static void BM_string_memcmp(benchmark::State& state) { in BM_string_memcmp()
42 static void BM_string_memcpy(benchmark::State& state) { in BM_string_memcpy()
60 static void BM_string_memmove_non_overlapping(benchmark::State& state) { in BM_string_memmove_non_overlapping()
78 static void BM_string_memmove_overlap_dst_before_src(benchmark::State& state) { in BM_string_memmove_overlap_dst_before_src()
93 static void BM_string_memmove_overlap_src_before_dst(benchmark::State& state) { in BM_string_memmove_overlap_src_before_dst()
108 static void BM_string_memset(benchmark::State& state) { in BM_string_memset()
123 static void BM_string_strlen(benchmark::State& state) { in BM_string_strlen()
139 static void BM_string_strcat_copy_only(benchmark::State& state) { in BM_string_strcat_copy_only()
162 static void BM_string_strcat_seek_only(benchmark::State& state) { in BM_string_strcat_seek_only()
183 static void BM_string_strcat_half_copy_half_seek(benchmark::State& state) { in BM_string_strcat_half_copy_half_seek()
[all …]
Dproperty_benchmark.cpp127 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()
Dsemaphore_benchmark.cpp26 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()
Dget_heap_size_benchmark.cpp43 static void BM_mallinfo(benchmark::State& state) { in BM_mallinfo()
73 static void BM_read_statm(benchmark::State& state) { in BM_read_statm()
Dmalloc_sql_benchmark.cpp106 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/
Dopen_wmemstream.c30 struct state { struct
37 mbstate_t mbs; /* conversion state of the stream */ argument
Dopen_memstream.c29 struct state { struct
41 struct state *st = v; in memstream_write() argument
/bionic/libc/bionic/
Dgrp_pwd.cpp83 static void init_group_state(group_state_t* state) { in init_group_state()
96 static void init_passwd_state(passwd_state_t* state) { in init_passwd_state()
109 static passwd* android_iinfo_to_passwd(passwd_state_t* state, in android_iinfo_to_passwd()
121 static group* android_iinfo_to_group(group_state_t* state, in android_iinfo_to_group()
456 static passwd* oem_id_to_passwd(uid_t uid, passwd_state_t* state) { in oem_id_to_passwd()
477 static group* oem_id_to_group(gid_t gid, group_state_t* state) { in oem_id_to_group()
502 static passwd* app_id_to_passwd(uid_t uid, passwd_state_t* state) { in app_id_to_passwd()
527 static group* app_id_to_group(gid_t gid, group_state_t* state) { in app_id_to_group()
540 passwd* getpwuid_internal(uid_t uid, passwd_state_t* state) { in getpwuid_internal()
554 passwd_state_t* state = get_passwd_tls_buffer(); in getpwuid() local
[all …]
Dmbrtoc16.cpp36 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
Dwchar.cpp62 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
Dpthread_rwlock.cpp158 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.cpp53 atomic_int state; member
62 atomic_int state; member
/bionic/libc/system_properties/
Dcontext_lookup_benchmark.cpp87 static void LegacyLookupOreo(benchmark::State& state) { in LegacyLookupOreo()
98 static void LegacyLookupS(benchmark::State& state) { in LegacyLookupS()
123 static void TrieLookupOreo(benchmark::State& state) { in TrieLookupOreo()
135 static void TrieLookupS(benchmark::State& state) { in TrieLookupS()
/bionic/linker/
Dlinker_gnu_hash_benchmark.cpp287 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/
Dstring_test.cpp261 StringTestState<char> state(SMALL); in TEST() local
443 StringTestState<char> state(SMALL); in TEST() local
479 StringTestState<char> state(SMALL); in TEST() local
514 StringTestState<char> state(SMALL); in TEST() local
538 StringTestState<char> state(SMALL); in TEST() local
563 StringTestState<char> state(SMALL); in TEST() local
592 StringTestState<char> state(SMALL); in TEST() local
623 StringTestState<char> state(SMALL); in TEST() local
647 StringTestState<char> state(SMALL); in TEST() local
682 StringTestState<char> state(SMALL); in TEST() local
[all …]
/bionic/libc/kernel/uapi/linux/
Dvirtio_mem.h51 struct virtio_mem_req_state state; member
62 __virtio16 state; member
68 struct virtio_mem_resp_state state; member
/bionic/libc/tzcode/
Dlocaltime.c122 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/
Dparsefloat.c46 } state = S_START; in parsefloat() local
194 } state = S_START; in wparsefloat() local

123