Lines Matching defs:pctxt
14648 xmlXPathParserContextPtr pctxt;
14659 pctxt = xmlXPathNewParserContext(str, ctxt);
14660 if (pctxt == NULL)
14662 xmlXPathCompileExpr(pctxt, 1);
14664 if( pctxt->error != XPATH_EXPRESSION_OK )
14666 xmlXPathFreeParserContext(pctxt);
14670 if (*pctxt->cur != 0) {
14677 xmlXPatherror(pctxt, __FILE__, __LINE__, XPATH_EXPR_ERROR);
14680 comp = pctxt->comp;
14681 pctxt->comp = NULL;
14683 xmlXPathFreeParserContext(pctxt);
14735 xmlXPathParserContextPtr pctxt;
14760 pctxt = xmlXPathCompParserContext(comp, ctxt);
14761 res = xmlXPathRunEval(pctxt, toBool);
14764 if (pctxt->value == NULL) {
14769 *resObj = valuePop(pctxt);
14776 if (pctxt->valueNr > 0) {
14781 tmp = valuePop(pctxt);
14796 if ((pctxt->error != XPATH_EXPRESSION_OK) && (resObj) && (*resObj)) {
14800 pctxt->comp = NULL;
14801 xmlXPathFreeParserContext(pctxt);
14965 xmlXPathParserContextPtr pctxt;
14973 pctxt = xmlXPathNewParserContext(str, ctxt);
14974 if (pctxt == NULL)
14976 xmlXPathEvalExpr(pctxt);
14978 if ((*pctxt->cur != 0) || (pctxt->error != XPATH_EXPRESSION_OK)) {
14979 xmlXPatherror(pctxt, __FILE__, __LINE__, XPATH_EXPR_ERROR);
14982 res = valuePop(pctxt);
14985 tmp = valuePop(pctxt);
14996 xmlXPathFreeParserContext(pctxt);