Home
last modified time | relevance | path

Searched refs:Log2Floor (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/base/
Dbits_unittest.cc19 TEST(BitsTest, Log2Floor) { in TEST() argument
20 EXPECT_EQ(-1, Log2Floor(0)); in TEST()
21 EXPECT_EQ(0, Log2Floor(1)); in TEST()
22 EXPECT_EQ(1, Log2Floor(2)); in TEST()
23 EXPECT_EQ(1, Log2Floor(3)); in TEST()
24 EXPECT_EQ(2, Log2Floor(4)); in TEST()
27 EXPECT_EQ(i, Log2Floor(value)); in TEST()
28 EXPECT_EQ(i, Log2Floor(value + 1)); in TEST()
29 EXPECT_EQ(i, Log2Floor(value + 2)); in TEST()
30 EXPECT_EQ(i - 1, Log2Floor(value - 1)); in TEST()
[all …]
Dbits.h169 inline int Log2Floor(uint32_t n) { in Log2Floor() function
/external/tensorflow/tensorflow/core/lib/core/
Dbits.h25 int Log2Floor(uint32 n);
39 inline int Log2Floor(uint32 n) { return n == 0 ? -1 : 31 ^ __builtin_clz(n); } in Log2Floor() function
49 inline int Log2Floor(uint32 n) { in Log2Floor() function
71 return Log2Floor(static_cast<uint32>(n)); in Log2Floor64()
73 return 32 + Log2Floor(topbits); in Log2Floor64()
80 int floor = Log2Floor(n); in Log2Ceiling()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dspectrogram.cc46 inline int Log2Floor(uint32_t n) { in Log2Floor() function
62 int floor = Log2Floor(n); in Log2Ceiling()
/external/pdfium/third_party/base/
Dbits.h171 inline int Log2Floor(uint32_t n) { in Log2Floor() function
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer.cc78 int Log2Floor(uint64_t n) { in Log2Floor() function
555 ++hole_histogram[Log2Floor(hole_sz)]; in DumpFreeSpace()
/external/tensorflow/tensorflow/core/kernels/
Dreduction_gpu_kernels.cu.h777 int log2 = Log2Floor(grid_dim.y);
821 int log2 = Log2Floor(grid_dim.y);
/external/brotli/c/dec/
Ddecode.c463 static BROTLI_INLINE uint32_t Log2Floor(uint32_t x) { in Log2Floor() function
481 uint32_t max_bits = Log2Floor(alphabet_size_max - 1); in ReadSimpleHuffmanSymbols()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_cost_analysis.cc702 log_factors *= tensorflow::Log2Floor(dim); in HandleFft()