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