Searched refs:LockedPtr (Results 1 – 6 of 6) sorted by relevance
190 LockedPtr<ErrorCode> getErrorStatus() { in getErrorStatus()191 return LockedPtr<ErrorCode>(&ErrorStatus, &ErrorStatusLock); in getErrorStatus()410 LockedPtr<StringPool> getStrings() const { in getStrings()411 return LockedPtr<StringPool>(Strings.get(), &StringsLock); in getStrings()414 LockedPtr<VariableDeclarationList> getGlobals() { in getGlobals()415 return LockedPtr<VariableDeclarationList>(&Globals, &InitAllocLock); in getGlobals()518 LockedPtr<ArenaAllocator> getAllocator() { in getAllocator()519 return LockedPtr<ArenaAllocator>(&Allocator, &AllocLock); in getAllocator()521 LockedPtr<VariableDeclarationList> getInitializerAllocator() { in getInitializerAllocator()522 return LockedPtr<VariableDeclarationList>(&Globals, &InitAllocLock); in getInitializerAllocator()[all …]
387 template <typename T> class LockedPtr {388 LockedPtr() = delete;389 LockedPtr(const LockedPtr &) = delete;390 LockedPtr &operator=(const LockedPtr &) = delete;393 LockedPtr(T *Value, GlobalLockType *Lock) : Value(Value), Lock(Lock) { in LockedPtr() function396 LockedPtr(LockedPtr &&Other) : Value(Other.Value), Lock(Other.Lock) { in LockedPtr() function400 ~LockedPtr() { in ~LockedPtr()
53 LockedPtr<VariableDeclarationList> getGlobals();
129 LockedPtr<VariableDeclarationList> Instrumentation::getGlobals() { in getGlobals()
146 static LockedPtr<StringPool> getStrings(const OwnerType *Owner);
624 LockedPtr<DestructorArray> Dtors = getDestructors(); in ~GlobalContext()1028 LockedPtr<StringPool>