Lines Matching refs:rec
25 SkTLSRec* rec = (SkTLSRec*)ptr; in Destructor() local
27 SkTLSRec* next = rec->fNext; in Destructor()
28 delete rec; in Destructor()
29 rec = next; in Destructor()
30 } while (rec); in Destructor()
41 const SkTLSRec* rec = (const SkTLSRec*)ptr; in Get() local
43 if (rec->fCreateProc == createProc) { in Get()
44 SkASSERT(rec->fDeleteProc == deleteProc); in Get()
45 return rec->fData; in Get()
47 } while ((rec = rec->fNext) != nullptr); in Get()
52 SkTLSRec* rec = new SkTLSRec; in Get() local
53 rec->fNext = (SkTLSRec*)ptr; in Get()
55 SkTLS::PlatformSetSpecific(rec); in Get()
57 rec->fData = createProc(); in Get()
58 rec->fCreateProc = createProc; in Get()
59 rec->fDeleteProc = deleteProc; in Get()
60 return rec->fData; in Get()
71 const SkTLSRec* rec = (const SkTLSRec*)ptr; in Find() local
73 if (rec->fCreateProc == createProc) { in Find()
74 return rec->fData; in Find()
76 } while ((rec = rec->fNext) != nullptr); in Find()