Lines Matching refs:entity
242 void pushEntity( const struct Entity &entity ) in pushEntity() argument
243 { vecEntity.push_back( entity ); } in pushEntity()
460 struct Entity entity; in parseStream() local
461 entity.structSource = structSource; in parseStream()
463 if( ! entity.structSource.aInputStream.is() ) in parseStream()
469 entity.converter.setInputStream( entity.structSource.aInputStream ); in parseStream()
470 if( entity.structSource.sEncoding.getLength() ) in parseStream()
472 entity.converter.setEncoding( in parseStream()
473 OUStringToOString( entity.structSource.sEncoding , RTL_TEXTENCODING_ASCII_US ) ); in parseStream()
477 entity.pParser = XML_ParserCreate( 0 ); in parseStream()
478 if( ! entity.pParser ) in parseStream()
485 XML_SetUserData( entity.pParser , m_pImpl ); in parseStream()
486 XML_SetElementHandler( entity.pParser , in parseStream()
489 XML_SetCharacterDataHandler( entity.pParser , call_callbackCharacters ); in parseStream()
490 XML_SetProcessingInstructionHandler(entity.pParser , in parseStream()
492 XML_SetUnparsedEntityDeclHandler( entity.pParser, in parseStream()
494 XML_SetNotationDeclHandler( entity.pParser, call_callbackNotationDecl ); in parseStream()
495 XML_SetExternalEntityRefHandler( entity.pParser, in parseStream()
497 XML_SetUnknownEncodingHandler( entity.pParser, call_callbackUnknownEncoding ,0); in parseStream()
503 XML_SetDefaultHandlerExpand( entity.pParser, call_callbackDefault ); in parseStream()
504 XML_SetCommentHandler( entity.pParser, call_callbackComment ); in parseStream()
505 XML_SetCdataSectionHandler( entity.pParser , in parseStream()
512 m_pImpl->pushEntity( entity ); in parseStream()
539 XML_ParserFree( entity.pParser ); in parseStream()
545 XML_ParserFree( entity.pParser ); in parseStream()
551 XML_ParserFree( entity.pParser ); in parseStream()
556 XML_ParserFree( entity.pParser ); in parseStream()
888 struct Entity entity; in callbackExternalEntityRef() local
893 entity.structSource = pImpl->rEntityResolver->resolveEntity( in callbackExternalEntityRef()
914 if( entity.structSource.aInputStream.is() ) { in callbackExternalEntityRef()
915 entity.pParser = XML_ExternalEntityParserCreate( parser , context, 0 ); in callbackExternalEntityRef()
916 if( ! entity.pParser ) in callbackExternalEntityRef()
921 entity.converter.setInputStream( entity.structSource.aInputStream ); in callbackExternalEntityRef()
922 pImpl->pushEntity( entity ); in callbackExternalEntityRef()
945 XML_ParserFree( entity.pParser ); in callbackExternalEntityRef()