Home
last modified time | relevance | path

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

123456

/external/chromium_org/third_party/skia/src/core/
DSkResourceCache.h60 struct Rec { struct
63 Rec() {} in Rec() argument
64 virtual ~Rec() {} in ~Rec() argument
73 static const Key& GetKey(const Rec& rec) { return rec.getKey(); } in GetKey() argument
76 Rec* fNext;
77 Rec* fPrev; argument
82 typedef const Rec* ID; argument
94 typedef bool (*VisitorProc)(const Rec&, void* context);
117 static void Add(Rec*);
174 void add(Rec*);
[all …]
DSkMetaData.cpp46 Rec* rec = fRec; in reset()
54 Rec* next = rec->fNext; in reset()
55 Rec::Free(rec); in reset()
65 const Rec* rec = src.fRec; in operator =()
120 Rec* rec = Rec::Alloc(sizeof(Rec) + dataSize * count + len + 1); in set()
147 const Rec* rec = this->find(name, kS32_Type); in findS32()
160 const Rec* rec = this->find(name, kScalar_Type); in findScalar()
173 const Rec* rec = this->find(name, kScalar_Type); in findScalars()
186 const Rec* rec = this->find(name, kPtr_Type); in findPtr()
203 const Rec* rec = this->find(name, kString_Type); in findString()
[all …]
DSkResourceCache.cpp35 public SkTDynamicHash<SkResourceCache::Rec, SkResourceCache::Key> {};
179 Rec* rec = fHead; in ~SkResourceCache()
181 Rec* next = rec->fNext; in ~SkResourceCache()
191 Rec* rec = fHash->find(key); in find()
204 void SkResourceCache::add(Rec* rec) { in add()
207 Rec* existing = fHash->find(rec->getKey()); in add()
220 void SkResourceCache::remove(Rec* rec) { in remove()
245 Rec* rec = fTail; in purgeAsNeeded()
251 Rec* prev = rec->fPrev; in purgeAsNeeded()
268 void SkResourceCache::detach(Rec* rec) { in detach()
[all …]
DSkTypefaceCache.cpp19 const Rec* curr = fArray.begin(); in ~SkTypefaceCache()
20 const Rec* stop = fArray.end(); in ~SkTypefaceCache()
38 Rec* rec = fArray.append(); in add()
50 const Rec* curr = fArray.begin(); in findByID()
51 const Rec* stop = fArray.end(); in findByID()
62 const Rec* curr = fArray.begin(); in findByProcAndRef()
63 const Rec* stop = fArray.end(); in findByProcAndRef()
/external/chromium_org/third_party/skia/include/core/
DSkTDStack.h25 Rec* rec = fRec; in ~SkTDStack()
27 Rec* next = rec->fNext; in ~SkTDStack()
40 Rec* rec = (Rec*)sk_malloc_throw(sizeof(Rec)); in push()
83 Rec* rec = fRec->fNext; in pop()
98 struct Rec;
99 friend struct Rec;
101 struct Rec { struct
102 Rec* fNext; argument
105 Rec fInitialRec; argument
106 Rec* fRec;
DSkMetaData.h128 struct Rec;
150 Rec* fRec;
154 struct Rec { struct
155 Rec* fNext; argument
165 static Rec* Alloc(size_t); argument
166 static void Free(Rec*);
168 Rec* fRec;
170 const Rec* find(const char name[], Type) const;
/external/skia/include/core/
DSkTDStack.h25 Rec* rec = fRec; in ~SkTDStack()
27 Rec* next = rec->fNext; in ~SkTDStack()
40 Rec* rec = (Rec*)sk_malloc_throw(sizeof(Rec)); in push()
83 Rec* rec = fRec->fNext; in pop()
98 struct Rec;
99 friend struct Rec;
101 struct Rec { struct
102 Rec* fNext; argument
105 Rec fInitialRec; argument
106 Rec* fRec;
DSkMetaData.h128 struct Rec;
150 Rec* fRec;
154 struct Rec { struct
155 Rec* fNext; argument
165 static Rec* Alloc(size_t); argument
166 static void Free(Rec*);
168 Rec* fRec;
170 const Rec* find(const char name[], Type) const;
/external/skia/src/core/
DSkMetaData.cpp46 Rec* rec = fRec; in reset()
54 Rec* next = rec->fNext; in reset()
55 Rec::Free(rec); in reset()
65 const Rec* rec = src.fRec; in operator =()
120 Rec* rec = Rec::Alloc(sizeof(Rec) + dataSize * count + len + 1); in set()
147 const Rec* rec = this->find(name, kS32_Type); in findS32()
160 const Rec* rec = this->find(name, kScalar_Type); in findScalar()
173 const Rec* rec = this->find(name, kScalar_Type); in findScalars()
186 const Rec* rec = this->find(name, kPtr_Type); in findPtr()
203 const Rec* rec = this->find(name, kString_Type); in findString()
[all …]
DSkScaledImageCache.cpp24 static inline SkScaledImageCache::ID* rec_to_id(SkScaledImageCache::Rec* rec) { in rec_to_id()
28 static inline SkScaledImageCache::Rec* id_to_rec(SkScaledImageCache::ID* id) { in id_to_rec()
29 return reinterpret_cast<SkScaledImageCache::Rec*>(id); in id_to_rec()
102 struct SkScaledImageCache::Rec { struct in SkScaledImageCache
103 Rec(const Key& key, const SkBitmap& bm) : fKey(key), fBitmap(bm) { in Rec() argument
108 Rec(const Key& key, const SkMipMap* mip) : fKey(key) { in Rec() argument
114 ~Rec() { in ~Rec() argument
118 static const Key& GetKey(const Rec& rec) { return rec.fKey; } in GetKey()
125 Rec* fNext;
126 Rec* fPrev;
[all …]
DSkScaledImageCache.h175 struct Rec;
178 Rec* fHead;
179 Rec* fTail;
193 Rec* findAndLock(uint32_t generationID, SkScalar sx, SkScalar sy,
195 Rec* findAndLock(const Key& key);
196 ID* addAndLock(Rec* rec);
198 void purgeRec(Rec*);
202 void moveToHead(Rec*);
203 void addToHead(Rec*);
204 void detach(Rec*);
DSkTypefaceCache.cpp19 const Rec* curr = fArray.begin(); in ~SkTypefaceCache()
20 const Rec* stop = fArray.end(); in ~SkTypefaceCache()
38 Rec* rec = fArray.append(); in add()
50 const Rec* curr = fArray.begin(); in findByID()
51 const Rec* stop = fArray.end(); in findByID()
62 const Rec* curr = fArray.begin(); in findByProcAndRef()
63 const Rec* stop = fArray.end(); in findByProcAndRef()
/external/skia/experimental/PdfViewer/src/
DSkTDStackNester.h43 Rec* rec = fRec; in ~SkTDStackNester()
45 Rec* next = rec->fNext; in ~SkTDStackNester()
121 Rec* rec = new Rec(); in push()
173 Rec* rec = fRec->fNext; in pop()
190 struct Rec { struct
191 Rec* fNext; argument
196 Rec fInitialRec;
198 Rec* fRec;
/external/chromium_org/third_party/skia/experimental/PdfViewer/src/
DSkTDStackNester.h43 Rec* rec = fRec; in ~SkTDStackNester()
45 Rec* next = rec->fNext; in ~SkTDStackNester()
121 Rec* rec = new Rec(); in push()
173 Rec* rec = fRec->fNext; in pop()
190 struct Rec { struct
191 Rec* fNext; argument
196 Rec fInitialRec;
198 Rec* fRec;
/external/llvm/utils/TableGen/
DPseudoLoweringEmitter.cpp55 unsigned addDagOperandMapping(Record *Rec, DagInit *Dag,
74 addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Insn, in addDagOperandMapping() argument
93 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) in addDagOperandMapping()
94 PrintFatalError(Rec->getLoc(), in addDagOperandMapping()
97 Insn.Operands[BaseIdx + i].Rec->getName() + "'"); in addDagOperandMapping()
112 addDagOperandMapping(Rec, SubDag, Insn, OperandMap, BaseIdx + i); in addDagOperandMapping()
122 void PseudoLoweringEmitter::evaluateExpansion(Record *Rec) { in evaluateExpansion() argument
123 DEBUG(dbgs() << "Pseudo definition: " << Rec->getName() << "\n"); in evaluateExpansion()
127 DagInit *Dag = Rec->getValueAsDag("ResultInst"); in evaluateExpansion()
133 PrintFatalError(Rec->getLoc(), Rec->getName() + in evaluateExpansion()
[all …]
DCodeGenInstruction.cpp67 Record *Rec = Arg->getDef(); in CGIOperandList() local
73 if (Rec->isSubClassOf("RegisterOperand")) { in CGIOperandList()
74 PrintMethod = Rec->getValueAsString("PrintMethod"); in CGIOperandList()
75 } else if (Rec->isSubClassOf("Operand")) { in CGIOperandList()
76 PrintMethod = Rec->getValueAsString("PrintMethod"); in CGIOperandList()
77 OperandType = Rec->getValueAsString("OperandType"); in CGIOperandList()
79 EncoderMethod = Rec->getValueAsString("EncoderMethod"); in CGIOperandList()
80 MIOpInfo = Rec->getValueAsDag("MIOperandInfo"); in CGIOperandList()
85 PrintFatalError("Bad value for MIOperandInfo in operand '" + Rec->getName() + in CGIOperandList()
93 if (Rec->isSubClassOf("PredicateOp")) in CGIOperandList()
[all …]
DX86RecognizableInstr.cpp179 Rec = insn.TheDef; in RecognizableInstr()
180 Name = Rec->getName(); in RecognizableInstr()
183 if (!Rec->isSubClassOf("X86Inst")) { in RecognizableInstr()
188 OpPrefix = byteFromRec(Rec, "OpPrefixBits"); in RecognizableInstr()
189 OpMap = byteFromRec(Rec, "OpMapBits"); in RecognizableInstr()
190 Opcode = byteFromRec(Rec, "Opcode"); in RecognizableInstr()
191 Form = byteFromRec(Rec, "FormBits"); in RecognizableInstr()
192 Encoding = byteFromRec(Rec, "OpEncBits"); in RecognizableInstr()
194 OpSize = byteFromRec(Rec, "OpSizeBits"); in RecognizableInstr()
195 HasAdSizePrefix = Rec->getValueAsBit("hasAdSizePrefix"); in RecognizableInstr()
[all …]
/external/skia/include/effects/
DSkLayerDrawLooper.h94 struct Rec { struct
95 Rec* fNext; argument
99 Rec* fRecs; argument
100 Rec* fTopRec;
112 Rec* fCurrRec;
157 Rec* fRecs;
158 Rec* fTopRec;
/external/chromium_org/third_party/skia/include/effects/
DSkLayerDrawLooper.h100 struct Rec { struct
101 Rec* fNext; argument
105 Rec* fRecs; argument
106 Rec* fTopRec;
118 Rec* fCurrRec;
163 Rec* fRecs;
164 Rec* fTopRec;
/external/skia/src/effects/
DSkLayerDrawLooper.cpp31 Rec* rec = fRecs; in ~SkLayerDrawLooper()
33 Rec* next = rec->fNext; in ~SkLayerDrawLooper()
160 const Rec* rec = fRecs; in asABlurShadow()
207 Rec* rec = fRecs; in flatten()
219 Rec* rec = fRecs; in flatten()
253 Rec* rec = looper->fRecs; in CreateProc()
270 Rec* rec = fRecs; in toString()
331 Rec* rec = fRecs; in ~Builder()
333 Rec* next = rec->fNext; in ~Builder()
342 Rec* rec = SkNEW(Rec); in addLayer()
[all …]
/external/chromium_org/third_party/skia/include/views/
DSkTouchGesture.h53 struct Rec { struct
60 SkTDArray<Rec> fTouches; argument
72 float computePinch(const Rec&, const Rec&);
/external/skia/include/views/
DSkTouchGesture.h53 struct Rec { struct
60 SkTDArray<Rec> fTouches; argument
72 float computePinch(const Rec&, const Rec&);
/external/chromium_org/third_party/skia/src/effects/
DSkLayerDrawLooper.cpp31 Rec* rec = fRecs; in ~SkLayerDrawLooper()
33 Rec* next = rec->fNext; in ~SkLayerDrawLooper()
160 const Rec* rec = fRecs; in asABlurShadow()
205 Rec* rec = fRecs; in flatten()
241 Rec* rec = fRecs; in toString()
302 Rec* rec = fRecs; in ~Builder()
304 Rec* next = rec->fNext; in ~Builder()
313 Rec* rec = SkNEW(Rec); in addLayer()
334 Rec* rec = SkNEW(Rec); in addLayerOnTop()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp185 Expr *Rec = E->getInstanceReceiver(); in isReturnedAfterAutorelease() local
186 if (!Rec) in isReturnedAfterAutorelease()
189 Decl *RefD = getReferencedDecl(Rec); in isReturnedAfterAutorelease()
206 Expr *Rec = E->getInstanceReceiver(); in isPlusOneAssignBeforeOrAfterAutorelease() local
207 if (!Rec) in isPlusOneAssignBeforeOrAfterAutorelease()
210 Decl *RefD = getReferencedDecl(Rec); in isPlusOneAssignBeforeOrAfterAutorelease()
332 Expr *&Rec, SourceRange &RecRange) { in checkForGCDOrXPC()
384 Rec = Init->IgnoreParenImpCasts(); in checkForGCDOrXPC()
385 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Rec)) in checkForGCDOrXPC()
386 Rec = EWC->getSubExpr()->IgnoreParenImpCasts(); in checkForGCDOrXPC()
[all …]
/external/skia/tests/
DGrMemoryPoolTest.cpp180 struct Rec { struct
207 SkTDArray<Rec> instanceRecs; in DEF_TEST()
212 Rec* rec = instanceRecs.append(); in DEF_TEST()
218 Rec& rec = instanceRecs[d]; in DEF_TEST()
225 Rec& rec = instanceRecs[r]; in DEF_TEST()
231 Rec& rec = instanceRecs[i]; in DEF_TEST()

123456