Home
last modified time | relevance | path

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

/dalvik/vm/jdwp/
DExpandBuf.cpp43 ExpandBuf* newBuf; in expandBufAlloc() local
45 newBuf = (ExpandBuf*) malloc(sizeof(*newBuf)); in expandBufAlloc()
46 newBuf->storage = (u1*) malloc(kInitialStorage); in expandBufAlloc()
47 newBuf->curLen = 0; in expandBufAlloc()
48 newBuf->maxLen = kInitialStorage; in expandBufAlloc()
50 return newBuf; in expandBufAlloc()
/dalvik/tools/hprof-conv/
DHprofConv.c111 ExpandBuf* newBuf = (ExpandBuf*) malloc(sizeof(ExpandBuf)); in ebAlloc() local
112 if (newBuf == NULL) in ebAlloc()
114 newBuf->storage = (unsigned char*) malloc(kInitialSize); in ebAlloc()
115 newBuf->curLen = 0; in ebAlloc()
116 newBuf->maxLen = kInitialSize; in ebAlloc()
118 return newBuf; in ebAlloc()
/dalvik/vm/
DCheckJni.cpp1078 u1* newBuf = debugAlloc(newLen); in create() local
1081 u2* pat = (u2*) newBuf; in create()
1087 memcpy(newBuf + kGuardLen / 2, buf, len); in create()
1094 *(uLong*)newBuf = adler; in create()
1097 GuardedCopy* pExtra = reinterpret_cast<GuardedCopy*>(newBuf); in create()
1103 return newBuf + kGuardLen / 2; in create()