Home
last modified time | relevance | path

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

1234

/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.cpp40 static void BM_time_clock_gettime(benchmark::State& state) { in BM_time_clock_gettime()
49 static void BM_time_clock_gettime_syscall(benchmark::State& state) { in BM_time_clock_gettime_syscall()
58 static void BM_time_clock_gettime_MONOTONIC_COARSE(benchmark::State& state) { in BM_time_clock_gettime_MONOTONIC_COARSE()
67 static void BM_time_clock_gettime_MONOTONIC_RAW(benchmark::State& state) { in BM_time_clock_gettime_MONOTONIC_RAW()
76 static void BM_time_clock_gettime_REALTIME(benchmark::State& state) { in BM_time_clock_gettime_REALTIME()
85 static void BM_time_clock_gettime_REALTIME_COARSE(benchmark::State& state) { in BM_time_clock_gettime_REALTIME_COARSE()
94 static void BM_time_clock_gettime_BOOTTIME(benchmark::State& state) { in BM_time_clock_gettime_BOOTTIME()
103 static void BM_time_clock_getres(benchmark::State& state) { in BM_time_clock_getres()
112 static void BM_time_clock_getres_syscall(benchmark::State& state) { in BM_time_clock_getres_syscall()
121 static void BM_time_clock_getres_MONOTONIC_COARSE(benchmark::State& state) { in BM_time_clock_getres_MONOTONIC_COARSE()
[all …]
Dsyscall_mm_benchmark.cpp48 void MmapBenchmarkImpl(benchmark::State& state, const struct MmapParams& params, int fd, in MmapBenchmarkImpl()
75 static void MmapBenchmark(benchmark::State& state, const struct MmapParams& params, int fd, in MmapBenchmark()
80 static void MmapFixedBenchmark(benchmark::State& state, const struct MmapParams& params, int fd, in MmapFixedBenchmark()
103 static void MmapFileBenchmark(benchmark::State& state, const struct MmapParams& params, in MmapFileBenchmark()
128 static void BM_syscall_mmap_anon_rw(benchmark::State& state) { in BM_syscall_mmap_anon_rw()
139 static void BM_syscall_mmap_anon_noreserve(benchmark::State& state) { in BM_syscall_mmap_anon_noreserve()
150 static void BM_syscall_mmap_anon_none(benchmark::State& state) { in BM_syscall_mmap_anon_none()
162 static void BM_syscall_mmap_anon_rw_fixed(benchmark::State& state) { in BM_syscall_mmap_anon_rw_fixed()
173 static void BM_syscall_mmap_anon_none_fixed(benchmark::State& state) { in BM_syscall_mmap_anon_none_fixed()
185 static void BM_syscall_mmap_file_rd_priv(benchmark::State& state) { in BM_syscall_mmap_file_rd_priv()
[all …]
Dstdio_benchmark.cpp38 void ReadWriteTest(benchmark::State& state, Fn f, bool buffered) { in ReadWriteTest()
67 void BM_stdio_fread(benchmark::State& state) { in BM_stdio_fread()
72 void BM_stdio_fwrite(benchmark::State& state) { in BM_stdio_fwrite()
77 void BM_stdio_fread_unbuffered(benchmark::State& state) { in BM_stdio_fread_unbuffered()
82 void BM_stdio_fwrite_unbuffered(benchmark::State& state) { in BM_stdio_fwrite_unbuffered()
88 static void FopenFgetlnFclose(benchmark::State& state, bool no_locking) { in FopenFgetlnFclose()
101 static void BM_stdio_fopen_fgetln_fclose_locking(benchmark::State& state) { in BM_stdio_fopen_fgetln_fclose_locking()
106 void BM_stdio_fopen_fgetln_fclose_no_locking(benchmark::State& state) { in BM_stdio_fopen_fgetln_fclose_no_locking()
112 static void FopenFgetsFclose(benchmark::State& state, bool no_locking) { in FopenFgetsFclose()
125 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()
79 static void BM_pthread_mutex_lock_ERRORCHECK(benchmark::State& state) { in BM_pthread_mutex_lock_ERRORCHECK()
91 static void BM_pthread_mutex_lock_RECURSIVE(benchmark::State& state) { in BM_pthread_mutex_lock_RECURSIVE()
121 static void BM_pthread_mutex_lock_PI(benchmark::State& state) { in BM_pthread_mutex_lock_PI()
131 static void BM_pthread_mutex_lock_ERRORCHECK_PI(benchmark::State& state) { in BM_pthread_mutex_lock_ERRORCHECK_PI()
141 static void BM_pthread_mutex_lock_RECURSIVE_PI(benchmark::State& state) { in BM_pthread_mutex_lock_RECURSIVE_PI()
[all …]
Dstdlib_benchmark.cpp28 static void MallocFree(benchmark::State& state) { in MallocFree()
42 static void BM_stdlib_malloc_free_default(benchmark::State& state) { in BM_stdlib_malloc_free_default()
55 static void BM_stdlib_malloc_free_decay1(benchmark::State& state) { in BM_stdlib_malloc_free_decay1()
65 static void CallocFree(benchmark::State& state) { in CallocFree()
79 static void BM_stdlib_calloc_free_default(benchmark::State& state) { in BM_stdlib_calloc_free_default()
92 static void BM_stdlib_calloc_free_decay1(benchmark::State& state) { in BM_stdlib_calloc_free_decay1()
102 static void MallocMultiple(benchmark::State& state, size_t nbytes, size_t numAllocs) { in MallocMultiple()
120 void BM_stdlib_malloc_forty_default(benchmark::State& state) { in BM_stdlib_malloc_forty_default()
133 void BM_stdlib_malloc_forty_decay1(benchmark::State& state) { in BM_stdlib_malloc_forty_decay1()
143 void BM_stdlib_malloc_multiple_8192_allocs_default(benchmark::State& state) { in BM_stdlib_malloc_multiple_8192_allocs_default()
[all …]
Datomic_benchmark.cpp50 void BM_atomic_empty(benchmark::State& state) { in BM_atomic_empty()
57 static void BM_atomic_load_relaxed(benchmark::State& state) { in BM_atomic_load_relaxed()
67 static void BM_atomic_load_acquire(benchmark::State& state) { in BM_atomic_load_acquire()
77 static void BM_atomic_store_release(benchmark::State& state) { in BM_atomic_store_release()
86 static void BM_atomic_store_seq_cst(benchmark::State& state) { in BM_atomic_store_seq_cst()
95 static void BM_atomic_fetch_add_relaxed(benchmark::State& state) { in BM_atomic_fetch_add_relaxed()
105 static void BM_atomic_fetch_add_seq_cst(benchmark::State& state) { in BM_atomic_fetch_add_seq_cst()
118 static void BM_atomic_acquire_fence(benchmark::State& state) { in BM_atomic_acquire_fence()
129 static void BM_atomic_seq_cst_fence(benchmark::State& state) { in BM_atomic_seq_cst_fence()
142 static void BM_atomic_fetch_add_cs(benchmark::State& state) { in BM_atomic_fetch_add_cs()
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.cpp130 static void BM_property_get(benchmark::State& state) { in BM_property_get()
143 static void BM_property_find(benchmark::State& state) { in BM_property_find()
155 static void BM_property_read(benchmark::State& state) { in BM_property_read()
178 static void BM_property_serial(benchmark::State& state) { in BM_property_serial()
203 static void BM_property_find_real(benchmark::State& state) { in BM_property_find_real()
Dmalloc_benchmark.cpp44 static void RunMalloptPurge(benchmark::State& state, int purge_value) { in RunMalloptPurge()
77 static void RunThreadsThroughput(benchmark::State& state, size_t size, size_t num_threads) { in RunThreadsThroughput()
160 static void BM_mallopt_purge(benchmark::State& state) { in BM_mallopt_purge()
165 static void BM_mallopt_purge_all(benchmark::State& state) { in BM_mallopt_purge_all()
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.cpp107 static void BM_malloc_sql_trace_default(benchmark::State& state) { in BM_malloc_sql_trace_default()
120 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()
74 static size_t finish_surrogate(char16_t* pc16, mbstate_t* state) { in finish_surrogate()
84 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
142 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in wcrtomb() local
150 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in wcsnrtombs() local
Dpthread_rwlock.cpp159 atomic_int state; member
185 static inline __always_inline bool __state_owned_by_writer(int state) { in __state_owned_by_writer()
189 static inline __always_inline bool __state_owned_by_readers(int state) { in __state_owned_by_readers()
195 static inline __always_inline bool __state_owned_by_readers_or_writer(int state) { in __state_owned_by_readers_or_writer()
199 static inline __always_inline int __state_add_writer_flag(int state) { in __state_add_writer_flag()
203 static inline __always_inline bool __state_is_last_reader(int state) { in __state_is_last_reader()
207 static inline __always_inline bool __state_have_pending_writers(int state) { in __state_have_pending_writers()
211 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
Dexecinfo.cpp88 StackState* state = static_cast<StackState*>(arg); in TraceFunction() local
98 StackState state(buffer, size); in backtrace() local
/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.cpp267 StringTestState<char> state(SMALL); in TEST() local
450 StringTestState<char> state(SMALL); in TEST() local
486 StringTestState<char> state(SMALL); in TEST() local
521 StringTestState<char> state(SMALL); in TEST() local
545 StringTestState<char> state(SMALL); in TEST() local
570 StringTestState<char> state(SMALL); in TEST() local
599 StringTestState<char> state(SMALL); in TEST() local
630 StringTestState<char> state(SMALL); in TEST() local
654 StringTestState<char> state(SMALL); in TEST() local
689 StringTestState<char> state(SMALL); in TEST() local
[all …]

1234