V8 Project
bits.h File Reference
#include "include/v8stdint.h"
#include "src/base/macros.h"
+ Include dependency graph for bits.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 v8
 Debugger support for the V8 JavaScript engine.
 
 v8::base
 
 v8::base::bits
 

Functions

uint32_t v8::base::bits::CountPopulation32 (uint32_t value)
 
uint32_t v8::base::bits::CountLeadingZeros32 (uint32_t value)
 
uint32_t v8::base::bits::CountTrailingZeros32 (uint32_t value)
 
bool v8::base::bits::IsPowerOfTwo32 (uint32_t value)
 
bool v8::base::bits::IsPowerOfTwo64 (uint64_t value)
 
uint32_t v8::base::bits::RoundUpToPowerOfTwo32 (uint32_t value)
 
uint32_t v8::base::bits::RoundDownToPowerOfTwo32 (uint32_t value)
 
uint32_t v8::base::bits::RotateRight32 (uint32_t value, uint32_t shift)
 
uint64_t v8::base::bits::RotateRight64 (uint64_t value, uint64_t shift)
 
bool v8::base::bits::SignedAddOverflow32 (int32_t lhs, int32_t rhs, int32_t *val)
 
bool v8::base::bits::SignedSubOverflow32 (int32_t lhs, int32_t rhs, int32_t *val)