Home
last modified time | relevance | path

Searched refs:log2 (Results 1 – 25 of 73) sorted by relevance

123

/aosp12/frameworks/base/libs/protoutil/tests/
H A DProtoOutputStream_test.cpp215 ComplexProto::Log log2 = complex.logs(1); in TEST() local
216 EXPECT_EQ(log2.id(), 98); in TEST()
217 EXPECT_THAT(log2.name(), StrEq(name2.c_str())); in TEST()
218 EXPECT_THAT(log2.data(), StrEq("food")); in TEST()
256 ComplexProto::Log log2 = complex.logs(1); in TEST() local
257 EXPECT_EQ(log2.id(), 98); in TEST()
259 EXPECT_THAT(log2.data(), StrEq("food")); in TEST()
313 ComplexProto::Log log2 = complex.logs(1); in TEST() local
314 EXPECT_EQ(log2.id(), 14); in TEST()
315 EXPECT_FALSE(log2.has_name()); in TEST()
[all …]
/aosp12/bionic/libm/x86_64/
H A De_log10.S106 movq log2(%rip), %xmm6
117 mulsd 8+log2(%rip), %xmm7
763 log2: label
768 .type log2,@object
769 .size log2,16
H A Ds_log1p.S117 movq log2(%rip), %xmm6
130 mulsd 8+log2(%rip), %xmm4
769 log2: label
774 .type log2,@object
775 .size log2,16
/aosp12/system/extras/tests/kernel.config/
H A Daslr_test.cpp153 …unsigned int e_bits = (int) (std::ceil(std::log2(max_addr - min_addr)) - std::log2(getpagesize())); in calc_mmap_entropy()
193 unsigned int pgbits = std::log2(getpagesize()); in SetUpTestCase()
206 unsigned int pgbits = std::log2(getpagesize()); in SetUpTestCase()
/aosp12/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/cdc/
H A DIsChunkBreakpoint.java53 mLeadingZeros = (int) Math.round(log2(averageNumberOfTrialsUntilBreakpoint)); in IsChunkBreakpoint()
75 private static double log2(double x) { in log2() method in IsChunkBreakpoint
/aosp12/packages/apps/Camera2/src/com/android/camera/util/
H A DExifUtil.java143 Double shutterSpeedValue = -log2(exposureTime);
156 Double apertureValue = 2 * log2(fNumber);
208 private Double log2(Float value) {
215 private Double log2(Double value) {
/aosp12/frameworks/base/core/tests/mockingcoretests/src/android/util/
H A DTimingsTraceLogTest.java94 TimingsTraceLog log2 = new TimingsTraceLog(TAG, TRACE_TAG_APP); in testDifferentThreads()
95 log2.traceBegin("test"); in testDifferentThreads()
96 log2.traceEnd(); in testDifferentThreads()
/aosp12/packages/modules/StatsD/lib/libkll/
H A Dcompactor_stack.cpp37 double raw_k = inv_eps * std::sqrt(std::log2(inv_delta)); in CompactorStack()
38 k_ = std::pow(2, std::lround(std::log2(raw_k))); in CompactorStack()
/aosp12/art/tools/
H A Dbisect_profile.py128 len(meths), 1 + math.floor(math.log2(len(meths)))))
169 len(meth_list), 1 + math.floor(math.log2(len(meth_list)))))
/aosp12/frameworks/av/media/libnblog/include/media/nblog/
H A DReportPerformance.h68 static inline uint32_t log2(uint32_t x) { in log2() function
/aosp12/bionic/libm/upstream-freebsd/lib/msun/src/
H A De_log2.c116 __weak_reference(log2, log2l);
/aosp12/bionic/libc/bionic/
H A Dbionic_allocator.cpp86 static inline uint16_t log2(size_t number) { in log2() function
300 uint16_t log2_size = log2(size); in alloc_impl()
/aosp12/frameworks/av/media/libnblog/
H A DPerformanceAnalysis.cpp116 const size_t maxIncrements = log2(maxCount) + 1; in asciiArtString()
145 increments = log2(binCount) + 1; in asciiArtString()
/aosp12/bionic/libc/include/
H A Dmath.h164 double log2(double __x) __INTRODUCED_IN(18);
166 long double log2l(long double __x) __RENAME_LDBL(log2, 18, 18);
/aosp12/system/memory/libmemunreachable/
H A DAllocator.cpp106 static inline unsigned int log2(size_t n) { in log2() function
112 return log2(size - 1) + 1 - const_log2(kMinBucketAllocationSize); in size_to_bucket()
/aosp12/frameworks/av/media/codecs/amrnb/common/
H A DAndroid.bp50 "src/log2.cpp",
/aosp12/bionic/tests/headers/posix/
H A Dtgmath_h.c97 TGMATH(log2); in tgmath_h()
H A Dmath_h.c250 FUNCTION(log2, double (*f)(double)); in math_h()
/aosp12/system/media/audio_utils/include/audio_utils/
H A DLogPlot.h157 int height = log2(maxCount) + 1; // maxCount > 0, safe to call log2
/aosp12/hardware/knowles/athletico/sound_trigger_hal/tests/
H A Dcrash_analyzer.c18 return log2(number ^ (number & (number - 1))); in find_rightmost_setbit_position()
/aosp12/frameworks/compile/slang/tests/P_math_fp/
H A Dmath_fp.rscript116 TEST_FUNC_1(log2);
/aosp12/bionic/benchmarks/
H A Dmath_benchmark.cpp445 d = log2(d * zerod + *cin); in BM_math_log2_speccpu2017_latency()
456 d = log2(*cin); in BM_math_log2_speccpu2017()
/aosp12/frameworks/av/media/codecs/amrwb/enc/
H A DAndroid.bp48 "src/log2.c",
/aosp12/bionic/libm/
H A Dlibm.map.txt184 log2; # introduced-arm=18 introduced-arm64=21 introduced-x86=18 introduced-x86_64=21
/aosp12/bionic/tests/
H A Dmath_test.cpp643 TEST(MATH_TEST, log2) { in TEST() argument
644 ASSERT_DOUBLE_EQ(12.0, log2(4096.0)); in TEST()
1675 ASSERT_DOUBLE_EQ(5.0, exp2(log2(5))); in TEST()
1989 DoMathDataTest<1>(g_log2_intel_data, log2); in TEST()

123