Home
last modified time | relevance | path

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

/dalvik/vm/jdwp/
DExpandBuf.c43 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.c1029 u1* newBuf; in createGuardedCopy() local
1033 newBuf = (u1*)malloc(newLen); in createGuardedCopy()
1034 if (newBuf == NULL) { in createGuardedCopy()
1040 pat = (u2*) newBuf; in createGuardedCopy()
1045 memcpy(newBuf + kGuardLen / 2, buf, len); in createGuardedCopy()
1052 *(uLong*)newBuf = adler; in createGuardedCopy()
1055 pExtra = (GuardExtra*) newBuf; in createGuardedCopy()
1061 return newBuf + kGuardLen / 2; in createGuardedCopy()