Searched refs:newEvent (Results 1 – 1 of 1) sorted by relevance
405 JdwpEvent* newEvent; in EventAlloc() local406 int allocSize = offsetof(JdwpEvent, mods) + numMods * sizeof(newEvent->mods[0]); in EventAlloc()407 newEvent = reinterpret_cast<JdwpEvent*>(malloc(allocSize)); in EventAlloc()408 memset(newEvent, 0, allocSize); in EventAlloc()409 return newEvent; in EventAlloc()