/dalvik/vm/ |
BitVector.h | 27 * All operations on a BitVector are unsynchronized. 29 struct BitVector { 37 BitVector *pBits; 43 BitVector* dvmAllocBitVector(unsigned int startBits, bool expandable); 44 void dvmFreeBitVector(BitVector* pBits); 59 int dvmAllocBit(BitVector* pBits); 60 void dvmSetBit(BitVector* pBits, unsigned int num); 61 void dvmClearBit(BitVector* pBits, unsigned int num); 62 void dvmClearAllBits(BitVector* pBits); 63 void dvmSetInitialBits(BitVector* pBits, unsigned int numBits) [all...] |
BitVector.cpp | 32 BitVector* dvmAllocBitVector(unsigned int startBits, bool expandable) 34 BitVector* bv; 39 bv = (BitVector*) malloc(sizeof(BitVector)); 50 * Free a BitVector. 52 void dvmFreeBitVector(BitVector* pBits) 68 int dvmAllocBit(BitVector* pBits) 102 void dvmSetBit(BitVector* pBits, unsigned int num) 116 ALOGE("BitVector expansion to %d failed", newSize * sizeof(u4)); 130 void dvmClearBit(BitVector* pBits, unsigned int num [all...] |
/external/stlport/test/eh/ |
test_bit_vector.cpp | 36 typedef EH_BIT_VECTOR BitVector; 39 container_category(const BitVector&) 53 gTestController.SetCurrentTestName("BitVector::reserve()"); 56 void operator()( BitVector& v ) const 74 BitVector emptyVector; 75 BitVector testVector, testVector2; 93 StrongCheck(testVector, test_insert_one<BitVector>(testVector) ); 94 StrongCheck(testVector, test_insert_one<BitVector>(testVector,0) ); 95 StrongCheck(testVector, test_insert_one<BitVector>(testVector, (int)testVector.size()) ); 97 StrongCheck(testVector, test_insert_n<BitVector>(testVector, random_number(random_base) ) ) [all...] |
/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...] |
ANTLRBitSet.h | 37 // from the specifics of the BitVector initialization and query functions. 41 __strong CFMutableBitVectorRef bitVector; 94 @property (getter=_bitVector) CFMutableBitVectorRef bitVector;
|
/sdk/emulator/qtools/ |
bitvector.h | 9 class Bitvector { 11 explicit Bitvector(int num_bits) { 18 ~Bitvector() {
|
parse_options.h | 6 #include "bitvector.h" 12 extern Bitvector pid_include_vector; 13 extern Bitvector pid_exclude_vector;
|
parse_options.cpp | 6 #include "bitvector.h" 13 Bitvector pid_include_vector(32768); 14 Bitvector pid_exclude_vector(32768);
|
/external/v8/test/cctest/ |
test-dataflow.cc | 37 TEST(BitVector) { 42 BitVector v(15, zone); 49 BitVector w(15, zone); 57 BitVector v(64, zone); 62 BitVector::Iterator iter(&v); 75 BitVector v(15, zone); 77 BitVector w(15, zone); 85 BitVector v(15, zone); 87 BitVector w(15, zone); 91 BitVector u(w, zone) [all...] |
/external/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...] |
SmallBitVector.h | 17 #include "llvm/ADT/BitVector.h" 23 /// SmallBitVector - This is a 'bitvector' (really, a variable-sized bit array), 31 // TODO: In "large" mode, a pointer to a BitVector is used, leading to an 87 BitVector *getPointer() const { 89 return reinterpret_cast<BitVector *>(X); 98 void switchToLarge(BitVector *BV) { 135 /// SmallBitVector default ctor - Creates an empty bitvector. 138 /// SmallBitVector ctor - Creates a bitvector of specified number of bits. All 144 switchToLarge(new BitVector(s, t)); 152 switchToLarge(new BitVector(*RHS.getPointer())) [all...] |
PackedVector.h | 17 #include "llvm/ADT/BitVector.h" 30 static T getValue(const llvm::BitVector &Bits, unsigned Idx) { 37 static void setValue(llvm::BitVector &Bits, unsigned Idx, T val) { 47 static T getValue(const llvm::BitVector &Bits, unsigned Idx) { 56 static void setValue(llvm::BitVector &Bits, unsigned Idx, T val) { 77 llvm::BitVector Bits;
|
/dalvik/vm/compiler/ |
CompilerUtility.h | 66 BitVector* dvmCompilerAllocBitVector(unsigned int startBits, bool expandable); 67 bool dvmCompilerSetBit(BitVector* pBits, unsigned int num); 68 bool dvmCompilerClearBit(BitVector* pBits, unsigned int num); 69 void dvmCompilerMarkAllBits(BitVector *pBits, bool set); 70 void dvmDebugBitVector(char *msg, const BitVector *bv, int length); 74 const BitVector *bv, int length);
|
CompilerIR.h | 167 BitVector *predecessors; 168 BitVector *dominators; 169 BitVector *iDominated; // Set nodes being immediately dominated 170 BitVector *domFrontier; // Dominance frontier 240 BitVector *isConstantV; // length == numSSAReg 267 BitVector *tryBlockAddr; 268 BitVector **defBlockMatrix; // numDalvikRegister x numBlocks 269 BitVector *tempBlockV; 270 BitVector *tempDalvikRegisterV; 271 BitVector *tempSSARegisterV; // numSSAReg [all...] |
Dataflow.h | 89 BitVector *useV; 90 BitVector *defV; 91 BitVector *liveInV; 92 BitVector *phiV;
|
SSATransformation.cpp | 92 cUnit->defBlockMatrix = (BitVector **) 93 dvmCompilerNew(sizeof(BitVector *) * numRegisters, true); 235 BitVector *tempBlockV = cUnit->tempBlockV; 268 BitVector *tempBlockV = cUnit->tempBlockV; 359 * This is probably not general enough to be placed in BitVector.[ch]. 361 static void computeSuccLiveIn(BitVector *dest, 362 const BitVector *src1, 363 const BitVector *src2) 386 BitVector *tempDalvikRegisterV = cUnit->tempDalvikRegisterV; 425 BitVector *phiBlocks [all...] |
Utility.cpp | 270 BitVector* dvmCompilerAllocBitVector(unsigned int startBits, bool expandable) 272 BitVector* bv; 277 bv = (BitVector*) dvmCompilerNew(sizeof(BitVector), false); 296 bool dvmCompilerSetBit(BitVector *pBits, unsigned int num) 326 bool dvmCompilerClearBit(BitVector *pBits, unsigned int num) 340 void dvmCompilerMarkAllBits(BitVector *pBits, bool set) 346 void dvmDebugBitVector(char *msg, const BitVector *bv, int length) 371 const BitVector *bv, int length)
|
/external/v8/src/ |
data-flow.h | 41 class BitVector: public ZoneObject { 43 // Iterator for the elements of this BitVector. 46 explicit Iterator(BitVector* target) 80 BitVector* target_; 85 friend class BitVector; 88 BitVector(int length, Zone* zone) 96 BitVector(const BitVector& other, Zone* zone) 107 BitVector& operator=(const BitVector& rhs) [all...] |
/external/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; 73 BitVector KillRegs, DefRegs; 103 void getRegsUsed(BitVector &used, bool includeReserved); 107 BitVector getRegsAvailable(const TargetRegisterClass *RC); 146 void setUsed(BitVector &Regs) [all...] |
/external/llvm/unittests/ADT/ |
BitVectorTest.cpp | 1 //===- llvm/unittest/ADT/BitVectorTest.cpp - BitVector tests --------------===// 13 #include "llvm/ADT/BitVector.h" 21 BitVector Vec; 45 BitVector Inv = ~Vec; 79 BitVector Copy = Vec; 80 BitVector Alt(3, false); 134 Inv = ~BitVector(); 152 BitVector A; 157 BitVector B; 191 BitVector Vec(3) [all...] |
/external/llvm/lib/Target/PTX/ |
PTXRegisterInfo.h | 18 #include "llvm/ADT/BitVector.h" 41 virtual BitVector getReservedRegs(const MachineFunction &MF) const { 42 BitVector Reserved(getNumRegs());
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/sets/ |
ANTLRBitSetTest.m | 23 STAssertEquals(actual, expected, @"There should be three bits set in bitvector. But I have %d", actual); 45 STAssertEquals(actual, expected, @"There should be four bits set in bitvector. But I have %d", actual); 58 STAssertEquals(actual, expected, @"There should be three bits set in bitvector. But I have %d", actual); 83 STAssertEquals(actual, (CFIndex)[bitSet numBits], @"There should be three bits set in bitvector. But I have %d", [copy numBits]);
|
/external/clang/include/clang/Analysis/Support/ |
BlkExprDeclBitVector.h | 1 // BlkExprDeclBitVector.h - Dataflow types for Bitvector Analysis --*- C++ --*-- 22 #include "llvm/ADT/BitVector.h" 87 llvm::BitVector DeclBV; 111 llvm::BitVector::reference getBit(unsigned i) { 119 llvm::BitVector::reference 128 llvm::BitVector::reference getDeclBit(unsigned i) { return DeclBV[i]; } 129 const llvm::BitVector::reference getDeclBit(unsigned i) const { 130 return const_cast<llvm::BitVector&>(DeclBV)[i]; 194 assert(I && "Stmtession not tracked for bitvector."); 207 llvm::BitVector BlkExprBV [all...] |
/external/llvm/lib/Target/ |
TargetRegisterInfo.cpp | 16 #include "llvm/ADT/BitVector.h" 73 const TargetRegisterClass *RC, BitVector &R){ 79 BitVector TargetRegisterInfo::getAllocatableSet(const MachineFunction &MF, 81 BitVector Allocatable(getNumRegs()); 92 BitVector Reserved = getReservedRegs(MF);
|
/external/clang/include/clang/Analysis/Analyses/ |
PostOrderCFGView.h | 22 #include "llvm/ADT/BitVector.h" 32 /// \brief Implements a set of CFGBlocks using a BitVector. 39 llvm::BitVector VisitedBlockIDs;
|