Lines Matching refs:reader_
114 reader_(nullptr) {} in CefXmlReaderImpl()
117 if (reader_ != nullptr) { in ~CefXmlReaderImpl()
121 xmlFreeTextReader(reader_); in ~CefXmlReaderImpl()
159 reader_ = xmlNewTextReader(input_buffer, uriStr.c_str()); in Initialize()
160 if (!reader_) { in Initialize()
170 xmlTextReaderSetErrorHandler(reader_, xml_error_callback, this); in Initialize()
171 xmlTextReaderSetStructuredErrorHandler(reader_, xml_structured_error_callback, in Initialize()
181 return xmlTextReaderRead(reader_) == 1 ? true : false; in MoveToNextNode()
189 xmlFreeTextReader(reader_); in Close()
190 reader_ = nullptr; in Close()
212 switch (xmlTextReaderNodeType(reader_)) { in GetType()
245 return xmlTextReaderDepth(reader_); in GetDepth()
252 return xmlCharToString(xmlTextReaderConstLocalName(reader_), false); in GetLocalName()
259 return xmlCharToString(xmlTextReaderConstPrefix(reader_), false); in GetPrefix()
266 return xmlCharToString(xmlTextReaderConstName(reader_), false); in GetQualifiedName()
273 return xmlCharToString(xmlTextReaderConstNamespaceUri(reader_), false); in GetNamespaceURI()
280 return xmlCharToString(xmlTextReaderConstBaseUri(reader_), false); in GetBaseURI()
287 return xmlCharToString(xmlTextReaderConstXmlLang(reader_), false); in GetXmlLang()
294 return xmlTextReaderIsEmptyElement(reader_) == 1 ? true : false; in IsEmptyElement()
301 if (xmlTextReaderNodeType(reader_) == XML_READER_TYPE_ENTITY_REFERENCE) { in HasValue()
305 return xmlTextReaderHasValue(reader_) == 1 ? true : false; in HasValue()
313 if (xmlTextReaderNodeType(reader_) == XML_READER_TYPE_ENTITY_REFERENCE) { in GetValue()
315 xmlNodePtr node = xmlTextReaderCurrentNode(reader_); in GetValue()
320 return xmlCharToString(xmlTextReaderConstValue(reader_), false); in GetValue()
328 return xmlTextReaderHasAttributes(reader_) == 1 ? true : false; in HasAttributes()
335 return xmlTextReaderAttributeCount(reader_); in GetAttributeCount()
342 return xmlCharToString(xmlTextReaderGetAttributeNo(reader_, index), true); in GetAttribute()
351 xmlTextReaderGetAttribute(reader_, BAD_CAST qualifiedNameStr.c_str()), in GetAttribute()
363 xmlTextReaderGetAttributeNs(reader_, BAD_CAST localNameStr.c_str(), in GetAttribute()
372 return xmlCharToString(xmlTextReaderReadInnerXml(reader_), true); in GetInnerXml()
379 return xmlCharToString(xmlTextReaderReadOuterXml(reader_), true); in GetOuterXml()
386 return xmlTextReaderGetParserLineNumber(reader_); in GetLineNumber()
393 return xmlTextReaderMoveToAttributeNo(reader_, index) == 1 ? true : false; in MoveToAttribute()
401 return xmlTextReaderMoveToAttribute(reader_, in MoveToAttribute()
414 return xmlTextReaderMoveToAttributeNs(reader_, BAD_CAST localNameStr.c_str(), in MoveToAttribute()
424 return xmlTextReaderMoveToFirstAttribute(reader_) == 1 ? true : false; in MoveToFirstAttribute()
431 return xmlTextReaderMoveToNextAttribute(reader_) == 1 ? true : false; in MoveToNextAttribute()
438 return xmlTextReaderMoveToElement(reader_) == 1 ? true : false; in MoveToCarryingElement()
454 return (reader_ != nullptr); in VerifyContext()