Home
last modified time | relevance | path

Searched refs:getThis (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/thread/
H A Dthreadbase.d314 static ThreadBase getThis() @safe nothrow @nogc in getThis() function
794 return ThreadBase.getThis() is ThreadBase.sm_main; in thread_isMainThread()
810 if (auto t = ThreadT.getThis()) in thread_attachThis_tpl()
830 if (auto t = ThreadBase.getThis()) in thread_detachThis()
993 resume(ThreadBase.getThis());
1053 thisThread = ThreadBase.getThis(); in scanAllTypeImpl()
1161 assert(ThreadBase.getThis()); in thread_enterCriticalRegion()
1166 ThreadBase.getThis().m_isInCriticalRegion = true;
1180 assert(ThreadBase.getThis()); in thread_exitCriticalRegion()
1185 ThreadBase.getThis().m_isInCriticalRegion = false;
[all …]
H A Dfiber.d209 Fiber obj = Fiber.getThis(); in fiber_entryPoint()
212 assert( Thread.getThis().m_curr is obj.m_ctxt ); in fiber_entryPoint()
213 atomicStore!(MemoryOrder.raw)(*cast(shared)&Thread.getThis().m_lock, false); in fiber_entryPoint()
424 Fiber cfib = Fiber.getThis(); in fiber_switchContext()
745 Fiber cur = getThis();
853 Fiber cur = getThis(); in yield()
883 Fiber cur = getThis();
910 static Fiber getThis() @safe nothrow @nogc in getThis() function
1399 *cast(size_t*)(pstack + wsize) = cast(size_t) Thread.getThis().m_addr; in version()
1604 Thread tobj = Thread.getThis(); in switchIn()
[all …]
H A Dosthread.d370 static Thread getThis() @safe nothrow @nogc in getThis() function
372 return ThreadBase.getThis().toThread; in getThis()
909 auto thr = Thread.getThis();
1984 suspend( Thread.getThis() ); in thread_suspendAll()
2125 auto thisThread = Thread.getThis(); in thread_init()
2442 Thread obj = Thread.getThis(); in version()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DInterp.h377 const Pointer &This = S.Current->getThis(); in GetThisField()
392 const Pointer &This = S.Current->getThis(); in SetThisField()
427 const Pointer &This = S.Current->getThis(); in InitThisField()
440 const Pointer &This = S.Current->getThis(); in InitThisBitField()
454 const Pointer &This = S.Current->getThis(); in InitThisFieldActive()
532 const Pointer &This = S.Current->getThis(); in GetPtrThisField()
555 const Pointer &This = S.Current->getThis(); in GetPtrActiveThisField()
576 const Pointer &This = S.Current->getThis(); in GetPtrThisBase()
605 const Pointer &This = S.Current->getThis(); in GetPtrThisVirtBase()
608 return VirtBaseHelper(S, OpPC, D, S.Current->getThis()); in GetPtrThisVirtBase()
[all …]
H A DInterpFrame.h97 const Pointer &getThis() const { return This; } in getThis() function
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dconcurrency.d1251 if (Fiber.getThis()) in yield()
1264 auto f = cast(InfoFiber) Fiber.getThis(); in thisInfo()
1447 auto fiber = Fiber.getThis(); in yield()
1646 Generator!T cur = cast(Generator!T) Fiber.getThis(); in yield()
H A Dparallelism.d4464 nJobsByThread[ cast(void*) Thread.getThis()] = 0; in version()
4468 atomicOp!"+="( nJobsByThread[ cast(void*) Thread.getThis() ], 1); in version()
4472 cast(void*) Thread.getThis()); in version()
H A Drandom.d1301 uint threadID = cast(uint) cast(void*) Thread.getThis(); in unpredictableSeed()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dconcurrency.d1446 if (Fiber.getThis()) in yield()
1459 auto f = cast(InfoFiber) Fiber.getThis(); in thisInfo()
1666 auto fiber = Fiber.getThis(); in yield()
1900 Generator!T cur = cast(Generator!T) Fiber.getThis(); in yield()
H A Dparallelism.d4738 nJobsByThread[ cast(void*) Thread.getThis()] = 0; in version()
4742 atomicOp!"+="( nJobsByThread[ cast(void*) Thread.getThis() ], 1); in version()
4746 cast(void*) Thread.getThis()); in version()
H A Drandom.d1726 updateResult(cast(ulong) cast(void*) Thread.getThis()); in bootstrapSeed()
/netbsd-src/external/gpl3/gcc/dist/libphobos/
H A DChangeLog442 * libdruntime/core/thread/fiber.d (Fiber.getThis): Mark noinline.
446 * libdruntime/core/thread/threadbase.d (ThreadBase.getThis): Mark
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddinterpret.c92 Expression *getThis();
135 Expression *CtfeStack::getThis() in getThis() function
784 thisarg = ctfeStack.getThis(); in interpretFunction()
1866 result = ctfeStack.getThis(); in visit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddinterpret.d289 extern (C++) Expression getThis() in getThis() function
458 thisarg = ctfeGlobals.stack.getThis(); in interpretFunction()
549 (*elements)[1] = ctfeGlobals.stack.getThis(); in interpretFunction()
1779 result = ctfeGlobals.stack.getThis(); in visit()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/gc/impl/conservative/
H A Dgc.d3005 if (Thread.getThis() is null)