| /src/sys/external/bsd/acpica/dist/utilities/ |
| utcache.c | 3 * Module Name: utcache - local cache allocation routines 56 * PARAMETERS: CacheName - Ascii name for the cache 58 * MaxDepth - Maximum depth of the cache (in objects) 59 * ReturnCache - Where the new cache object is returned 63 * DESCRIPTION: Create a cache object 74 ACPI_MEMORY_LIST *Cache; 85 /* Create the cache object */ 87 Cache = AcpiOsAllocate (sizeof (ACPI_MEMORY_LIST)); 88 if (!Cache) 93 /* Populate the cache object and return it * [all...] |
| uttrack.c | 91 * PARAMETERS: CacheName - Ascii name for the cache 93 * ReturnCache - Where the new cache object is returned 107 ACPI_MEMORY_LIST *Cache; 110 Cache = AcpiOsAllocateZeroed (sizeof (ACPI_MEMORY_LIST)); 111 if (!Cache) 116 Cache->ListName = ListName; 117 Cache->ObjectSize = ObjectSize; 119 *ReturnCache = Cache; 693 /* Ignore allocated objects that are in a cache */ 794 ACPI_ERROR ((AE_INFO, "%u (0x%X) Outstanding cache allocations" [all...] |
| /src/sys/external/bsd/acpica/dist/compiler/ |
| aslcache.c | 3 * Module Name: aslcache -- Local cache support for iASL 48 * of each individual input file. Thus, individual allocations from the cache 49 * memory do not need to be freed or even released back into the cache. 74 ASL_CACHE_INFO *Cache; 89 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize); 91 /* Link new cache buffer just following head of list */ 93 Cache->Next = AslGbl_StringCacheList->Next; 94 AslGbl_StringCacheList->Next = Cache; 96 /* Leave cache management pointers alone as they pertain to head * [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/ |
| tsan_dense_alloc_test.cc | 26 typedef Alloc::Cache Cache; 31 Cache cache; local 32 alloc.InitCache(&cache); 37 IndexT idx = alloc.Alloc(&cache); 48 alloc.Free(&cache, idx); 51 alloc.FlushCache(&cache);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| tsan_dense_alloc.h | 13 // DenseSlabAllocCache is a thread-local cache for DenseSlabAlloc. 32 IndexT cache[kSize]; member in class:__tsan::DenseSlabAllocCache 39 typedef DenseSlabAllocCache Cache; 40 typedef typename Cache::IndexT IndexT; 62 IndexT Alloc(Cache *c) { 65 return c->cache[--c->pos]; 68 void Free(Cache *c, IndexT idx) { 70 if (c->pos == Cache::kSize) 72 c->cache[c->pos++] = idx; 81 void FlushCache(Cache *c) [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| tsan_dense_alloc.h | 12 // DenseSlabAllocCache is a thread-local cache for DenseSlabAlloc. 30 IndexT cache[kSize]; member in class:__tsan::DenseSlabAllocCache 38 typedef DenseSlabAllocCache Cache; 39 typedef typename Cache::IndexT IndexT; 68 IndexT Alloc(Cache *c) { 71 return c->cache[--c->pos]; 74 void Free(Cache *c, IndexT idx) { 76 if (c->pos == Cache::kSize) 78 c->cache[c->pos++] = idx; 87 void FlushCache(Cache *c) [all...] |
| /src/sys/external/bsd/acpica/dist/include/platform/ |
| acdragonflyex.h | 52 ACPI_CACHE_T *Cache,
|
| acdragonfly.h | 87 #define AcpiOsReleaseObject(Cache, Object) \ 88 _AcpiOsReleaseObject((Cache), (Object), __func__, __LINE__)
|
| aclinuxex.h | 109 ACPI_CACHE_T *Cache) 111 return kmem_cache_zalloc (Cache,
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| sanitizer_quarantine_test.cc | 31 typedef QuarantineCache<QuarantineCallback> Cache; 38 static void DeallocateCache(Cache *cache) { 39 while (QuarantineBatch *batch = cache->DequeueBatch()) 78 Cache cache; local 79 Cache to_deallocate; 80 cache.MergeBatches(&to_deallocate); 87 Cache cache; local 107 Cache cache; local 129 Cache cache; local 155 Cache cache; local [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| SimplifyCFGOptions.h | 60 SimplifyCFGOptions &setAssumptionCache(AssumptionCache *Cache) { 61 AC = Cache;
|
| /src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| tsan_dense_alloc.h | 12 // DenseSlabAllocCache is a thread-local cache for DenseSlabAlloc. 30 IndexT cache[kSize]; member in class:__tsan::DenseSlabAllocCache 38 typedef DenseSlabAllocCache Cache; 39 typedef typename Cache::IndexT IndexT; 68 IndexT Alloc(Cache *c) { 71 return c->cache[--c->pos]; 74 void Free(Cache *c, IndexT idx) { 76 if (c->pos == Cache::kSize) 78 c->cache[c->pos++] = idx; 87 void FlushCache(Cache *c) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Tooling/DependencyScanning/ |
| DependencyScanningFilesystem.h | 105 /// This class is a shared cache, that caches the 'stat' and 'open' calls to the 119 /// Returns a cache entry for the corresponding key. 121 /// A new cache entry is created if the key is not in the cache. This is a 128 llvm::StringMap<SharedFileSystemEntry, llvm::BumpPtrAllocator> Cache; 161 bool IsInserted = Cache.try_emplace(Filename, Entry).second; 163 assert(IsInserted && "local cache is updated more than once"); 167 auto It = Cache.find(Filename); 168 return It == Cache.end() ? nullptr : It->getValue(); 175 /// The local cache is used by the worker thread to cache file system querie [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Basic/ |
| FileSystemStatCache.cpp | 25 /// path, using the cache to accelerate it if possible. This returns true if 36 FileSystemStatCache *Cache, 41 // If we have a cache, use it to resolve the stat query. 42 if (Cache) 43 RetCode = Cache->getStat(Path, Status, isFile, F, FS); 46 // no cache, just go to the file system. 108 // Do not cache failed stats, it is easy to construct common inconsistent 115 // Cache file 'stat' results and directories with absolutely paths.
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| MemoryDependenceAnalysis.cpp | 704 /// This method is used when -debug is specified to verify that cache arrays 706 static void AssertSorted(MemoryDependenceResults::NonLocalDepInfo &Cache, 709 Count = Cache.size(); 710 assert(std::is_sorted(Cache.begin(), Cache.begin() + Count) && 711 "Cache isn't sorted!"); 721 NonLocalDepInfo &Cache = CacheP.first; 728 if (!Cache.empty()) { 729 // Okay, we have a cache entry. If we know it is not dirty, just return it 733 return Cache; [all...] |
| CFLSteensAliasAnalysis.cpp | 228 auto InsertPair = Cache.insert(std::make_pair(Fn, Optional<FunctionInfo>())); 233 // Note that we can't do Cache[Fn] = buildSetsFrom(Fn) here: the function call 237 Cache[Fn] = std::move(FunInfo); 242 void CFLSteensAAResult::evict(Function *Fn) { Cache.erase(Fn); } 244 /// Ensures that the given function is available in the cache, and returns the 248 auto Iter = Cache.find(Fn); 249 if (Iter == Cache.end()) { 251 Iter = Cache.find(Fn); 252 assert(Iter != Cache.end());
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| DebugLoc.cpp | 73 DenseMap<const MDNode *, MDNode *> &Cache) { 81 if (auto *Found = Cache[IA]) { 94 Cache[MD] = Last = DILocation::getDistinct(
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/ |
| SymbolCache.h | 1 //==- SymbolCache.h - Cache of native symbols and ids ------------*- C++ -*-==// 35 /// Cache of all stable symbols, indexed by SymIndexId. Just because a 40 mutable std::vector<std::unique_ptr<NativeRawSymbol>> Cache; 87 SymIndexId Id = Cache.size(); 88 Cache.push_back(nullptr); 122 SymIndexId Id = Cache.size(); 124 // Initial construction must not access the cache, since it must be done 131 Cache.push_back(std::move(Result)); 133 // After the item is in the cache, we can do further initialization which 134 // is then allowed to access the cache [all...] |
| NativeSession.h | 109 SymbolCache &getSymbolCache() { return Cache; } 110 const SymbolCache &getSymbolCache() const { return Cache; } 125 SymbolCache Cache;
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_quarantine.h | 79 typedef QuarantineCache<Callback> Cache; 103 void Put(Cache *c, Callback cb, Node *ptr, uptr size) { 111 // Check cache size anyway to accommodate for runtime cache_size change. 116 void NOINLINE Drain(Cache *c, Callback cb) { 125 void NOINLINE DrainAndRecycle(Cache *c, Callback cb) { 150 Cache cache_; 154 Cache tmp; 184 void NOINLINE DoRecycle(Cache *c, Callback cb) { 200 // Per-thread cache of memory blocks.
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_quarantine.h | 78 typedef QuarantineCache<Callback> Cache; 102 void Put(Cache *c, Callback cb, Node *ptr, uptr size) { 110 // Check cache size anyway to accommodate for runtime cache_size change. 115 void NOINLINE Drain(Cache *c, Callback cb) { 124 void NOINLINE DrainAndRecycle(Cache *c, Callback cb) { 149 Cache cache_; 154 Cache tmp; 184 void NOINLINE DoRecycle(Cache *c, Callback cb) { 200 // Per-thread cache of memory blocks.
|
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_quarantine.h | 74 typedef QuarantineCache<Callback> Cache; 96 void Put(Cache *c, Callback cb, Node *ptr, uptr size) { 105 // Check cache size anyway to accommodate for runtime cache_size change. 110 void NOINLINE Drain(Cache *c, Callback cb) { 119 void NOINLINE DrainAndRecycle(Cache *c, Callback cb) { 144 Cache cache_; 149 Cache tmp; 179 void NOINLINE DoRecycle(Cache *c, Callback cb) { 195 // Per-thread cache of memory blocks.
|
| /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/ |
| JITLink.cpp | 155 SplitBlockCache *Cache) { 198 // Initialize the symbols cache if necessary. 200 if (!Cache) 201 Cache = &LocalBlockSymbolsCache; 202 if (*Cache == None) { 203 *Cache = SplitBlockCache::value_type(); 206 (*Cache)->push_back(Sym); 208 llvm::sort(**Cache, [](const Symbol *LHS, const Symbol *RHS) { 212 auto &BlockSymbols = **Cache;
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| PtrState.h | 173 bool InitBottomUp(ARCMDKindCache &Cache, Instruction *I); 199 bool MatchWithRelease(ARCMDKindCache &Cache, Instruction *Release);
|
| /src/sys/external/bsd/acpica/dist/include/ |
| acpiosxf.h | 273 * Memory/Object Cache 287 ACPI_CACHE_T *Cache); 293 ACPI_CACHE_T *Cache); 299 ACPI_CACHE_T *Cache); 305 ACPI_CACHE_T *Cache,
|