Home
last modified time | relevance | path

Searched refs:storageSize (Results 1 – 3 of 3) sorted by relevance

/dalvik/vm/
DMisc.c213 bv->storageSize = count; in dvmAllocBitVector()
244 for (word = 0; word < pBits->storageSize; word++) { in dvmAllocBit()
263 (pBits->storageSize + kBitVectorGrowth) * sizeof(u4)); in dvmAllocBit()
264 memset(&pBits->storage[pBits->storageSize], 0x00, in dvmAllocBit()
266 pBits->storageSize += kBitVectorGrowth; in dvmAllocBit()
279 if (num >= pBits->storageSize * (int)sizeof(u4) * 8) { in dvmSetBit()
284 assert(newSize > pBits->storageSize); in dvmSetBit()
286 memset(&pBits->storage[pBits->storageSize], 0x00, in dvmSetBit()
287 (newSize - pBits->storageSize) * sizeof(u4)); in dvmSetBit()
288 pBits->storageSize = newSize; in dvmSetBit()
[all …]
DMisc.h140 int storageSize; /* current size, in 32-bit words */ member
/dalvik/vm/compiler/
DUtility.c258 bv->storageSize = count; in dvmCompilerAllocBitVector()
276 if (num >= pBits->storageSize * (int)sizeof(u4) * 8) { in dvmCompilerSetBit()
281 assert(newSize > pBits->storageSize); in dvmCompilerSetBit()
283 memcpy(newStorage, pBits->storage, pBits->storageSize * sizeof(u4)); in dvmCompilerSetBit()
284 memset(&newStorage[pBits->storageSize], 0, in dvmCompilerSetBit()
285 (newSize - pBits->storageSize) * sizeof(u4)); in dvmCompilerSetBit()
287 pBits->storageSize = newSize; in dvmCompilerSetBit()