Home | History | Annotate | Download | only in examples

Lines Matching defs:context

51 //  libxml callback context structure
54 struct Context
56 Context(): addTitle(false) { }
139 Context *context = (Context *)voidContext;
142 context->title = "";
143 context->addTitle = true;
155 Context *context = (Context *)voidContext;
158 context->addTitle = false;
165 static void handleCharacters(Context *context,
169 if(context->addTitle)
170 context->title.append((char *)chars, length);
181 Context *context = (Context *)voidContext;
183 handleCharacters(context, chars, length);
194 Context *context = (Context *)voidContext;
196 handleCharacters(context, chars, length);
242 Context context;
244 ctxt = htmlCreatePushParserCtxt(&saxHandler, &context, "", 0, "",
252 title = context.title;