Home
last modified time | relevance | path

Searched refs:fMap (Results 1 - 25 of 25) sorted by relevance

/third_party/skia/src/gpu/
H A DGrHashMapWithCache.h33 int count() const { return fMap.count(); } in count()
36 size_t approxBytesUsed() const { return fMap.approxBytesUsed(); } in approxBytesUsed()
45 fLastValue = fMap.find(key); in find()
57 fLastValue = fMap.set(std::move(key), std::move(val)); in set()
65 SkASSERT(fMap.find(fLastKey)); in remove()
68 fMap.remove(fLastKey); in remove()
75 fMap.reset(); in reset()
79 SkTHashMap<K, V, HashT> fMap; member in GrHashMapWithCache
H A DGrDDLContext.cpp74 ProgramInfoMap() : fMap(10) {} in ProgramInfoMap()
82 const CacheValue* preExisting = fMap.find(desc); in add()
87 fMap.insert(desc, programInfo); in add()
91 fMap.foreach([dst](CacheKey* programDesc, CacheValue* programInfo) { in toArray()
106 SkLRUCache<CacheKey, CacheValue, DescHash> fMap; member in final::ProgramInfoMap
/third_party/skia/src/core/
H A DSkLRUCache.h46 Entry** value = fMap.find(key); in find()
62 fMap.set(entry); in insert()
64 while (fMap.count() > fMaxCount) { in insert()
80 return fMap.count(); in count()
93 fMap.reset(); in reset()
112 Entry** value = fMap.find(key); in remove()
116 fMap.remove(key); in remove()
122 SkTHashTable<Entry*, K, Traits> fMap; member in SkLRUCache
/third_party/skia/src/gpu/gl/
H A DGrGLGpuProgramCache.cpp32 : fMap(runtimeProgramCacheSize) { in ProgramCache()
38 fMap.foreach([](GrProgramDesc*, std::unique_ptr<Entry>* e) { in abandon()
48 fMap.reset(); in reset()
91 std::unique_ptr<Entry>* entry = fMap.find(desc); in findOrCreateProgramImpl()
114 entry = fMap.insert(desc, std::make_unique<Entry>(std::move(program))); in findOrCreateProgramImpl()
129 std::unique_ptr<Entry>* entry = fMap.find(desc); in precompileShader()
140 fMap.insert(desc, std::make_unique<Entry>(precompiledProgram)); in precompileShader()
H A DGrGLGpu.h424 SkLRUCache<GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; member in final::ProgramCache
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_gain_map.cpp33 const dng_gain_map &fMap; member in dng_gain_map_interpolator
101 : fMap (map) in dng_gain_map_interpolator()
125 fMap.Origin ().v) / fMap.Spacing ().v; in dng_gain_map_interpolator()
140 if (fMap.Points ().v < 1) in dng_gain_map_interpolator()
144 uint32 lastRow = static_cast<uint32> (fMap.Points ().v - 1); in dng_gain_map_interpolator()
180 return fMap.Entry (fRowIndex1, colIndex, fPlane) * (1.0f - fRowFract) + in InterpolateEntry()
181 fMap.Entry (fRowIndex2, colIndex, fPlane) * ( fRowFract); in InterpolateEntry()
191 fMap.Origin ().h) / fMap in ResetColumn()
[all...]
/third_party/skia/experimental/graphite/src/
H A DResourceProvider.cpp39 : fMap(16) // TODO: find a good value for this in GraphicsPipelineCache()
43 SkASSERT(0 == fMap.count()); in ~GraphicsPipelineCache()
47 fMap.reset(); in release()
52 std::unique_ptr<Entry>* entry = fMap.find(desc); in refPipeline()
59 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(std::move(pipeline)))); in refPipeline()
H A DResourceProvider.h64 SkLRUCache<const GraphicsPipelineDesc, std::unique_ptr<Entry>, DescHash> fMap; member in skgpu::ResourceProvider::GraphicsPipelineCache
/third_party/skia/src/gpu/vk/
H A DGrVkPipelineStateCache.cpp43 : fMap(gpu->getContext()->priv().options().fRuntimeProgramCacheSize) in PipelineStateCache()
48 SkASSERT(0 == fMap.count()); in ~PipelineStateCache()
69 fMap.reset(); in release()
118 std::unique_ptr<Entry>* entry = fMap.find(desc); in findOrCreatePipelineStateImpl()
128 entry = fMap.insert(desc, std::make_unique<Entry>(fGpu, pipelineState)); in findOrCreatePipelineStateImpl()
H A DGrVkResourceProvider.h260 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; member in GrVkResourceProvider::PipelineStateCache
/third_party/skia/src/gpu/d3d/
H A DGrD3DResourceProvider.cpp306 : fMap(gpu->getContext()->priv().options().fRuntimeProgramCacheSize) in PipelineStateCache()
330 fMap.reset(); in release()
347 std::unique_ptr<Entry>* entry = fMap.find(desc); in refPipelineState()
357 entry = fMap.insert(desc, std::unique_ptr<Entry>( in refPipelineState()
365 fMap.foreach ([](const GrProgramDesc*, std::unique_ptr<Entry>* entry) { in markPipelineStateUniformsDirty()
373 fMap.reset(); in release()
379 sk_sp<GrD3DDescriptorTable>* entry = fMap.find(cpuDescriptors); in findOrCreateDescTable()
390 entry = fMap.insert(cpuDescriptors, std::move(descTable)); in findOrCreateDescTable()
H A DGrD3DResourceProvider.h113 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; member in GrD3DResourceProvider::PipelineStateCache
125 DescriptorTableCache(GrD3DGpu* gpu) : fGpu(gpu), fMap(64) { in DescriptorTableCache()
151 SkLRUCache<DescTableKey, DescTableValue, DescTableHash> fMap; member in GrD3DResourceProvider::DescriptorTableCache
/third_party/skia/modules/skottie/src/text/
H A DRangeSelector.cpp90 fMap = &maps.fNonWhitespaceMap; in CoverageProcessor()
93 fMap = &maps.fWordsMap; in CoverageProcessor()
96 fMap = &maps.fLinesMap; in CoverageProcessor()
102 if (fMap) { in CoverageProcessor()
105 fDomainSize = fMap->size(); in CoverageProcessor()
127 SkASSERT(fMap); in domain_map_proc()
131 const auto& span = (*fMap)[i]; in domain_map_proc()
141 const TextAnimator::DomainMap* fMap = nullptr; member in skottie::internal::__anon18586::CoverageProcessor
/third_party/skia/tools/gpu/
H A DMemoryCache.cpp40 auto result = fMap.find(key); in load()
41 if (result == fMap.end()) { in load()
62 fMap[Key(key)] = Value(data, description); in store()
70 for (auto it = fMap.begin(); it != fMap.end(); ++it) { in writeShadersToDisk()
H A DMemoryCache.h32 fMap.clear(); in reset()
48 for (auto it = fMap.begin(); it != fMap.end(); ++it) { in foreach()
90 std::unordered_map<Key, Value, Hash> fMap; member in sk_gpu_test::MemoryCache
/third_party/icu/icu4c/source/i18n/
H A Dcasetrn.cpp95 fMap(map) in CaseMapTransliterator()
112 fMap(o.fMap) in CaseMapTransliterator()
121 fMap = o.fMap;
159 result=fMap(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
162 // fMap() tried to look beyond the context limit in handleTransliterate()
H A Dcasetrn.h87 UCaseMapFull *fMap; member in CaseMapTransliterator
/third_party/node/deps/icu-small/source/i18n/
H A Dcasetrn.cpp95 fMap(map) in CaseMapTransliterator()
112 fMap(o.fMap) in CaseMapTransliterator()
121 fMap = o.fMap;
159 result=fMap(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
162 // fMap() tried to look beyond the context limit in handleTransliterate()
H A Dcasetrn.h87 UCaseMapFull *fMap; member in CaseMapTransliterator
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dcasetrn.cpp95 fMap(map) in CaseMapTransliterator()
112 fMap(o.fMap) in CaseMapTransliterator()
121 fMap = o.fMap;
159 result=fMap(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
162 // fMap() tried to look beyond the context limit in handleTransliterate()
H A Dcasetrn.h87 UCaseMapFull *fMap; member in CaseMapTransliterator
/third_party/skia/src/sksl/ir/
H A DSkSLSetting.cpp67 fMap[entry.first] = std::unique_ptr<CapsLookupMethod>(entry.second); in CapsLookupTable()
72 auto iter = fMap.find(name); in lookup()
73 return (iter != fMap.end()) ? iter->second.get() : nullptr; in lookup()
77 std::unordered_map<skstd::string_view, std::unique_ptr<CapsLookupMethod>> fMap; member in SkSL::__anon18965::CapsLookupTable
/third_party/skia/tools/viewer/
H A DSlideDir.cpp130 , fMap(kFocusCtrl1, kFocusCtrl0) in FocusController()
205 map_t = SkTPin(fMap.computeYFromX(rel_t), 0.0f, 1.0f);
251 SkCubicMap fMap; member in final
/third_party/skia/src/gpu/mtl/
H A DGrMtlResourceProvider.h81 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; member in GrMtlResourceProvider::PipelineStateCache
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DAsmWriter.cpp694 /// fMap - The slot map for the function level data.
695 ValueMap fMap; member in llvm::SlotTracker
1091 fMap.clear(); // Simply discard the function level map in purgeFunction()
1124 ValueMap::iterator FI = fMap.find(V); in getLocalSlot()
1125 return FI == fMap.end() ? -1 : (int)FI->second; in getLocalSlot()
1187 fMap[V] = DestSlot; in CreateFunctionSlot()

Completed in 26 milliseconds