Lines Matching refs:record
99 GrSegRecord * record = NULL; in cacheSegment() local
110 record = oldestPair->second; in cacheSegment()
112 GrRMEntry range = m_ropeMap.equal_range((*(record->m_rope)).hashCode()); in cacheSegment()
115 if (range.first->second == record) in cacheSegment()
122 m_oldestKey = record->m_nextKey; in cacheSegment()
137 if (record) in cacheSegment()
138 record->reuse(pRope, adapter, seg, bIsRtl); in cacheSegment()
140 record = new GrSegRecord(pRope, adapter, seg, bIsRtl); in cacheSegment()
141 if (!record) in cacheSegment()
147 m_segMap.find(reinterpret_cast<long>(record->m_pStr)); in cacheSegment()
156 record->m_nextKey = found->m_nextKey; in cacheSegment()
158 m_segMap[reinterpret_cast<long>(record->m_pStr)] = record; in cacheSegment()
170 GraphiteRopeMap::value_type mapEntry(record->m_rope->hashCode(), record); in cacheSegment()
174 record->m_lockCount++; in cacheSegment()
175 return record; in cacheSegment()
177 m_segMap[reinterpret_cast<long>(record->m_pStr)] = record; in cacheSegment()
178 GraphiteRopeMap::value_type mapEntry((*(record->m_rope)).hashCode(), record); in cacheSegment()
183 m_oldestKey = record->m_pStr; in cacheSegment()
184 m_prevKey = record->m_pStr; in cacheSegment()
191 ->second->m_nextKey = record->m_pStr; in cacheSegment()
192 m_prevKey = record->m_pStr; in cacheSegment()
194 record->m_lockCount++; in cacheSegment()
195 return record; in cacheSegment()