/netbsd-src/sys/external/bsd/acpica/dist/utilities/ |
H A D | utcache.c | 74 ACPI_MEMORY_LIST *Cache; in AcpiOsCreateCache() local 87 Cache = AcpiOsAllocate (sizeof (ACPI_MEMORY_LIST)); in AcpiOsCreateCache() 88 if (!Cache) in AcpiOsCreateCache() 95 memset (Cache, 0, sizeof (ACPI_MEMORY_LIST)); in AcpiOsCreateCache() 96 Cache->ListName = __UNCONST(CacheName); in AcpiOsCreateCache() 97 Cache->ObjectSize = ObjectSize; in AcpiOsCreateCache() 98 Cache->MaxDepth = MaxDepth; in AcpiOsCreateCache() 100 *ReturnCache = Cache; in AcpiOsCreateCache() 119 ACPI_MEMORY_LIST *Cache) in AcpiOsPurgeCache() argument 128 if (!Cache) in AcpiOsPurgeCache() [all …]
|
H A D | uttrack.c | 107 ACPI_MEMORY_LIST *Cache; in AcpiUtCreateList() local 110 Cache = AcpiOsAllocateZeroed (sizeof (ACPI_MEMORY_LIST)); in AcpiUtCreateList() 111 if (!Cache) in AcpiUtCreateList() 116 Cache->ListName = ListName; in AcpiUtCreateList() 117 Cache->ObjectSize = ObjectSize; in AcpiUtCreateList() 119 *ReturnCache = Cache; in AcpiUtCreateList()
|
/netbsd-src/sys/external/bsd/acpica/dist/compiler/ |
H A D | aslcache.c | 74 ASL_CACHE_INFO *Cache; in UtLocalCacheCalloc() local 89 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize); in UtLocalCacheCalloc() 93 Cache->Next = AslGbl_StringCacheList->Next; in UtLocalCacheCalloc() 94 AslGbl_StringCacheList->Next = Cache; in UtLocalCacheCalloc() 101 return (Cache->Buffer); in UtLocalCacheCalloc() 109 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize); in UtLocalCacheCalloc() 113 Cache->Next = AslGbl_StringCacheList; in UtLocalCacheCalloc() 114 AslGbl_StringCacheList = Cache; in UtLocalCacheCalloc() 118 AslGbl_StringCacheNext = Cache->Buffer; in UtLocalCacheCalloc() 149 ASL_CACHE_INFO *Cache; in UtParseOpCacheCalloc() local [all …]
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
H A D | sanitizer_quarantine_test.cc | 31 typedef QuarantineCache<QuarantineCallback> Cache; typedef 38 static void DeallocateCache(Cache *cache) { in DeallocateCache() 78 Cache cache; in TEST() 79 Cache to_deallocate; in TEST() 87 Cache cache; in TEST() 91 Cache to_deallocate; in TEST() 105 Cache from; in TEST() 107 Cache cache; in TEST() 113 Cache to_deallocate; in TEST() 128 Cache from; in TEST() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | MemoryDependenceAnalysis.cpp | 706 static void AssertSorted(MemoryDependenceResults::NonLocalDepInfo &Cache, in AssertSorted() argument 709 Count = Cache.size(); in AssertSorted() 710 assert(std::is_sorted(Cache.begin(), Cache.begin() + Count) && in AssertSorted() 721 NonLocalDepInfo &Cache = CacheP.first; in getNonLocalCallDependency() local 728 if (!Cache.empty()) { in getNonLocalCallDependency() 733 return Cache; in getNonLocalCallDependency() 738 for (auto &Entry : Cache) in getNonLocalCallDependency() 743 llvm::sort(Cache); in getNonLocalCallDependency() 760 unsigned NumSortedEntries = Cache.size(); in getNonLocalCallDependency() 761 LLVM_DEBUG(AssertSorted(Cache)); in getNonLocalCallDependency() [all …]
|
H A D | CFLSteensAliasAnalysis.cpp | 228 auto InsertPair = Cache.insert(std::make_pair(Fn, Optional<FunctionInfo>())); in scan() 237 Cache[Fn] = std::move(FunInfo); in scan() 242 void CFLSteensAAResult::evict(Function *Fn) { Cache.erase(Fn); } in evict() 248 auto Iter = Cache.find(Fn); in ensureCached() 249 if (Iter == Cache.end()) { in ensureCached() 251 Iter = Cache.find(Fn); in ensureCached() 252 assert(Iter != Cache.end()); in ensureCached()
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
H A D | tsan_dense_alloc.h | 37 typedef DenseSlabAllocCache Cache; typedef 38 typedef typename Cache::IndexT IndexT; 60 IndexT Alloc(Cache *c) { in Alloc() 66 void Free(Cache *c, IndexT idx) { in Free() 68 if (c->pos == Cache::kSize) in Free() 79 void FlushCache(Cache *c) { in FlushCache() 88 void InitCache(Cache *c) { in InitCache() 100 void Refill(Cache *c) { in Refill() 121 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) { in Refill() 128 void Drain(Cache *c) { in Drain() [all …]
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
H A D | tsan_dense_alloc.h | 39 typedef DenseSlabAllocCache Cache; typedef 40 typedef typename Cache::IndexT IndexT; 62 IndexT Alloc(Cache *c) { in Alloc() 68 void Free(Cache *c, IndexT idx) { in Free() 70 if (c->pos == Cache::kSize) in Free() 81 void FlushCache(Cache *c) { in FlushCache() 90 void InitCache(Cache *c) { in InitCache() 102 void Refill(Cache *c) { in Refill() 123 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) { in Refill() 130 void Drain(Cache *c) { in Drain() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
H A D | tsan_dense_alloc.h | 38 typedef DenseSlabAllocCache Cache; typedef 39 typedef typename Cache::IndexT IndexT; 68 IndexT Alloc(Cache *c) { in Alloc() 74 void Free(Cache *c, IndexT idx) { in Free() 76 if (c->pos == Cache::kSize) in Free() 87 void FlushCache(Cache *c) { in FlushCache() 98 void InitCache(Cache *c) { in InitCache() 114 void Refill(Cache *c) { in Refill() 137 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) { in Refill() 144 void Drain(Cache *c) { in Drain() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.h | 128 llvm::StringMap<SharedFileSystemEntry, llvm::BumpPtrAllocator> Cache; member 161 bool IsInserted = Cache.try_emplace(Filename, Entry).second; in setCachedEntry() 167 auto It = Cache.find(Filename); in getCachedEntry() 168 return It == Cache.end() ? nullptr : It->getValue(); in getCachedEntry() 177 llvm::StringMap<const CachedFileSystemEntry *, llvm::BumpPtrAllocator> Cache; variable
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | SymbolCache.h | 40 mutable std::vector<std::unique_ptr<NativeRawSymbol>> Cache; variable 87 SymIndexId Id = Cache.size(); in createSymbolPlaceholder() 88 Cache.push_back(nullptr); in createSymbolPlaceholder() 122 SymIndexId Id = Cache.size(); in createSymbol() 131 Cache.push_back(std::move(Result)); in createSymbol() 154 SymIndexId SymId = Cache.size(); in getOrCreateFieldListMember()
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_quarantine.h | 78 typedef QuarantineCache<Callback> Cache; typedef 102 void Put(Cache *c, Callback cb, Node *ptr, uptr size) { in Put() 115 void NOINLINE Drain(Cache *c, Callback cb) { in Drain() 124 void NOINLINE DrainAndRecycle(Cache *c, Callback cb) { in DrainAndRecycle() 149 Cache cache_; 154 Cache tmp; in Recycle() 184 void NOINLINE DoRecycle(Cache *c, Callback cb) { in DoRecycle()
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_quarantine.h | 79 typedef QuarantineCache<Callback> Cache; typedef 103 void Put(Cache *c, Callback cb, Node *ptr, uptr size) { in Put() 116 void NOINLINE Drain(Cache *c, Callback cb) { in Drain() 125 void NOINLINE DrainAndRecycle(Cache *c, Callback cb) { in DrainAndRecycle() 150 Cache cache_; 154 Cache tmp; in Recycle() 184 void NOINLINE DoRecycle(Cache *c, Callback cb) { in DoRecycle()
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_quarantine.h | 77 typedef QuarantineCache<Callback> Cache; typedef 101 void Put(Cache *c, Callback cb, Node *ptr, uptr size) { in Put() 114 void NOINLINE Drain(Cache *c, Callback cb) { in Drain() 123 void NOINLINE DrainAndRecycle(Cache *c, Callback cb) { in DrainAndRecycle() 148 Cache cache_; 152 Cache tmp; in Recycle() 182 void NOINLINE DoRecycle(Cache *c, Callback cb) { in DoRecycle()
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/ |
H A D | tsan_dense_alloc_test.cc | 26 typedef Alloc::Cache Cache; in TEST() typedef 31 Cache cache; in TEST()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/ |
H A D | JITLink.cpp | 155 SplitBlockCache *Cache) { in splitBlock() argument 200 if (!Cache) in splitBlock() 201 Cache = &LocalBlockSymbolsCache; in splitBlock() 202 if (*Cache == None) { in splitBlock() 203 *Cache = SplitBlockCache::value_type(); in splitBlock() 206 (*Cache)->push_back(Sym); in splitBlock() 208 llvm::sort(**Cache, [](const Symbol *LHS, const Symbol *RHS) { in splitBlock() 212 auto &BlockSymbols = **Cache; in splitBlock()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeSession.cpp | 60 Cache(*this, getDbiStreamPtr(*Pdb)), AddrToModuleIndex(IMapAllocator) {} in NativeSession() 209 return Cache.getSymbolById(SymbolId); in getSymbolById() 262 return Cache.findSymbolBySectOffset(Sect, Offset, Type); in findSymbolBySectOffset() 274 return Cache.findLineNumbersByVA(Address, Length); in findLineNumbersByAddress() 279 return Cache.findLineNumbersByVA(getLoadAddress() + RVA, Length); in findLineNumbersByRVA() 286 return Cache.findLineNumbersByVA(VA, Length); in findLineNumbersBySectOffset() 326 return Cache.getSourceFileById(FileId); in getSourceFileById() 364 ExeSymbol = Cache.createSymbol<NativeExeSymbol>(); in initializeExeSymbol() 370 return Cache.getNativeSymbolById<NativeExeSymbol>(ExeSymbol); in getNativeGlobalScope()
|
/netbsd-src/sys/external/bsd/acpica/dist/os_specific/service_layers/ |
H A D | oswinxf.c | 1461 ACPI_CACHE_T *Cache) in AcpiOsDeleteCache() argument 1463 free (Cache); in AcpiOsDeleteCache() 1469 ACPI_CACHE_T *Cache) in AcpiOsPurgeCache() argument 1476 ACPI_CACHE_T *Cache) in AcpiOsAcquireObject() argument 1480 NewObject = malloc (((ACPI_MEMORY_LIST *) Cache)->ObjectSize); in AcpiOsAcquireObject() 1481 memset (NewObject, 0, ((ACPI_MEMORY_LIST *) Cache)->ObjectSize); in AcpiOsAcquireObject() 1488 ACPI_CACHE_T *Cache, in AcpiOsReleaseObject() argument
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/ |
H A D | FileSystemStatCache.cpp | 36 FileSystemStatCache *Cache, in get() argument 42 if (Cache) in get() 43 RetCode = Cache->getStat(Path, Status, isFile, F, FS); in get()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | DebugLoc.cpp | 73 DenseMap<const MDNode *, MDNode *> &Cache) { in appendInlinedAt() argument 81 if (auto *Found = Cache[IA]) { in appendInlinedAt() 94 Cache[MD] = Last = DILocation::getDistinct( in appendInlinedAt()
|
/netbsd-src/sys/external/bsd/acpica/dist/include/ |
H A D | acpiosxf.h | 287 ACPI_CACHE_T *Cache); 293 ACPI_CACHE_T *Cache); 299 ACPI_CACHE_T *Cache); 305 ACPI_CACHE_T *Cache,
|
/netbsd-src/sys/arch/hpc/stand/hpcboot/arm/ |
H A D | arm.asm | 84 ; Cache ops. 88 ; c7 (CRn) Cache Control Register 112 ; c7 (CRn) Cache Control Register 140 ; c7 (CRn) Cache Control Register 263 ; Reg7 Cache operations (W) 264 ; -> Cache ops
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | SimplifyCFGOptions.h | 60 SimplifyCFGOptions &setAssumptionCache(AssumptionCache *Cache) { in setAssumptionCache() 61 AC = Cache; in setAssumptionCache()
|
/netbsd-src/sys/external/bsd/acpica/dist/include/platform/ |
H A D | acdragonfly.h | 87 #define AcpiOsReleaseObject(Cache, Object) \ argument 88 _AcpiOsReleaseObject((Cache), (Object), __func__, __LINE__)
|
H A D | aclinuxex.h | 109 ACPI_CACHE_T *Cache) in AcpiOsAcquireObject() argument 111 return kmem_cache_zalloc (Cache, in AcpiOsAcquireObject()
|