Searched refs:storage (Results 1 – 2 of 2) sorted by relevance
/dalvik/dx/src/com/android/dx/dex/file/ |
D | DexFile.java | 235 public void writeTo(OutputStream out, Storage storage, Writer humanOut, boolean verbose) in writeTo() argument 238 ByteArrayAnnotatedOutput result = toDex0(annotate, verbose, storage); in writeTo() 255 public ByteArrayAnnotatedOutput writeTo(Storage storage) { in writeTo() argument 256 return toDex0(false, false, storage); in writeTo() 583 byte[] storage; field in DexFile.Storage 584 public Storage(byte[] storage) { in Storage() argument 585 this.storage = storage; in Storage() 589 if (storage.length < requestedLength) { in getStorage() 593 + storage.length in getStorage() 596 storage = new byte[requestedLength]; in getStorage() [all …]
|
/dalvik/tools/hprof-conv/ |
D | HprofConv.c | 113 unsigned char* storage; member 128 newBuf->storage = (unsigned char*) malloc(kInitialSize); in ebAlloc() 141 free(pBuf->storage); in ebFree() 154 return pBuf->storage; in ebGetBuffer() 182 unsigned char* newStorage = realloc(pBuf->storage, newSize); in ebEnsureCapacity() 188 pBuf->storage = newStorage; in ebEnsureCapacity() 202 memcpy(pBuf->storage + pBuf->curLen, data, count); in ebAddData() 223 pBuf->storage[pBuf->curLen++] = (unsigned char) ic; in ebReadString() 242 actual = fread(pBuf->storage + pBuf->curLen, 1, count, in); in ebReadData() 268 actual = fwrite(pBuf->storage, 1, pBuf->curLen, out); in ebWriteData()
|