/external/skia/include/core/ |
SkGlobals.h | 24 class Rec { 26 virtual ~Rec(); 28 Rec* fNext; 34 /** Look for a matching Rec for the specified tag. If one is found, return it. 36 call the proc, and if it returns a Rec, add it to the global list 41 static Rec* Find(uint32_t tag, Rec* (*create_proc)()); 42 /** Helper for Find, when you want to assert that the Rec is already in the list 44 static Rec* Get(uint32_t tag) 46 Rec* rec = SkGlobals::Find(tag, NULL) local [all...] |
SkTDStack.h | 33 Rec* rec = fRec; local 34 while (rec != &fInitialRec) 36 Rec* next = rec->fNext; 37 sk_free(rec); 38 rec = next; 51 Rec* rec = (Rec*)sk_malloc_throw(sizeof(Rec)) local 94 Rec* rec = fRec->fNext; local [all...] |
SkMetaData.h | 135 struct Rec; 157 Rec* fRec; 161 struct Rec { 162 Rec* fNext; 172 static Rec* Alloc(size_t); 173 static void Free(Rec*); 175 Rec* fRec; 177 const Rec* find(const char name[], Type) const;
|
SkString.h | 159 struct Rec { 168 Rec* fRec; 177 static const Rec gEmptyRec; 178 static Rec* AllocRec(const char text[], U16CPU len); 179 static Rec* RefRec(Rec*);
|
/external/skia/src/core/ |
SkClipStack.cpp | 5 struct SkClipStack::Rec { 18 Rec(int saveCount, const SkRect& rect, SkRegion::Op op) : fRect(rect) { 24 Rec(int saveCount, const SkPath& path, SkRegion::Op op) : fPath(path) { 30 bool operator==(const Rec& b) const { 45 bool operator!=(const Rec& b) const { 51 * Returns true if this Rec can be intersected in place with a new clip 65 SkClipStack::SkClipStack() : fDeque(sizeof(Rec)) { 69 SkClipStack::SkClipStack(const SkClipStack& b) : fDeque(sizeof(Rec)) { 81 for (const Rec* rec = (const Rec*)recIter.next() 124 Rec* rec = (Rec*)fDeque.back(); local 134 Rec* rec = (Rec*)fDeque.back(); local 156 Rec* rec = (Rec*)fDeque.back(); local 201 const SkClipStack::Rec* rec = (const SkClipStack::Rec*)fIter.next(); local [all...] |
SkGlobals.cpp | 21 SkGlobals::Rec::~Rec() 25 SkGlobals::Rec* SkGlobals::Find(uint32_t tag, Rec* (*create_proc)()) 29 Rec* rec = bootstrap.fHead; local 30 while (rec) 32 if (rec->fTag == tag) 33 return rec; 34 rec = rec->fNext 79 Rec* rec = head; local [all...] |
SkMetaData.cpp | 54 Rec* rec = fRec; local 55 while (rec) { 56 if (kPtr_Type == rec->fType) { 57 PtrPair* pair = (PtrPair*)rec->data(); 62 Rec* next = rec->fNext; 63 Rec::Free(rec); 64 rec = next 73 const Rec* rec = src.fRec; local 128 Rec* rec = Rec::Alloc(sizeof(Rec) + dataSize * count + len + 1); local 155 const Rec* rec = this->find(name, kS32_Type); local 168 const Rec* rec = this->find(name, kScalar_Type); local 181 const Rec* rec = this->find(name, kScalar_Type); local 194 const Rec* rec = this->find(name, kPtr_Type); local 211 const Rec* rec = this->find(name, kString_Type); local 218 const Rec* rec = this->find(name, kBool_Type); local 230 const Rec* rec = this->find(name, kData_Type); local 243 const Rec* rec = fRec; local 254 Rec* rec = fRec; local [all...] |
SkTypefaceCache.h | 75 struct Rec { 79 SkTDArray<Rec> fArray;
|
SkTypefaceCache.cpp | 28 Rec* rec = fArray.append(); local 29 rec->fFace = face; 30 rec->fRequestedStyle = requestedStyle; 35 const Rec* curr = fArray.begin(); 36 const Rec* stop = fArray.end(); 47 const Rec* curr = fArray.begin(); 48 const Rec* stop = fArray.end();
|
/external/skia/gpu/include/ |
GrTouchGesture.h | 30 struct Rec { 37 SkTDArray<Rec> fTouches; 49 float computePinch(const Rec&, const Rec&);
|
/external/skia/include/effects/ |
SkLayerDrawLooper.h | 101 struct Rec { 102 Rec* fNext; 106 static Rec* Reverse(Rec*); 108 Rec* fRecs; 112 Rec* fCurrRec;
|
SkGroupShape.h | 141 struct Rec { 145 SkTDArray<Rec> fList;
|
/external/skia/include/pdf/ |
SkPDFCatalog.h | 74 struct Rec { 75 Rec(SkPDFObject* object, bool onFirstPage) 88 SkTDArray<struct Rec> fCatalog;
|
/external/llvm/utils/TableGen/ |
PseudoLoweringEmitter.cpp | 27 addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Insn, 46 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) 47 throw TGError(Rec->getLoc(), 50 Insn.Operands[BaseIdx + i].Rec->getName() + "'"); 65 addDagOperandMapping(Rec, SubDag, Insn, OperandMap, BaseIdx + i); 75 void PseudoLoweringEmitter::evaluateExpansion(Record *Rec) { 76 DEBUG(dbgs() << "Pseudo definition: " << Rec->getName() << "\n"); 80 DagInit *Dag = Rec->getValueAsDag("ResultInst"); 86 throw TGError(Rec->getLoc(), Rec->getName() [all...] |
X86RecognizableInstr.cpp | 188 /// @param rec - The record from which to extract the value. 191 static uint8_t byteFromRec(const Record* rec, const std::string &name) { 192 BitsInit* bits = rec->getValueAsBitsInit(name); 201 Rec = insn.TheDef; 202 Name = Rec->getName(); 205 if (!Rec->isSubClassOf("X86Inst")) { 210 Prefix = byteFromRec(Rec, "Prefix"); 211 Opcode = byteFromRec(Rec, "Opcode"); 212 Form = byteFromRec(Rec, "FormBits"); 213 SegOvr = byteFromRec(Rec, "SegOvrBits") [all...] |
CodeGenInstruction.cpp | 67 Record *Rec = Arg->getDef(); 73 if (Rec->isSubClassOf("RegisterOperand")) { 74 PrintMethod = Rec->getValueAsString("PrintMethod"); 75 } else if (Rec->isSubClassOf("Operand")) { 76 PrintMethod = Rec->getValueAsString("PrintMethod"); 77 OperandType = Rec->getValueAsString("OperandType"); 79 EncoderMethod = Rec->getValueAsString("EncoderMethod"); 80 MIOpInfo = Rec->getValueAsDag("MIOperandInfo"); 86 throw "Bad value for MIOperandInfo in operand '" + Rec->getName() + 94 if (Rec->isSubClassOf("PredicateOperand") [all...] |
PseudoLoweringEmitter.h | 50 unsigned addDagOperandMapping(Record *Rec, DagInit *Dag,
|
/external/skia/include/views/ |
SkTouchGesture.h | 46 struct Rec { 53 SkTDArray<Rec> fTouches; 65 float computePinch(const Rec&, const Rec&);
|
/external/skia/src/effects/ |
SkGroupShape.cpp | 15 const Rec& rec = fList[index]; local 17 *mr = rec.fMatrixRef; 19 return rec.fShape; 33 Rec* rec; local 35 rec = fList.append(); 37 rec = fList.insert(index); 39 rec->fShape = shape; 40 rec->fMatrixRef = mr 45 Rec& rec = fList[index]; local 53 Rec* rec = fList.begin(); local 66 const Rec* rec = fList.begin(); local 88 const Rec* rec = fList.begin(); local [all...] |
SkLayerDrawLooper.cpp | 21 Rec* rec = fRecs; local 22 while (rec) { 23 Rec* next = rec->fNext; 24 SkDELETE(rec); 25 rec = next; 32 Rec* rec = SkNEW(Rec); local 160 Rec* rec = head; local 178 Rec* rec = fRecs; local 190 Rec* rec = fRecs; local 227 Rec* rec = fRecs; local [all...] |
/external/skia/gpu/src/ |
GrTouchGesture.cpp | 51 Rec* rec = fTouches.append(); local 52 rec->fOwner = owner; 53 rec->fStartX = rec->fPrevX = rec->fLastX = x; 54 rec->fStartY = rec->fPrevY = rec->fLastY = y; 55 rec->fLastT = rec->fPrevT = SkTime::GetMSecs() 130 Rec& rec = fTouches[index]; local 180 const Rec& rec = fTouches[index]; local [all...] |
/external/skia/samplecode/ |
SampleVertices.cpp | 131 struct Rec { 137 Rec() : fCount(0), fVerts(NULL), fTexs(NULL) {} 138 ~Rec() { delete[] fVerts; delete[] fTexs; } 141 void make_tris(Rec* rec) { 145 rec->fMode = SkCanvas::kTriangles_VertexMode; 146 rec->fCount = n * 3; 147 rec->fVerts = new SkPoint[rec->fCount]; 150 SkPoint* v = &rec->fVerts[i*3] [all...] |
/external/skia/include/utils/ |
SkCamera.h | 170 struct Rec { 171 Rec* fNext; 174 Rec* fRec; 175 Rec fInitialRec;
|
/external/skia/tests/ |
BitmapGetColorTest.cpp | 5 static const struct Rec {
|
/external/skia/src/views/ |
SkTouchGesture.cpp | 144 Rec* rec = fTouches.append(); local 145 rec->fOwner = owner; 146 rec->fStartX = rec->fPrevX = rec->fLastX = x; 147 rec->fStartY = rec->fPrevY = rec->fLastY = y; 148 rec->fLastT = rec->fPrevT = SkTime::GetMSecs() 223 Rec& rec = fTouches[index]; local 273 const Rec& rec = fTouches[index]; local [all...] |