kZero 56 MMgc/AllocationMacros.h #define mmfx_new0(new_data) new (MMgc::kUseFixedMalloc, MMgc::kZero) new_data kZero 73 MMgc/AllocationMacros.h #define mmfx_new0(new_data) new (MMgc::kZero) new_data kZero 79 MMgc/BasicList.h T* newItems = mmfx_new_array_opt(T, capacity, kZero); kZero 96 MMgc/BasicList.h T* newItems = mmfx_new_array_opt(T, tryCapacity, (MMgc::FixedMallocOpts)(kZero|kCanFail)); kZero 210 MMgc/FixedAlloc.cpp if((opts & kZero) == 0) kZero 214 MMgc/FixedAlloc.cpp if((opts & kZero) != 0) kZero 217 MMgc/FixedMalloc.cpp if((flags & kZero) != 0) kZero 218 MMgc/FixedMalloc.cpp gcheap_flags |= GCHeap::kZero; kZero 238 MMgc/FixedMalloc.cpp if((flags & kZero) == 0) kZero 53 MMgc/GC-inlines.h return FixedMalloc::GetFixedMalloc()->Alloc(size, MMgc::kZero); kZero 174 MMgc/GC-inlines.h return GetUserPointer(containsPointersAllocs[sizeClassIndex[(size-1)>>3]]->Alloc(SIZEARG GC::kContainsPointers|GC::kZero)); kZero 176 MMgc/GC-inlines.h return Alloc(size, GC::kContainsPointers|GC::kZero); kZero 183 MMgc/GC-inlines.h return GetUserPointer(containsPointersAllocs[sizeClassIndex[(size-1)>>3]]->Alloc(SIZEARG GC::kContainsPointers|GC::kZero|GC::kFinalize)); kZero 185 MMgc/GC-inlines.h return Alloc(size, GC::kContainsPointers|GC::kZero|GC::kFinalize); kZero 192 MMgc/GC-inlines.h return GetUserPointer(containsPointersRCAllocs[sizeClassIndex[(size-1)>>3]]->Alloc(SIZEARG GC::kContainsPointers|GC::kZero|GC::kRCObject|GC::kFinalize)); kZero 194 MMgc/GC-inlines.h return Alloc(size, GC::kContainsPointers|GC::kZero|GC::kRCObject|GC::kFinalize); kZero 218 MMgc/GC-inlines.h return GetUserPointer(containsPointersAllocs[sizeClassIndex[(size-1)>>3]]->Alloc(SIZEARG GC::kContainsPointers|GC::kZero)); kZero 221 MMgc/GC-inlines.h return OutOfLineAllocExtra(size, extra, GC::kContainsPointers|GC::kZero); kZero 229 MMgc/GC-inlines.h return GetUserPointer(containsPointersAllocs[sizeClassIndex[(size-1)>>3]]->Alloc(SIZEARG GC::kContainsPointers|GC::kZero|GC::kFinalize)); kZero 232 MMgc/GC-inlines.h return OutOfLineAllocExtra(size, extra, GC::kContainsPointers|GC::kZero|GC::kFinalize); kZero 240 MMgc/GC-inlines.h return GetUserPointer(containsPointersRCAllocs[sizeClassIndex[(size-1)>>3]]->Alloc(SIZEARG GC::kContainsPointers|GC::kZero|GC::kRCObject|GC::kFinalize)); kZero 243 MMgc/GC-inlines.h return OutOfLineAllocExtra(size, extra, GC::kContainsPointers|GC::kZero|GC::kRCObject|GC::kFinalize); kZero 1158 MMgc/GC.cpp block = mmfx_new_array_opt(char, size + hdr_size, MMgc::kZero); kZero 1350 MMgc/GC.cpp bool shouldZero = (flags & kZero) || incrementalValidationPedantic; kZero 1651 MMgc/GC.cpp void *item = heapAlloc(size, zero ? GCHeap::kZero : 0); kZero 1654 MMgc/GC.cpp item = heapAlloc(size, GCHeap::kExpand| (zero ? GCHeap::kZero : 0) | (canFail ? GCHeap::kCanFail : 0)); kZero 846 MMgc/GC.h kZero=1, kZero 1315 MMgc/GC.h void *heapAlloc(size_t size, int flags=GCHeap::kExpand|GCHeap::kZero|GCHeap::kProfile); kZero 68 MMgc/GCGlobalNew.cpp if (opts & MMgc::kZero) kZero 287 MMgc/GCHeap.cpp bool zero = (flags & kZero) != 0; kZero 327 MMgc/GCHeap.h kZero=2, kZero 338 MMgc/GCHeap.h void *Alloc(size_t size, uint32_t flags=kExpand | kZero | kProfile); kZero 73 MMgc/GCLargeAlloc.cpp (flags&GC::kZero) != 0, (flags&GC::kCanFail) != 0); kZero 93 MMgc/GCLargeAlloc.cpp if (flags & GC::kZero) kZero 681 MMgc/ZCT.cpp block = (RCObject**)gc->heapAlloc(1, GCHeap::kExpand|GCHeap::kZero|GCHeap::kProfile|GCHeap::kCanFail); kZero 59 core/AbcEnv.cpp m_invocationCounts = (uint64_t*)_pool->core->GetGC()->Alloc(_pool->methodCount() * sizeof(uint64_t), MMgc::GC::kZero); kZero 1231 core/ArrayClass.cpp fn = (ArraySort::FieldName*) core->GetGC()->Alloc(sizeof(ArraySort::FieldName), GC::kZero|GC::kContainsPointers); kZero 1240 core/ArrayClass.cpp fn = (ArraySort::FieldName*) core->GetGC()->Calloc(nFields, sizeof(ArraySort::FieldName), GC::kZero|GC::kContainsPointers); kZero 60 core/AtomArray.cpp setAtoms(gc, (Atom*) gc->Calloc(initialCapacity, sizeof(Atom), GC::kContainsPointers|GC::kZero)); kZero 214 core/AtomArray.cpp Atom* newAtoms = (Atom*) gc->Calloc(capacity, sizeof(Atom), GC::kContainsPointers|GC::kZero); kZero 201 core/BitSet.h uintptr_t* v = (uintptr_t*)gc->Alloc(sz, MMgc::GC::kZero); kZero 707 core/Interpreter.cpp env->lookup_cache = (MethodEnv::LookupCache*)core->GetGC()->Alloc(sizeof(MethodEnv::LookupCache)*info->lookup_cache_size(), GC::kContainsPointers|GC::kZero); kZero 50 core/MultinameHashtable.cpp Quad* newAtoms = (Quad *) gc->Calloc(capacity, sizeof(Quad), GC::kContainsPointers|GC::kZero); kZero 115 core/MultinameHashtable.cpp Quad* newAtoms = (Quad *) gc->Alloc (sizeof(Quad) * numQuads, GC::kContainsPointers|GC::kZero); kZero 58 core/NativeFunction.cpp methods((MethodType*)core->GetGC()->Calloc(_methodCount, sizeof(MethodType), GC::kZero)), kZero 59 core/NativeFunction.cpp classes((ClassType*)core->GetGC()->Calloc(_classCount, sizeof(ClassType), GC::kZero)), kZero 72 core/NativeFunction.cpp methods((MethodType*)core->GetGC()->Calloc((_methodCount>0 ? _methodCount : 1), sizeof(MethodType), GC::kZero)), kZero 73 core/NativeFunction.cpp classes((ClassType*)core->GetGC()->Calloc((_classCount>0 ? _classCount : 1), sizeof(ClassType), GC::kZero)), kZero 47 core/PoolObject-inlines.h return MMgc::FixedMalloc::GetFixedMalloc()->Alloc(size+extra, MMgc::kZero); kZero 49 core/Toplevel.cpp _builtinClasses = (ClassClosure**) core()->GetGC()->Alloc(sizeof(ClassClosure*) * core()->builtinPool->classCount(), MMgc::GC::kZero | MMgc::GC::kContainsPointers); kZero 2111 core/Traits.cpp return (Traits**) gc->Alloc((size+1) * sizeof(Traits*), MMgc::GC::kZero); kZero 2942 core/Verifier.cpp locals = (Value*)mmfx_alloc_opt(sizeof(Value) * verifier->frameSize, MMgc::kZero); kZero 1044 core/WordcodeEmitter.cpp TranslatedCode* code_anchor = (TranslatedCode*)core->GetGC()->Alloc(sizeof(TranslatedCode) + (total_size - 1)*sizeof(uintptr_t), GC::kZero); kZero 762 core/avmplusDebugger.cpp ar = (Atom*) debugger->core->GetGC()->Calloc(count, sizeof(Atom), GC::kContainsPointers|GC::kZero); kZero 810 core/avmplusDebugger.cpp ar = (Atom*) debugger->core->GetGC()->Calloc(count, sizeof(Atom), GC::kContainsPointers|GC::kZero); kZero 63 core/avmplusHashtable.cpp setAtoms((Atom *)gc->Calloc(getCapacity(), sizeof(Atom), GC::kContainsPointers|GC::kZero)); kZero 252 core/avmplusHashtable.cpp Atom* newAtoms = (Atom*)gc->Calloc(newCapacity, sizeof(Atom), GC::kContainsPointers|GC::kZero); kZero 355 core/avmplusList.h gcflags |= (MMgc::GC::kContainsPointers|MMgc::GC::kZero); kZero 209 extensions/ST_mmgc_basics.cpp void *data = gh->Alloc(1024*10,MMgc::GCHeap::kExpand | MMgc::GCHeap::kZero); kZero 86 shell/ShellCore.cpp MMgc::GC::kZero | MMgc::GC::kContainsPointers);