Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
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;
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 GrDDLContext::ProgramInfoMap
/external/skqp/src/gpu/vk/
DGrVkPipelineStateCache.cpp41 : fMap(kMaxEntries) in PipelineStateCache()
50 SkASSERT(0 == fMap.count()); in ~PipelineStateCache()
66 fMap.foreach([](std::unique_ptr<Entry>* e) { in abandon()
70 fMap.reset(); in abandon()
74 fMap.reset(); in release()
104 std::unique_ptr<Entry>* entry = fMap.find(desc); in refPipelineState()
108 entry = fMap.find(desc); in refPipelineState()
120 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(fGpu, pipelineState))); in refPipelineState()
/external/dng_sdk/source/
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.Spacing ().h; in ResetColumn()
200 fResetColumn = (int32) ceil (fMap.Origin ().h / fScale.h - fOffset.h); in ResetColumn()
207 if (fMap.Points ().h < 1) in ResetColumn()
[all …]
/external/skqp/src/core/
DSkLRUCache.h46 Entry** value = fMap.find(key); in find()
60 fMap.set(entry); in insert()
62 while (fMap.count() > fMaxCount) { in insert()
69 return fMap.count(); in count()
82 fMap.reset(); in reset()
101 Entry** value = fMap.find(key); in remove()
105 fMap.remove(key); in remove()
111 SkTHashTable<Entry*, K, Traits> fMap; variable
/external/skia/src/core/
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; variable
/external/skqp/src/gpu/gl/
DGrGLGpuProgramCache.cpp32 : fMap(kMaxEntries) in ProgramCache()
65 fMap.foreach([](std::unique_ptr<Entry>* e) { in abandon()
68 fMap.reset(); in abandon()
88 std::unique_ptr<Entry>* entry = fMap.find(desc); in refProgram()
92 entry = fMap.find(desc); in refProgram()
105 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(sk_sp<GrGLProgram>(program)))); in refProgram()
/external/skia/src/gpu/gl/
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()
/external/skia/src/gpu/vk/
DGrVkPipelineStateCache.cpp44 : fMap(gpu->getContext()->priv().options().fRuntimeProgramCacheSize) in PipelineStateCache()
49 SkASSERT(0 == fMap.count()); in ~PipelineStateCache()
70 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()
/external/skia/tools/gpu/
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; variable
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()
/external/skia/src/gpu/d3d/
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()
DGrD3DResourceProvider.h113 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; variable
125 DescriptorTableCache(GrD3DGpu* gpu) : fGpu(gpu), fMap(64) { in DescriptorTableCache()
151 SkLRUCache<DescTableKey, DescTableValue, DescTableHash> fMap; variable
/external/skia/modules/skottie/src/text/
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::__anonf8427ab30111::CoverageProcessor
/external/skia/src/gpu/mtl/
DGrMtlResourceProvider.mm95 : fMap(gpu->getContext()->priv().options().fRuntimeProgramCacheSize) function
99 SkASSERT(0 == fMap.count());
103 fMap.reset();
132 std::unique_ptr<Entry>* entry = fMap.find(desc);
159 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(pipelineState)));
173 std::unique_ptr<Entry>* entry = fMap.find(desc);
184 fMap.insert(desc, std::make_unique<Entry>(precompiledLibraries));
DGrMtlResourceProvider.h75 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; variable
/external/skqp/tools/gpu/
DMemoryCache.cpp33 auto result = fMap.find(key); in load()
34 if (result == fMap.end()) { in load()
53 fMap[Key(key)] = SkData::MakeWithCopy(data.data(), data.size()); in store()
DMemoryCache.h58 std::unordered_map<Key, sk_sp<SkData>, Hash> fMap; variable
/external/icu/icu4c/source/i18n/
Dcasetrn.cpp95 fMap(map) in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
112 fMap(o.fMap) in CaseMapTransliterator()
159 result=fMap(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
Dcasetrn.h87 UCaseMapFull *fMap; variable
/external/llvm-project/clang/test/CodeGenCXX/
D2006-03-01-GimplifyCrash.cpp9 PrefMapElem* fMap; in foo() local
10 if (fMap[0].fPrefId == 1) in foo()
/external/clang/test/CodeGenCXX/
D2006-03-01-GimplifyCrash.cpp9 PrefMapElem* fMap; in foo() local
10 if (fMap[0].fPrefId == 1) in foo()
/external/skia/src/sksl/ir/
DSkSLSetting.cpp64 fMap[entry.first] = std::unique_ptr<CapsLookupMethod>(entry.second); in CapsLookupTable()
69 auto iter = fMap.find(name); in lookup()
70 return (iter != fMap.end()) ? iter->second.get() : nullptr; in lookup()
74 std::unordered_map<String, std::unique_ptr<CapsLookupMethod>> fMap; member in SkSL::__anond01595680111::CapsLookupTable
/external/icu/libicu/cts_headers/
Dcasetrn.h87 UCaseMapFull *fMap; variable
/external/skia/tools/viewer/
DSlideDir.cpp130 , fMap(kFocusCtrl1, kFocusCtrl0) in FocusController()
205 map_t = SkTPin(fMap.computeYFromX(rel_t), 0.0f, 1.0f); in onTick()
251 SkCubicMap fMap; member in SlideDir::FocusController

12