Searched refs:Log2Floor (Results 1 – 9 of 9) sorted by relevance
/external/libchrome/base/ |
D | bits_unittest.cc | 19 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 …]
|
D | bits.h | 169 inline int Log2Floor(uint32_t n) { in Log2Floor() function
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | bits.h | 25 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/ |
D | spectrogram.cc | 46 inline int Log2Floor(uint32_t n) { in Log2Floor() function 62 int floor = Log2Floor(n); in Log2Ceiling()
|
/external/pdfium/third_party/base/ |
D | bits.h | 171 inline int Log2Floor(uint32_t n) { in Log2Floor() function
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
D | microdump_writer.cc | 78 int Log2Floor(uint64_t n) { in Log2Floor() function 555 ++hole_histogram[Log2Floor(hole_sz)]; in DumpFreeSpace()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | reduction_gpu_kernels.cu.h | 777 int log2 = Log2Floor(grid_dim.y); 821 int log2 = Log2Floor(grid_dim.y);
|
/external/brotli/c/dec/ |
D | decode.c | 463 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/ |
D | hlo_cost_analysis.cc | 702 log_factors *= tensorflow::Log2Floor(dim); in HandleFft()
|