Home
last modified time | relevance | path

Searched refs:DoNotOptimize (Results 1 – 11 of 11) sorted by relevance

/bionic/linker/
Dlinker_gnu_hash_benchmark.cpp290 benchmark::DoNotOptimize(calculate_gnu_hash_simple(sym_name)); in BM_gnu_hash_simple()
302 benchmark::DoNotOptimize(calculate_gnu_hash_neon(sym_name)); in BM_gnu_hash_neon()
/bionic/benchmarks/
Dstdlib_benchmark.cpp33 benchmark::DoNotOptimize(ptr = malloc(nbytes)); in MallocFree()
68 benchmark::DoNotOptimize(ptr = calloc(1, nbytes)); in CallocFree()
102 benchmark::DoNotOptimize(ptrs[i] = reinterpret_cast<uint8_t*>(malloc(nbytes))); in MallocMultiple()
193 benchmark::DoNotOptimize(mbstowcs(widebuf_aligned, buf_aligned, 500000)); in BM_stdlib_mbstowcs()
Dstring_benchmark.cpp35 benchmark::DoNotOptimize(memcmp(dst_aligned, src_aligned, nbytes)); in BM_string_memcmp()
132 benchmark::DoNotOptimize(strlen(buf_aligned)); in BM_string_strlen()
241 benchmark::DoNotOptimize(strcmp(s1_aligned, s2_aligned)); in BM_string_strcmp()
259 benchmark::DoNotOptimize(strncmp(s1_aligned, s2_aligned, nbytes)); in BM_string_strncmp()
Dget_heap_size_benchmark.cpp58 benchmark::DoNotOptimize(mallinfo().uordblks); in BM_mallinfo()
Dutil.h49 benchmark::DoNotOptimize(__expression); \
Dstdio_benchmark.cpp159 benchmark::DoNotOptimize(fgetc(fp)); in FopenFgetcFclose()
/bionic/tests/
Dfenv_test.cpp29 DoNotOptimize(x = f + m); in TestRounding()
31 DoNotOptimize(x = x - m); in TestRounding()
38 DoNotOptimize(123.0f / zero); in DivideByZero()
Dutils.h301 static inline void DoNotOptimize(Tp const& value) { in DoNotOptimize() function
305 static inline void DoNotOptimize(Tp& value) { in DoNotOptimize() function
Dmalloc_test.cpp931 DoNotOptimize(ptr = malloc(size)); in TEST()
945 DoNotOptimize(ptr = malloc(size)); in TEST()
Dunistd_test.cpp684 DoNotOptimize(x); in HwasanVforkTestChild()
701 DoNotOptimize(x); in HwasanVforkTestParent()
/bionic/libc/system_properties/
Dcontext_lookup_benchmark.cpp92 benchmark::DoNotOptimize(mapping.GetPrefixNodeForName(property.c_str())); in LegacyLookupOreo()
103 benchmark::DoNotOptimize(mapping.GetPrefixNodeForName(property.c_str())); in LegacyLookupS()