Home
last modified time | relevance | path

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

/dalvik/tools/hprof-conv/
DHprofConv.c108 unsigned char* storage; member
123 newBuf->storage = (unsigned char*) malloc(kInitialSize); in ebAlloc()
136 free(pBuf->storage); in ebFree()
149 return pBuf->storage; in ebGetBuffer()
177 unsigned char* newStorage = realloc(pBuf->storage, newSize); in ebEnsureCapacity()
183 pBuf->storage = newStorage; in ebEnsureCapacity()
197 memcpy(pBuf->storage + pBuf->curLen, data, count); in ebAddData()
218 pBuf->storage[pBuf->curLen++] = (unsigned char) ic; in ebReadString()
237 actual = fread(pBuf->storage + pBuf->curLen, 1, count, in); in ebReadData()
263 actual = fwrite(pBuf->storage, 1, pBuf->curLen, out); in ebWriteData()