Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/ganesh/
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/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/skia/src/core/
DSkLRUCache.h50 Entry** value = fMap.find(key); in find()
66 fMap.set(entry); in insert()
68 while (fMap.count() > fMaxCount) { in insert()
84 return fMap.count(); in count()
97 fMap.reset(); in reset()
116 Entry** value = fMap.find(key); in remove()
120 fMap.remove(key); in remove()
126 SkTHashTable<Entry*, K, Traits> fMap; variable
/external/bazelbuild-rules_android/src/common/golang/
Dflagfile.go45 fMap, err := parseFlags(bufio.NewReader(file))
49 for k, v := range fMap {
57 fMap := make(map[string]string)
86 fMap[k] = split[1]
93 fMap[k] = v
95 return fMap, nil
/external/skia/src/gpu/ganesh/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()
DGrGLGpu.h437 SkLRUCache<GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; variable
/external/skia/src/gpu/ganesh/vk/
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()
DGrVkResourceProvider.h256 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; variable
/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/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::__anon97c8ca510111::CoverageProcessor
/external/skia/src/gpu/ganesh/d3d/
DGrD3DResourceProvider.cpp311 : fMap(gpu->getContext()->priv().options().fRuntimeProgramCacheSize) in PipelineStateCache()
335 fMap.reset(); in release()
352 std::unique_ptr<Entry>* entry = fMap.find(desc); in refPipelineState()
362 entry = fMap.insert(desc, std::unique_ptr<Entry>( in refPipelineState()
370 fMap.foreach ([](const GrProgramDesc*, std::unique_ptr<Entry>* entry) { in markPipelineStateUniformsDirty()
378 fMap.reset(); in release()
384 sk_sp<GrD3DDescriptorTable>* entry = fMap.find(cpuDescriptors); in findOrCreateDescTable()
395 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/licenseclassifier/v2/tools/identify_license/results/
Dresults.go113 fMap := map[string]*FileClassifications{}
115 currF, ok := fMap[l.Filename]
118 fMap[l.Filename] = currF
137 for _, fc := range fMap {
/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/cronet/third_party/icu/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/clang/test/CodeGenCXX/
D2006-03-01-GimplifyCrash.cpp9 PrefMapElem* fMap; in foo() local
10 if (fMap[0].fPrefId == 1) in foo()
/external/skia/src/gpu/ganesh/mtl/
DGrMtlResourceProvider.mm186 : fMap(gpu->getContext()->priv().options().fRuntimeProgramCacheSize) function
190 SkASSERT(0 == fMap.count());
194 fMap.reset();
223 std::unique_ptr<Entry>* entry = fMap.find(desc);
252 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(pipelineState)));
266 std::unique_ptr<Entry>* entry = fMap.find(desc);
277 fMap.insert(desc, std::make_unique<Entry>(precompiledLibraries));
DGrMtlResourceProvider.h81 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; variable
/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
/external/llvm/lib/IR/
DAsmWriter.cpp599 ValueMap fMap; member in llvm::SlotTracker
926 fMap.clear(); // Simply discard the function level map in purgeFunction()
960 ValueMap::iterator FI = fMap.find(V); in getLocalSlot()
961 return FI == fMap.end() ? -1 : (int)FI->second; in getLocalSlot()
996 fMap[V] = DestSlot; in CreateFunctionSlot()

12