Searched refs:LockedPtr (Results 1 – 6 of 6) sorted by relevance
191 LockedPtr<ErrorCode> getErrorStatus() { in getErrorStatus()192 return LockedPtr<ErrorCode>(&ErrorStatus, &ErrorStatusLock); in getErrorStatus()416 LockedPtr<StringPool> getStrings() const { in getStrings()417 return LockedPtr<StringPool>(Strings.get(), &StringsLock); in getStrings()420 LockedPtr<VariableDeclarationList> getGlobals() { in getGlobals()421 return LockedPtr<VariableDeclarationList>(&Globals, &InitAllocLock); in getGlobals()528 LockedPtr<ArenaAllocator> getAllocator() { in getAllocator()529 return LockedPtr<ArenaAllocator>(&Allocator, &AllocLock); in getAllocator()531 LockedPtr<VariableDeclarationList> getInitializerAllocator() { in getInitializerAllocator()532 return LockedPtr<VariableDeclarationList>(&Globals, &InitAllocLock); in getInitializerAllocator()[all …]
388 template <typename T> class LockedPtr {389 LockedPtr() = delete;390 LockedPtr(const LockedPtr &) = delete;391 LockedPtr &operator=(const LockedPtr &) = delete;394 LockedPtr(T *Value, GlobalLockType *Lock) : Value(Value), Lock(Lock) { in LockedPtr() function397 LockedPtr(LockedPtr &&Other) : Value(Other.Value), Lock(Other.Lock) { in LockedPtr() function401 ~LockedPtr() { in ~LockedPtr()
53 LockedPtr<VariableDeclarationList> getGlobals();
129 LockedPtr<VariableDeclarationList> Instrumentation::getGlobals() { in getGlobals()
146 static LockedPtr<StringPool> getStrings(const OwnerType *Owner);
706 LockedPtr<DestructorArray> Dtors = getDestructors(); in ~GlobalContext()1121 LockedPtr<StringPool>