Home
last modified time | relevance | path

Searched refs:Rec (Results 1 – 25 of 151) sorted by relevance

1234567

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DTpiHashing.cpp27 static uint32_t getHashForUdt(const TagRecord &Rec, in getHashForUdt() argument
29 ClassOptions Opts = Rec.getOptions(); in getHashForUdt()
33 bool IsAnon = HasUniqueName && isAnonymous(Rec.getName()); in getHashForUdt()
36 return hashStringV1(Rec.getName()); in getHashForUdt()
38 return hashStringV1(Rec.getUniqueName()); in getHashForUdt()
43 static Expected<uint32_t> getHashForUdt(const CVType &Rec) { in getHashForUdt() argument
45 if (auto E = TypeDeserializer::deserializeAs(const_cast<CVType &>(Rec), in getHashForUdt()
48 return getHashForUdt(Deserialized, Rec.data()); in getHashForUdt()
52 static Expected<TagRecordHash> getTagRecordHashForUdt(const CVType &Rec) { in getTagRecordHashForUdt() argument
54 if (auto E = TypeDeserializer::deserializeAs(const_cast<CVType &>(Rec), in getTagRecordHashForUdt()
[all …]
/third_party/flutter/skia/tools/
DSkMetaData.cpp15 Rec* rec = fRec; in reset()
17 Rec* next = rec->fNext; in reset()
18 Rec::Free(rec); in reset()
60 Rec* rec = Rec::Alloc(sizeof(Rec) + dataSize * count + len + 1); in set()
80 const Rec* rec = this->find(name, kS32_Type); in findS32()
93 const Rec* rec = this->find(name, kScalar_Type); in findScalar()
106 const Rec* rec = this->find(name, kScalar_Type); in findScalars()
119 const Rec* rec = this->find(name, kPtr_Type); in findPtr()
133 const Rec* rec = this->find(name, kBool_Type); in findBool()
144 const SkMetaData::Rec* SkMetaData::find(const char name[], Type type) const in find()
[all …]
DSkMetaData.h65 struct Rec;
87 Rec* fRec;
91 struct Rec { struct
92 Rec* fNext; argument
102 static Rec* Alloc(size_t); argument
103 static void Free(Rec*);
105 Rec* fRec = nullptr;
107 const Rec* find(const char name[], Type) const;
/third_party/skia/src/core/
DSkResourceCache.h74 struct Rec { struct
77 Rec() {} in Rec() argument
78 virtual ~Rec() {} in ~Rec() argument
106 Rec* fNext; argument
107 Rec* fPrev; argument
118 typedef const Rec* ID; argument
130 typedef bool (*FindVisitor)(const Rec&, void* context);
153 static void Add(Rec*, void* payload = nullptr);
155 typedef void (*Visitor)(const Rec&, void* context);
221 void add(Rec*, void* payload = nullptr);
[all …]
DSkResourceCache.cpp69 static const SkResourceCache::Key& GetKey(const SkResourceCache::Rec* rec) { in GetKey()
76 public SkTHashTable<SkResourceCache::Rec*, SkResourceCache::Key, HashTraits> {};
107 Rec* rec = fHead; in ~SkResourceCache()
109 Rec* next = rec->fNext; in ~SkResourceCache()
122 Rec* rec = *found; in find()
146 void SkResourceCache::add(Rec* rec, void* payload) { in add()
151 if (Rec** preexisting = fHash->find(rec->getKey())) { in add()
152 Rec* prev = *preexisting; in add()
180 void SkResourceCache::remove(Rec* rec) { in remove()
216 Rec* rec = fTail; in purgeAsNeeded()
[all …]
DSkBitmapCache.cpp63 class SkBitmapCache::Rec : public SkResourceCache::Rec { class in SkBitmapCache
65 Rec(const SkBitmapCacheDesc& desc, const SkImageInfo& info, size_t rowBytes, in Rec() function in SkBitmapCache::Rec
80 ~Rec() override { in ~Rec()
107 Rec* rec = static_cast<Rec*>(ctx); in ReleaseProc()
149 static bool Finder(const SkResourceCache::Rec& baseRec, void* contextBitmap) { in Finder()
150 Rec* rec = (Rec*)&baseRec; in Finder()
174 void SkBitmapCache::PrivateDeleteRec(Rec* rec) { delete rec; } in PrivateDeleteRec()
201 return RecPtr(new Rec(desc, info, rb, std::move(dm), block)); in Alloc()
210 return SkResourceCache::Find(BitmapKey(desc), SkBitmapCache::Rec::Finder, result); in Find()
232 struct MipMapRec : public SkResourceCache::Rec {
[all …]
DSkString.cpp184 const SkString::Rec SkString::gEmptyRec(0, 0);
207 sk_sp<SkString::Rec> SkString::Rec::Make(const char text[], size_t len) { in Make()
209 return sk_sp<SkString::Rec>(const_cast<Rec*>(&gEmptyRec)); in Make()
223 sk_sp<Rec> rec(new (storage) Rec(stringLen, 1)); in Make()
231 void SkString::Rec::ref() const { in ref()
238 void SkString::Rec::unref() const { in unref()
249 bool SkString::Rec::unique() const { in unique()
254 int32_t SkString::Rec::getRefCnt() const { in getRefCnt()
275 SkString::SkString() : fRec(const_cast<Rec*>(&gEmptyRec)) { in SkString()
279 fRec = Rec::Make(nullptr, len); in SkString()
[all …]
DSkBitmapCache.h48 class Rec; variable
49 struct RecDeleter { void operator()(Rec* r) { PrivateDeleteRec(r); } }; in operator()
50 typedef std::unique_ptr<Rec, RecDeleter> RecPtr;
56 static void PrivateDeleteRec(Rec*);
/third_party/flutter/skia/src/core/
DSkResourceCache.h74 struct Rec { struct
77 Rec() {} in Rec() argument
78 virtual ~Rec() {} in ~Rec() argument
106 Rec* fNext; argument
107 Rec* fPrev; argument
118 typedef const Rec* ID; argument
130 typedef bool (*FindVisitor)(const Rec&, void* context);
153 static void Add(Rec*, void* payload = nullptr);
155 typedef void (*Visitor)(const Rec&, void* context);
220 void add(Rec*, void* payload = nullptr);
[all …]
DSkResourceCache.cpp69 static const SkResourceCache::Key& GetKey(const SkResourceCache::Rec* rec) { in GetKey()
76 public SkTHashTable<SkResourceCache::Rec*, SkResourceCache::Key, HashTraits> {};
105 Rec* rec = fHead; in ~SkResourceCache()
107 Rec* next = rec->fNext; in ~SkResourceCache()
120 Rec* rec = *found; in find()
144 void SkResourceCache::add(Rec* rec, void* payload) { in add()
149 if (Rec** preexisting = fHash->find(rec->getKey())) { in add()
150 Rec* prev = *preexisting; in add()
178 void SkResourceCache::remove(Rec* rec) { in remove()
214 Rec* rec = fTail; in purgeAsNeeded()
[all …]
DSkBitmapCache.cpp63 class SkBitmapCache::Rec : public SkResourceCache::Rec { class in SkBitmapCache
65 Rec(const SkBitmapCacheDesc& desc, const SkImageInfo& info, size_t rowBytes, in Rec() function in SkBitmapCache::Rec
80 ~Rec() override { in ~Rec()
107 Rec* rec = static_cast<Rec*>(ctx); in ReleaseProc()
149 static bool Finder(const SkResourceCache::Rec& baseRec, void* contextBitmap) { in Finder()
150 Rec* rec = (Rec*)&baseRec; in Finder()
174 void SkBitmapCache::PrivateDeleteRec(Rec* rec) { delete rec; } in PrivateDeleteRec()
201 return RecPtr(new Rec(desc, info, rb, std::move(dm), block)); in Alloc()
210 return SkResourceCache::Find(BitmapKey(desc), SkBitmapCache::Rec::Finder, result); in Find()
232 struct MipMapRec : public SkResourceCache::Rec {
[all …]
DSkString.cpp178 const SkString::Rec SkString::gEmptyRec(0, 0);
201 sk_sp<SkString::Rec> SkString::Rec::Make(const char text[], size_t len) { in Make()
203 return sk_sp<SkString::Rec>(const_cast<Rec*>(&gEmptyRec)); in Make()
217 sk_sp<Rec> rec(new (storage) Rec(stringLen, 1)); in Make()
225 void SkString::Rec::ref() const { in ref()
232 void SkString::Rec::unref() const { in unref()
243 bool SkString::Rec::unique() const { in unique()
265 SkString::SkString() : fRec(const_cast<Rec*>(&gEmptyRec)) { in SkString()
269 fRec = Rec::Make(nullptr, len); in SkString()
275 fRec = Rec::Make(text, len); in SkString()
[all …]
DSkBitmapCache.h48 class Rec; variable
49 struct RecDeleter { void operator()(Rec* r) { PrivateDeleteRec(r); } }; in operator()
50 typedef std::unique_ptr<Rec, RecDeleter> RecPtr;
56 static void PrivateDeleteRec(Rec*);
/third_party/skia/tools/
DSkMetaData.cpp15 Rec* rec = fRec; in reset()
17 Rec* next = rec->fNext; in reset()
18 Rec::Free(rec); in reset()
59 Rec* rec; in set()
67 rec = Rec::Alloc(sizeof(Rec) + dataSize * count + len + 1); in set()
98 const Rec* rec = this->find(name, kS32_Type); in findS32()
111 const Rec* rec = this->find(name, kScalar_Type); in findScalar()
124 const Rec* rec = this->find(name, kScalar_Type); in findScalars()
137 const Rec* rec = this->find(name, kPtr_Type); in findPtr()
151 const Rec* rec = this->find(name, kBool_Type); in findBool()
[all …]
DSkMetaData.h65 struct Rec;
87 Rec* fRec;
91 struct Rec { struct
92 Rec* fNext; argument
102 static Rec* Alloc(size_t); argument
103 static void Free(Rec*);
105 Rec* fRec = nullptr;
107 const Rec* find(const char name[], Type) const;
116 SkMetaData::Rec* rec;
117 SkMetaData::Rec* prev;
/third_party/skia/src/gpu/
DGrWindowRectangles.h38 struct Rec;
40 const Rec* rec() const { return fCount <= 1 ? nullptr : fRec; } in rec()
45 Rec* fRec; // If fCount > 1.
49 struct GrWindowRectangles::Rec : public GrNonAtomicRef<Rec> { struct
50 Rec(const SkIRect* windows, int numWindows) { in Rec() argument
54 Rec() = default;
87 result.fRec = new Rec(); in makeOffset()
105 fRec = new Rec(&fLocalWindow, 1); in addWindow()
108 fRec = new Rec(fRec->fData, fCount); in addWindow()
/third_party/flutter/skia/src/gpu/
DGrWindowRectangles.h39 struct Rec;
41 const Rec* rec() const { return fCount <= kNumLocalWindows ? nullptr : fRec; } in rec()
46 Rec* fRec; // If fCount > kNumLocalWindows.
50 struct GrWindowRectangles::Rec : public GrNonAtomicRef<Rec> { struct
51 Rec(const SkIRect* windows, int numWindows) { in Rec() function
55 Rec() = default;
88 result.fRec = new Rec(); in makeOffset()
105 fRec = new Rec(fLocalWindows, kNumLocalWindows); in addWindow()
108 fRec = new Rec(fRec->fData, fCount); in addWindow()
/third_party/flutter/skia/include/effects/
DSkLayerDrawLooper.h87 struct Rec { struct
88 Rec* fNext; argument
92 Rec* fRecs; argument
104 Rec* fCurrRec;
144 Rec* fRecs;
145 Rec* fTopRec;
/third_party/skia/include/effects/
DSkLayerDrawLooper.h94 struct Rec { struct
95 Rec* fNext; argument
99 Rec* fRecs; argument
111 Rec* fCurrRec;
155 Rec* fRecs;
156 Rec* fTopRec;
/third_party/skia/bench/
DCmapBench.cpp21 struct Rec { struct
30 typedef void (*TypefaceProc)(const Rec& r);
32 static void textToGlyphs_proc(const Rec& r) { in textToGlyphs_proc()
41 static void charsToGlyphs_proc(const Rec& r) { in charsToGlyphs_proc()
51 static void addcache_proc(const Rec& r) { in addcache_proc()
60 static void findcache_proc(const Rec& r) { in findcache_proc()
/third_party/flutter/skia/bench/
DCmapBench.cpp21 struct Rec { struct
30 typedef void (*TypefaceProc)(const Rec& r);
32 static void textToGlyphs_proc(const Rec& r) { in textToGlyphs_proc()
41 static void charsToGlyphs_proc(const Rec& r) { in charsToGlyphs_proc()
51 static void addcache_proc(const Rec& r) { in addcache_proc()
60 static void findcache_proc(const Rec& r) { in findcache_proc()
/third_party/flutter/skia/src/effects/
DSkLayerDrawLooper.cpp36 Rec* rec = fRecs; in ~SkLayerDrawLooper()
38 Rec* next = rec->fNext; in ~SkLayerDrawLooper()
154 const Rec* rec = fRecs; in asABlurShadow()
199 Rec* rec = fRecs; in flatten()
241 Rec* rec = fRecs; in ~Builder()
243 Rec* next = rec->fNext; in ~Builder()
252 Rec* rec = new Rec; in addLayer()
273 Rec* rec = new Rec; in addLayerOnTop()
/third_party/flutter/skia/modules/sksg/include/
DSkSGMerge.h39 struct Rec { struct
44 static sk_sp<Merge> Make(std::vector<Rec>&& recs) { in Make() argument
59 Merge(std::vector<Rec>&& recs);
61 const std::vector<Rec> fRecs;
/third_party/skia/modules/sksg/include/
DSkSGMerge.h39 struct Rec { struct
44 static sk_sp<Merge> Make(std::vector<Rec>&& recs) { in Make() argument
59 Merge(std::vector<Rec>&& recs);
61 const std::vector<Rec> fRecs;
/third_party/skia/src/effects/
DSkLayerDrawLooper.cpp39 Rec* rec = fRecs; in ~SkLayerDrawLooper()
41 Rec* next = rec->fNext; in ~SkLayerDrawLooper()
157 const Rec* rec = fRecs; in asABlurShadow()
202 Rec* rec = fRecs; in flatten()
249 Rec* rec = fRecs; in ~Builder()
251 Rec* next = rec->fNext; in ~Builder()
260 Rec* rec = new Rec; in addLayer()
281 Rec* rec = new Rec; in addLayerOnTop()

1234567