Home
last modified time | relevance | path

Searched refs:storage (Results 1 – 9 of 9) sorted by relevance

/dalvik/vm/
DBitVector.cpp37 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()
[all …]
DBitVector.h32 u4* storage; member
/dalvik/vm/jdwp/
DExpandBuf.cpp31 u1* storage; member
46 newBuf->storage = (u1*) malloc(kInitialStorage); in expandBufAlloc()
61 free(pBuf->storage); in expandBufFree()
70 return pBuf->storage; in expandBufGetBuffer()
96 newPtr = (u1*) realloc(pBuf->storage, pBuf->maxLen); in ensureSpace()
102 pBuf->storage = newPtr; in ensureSpace()
113 gapStart = pBuf->storage + pBuf->curLen; in expandBufAddSpace()
126 *(pBuf->storage + pBuf->curLen) = val; in expandBufAdd1()
136 set2BE(pBuf->storage + pBuf->curLen, val); in expandBufAdd2BE()
146 set4BE(pBuf->storage + pBuf->curLen, val); in expandBufAdd4BE()
[all …]
/dalvik/tools/hprof-conv/
DHprofConv.c99 unsigned char* storage; member
114 newBuf->storage = (unsigned char*) malloc(kInitialSize); in ebAlloc()
127 free(pBuf->storage); in ebFree()
140 return pBuf->storage; in ebGetBuffer()
168 unsigned char* newStorage = realloc(pBuf->storage, newSize); in ebEnsureCapacity()
174 pBuf->storage = newStorage; in ebEnsureCapacity()
188 memcpy(pBuf->storage + pBuf->curLen, data, count); in ebAddData()
209 pBuf->storage[pBuf->curLen++] = (unsigned char) ic; in ebReadString()
228 actual = fread(pBuf->storage + pBuf->curLen, 1, count, in); in ebReadData()
254 actual = fwrite(pBuf->storage, 1, pBuf->curLen, out); in ebWriteData()
/dalvik/vm/compiler/
DUtility.cpp275 assert(sizeof(bv->storage[0]) == 4); /* assuming 32-bit units */ in dvmCompilerAllocBitVector()
283 bv->storage = (u4*) dvmCompilerNew(count * sizeof(u4), true); in dvmCompilerAllocBitVector()
306 memcpy(newStorage, pBits->storage, pBits->storageSize * sizeof(u4)); in dvmCompilerSetBit()
309 pBits->storage = newStorage; in dvmCompilerSetBit()
313 pBits->storage[num >> 5] |= 1 << (num & 0x1f); in dvmCompilerSetBit()
333 pBits->storage[num >> 5] &= ~(1 << (num & 0x1f)); in dvmCompilerClearBit()
343 memset(pBits->storage, value, pBits->storageSize * (int)sizeof(u4)); in dvmCompilerMarkAllBits()
DSSATransformation.cpp375 dest->storage[idx] |= src1->storage[idx] & ~src2->storage[idx]; in computeSuccLiveIn()
/dalvik/vm/native/
Ddalvik_system_VMDebug.cpp407 int* storage = (int*)(void*)countArray->contents; in Dalvik_dalvik_system_VMDebug_getInstructionCount() local
419 memcpy(storage, gDvm.executedInstrCounts, length * sizeof(int)); in Dalvik_dalvik_system_VMDebug_getInstructionCount()
/dalvik/vm/analysis/
DCodeVerify.cpp2991 static u1* assignLineStorage(u1* storage, RegisterLine* line, in assignLineStorage() argument
2994 line->regTypes = (RegType*) storage; in assignLineStorage()
2995 storage += regTypeSize; in assignLineStorage()
2998 line->monitorEntries = (MonitorEntries*) storage; in assignLineStorage()
2999 storage += monEntSize; in assignLineStorage()
3000 line->monitorStack = (u4*) storage; in assignLineStorage()
3001 storage += stackSize; in assignLineStorage()
3006 return storage; in assignLineStorage()
3115 u1* storage = (u1*)regTable->lineAlloc; in initRegisterTable() local
3136 storage = assignLineStorage(storage, &regTable->registerLines[i], in initRegisterTable()
[all …]
/dalvik/vm/mterp/
DNOTES.txt41 The return value from a method is held in local storage (on the native