OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RoundUpToPowerOfTwo
(Results
1 - 25
of
30
) sorted by null
1
2
/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);
/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-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 };
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/
SmallPtrSet.h
321
///
RoundUpToPowerOfTwo
- This is a helper template that rounds N up to the next
324
struct
RoundUpToPowerOfTwo
;
327
/// helper template used to implement
RoundUpToPowerOfTwo
.
337
Val =
RoundUpToPowerOfTwo
<(N|(N-1)) + 1>::Val
342
struct
RoundUpToPowerOfTwo
{
437
enum { SmallSizePowTwo =
RoundUpToPowerOfTwo
<SmallSize>::Val };
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/ADT/
SmallPtrSet.h
323
///
RoundUpToPowerOfTwo
- This is a helper template that rounds N up to the next
326
struct
RoundUpToPowerOfTwo
;
329
/// helper template used to implement
RoundUpToPowerOfTwo
.
339
Val =
RoundUpToPowerOfTwo
<(N|(N-1)) + 1>::Val
344
struct
RoundUpToPowerOfTwo
{
441
enum { SmallSizePowTwo =
RoundUpToPowerOfTwo
<SmallSize>::Val };
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/ADT/
SmallPtrSet.h
323
///
RoundUpToPowerOfTwo
- This is a helper template that rounds N up to the next
326
struct
RoundUpToPowerOfTwo
;
329
/// helper template used to implement
RoundUpToPowerOfTwo
.
339
Val =
RoundUpToPowerOfTwo
<(N|(N-1)) + 1>::Val
344
struct
RoundUpToPowerOfTwo
{
441
enum { SmallSizePowTwo =
RoundUpToPowerOfTwo
<SmallSize>::Val };
/prebuilts/clang/host/darwin-x86/clang-4579689/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 };
/prebuilts/clang/host/darwin-x86/clang-4630689/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 };
/prebuilts/clang/host/darwin-x86/clang-4639204/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 };
/prebuilts/clang/host/darwin-x86/clang-4691093/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 };
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/
SmallPtrSet.h
321
///
RoundUpToPowerOfTwo
- This is a helper template that rounds N up to the next
324
struct
RoundUpToPowerOfTwo
;
327
/// helper template used to implement
RoundUpToPowerOfTwo
.
337
Val =
RoundUpToPowerOfTwo
<(N|(N-1)) + 1>::Val
342
struct
RoundUpToPowerOfTwo
{
437
enum { SmallSizePowTwo =
RoundUpToPowerOfTwo
<SmallSize>::Val };
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/ADT/
SmallPtrSet.h
323
///
RoundUpToPowerOfTwo
- This is a helper template that rounds N up to the next
326
struct
RoundUpToPowerOfTwo
;
329
/// helper template used to implement
RoundUpToPowerOfTwo
.
339
Val =
RoundUpToPowerOfTwo
<(N|(N-1)) + 1>::Val
344
struct
RoundUpToPowerOfTwo
{
441
enum { SmallSizePowTwo =
RoundUpToPowerOfTwo
<SmallSize>::Val };
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/ADT/
SmallPtrSet.h
323
///
RoundUpToPowerOfTwo
- This is a helper template that rounds N up to the next
326
struct
RoundUpToPowerOfTwo
;
329
/// helper template used to implement
RoundUpToPowerOfTwo
.
339
Val =
RoundUpToPowerOfTwo
<(N|(N-1)) + 1>::Val
344
struct
RoundUpToPowerOfTwo
{
441
enum { SmallSizePowTwo =
RoundUpToPowerOfTwo
<SmallSize>::Val };
/prebuilts/clang/host/linux-x86/clang-4579689/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 };
/prebuilts/clang/host/linux-x86/clang-4630689/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 };
/prebuilts/clang/host/linux-x86/clang-4639204/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 };
/prebuilts/clang/host/linux-x86/clang-4691093/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/gemmlowp/internal/
allocator.h
100
storage_size_ =
RoundUpToPowerOfTwo
(reserved_bytes_);
common.h
286
Integer
RoundUpToPowerOfTwo
(Integer n) {
/art/runtime/
type_lookup_table.cc
42
return SupportedSize(num_class_defs) ?
RoundUpToPowerOfTwo
(num_class_defs) * sizeof(Entry) : 0u;
46
return SupportedSize(num_class_defs) ?
RoundUpToPowerOfTwo
(num_class_defs) - 1u : 0u;
/external/compiler-rt/lib/sanitizer_common/
sanitizer_tls_get_addr.cc
55
new_size =
RoundUpToPowerOfTwo
(new_size);
Completed in 537 milliseconds
1
2