Searched refs:newEvent (Results 1 – 1 of 1) sorted by relevance
277 JdwpEvent* newEvent; in EventAlloc() local278 int allocSize = offsetof(JdwpEvent, mods) + numMods * sizeof(newEvent->mods[0]); in EventAlloc()279 newEvent = reinterpret_cast<JdwpEvent*>(malloc(allocSize)); in EventAlloc()280 memset(newEvent, 0, allocSize); in EventAlloc()281 return newEvent; in EventAlloc()