Lines Matching refs:context
141 Context *context = static_cast<Context *>(voidContext); in StartElement() local
144 context->title = ""; in StartElement()
145 context->addTitle = true; in StartElement()
157 Context *context = static_cast<Context *>(voidContext); in EndElement() local
160 context->addTitle = false; in EndElement()
167 static void handleCharacters(Context *context, in handleCharacters() argument
171 if(context->addTitle) in handleCharacters()
172 context->title.append(reinterpret_cast<char *>(chars), length); in handleCharacters()
183 Context *context = static_cast<Context *>(voidContext); in Characters() local
185 handleCharacters(context, chars, length); in Characters()
196 Context *context = static_cast<Context *>(voidContext); in cdata() local
198 handleCharacters(context, chars, length); in cdata()
244 Context context; in parseHtml() local
246 ctxt = htmlCreatePushParserCtxt(&saxHandler, &context, "", 0, "", in parseHtml()
254 title = context.title; in parseHtml()