Searched refs:storage (Results 1 – 8 of 8) sorted by relevance
/dalvik/vm/jdwp/ |
D | ExpandBuf.c | 31 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 = 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/vm/ |
D | Misc.c | 201 assert(sizeof(bv->storage[0]) == 4); /* assuming 32-bit units */ in dvmAllocBitVector() 210 bv->storage = (u4*) malloc(count * sizeof(u4)); in dvmAllocBitVector() 211 memset(bv->storage, 0x00, count * sizeof(u4)); in dvmAllocBitVector() 223 free(pBits->storage); in dvmFreeBitVector() 240 if (pBits->storage[word] != 0xffffffff) { in dvmAllocBit() 244 bit = ffs(~(pBits->storage[word])) -1; in dvmAllocBit() 246 pBits->storage[word] |= 1 << bit; in dvmAllocBit() 257 pBits->storage = realloc(pBits->storage, in dvmAllocBit() 259 memset(&pBits->storage[pBits->storageSize], 0x00, in dvmAllocBit() 280 pBits->storage = realloc(pBits->storage, newSize * sizeof(u4)); in dvmSetBit() [all …]
|
D | Misc.h | 158 u4* storage; member
|
/dalvik/tools/hprof-conv/ |
D | HprofConv.c | 99 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/native/ |
D | dalvik_system_VMDebug.c | 466 int* storage; in Dalvik_dalvik_system_VMDebug_getInstructionCount() local 468 storage = (int*) countArray->contents; in Dalvik_dalvik_system_VMDebug_getInstructionCount() 470 memcpy(storage, gDvm.executedInstrCounts, in Dalvik_dalvik_system_VMDebug_getInstructionCount()
|
/dalvik/libcore/xml/src/test/java/tests/api/javax/xml/parsers/ |
D | SAXParserTestSupport.java | 93 HashMap<String, String> storage = new HashMap<String, String>(); in readFile() local 106 storage.put(KEYS[i], str.toString()); in readFile() 130 return storage; in readFile()
|
/dalvik/vm/mterp/ |
D | NOTES.txt | 41 The return value from a method is held in local storage (on the native
|
/dalvik/libcore/luni/src/main/java/java/util/ |
D | Arrays.java | 37 ArrayList(E[] storage) { in ArrayList() argument 38 if (storage == null) { in ArrayList() 41 a = storage; in ArrayList()
|