/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRBitSet.m | 107 bitVector = CFBitVectorCreateMutable(kCFAllocatorDefault,0); 115 bitVector = CFBitVectorCreateMutable(kCFAllocatorDefault,0); 116 if ((CFIndex)type >= CFBitVectorGetCount(bitVector)) 117 CFBitVectorSetCount(bitVector, type+1); 118 CFBitVectorSetBitAtIndex(bitVector, type, 1); 126 bitVector = CFBitVectorCreateMutable(kCFAllocatorDefault,0); 127 CFBitVectorSetCount( bitVector, nbits ); 135 bitVector = theBitVector; 147 bitVector = CFBitVectorCreateMutable ( kCFAllocatorDefault, 0 ); 148 CFBitVectorSetCount( bitVector, sizeof(unsigned long long)*8*longCount ) [all...] |
/art/runtime/base/ |
bit_vector.h | 32 * from zero. All operations on a BitVector are unsynchronized. 34 class BitVector { 39 * @brief Convenient iterator across the indexes of the BitVector's set bits. 42 * to the highest index of the BitVector's set bits. Instances can be retrieved 43 * only through BitVector::Indexes() which returns an IndexContainer wrapper 73 IndexIterator(const BitVector* bit_vector, begin_tag) 78 IndexIterator(const BitVector* bit_vector, end_tag) 92 friend class BitVector::IndexContainer; 96 * @brief BitVector wrapper class for iteration across indexes of set bits. 100 explicit IndexContainer(const BitVector* bit_vector) : bit_vector_(bit_vector) { [all...] |
bit_vector-inl.h | 26 inline bool BitVector::IndexIterator::operator==(const IndexIterator& other) const { 32 inline uint32_t BitVector::IndexIterator::operator*() const { 37 inline BitVector::IndexIterator& BitVector::IndexIterator::operator++() { 43 inline BitVector::IndexIterator BitVector::IndexIterator::operator++(int) { 49 inline uint32_t BitVector::IndexIterator::FindIndex(uint32_t start_index) const { 68 inline void BitVector::ClearAllBits() { 72 inline bool BitVector::Equal(const BitVector* src) const [all...] |
bit_vector_test.cc | 25 TEST(BitVector, Test) { 28 BitVector bv(kBits, false, Allocator::GetMallocAllocator()); 58 BitVector::IndexIterator iterator = bv.Indexes().begin(); 68 TEST(BitVector, NoopAllocator) { 74 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits); 125 TEST(BitVector, SetInitialBits) { 131 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits); 144 TEST(BitVector, UnionIfNotIn) { 146 BitVector first(2, true, Allocator::GetMallocAllocator()); 147 BitVector second(5, true, Allocator::GetMallocAllocator()) [all...] |
bit_vector.cc | 27 BitVector::BitVector(bool expandable, 41 BitVector::BitVector(uint32_t start_bits, 44 : BitVector(expandable, 51 BitVector::BitVector(const BitVector& src, 54 : BitVector(expandable, 62 BitVector::~BitVector() [all...] |
/external/v8/src/ |
bit-vector.h | 14 class BitVector : public ZoneObject { 16 // Iterator for the elements of this BitVector. 19 explicit Iterator(BitVector* target) 53 BitVector* target_; 58 friend class BitVector; 65 BitVector(int length, Zone* zone) 73 BitVector(const BitVector& other, Zone* zone) 85 void CopyFrom(const BitVector& other) { 113 void Union(const BitVector& other) [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
BitVector.h | 1 //===- llvm/ADT/BitVector.h - Bit vectors -----------------------*- C++ -*-===// 10 // This file implements the BitVector class. 26 class BitVector { 32 unsigned Size; // Size of bitvector in bits. 38 friend class BitVector; 46 reference(BitVector &b, unsigned Idx) { 72 /// BitVector default ctor - Creates an empty bitvector. 73 BitVector() : Size(0), Capacity(0) { 77 /// BitVector ctor - Creates a bitvector of specified number of bits. Al [all...] |
/external/v8/src/crankshaft/ |
hydrogen-environment-liveness.h | 30 void ZapEnvironmentSlotsInSuccessors(HBasicBlock* block, BitVector* live); 32 void UpdateLivenessAtBlockEnd(HBasicBlock* block, BitVector* live); 33 void UpdateLivenessAtInstruction(HInstruction* instr, BitVector* live); 45 ZoneList<BitVector*> live_at_block_start_; 47 ZoneList<BitVector*> first_simulate_invalid_for_index_; 59 BitVector went_live_since_last_simulate_;
|
/external/llvm/include/llvm/ADT/ |
BitVector.h | 1 //===- llvm/ADT/BitVector.h - Bit vectors -----------------------*- C++ -*-===// 10 // This file implements the BitVector class. 27 class BitVector { 36 unsigned Size; // Size of bitvector in bits. 43 friend class BitVector; 51 reference(BitVector &b, unsigned Idx) { 77 /// BitVector default ctor - Creates an empty bitvector. 78 BitVector() : Size(0), Capacity(0) { 82 /// BitVector ctor - Creates a bitvector of specified number of bits. Al [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
BitVector.h | 1 //===- llvm/ADT/BitVector.h - Bit vectors -----------------------*- C++ -*-===// 10 // This file implements the BitVector class. 28 class BitVector { 37 unsigned Size; // Size of bitvector in bits. 44 friend class BitVector; 50 reference(BitVector &b, unsigned Idx) { 77 /// BitVector default ctor - Creates an empty bitvector. 78 BitVector() : Size(0), Capacity(0) { 82 /// BitVector ctor - Creates a bitvector of specified number of bits. Al [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/ADT/ |
BitVector.h | 1 //===- llvm/ADT/BitVector.h - Bit vectors -----------------------*- C++ -*-===// 10 // This file implements the BitVector class. 28 class BitVector { 37 unsigned Size; // Size of bitvector in bits. 44 friend class BitVector; 50 reference(BitVector &b, unsigned Idx) { 77 /// BitVector default ctor - Creates an empty bitvector. 78 BitVector() : Size(0), Capacity(0) { 82 /// BitVector ctor - Creates a bitvector of specified number of bits. Al [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/ADT/ |
BitVector.h | 1 //===- llvm/ADT/BitVector.h - Bit vectors -----------------------*- C++ -*-===// 10 // This file implements the BitVector class. 28 class BitVector { 37 unsigned Size; // Size of bitvector in bits. 44 friend class BitVector; 50 reference(BitVector &b, unsigned Idx) { 77 /// BitVector default ctor - Creates an empty bitvector. 78 BitVector() : Size(0), Capacity(0) { 82 /// BitVector ctor - Creates a bitvector of specified number of bits. Al [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/ADT/ |
BitVector.h | 1 //===- llvm/ADT/BitVector.h - Bit vectors -----------------------*- C++ -*-===// 10 // This file implements the BitVector class. 28 class BitVector { 37 unsigned Size; // Size of bitvector in bits. 44 friend class BitVector; 50 reference(BitVector &b, unsigned Idx) { 77 /// BitVector default ctor - Creates an empty bitvector. 78 BitVector() : Size(0), Capacity(0) { 82 /// BitVector ctor - Creates a bitvector of specified number of bits. Al [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
BitVector.h | 1 //===- llvm/ADT/BitVector.h - Bit vectors -----------------------*- C++ -*-===// 10 // This file implements the BitVector class. 28 class BitVector { 37 unsigned Size; // Size of bitvector in bits. 44 friend class BitVector; 50 reference(BitVector &b, unsigned Idx) { 77 /// BitVector default ctor - Creates an empty bitvector. 78 BitVector() : Size(0), Capacity(0) { 82 /// BitVector ctor - Creates a bitvector of specified number of bits. Al [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/ADT/ |
BitVector.h | 1 //===- llvm/ADT/BitVector.h - Bit vectors -----------------------*- C++ -*-===// 10 // This file implements the BitVector class. 28 class BitVector { 37 unsigned Size; // Size of bitvector in bits. 44 friend class BitVector; 50 reference(BitVector &b, unsigned Idx) { 77 /// BitVector default ctor - Creates an empty bitvector. 78 BitVector() : Size(0), Capacity(0) { 82 /// BitVector ctor - Creates a bitvector of specified number of bits. Al [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/ADT/ |
BitVector.h | 1 //===- llvm/ADT/BitVector.h - Bit vectors -----------------------*- C++ -*-===// 10 // This file implements the BitVector class. 28 class BitVector { 37 unsigned Size; // Size of bitvector in bits. 44 friend class BitVector; 50 reference(BitVector &b, unsigned Idx) { 77 /// BitVector default ctor - Creates an empty bitvector. 78 BitVector() : Size(0), Capacity(0) { 82 /// BitVector ctor - Creates a bitvector of specified number of bits. Al [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/ADT/ |
BitVector.h | 1 //===- llvm/ADT/BitVector.h - Bit vectors -----------------------*- C++ -*-===// 10 // This file implements the BitVector class. 28 class BitVector { 37 unsigned Size; // Size of bitvector in bits. 44 friend class BitVector; 50 reference(BitVector &b, unsigned Idx) { 77 /// BitVector default ctor - Creates an empty bitvector. 78 BitVector() : Size(0), Capacity(0) { 82 /// BitVector ctor - Creates a bitvector of specified number of bits. Al [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
BitVector.h | 1 //===- llvm/ADT/BitVector.h - Bit vectors -----------------------*- C++ -*-===// 10 // This file implements the BitVector class. 28 class BitVector { 37 unsigned Size; // Size of bitvector in bits. 44 friend class BitVector; 50 reference(BitVector &b, unsigned Idx) { 77 /// BitVector default ctor - Creates an empty bitvector. 78 BitVector() : Size(0), Capacity(0) { 82 /// BitVector ctor - Creates a bitvector of specified number of bits. Al [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
RegisterScavenging.h | 21 #include "llvm/ADT/BitVector.h" 58 /// CalleeSavedrRegs - A bitvector of callee saved registers for the target. 60 BitVector CalleeSavedRegs; 62 /// ReservedRegs - A bitvector of reserved registers. 64 BitVector ReservedRegs; 69 BitVector RegsAvailable; 99 void getRegsUsed(BitVector &used, bool includeReserved); 103 BitVector getRegsAvailable(const TargetRegisterClass *RC); 141 void setUsed(BitVector &Regs) { 144 void setUnused(BitVector &Regs) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
GlobPattern.h | 18 #include "llvm/ADT/BitVector.h" 27 class BitVector; 36 bool matchOne(ArrayRef<BitVector> Pat, StringRef S) const; 39 std::vector<BitVector> Tokens;
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
GlobPattern.h | 18 #include "llvm/ADT/BitVector.h" 27 class BitVector; 36 bool matchOne(ArrayRef<BitVector> Pat, StringRef S) const; 39 std::vector<BitVector> Tokens;
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
GlobPattern.h | 18 #include "llvm/ADT/BitVector.h" 27 class BitVector; 36 bool matchOne(ArrayRef<BitVector> Pat, StringRef S) const; 39 std::vector<BitVector> Tokens;
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
GlobPattern.h | 18 #include "llvm/ADT/BitVector.h" 27 class BitVector; 36 bool matchOne(ArrayRef<BitVector> Pat, StringRef S) const; 39 std::vector<BitVector> Tokens;
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
GlobPattern.h | 18 #include "llvm/ADT/BitVector.h" 27 class BitVector; 36 bool matchOne(ArrayRef<BitVector> Pat, StringRef S) const; 39 std::vector<BitVector> Tokens;
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
GlobPattern.h | 18 #include "llvm/ADT/BitVector.h" 27 class BitVector; 36 bool matchOne(ArrayRef<BitVector> Pat, StringRef S) const; 39 std::vector<BitVector> Tokens;
|