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/pdfium/third_party/base/ |
D | bits.h | 25 inline int Log2Floor(uint32_t n) { in Log2Floor() function 48 return 1 + Log2Floor(n - 1); 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/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_cost_analysis.cc | 543 log_factors *= tensorflow::Log2Floor(dim); in HandleFft()
|
D | hlo_evaluator_typed_visitor.h | 2464 return 31 - tensorflow::Log2Floor(elem_operand); in HandleClz()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | reduction_gpu_kernels.cu.h | 630 int log2 = Log2Floor(grid_dim.y); 669 int log2 = Log2Floor(grid_dim.y);
|
/external/brotli/c/dec/ |
D | decode.c | 460 static BROTLI_INLINE uint32_t Log2Floor(uint32_t x) { in Log2Floor() function 476 uint32_t max_bits = Log2Floor(alphabet_size - 1); in ReadSimpleHuffmanSymbols()
|