Lines Matching refs:ite

216     std::unique_ptr<ASystemFontIterator> ite(new ASystemFontIterator());  in ASystemFontIterator_open()  local
217 ite->mXmlDoc.reset(xmlReadFile("/system/etc/fonts.xml", nullptr, 0)); in ASystemFontIterator_open()
218ite->mCustomizationXmlDoc.reset(xmlReadFile("/product/etc/fonts_customization.xml", nullptr, 0)); in ASystemFontIterator_open()
219 return ite.release(); in ASystemFontIterator_open()
222 void ASystemFontIterator_close(ASystemFontIterator* ite) { in ASystemFontIterator_close() argument
223 delete ite; in ASystemFontIterator_close()
309 AFont* ASystemFontIterator_next(ASystemFontIterator* ite) { in ASystemFontIterator_next() argument
310 LOG_ALWAYS_FATAL_IF(ite == nullptr, "nullptr has passed as iterator argument"); in ASystemFontIterator_next()
311 if (ite->mXmlDoc) { in ASystemFontIterator_next()
312 if (!findNextFontNode(ite->mXmlDoc, &ite->state)) { in ASystemFontIterator_next()
314 ite->mXmlDoc.reset(); in ASystemFontIterator_next()
317 copyFont(ite->mXmlDoc, ite->state, font.get(), "/system/fonts/"); in ASystemFontIterator_next()
319 return ASystemFontIterator_next(ite); in ASystemFontIterator_next()
324 if (ite->mCustomizationXmlDoc) { in ASystemFontIterator_next()
326 if (!findNextFontNode(ite->mCustomizationXmlDoc, &ite->state)) { in ASystemFontIterator_next()
328 ite->mCustomizationXmlDoc.reset(); in ASystemFontIterator_next()
332 copyFont(ite->mCustomizationXmlDoc, ite->state, font.get(), "/product/fonts/"); in ASystemFontIterator_next()
334 return ASystemFontIterator_next(ite); in ASystemFontIterator_next()