Searched refs:newEvent (Results 1 – 1 of 1) sorted by relevance
365 JdwpEvent* newEvent; in EventAlloc() local366 int allocSize = offsetof(JdwpEvent, mods) + numMods * sizeof(newEvent->mods[0]); in EventAlloc()367 newEvent = reinterpret_cast<JdwpEvent*>(malloc(allocSize)); in EventAlloc()368 memset(newEvent, 0, allocSize); in EventAlloc()369 return newEvent; in EventAlloc()