OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RoundUpToPowerOfTwo
(Results
1 - 16
of
16
) sorted by null
/external/gemmlowp/test/
test_math_helpers.cc
77
Check(
RoundUpToPowerOfTwo
(
RoundUpToPowerOfTwo
(x) ==
RoundUpToPowerOfTwo
(x)));
78
Check(
RoundUpToPowerOfTwo
(x) >= x);
79
Check(x == 0 ||
RoundUpToPowerOfTwo
(x) < 2 * x);
80
Check((
RoundUpToPowerOfTwo
(x) & (
RoundUpToPowerOfTwo
(x) - 1)) == 0);
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
SmallPtrSet.h
203
///
RoundUpToPowerOfTwo
- This is a helper template that rounds N up to the next
206
struct
RoundUpToPowerOfTwo
;
209
/// helper template used to implement
RoundUpToPowerOfTwo
.
219
Val =
RoundUpToPowerOfTwo
<(N|(N-1)) + 1>::Val
224
struct
RoundUpToPowerOfTwo
{
236
enum { SmallSizePowTwo =
RoundUpToPowerOfTwo
<SmallSize>::Val };
/art/libartbase/base/
bit_utils_test.cc
151
static_assert(0 ==
RoundUpToPowerOfTwo
<uint32_t>(0u), "TestRoundUpPowerOfTwo32#1");
152
static_assert(1 ==
RoundUpToPowerOfTwo
<uint32_t>(1u), "TestRoundUpPowerOfTwo32#2");
153
static_assert(2 ==
RoundUpToPowerOfTwo
<uint32_t>(2u), "TestRoundUpPowerOfTwo32#3");
154
static_assert(4 ==
RoundUpToPowerOfTwo
<uint32_t>(3u), "TestRoundUpPowerOfTwo32#4");
155
static_assert(8 ==
RoundUpToPowerOfTwo
<uint32_t>(7u), "TestRoundUpPowerOfTwo32#5");
156
static_assert(0x40000u ==
RoundUpToPowerOfTwo
<uint32_t>(0x2aaaau),
158
static_assert(0x80000000u ==
RoundUpToPowerOfTwo
<uint32_t>(0x40000001u),
160
static_assert(0x80000000u ==
RoundUpToPowerOfTwo
<uint32_t>(0x80000000u),
163
static_assert(0 ==
RoundUpToPowerOfTwo
<uint64_t>(UINT64_C(0)), "TestRoundUpPowerOfTwo64#1");
164
static_assert(1 ==
RoundUpToPowerOfTwo
<uint64_t>(UINT64_C(1)), "TestRoundUpPowerOfTwo64#2")
[
all
...]
bit_struct_detail.h
110
:
RoundUpToPowerOfTwo
(kBitStructSizeOf);
bit_struct_test.cc
30
:
RoundUpToPowerOfTwo
(kBitStructSizeOf);
bit_utils.h
129
constexpr T
RoundUpToPowerOfTwo
(T x) {
/external/llvm/include/llvm/ADT/
SmallPtrSet.h
263
///
RoundUpToPowerOfTwo
- This is a helper template that rounds N up to the next
266
struct
RoundUpToPowerOfTwo
;
269
/// helper template used to implement
RoundUpToPowerOfTwo
.
279
Val =
RoundUpToPowerOfTwo
<(N|(N-1)) + 1>::Val
284
struct
RoundUpToPowerOfTwo
{
362
enum { SmallSizePowTwo =
RoundUpToPowerOfTwo
<SmallSize>::Val };
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
SmallPtrSet.h
313
///
RoundUpToPowerOfTwo
- This is a helper template that rounds N up to the next
316
struct
RoundUpToPowerOfTwo
;
319
/// helper template used to implement
RoundUpToPowerOfTwo
.
329
Val =
RoundUpToPowerOfTwo
<(N|(N-1)) + 1>::Val
334
struct
RoundUpToPowerOfTwo
{
427
enum { SmallSizePowTwo =
RoundUpToPowerOfTwo
<SmallSize>::Val };
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
SmallPtrSet.h
304
///
RoundUpToPowerOfTwo
- This is a helper template that rounds N up to the next
307
struct
RoundUpToPowerOfTwo
;
310
/// helper template used to implement
RoundUpToPowerOfTwo
.
320
Val =
RoundUpToPowerOfTwo
<(N|(N-1)) + 1>::Val
325
struct
RoundUpToPowerOfTwo
{
420
enum { SmallSizePowTwo =
RoundUpToPowerOfTwo
<SmallSize>::Val };
/external/gemmlowp/internal/
allocator.h
100
storage_size_ =
RoundUpToPowerOfTwo
(reserved_bytes_);
common.h
286
Integer
RoundUpToPowerOfTwo
(Integer n) {
/external/compiler-rt/lib/sanitizer_common/
sanitizer_tls_get_addr.cc
55
new_size =
RoundUpToPowerOfTwo
(new_size);
sanitizer_common.h
444
INLINE uptr
RoundUpToPowerOfTwo
(uptr size) {
519
uptr new_capacity =
RoundUpToPowerOfTwo
(size_ + 1);
/art/libdexfile/dex/
type_lookup_table.cc
148
return SupportedSize(num_class_defs) ?
RoundUpToPowerOfTwo
(num_class_defs) * sizeof(Entry) : 0u;
/art/compiler/optimizing/
gvn.cc
287
size_t bucket_count =
RoundUpToPowerOfTwo
(num_entries_ + (num_entries_ >> 1));
/external/compiler-rt/lib/asan/
asan_thread.cc
204
uptr stack_size_log = Log2(
RoundUpToPowerOfTwo
(stack_size));
Completed in 1045 milliseconds