Lines Matching refs:found
128 GrSegRecord * found = NULL; in getSegment() local
136 found = iMap->second; in getSegment()
143 found = iMap->second; in getSegment()
146 if (found) in getSegment()
148 if (found->m_seg->startCharacter() <= layoutArgs.mnMinCharPos && in getSegment()
149 found->m_seg->stopCharacter() >= layoutArgs.mnEndCharPos) in getSegment()
151 DBG_ASSERT(found && found->m_seg, "null entry in GraphiteSegmentCache"); in getSegment()
153 found->m_seg->setTextSourceOffset(found->m_startChar); in getSegment()
161 if (found->m_rope->getStr()[i-found->m_seg->startCharacter()] != layoutArgs.mpStr[i]) in getSegment()
164 if (found->isRtl() != bIsRtl) in getSegment()
168 if (found->m_seg->stopCharacter() > layoutArgs.mnEndCharPos && in getSegment()
169 static_cast<int>(found->char2BaseGlyph().size()) > layoutArgs.mnEndCharPos) in getSegment()
172 if (found->char2BaseGlyph()[layoutArgs.mnEndCharPos-layoutArgs.mnMinCharPos] == -1) in getSegment()
179 found->m_lockCount++; in getSegment()
181 else found = NULL; in getSegment()
196 found = range.first->second; in getSegment()
197 if (found->m_lockCount == 0) in getSegment()
199 if(rope->match(*(found->m_rope))) in getSegment()
202 found->m_seg->setTextSourceOffset(layoutArgs.mnMinCharPos); in getSegment()
205 found->m_lockCount++; in getSegment()
209 found = NULL; in getSegment()
212 found = NULL; in getSegment()
217 return found; in getSegment()