| /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/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/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/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| CFLAndersAliasAnalysis.h | 56 /// Evict the given function from cache 68 /// Ensures that the given function is available in the cache. 69 /// Returns the appropriate entry from the cache. 72 /// Inserts the given Function into the cache. 82 /// in the cache as an Optional without a value. This way, if we 85 DenseMap<const Function *, Optional<FunctionInfo>> Cache;
|
| CFLSteensAliasAnalysis.h | 58 /// Inserts the given Function into the cache. 63 /// Ensures that the given function is available in the cache. 64 /// Returns the appropriate entry from the cache. 98 /// in the cache as an Optional without a value. This way, if we 101 DenseMap<Function *, Optional<FunctionInfo>> Cache;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/ |
| NativeSession.h | 109 SymbolCache &getSymbolCache() { return Cache; } 110 const SymbolCache &getSymbolCache() const { return Cache; } 125 SymbolCache Cache;
|
| 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...] |
| /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/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/apache2/llvm/dist/llvm/tools/llvm-lto2/ |
| llvm-lto2.cpp | 55 static cl::opt<std::string> CacheDir("cache-dir", cl::desc("Cache Directory"), 379 NativeObjectCache Cache; 381 Cache = check(localCache(CacheDir, AddBuffer), "failed to create cache"); 383 check(Lto.run(AddStream, Cache), "LTO::run failed");
|
| /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/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| RangedConstraintManager.h | 92 // * Iteration over ranges is widespread and a more cache-friendly 233 llvm::FoldingSet<ContainerType> Cache;
|
| /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/llvm/tools/llvm-exegesis/lib/ |
| MCInstrDescView.h | 94 /// A cache of BitVector to reuse between Instructions. 95 /// The cache will only be exercised during Instruction initialization. 98 // Finds or allocates the provided BitVector in the cache and retrieves it's 103 mutable std::vector<std::unique_ptr<BitVector>> Cache; 173 // Instructions are expensive to instantiate. This class provides a cache of
|
| /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/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/apache2/llvm/dist/clang/tools/clang-scan-deps/ |
| ClangScanDeps.cpp | 51 /// option and cache the results for reuse. \returns resource directory path 67 const auto &CachedResourceDir = Cache.find(ClangBinaryPath); 68 if (CachedResourceDir != Cache.end()) 101 Cache[ClangBinaryPath] = Output.str(); 102 return Cache[ClangBinaryPath]; 106 std::map<std::string, std::string> Cache; 143 // absolute paths to PCM files in the module cache directory. 179 llvm::cl::desc("Reuse the file manager and its cache between invocations."),
|
| /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/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/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
| sysinfo.cc | 248 std::string dir = "/sys/devices/system/cpu/cpu0/cache/"; 263 "Invalid cache size format: failed to read size suffix"); 265 PrintErrorAndDie("Invalid cache size format: Expected bytes ", suffix); 333 CInfo* Cache = &it->Cache; 336 C.level = Cache->Level; 337 C.size = Cache->Size; 338 switch (Cache->Type) {
|
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
| sysinfo.cc | 246 std::string dir = "/sys/devices/system/cpu/cpu0/cache/"; 261 "Invalid cache size format: failed to read size suffix"); 263 PrintErrorAndDie("Invalid cache size format: Expected bytes ", suffix); 331 CInfo* Cache = &it->Cache; 334 C.level = Cache->Level; 335 C.size = Cache->Size; 337 switch (Cache->Type) {
|
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_ppmd7_private.h | 89 Byte Cache;
|
| /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/clang/lib/Frontend/ |
| FrontendAction.cpp | 957 StringRef Cache = 959 if (!Cache.empty()) { 961 CI.getFileManager(), CI.getPCHContainerReader(), Cache)) {
|