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

/dalvik/vm/jdwp/
H A DExpandBuf.cpp43 ExpandBuf* newBuf; local
45 newBuf = (ExpandBuf*) malloc(sizeof(*newBuf));
46 newBuf->storage = (u1*) malloc(kInitialStorage);
47 newBuf->curLen = 0;
48 newBuf->maxLen = kInitialStorage;
50 return newBuf;
/dalvik/tools/hprof-conv/
H A DHprofConv.c111 ExpandBuf* newBuf = (ExpandBuf*) malloc(sizeof(ExpandBuf)); local
112 if (newBuf == NULL)
114 newBuf->storage = (unsigned char*) malloc(kInitialSize);
115 newBuf->curLen = 0;
116 newBuf->maxLen = kInitialSize;
118 return newBuf;
/dalvik/vm/
H A DCheckJni.cpp1083 u1* newBuf = debugAlloc(newLen); local
1086 u2* pat = (u2*) newBuf;
1092 memcpy(newBuf + kGuardLen / 2, buf, len);
1099 *(uLong*)newBuf = adler;
1102 GuardedCopy* pExtra = reinterpret_cast<GuardedCopy*>(newBuf);
1108 return newBuf + kGuardLen / 2;

Completed in 109 milliseconds