• Home
  • Raw
  • Download

Lines Matching refs:storage

37     assert(sizeof(bv->storage[0]) == 4);        /* assuming 32-bit units */  in dvmAllocBitVector()
45 bv->storage = (u4*) calloc(count, sizeof(u4)); in dvmAllocBitVector()
57 free(pBits->storage); in dvmFreeBitVector()
74 if (pBits->storage[word] != 0xffffffff) { in dvmAllocBit()
78 bit = ffs(~(pBits->storage[word])) -1; in dvmAllocBit()
80 pBits->storage[word] |= 1 << bit; in dvmAllocBit()
91 pBits->storage = (u4*)realloc(pBits->storage, in dvmAllocBit()
93 memset(&pBits->storage[pBits->storageSize], 0x00, in dvmAllocBit()
114 pBits->storage = (u4*)realloc(pBits->storage, newSize * sizeof(u4)); in dvmSetBit()
115 if (pBits->storage == NULL) { in dvmSetBit()
119 memset(&pBits->storage[pBits->storageSize], 0x00, in dvmSetBit()
124 pBits->storage[num >> 5] |= 1 << (num & 0x1f); in dvmSetBit()
134 pBits->storage[num >> 5] &= ~(1 << (num & 0x1f)); in dvmClearBit()
143 memset(pBits->storage, 0, count * sizeof(u4)); in dvmClearAllBits()
156 pBits->storage[idx] = -1; in dvmSetInitialBits()
160 pBits->storage[idx] = (1 << remNumBits) - 1; in dvmSetInitialBits()
171 unsigned int val = pBits->storage[num >> 5] & (1 << (num & 0x1f)); in dvmIsBitSet()
184 u4 val = pBits->storage[word]; in dvmCountSetBits()
223 memcpy(dest->storage, src->storage, sizeof(u4) * dest->storageSize); in dvmCopyBitVector()
240 dest->storage[idx] = src1->storage[idx] & src2->storage[idx]; in dvmIntersectBitVectors()
259 dest->storage[idx] = src1->storage[idx] | src2->storage[idx]; in dvmUnifyBitVectors()
275 if (src1->storage[idx] != src2->storage[idx]) return true; in dvmCompareBitVectors()
300 if (pBits->storage[wordIndex] & mask) { in dvmBitVectorIteratorNext()
324 u4 merged = src->storage[idx] | dst->storage[idx]; in dvmCheckMergeBitVectors()
325 if (dst->storage[idx] != merged) { in dvmCheckMergeBitVectors()
326 dst->storage[idx] = merged; in dvmCheckMergeBitVectors()