Searched refs:GC (Results 101 - 125 of 141) sorted by relevance

123456

/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/
H A Ddassert.d538 /// Wrapper for GC.inFinalizer that fakes purity
542 import core.memory : GC;
543 return !__ctfe && assumeFakeAttributes(&GC.inFinalizer)();
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/
H A Druntime.d719 // avoid recursive GC calls in finalizer, trace handlers should be made @nogc instead
720 import core.memory : GC;
721 if (GC.inFinalizer)
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/internal/math/
H A Dbiguintcore.d772 // subInt returns GC allocated array, can be safely cast to immutable
808 // addInt returns GC allocated array, can be safely cast to immutable
823 // sub returns GC allocated array, can be safely cast to immutable
833 // add returns GC allocated array, can be safely cast to immutable
926 import core.memory : GC;
939 () @trusted { GC.free(wasteful.ptr); } ();
1647 import core.memory : GC;
1723 () @trusted { GC.free(scratchbuff.ptr); } ();
1782 () @trusted { GC.free(scratchbuff.ptr); } ();
1790 () @trusted { GC
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/sections/
H A Delf_shared.d95 * GC, which isn't the case (yet or anymore) for the startup/shutdown code in
186 * Gets called on program startup just before GC is initialized.
200 * Gets called on program shutdown just after GC is terminated.
667 GC.addRange(rng.ptr, rng.length);
673 GC.removeRange(rng.ptr);
679 GC.runFinalizers(seg);
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/gcc/sections/
H A Delf.d171 * Gets called on program startup just before GC is initialized.
180 * Gets called on program shutdown just after GC is terminated.
666 GC.addRange(rng.ptr, rng.length);
672 GC.removeRange(rng.ptr);
678 GC.runFinalizers(seg);
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/
H A Dir.d476 import core.memory : GC;
487 GC.addRange(memory.ptr, classSize);
500 GC.addRange(memory.ptr, classSize);
518 GC.removeRange(ptr);
582 // the key and character matcher. The technique used avoids delegates and GC.
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dmmfile.d638 import core.memory : GC;
674 GC.free(&mf);
H A Darray.d513 enum blockAttribute = GC.BlkAttr.NO_SCAN;
518 import core.memory : UGC = GC;
687 import core.memory : GC;
695 auto ptr = cast(E*) GC.malloc(nbytes, blockAttribute!E);
1242 assert(GC.addrOf(&b[0]) == GC.addrOf(&b[$-1]));
1649 Eagerly concatenates all of the ranges in `ror` together (with the GC)
2791 import core.memory : GC;
2826 // Replace with "GC.setAttr( Not Appendable )" once pure (and fixed)
2918 immutable u = GC
[all...]
H A Dfile.d335 import core.memory : GC;
360 scope(failure) GC.free(result.ptr);
373 result = GC.realloc(result.ptr, newAlloc, GC.BlkAttr.NO_SCAN)[0 .. newAlloc];
377 ? GC.realloc(result.ptr, size, GC.BlkAttr.NO_SCAN)[0 .. size]
384 import core.memory : GC;
441 () @trusted { GC.free(buf.ptr); } ();
H A Dparallelism.d776 Creates a $(D Task) on the GC heap that calls an alias. This may be executed
847 Creates a $(D Task) on the GC heap that calls a function pointer, delegate, or
912 than the GC heap. The lifetime of a $(D Task) created by $(D scopedTask)
2877 // Determines whether the GC should scan the array.
2879 cast(GC.BlkAttr) 0 :
2880 GC.BlkAttr.NO_SCAN;
2889 data = GC.malloc(elemSize * (nElem + 3), blkInfo) + elemSize;
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/TextAPI/
H A DInterfaceFile.h51 GC = 4, member in class:llvm::MachO::ObjCConstraintType
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/container/
H A Darray.d3 * reliant on the GC, as an alternative to the built-in arrays.
242 * the memory allocated by an `Array` will be scanned by the GC and
243 * GC managed objects referenced from an `Array` will be kept alive.
257 import core.memory : GC;
280 GC.removeRange(_payload.ptr);
360 GC.addRange(newPayload.ptr, sz);
361 GC.removeRange(_payload.ptr);
431 GC.addRange(p, T.sizeof * values.length);
553 GC.addRange(p, sz);
1448 //Just to make sure the GC does
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/
H A Dfunctional.d1313 maxSize = The maximum size of the GC buffer to hold the return values
1361 import core.memory : GC;
1367 enum attr = GC.BlkAttr.NO_INTERIOR | (hasIndirections!Value ? 0 : GC.BlkAttr.NO_SCAN);
1368 memo = (cast(Value*) GC.malloc(Value.sizeof * maxSize, attr))[0 .. maxSize];
1370 initialized = (cast(size_t*) GC.calloc(nwords * size_t.sizeof, attr | GC.BlkAttr.NO_SCAN))[0 .. nwords];
H A Dfile.d355 import core.memory : GC;
379 void[] result = GC.malloc(initialAlloc, GC.BlkAttr.NO_SCAN)[0 .. initialAlloc];
380 scope(failure) GC.free(result.ptr);
394 result = GC.realloc(result.ptr, newAlloc.get, GC.BlkAttr.NO_SCAN)[0 .. newAlloc.get];
398 ? GC.realloc(result.ptr, size.get, GC.BlkAttr.NO_SCAN)[0 .. size.get]
417 import core.memory : GC;
456 auto buf = () { return GC
[all...]
H A Darray.d152 were gathered such that every slot in the array is filled. If not, the GC
270 // No good way to ensure the GC frees this, just call the lifetime function
509 practically will be from the GC).
513 //This will only trigger during GC finalization so avoid writefln for now.
542 import core.memory : GC;
548 GC.collect();
895 enum blockAttribute = GC.BlkAttr.NO_SCAN;
901 import core.memory : UGC = GC;
1100 block, just like GC.malloc. However, it also sets the appropriate
1102 which will inform the GC ho
[all...]
H A Dmmfile.d636 import core.memory : GC;
H A Dparallelism.d758 Creates a `Task` on the GC heap that calls an alias. This may be executed
829 Creates a `Task` on the GC heap that calls a function pointer, delegate, or
894 than the GC heap. The lifetime of a `Task` created by `scopedTask`
3115 // Determines whether the GC should scan the array.
3117 cast(GC.BlkAttr) 0 :
3118 GC.BlkAttr.NO_SCAN;
3127 data = GC.malloc(elemSize * (nElem + 3), blkInfo) + elemSize;
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/thread/
H A Dosthread.d22 import core.memory : GC;
376 // Thread Context and GC Scanning Support
1126 import core.memory : GC;
1134 GC.collect;
1247 // GC Support Routines
1365 GC.disable(); scope(exit) GC.enable();
1968 // NOTE: We've got an odd chicken & egg problem here, because while the GC
1973 // completes, with the assumption that no other GC memory has yet
2220 // NOTE: No GC allocation
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/container/
H A Darray.d3 * reliant on the GC, as an alternative to the built-in arrays.
376 * the memory allocated by an `Array` will be scanned by the GC and
377 * GC managed objects referenced from an `Array` will be kept alive.
392 import core.memory : GC;
415 GC.removeRange(cast(void*) _payload.ptr);
497 GC.addRange(cast(void*) newPayload.ptr, sz);
498 GC.removeRange(cast(void*) _payload.ptr);
1632 //Just to make sure the GC doesn't collect before the above test.
2744 // Change of length reallocates without calling GC.
2763 GC
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c14 |* macros, since most of the parameters are not GC heap objects. *|
1339 const char *GC = LLVMGetGC(Fn); local
1340 if (!GC)
1342 return caml_alloc_some(caml_copy_string(GC));
1346 value llvm_set_gc(value GC, LLVMValueRef Fn) { argument
1347 LLVMSetGC(Fn, GC == Val_none ? 0 : String_val(Field(GC, 0)));
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/format/
H A Dpackage.d1652 @safe unittest // ensure that sformat avoids the GC
1654 import core.memory : GC;
1657 const u = () @trusted { return GC.stats().usedSize; } ();
1662 const v = () @trusted { return GC.stats().usedSize; } ();
/netbsd-current/external/bsd/nvi/dist/motif_l/
H A Dm_vi.c65 static GC gc;
66 GC __vi_copy_gc;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DType.h144 /// * Objective C: the GC attributes (none, weak, or strong)
154 enum GC { enum in class:clang::Qualifiers
309 GC getObjCGCAttr() const { return GC((Mask & GCAttrMask) >> GCAttrShift); }
310 void setObjCGCAttr(GC type) {
314 void addObjCGCAttr(GC type) {
512 // ObjC GC qualifiers can match, be added, or be removed, but can't
1102 inline Qualifiers::GC getObjCGCAttr() const;
1372 /// Objective-C GC attributes) are much more rare.
1407 Qualifiers::GC getObjCGCAtt
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.aa/
H A Dtest_aa.d743 GC.collect(); // Needs to happen from a GC collection
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/windows/
H A Dregistry.d1865 GC.collect();

Completed in 411 milliseconds

123456