Lines Matching refs:pBits
296 bool dvmCompilerSetBit(BitVector *pBits, unsigned int num) in dvmCompilerSetBit() argument
298 if (num >= pBits->storageSize * sizeof(u4) * 8) { in dvmCompilerSetBit()
299 if (!pBits->expandable) in dvmCompilerSetBit()
304 assert(newSize > pBits->storageSize); in dvmCompilerSetBit()
306 memcpy(newStorage, pBits->storage, pBits->storageSize * sizeof(u4)); in dvmCompilerSetBit()
307 memset(&newStorage[pBits->storageSize], 0, in dvmCompilerSetBit()
308 (newSize - pBits->storageSize) * sizeof(u4)); in dvmCompilerSetBit()
309 pBits->storage = newStorage; in dvmCompilerSetBit()
310 pBits->storageSize = newSize; in dvmCompilerSetBit()
313 pBits->storage[num >> 5] |= 1 << (num & 0x1f); in dvmCompilerSetBit()
326 bool dvmCompilerClearBit(BitVector *pBits, unsigned int num) in dvmCompilerClearBit() argument
328 if (num >= pBits->storageSize * sizeof(u4) * 8) { in dvmCompilerClearBit()
333 pBits->storage[num >> 5] &= ~(1 << (num & 0x1f)); in dvmCompilerClearBit()
340 void dvmCompilerMarkAllBits(BitVector *pBits, bool set) in dvmCompilerMarkAllBits() argument
343 memset(pBits->storage, value, pBits->storageSize * (int)sizeof(u4)); in dvmCompilerMarkAllBits()